Given below is the industrial process for the manufacture of ammonia gas. Study the schematic diagram to answer the following questions. (a) Name the process. (b) Which catalyst is used in the above process? (c) In the above diagrammatic setup, how is ammonia gas separated from the unreacted gases to obtain liquid ammonia? (d) Which two properties of ammonia gas can be demonstrated by the Fountain Experiment?
Rita added dilute hydrochloric acid to four metals. She recorded her observations in the table given below. While noting her observations she made some errors.
A hydrocarbon X undergoes the reaction under suitable conditions as shown below.
Which of the following element pairs will form an ionic bond?
Give the output of the following Java program segment:
String a[] = {"Atasi", "Aditi", "Anant", "Amit", "Ahana"};System.out.println(a[1].charAt(1) + "*" + a[2].charAt(2));
The output of the above statement is:
Assertion (A): The substring() method modifies the original String.
Reason (R): The substring() method can extract part of a String from a specific index.
Rewrite the following program segment using a for loop:
for
Given program segment:
int a = 5, b = 10; while (b > 0){ b -= 2;}System.out.println(a * b);
Note: Ensure that the variable $b$ remains accessible for the System.out.println statement after the loop terminates.
System.out.println
Define a class named StepTracker with the following specifications:
StepTracker
Member Variables:
String name
int sw
double cb
double km
Member Methods:
1. void accept()To input the name and the sw (steps walked) using Scanner class methods only.
void accept()
name
sw
Scanner
2. void calculate()Calculates calories burned ($cb$) and distance in ($km$) based on steps walked ($sw$) using the provided estimation logic.
void calculate()
Give the output of the following program segment and mention how many times the loop is executed.
int K = 1;do{ K += 2; System.out.println(K);} while (K <= 6);