The system Carbonic acid and sodium hydrogen carbonate is found in blood and helps in maintaining the pH of blood close to 7.4.
Case I- Any excess of H+ entering blood is removed by HCO3- ion, Case II - Any excess of OH- entering blood is removed by H2CO3. Write the reactions for the above two cases.
You have two test tubes T1 and T2.
T1 contains 2.0 mL of 0.1 N CuCl2 solution and T2 contains 2.0 mL of 0.1 N NiCl2 solution. You add dil. HCl in both the test tubes till the solutions turns acidic. Then you pass H2S gas in both the test tubes. In which of the two test tubes precipitation will occur readily? What is the principle behind the formation of precipitate?
Which of the following apply to the while loop only? To the do...while loop only? To both?
a. It is considered a conditional loop.
b. The body of the loop executes at least once.
c. The logical expression controlling the loop is evaluated before the loop is
entered.
d. The body of the loop may not execute at all.
Suppose that x, y, and z are int variables, and x = 10, y = 15, and z = 20. Determine whether the following expressions evaluate to true or false:
a. !(x > 10)
b. x <= 5 || y < 15
c. (x != 5) && (y != z)
d. x >= z || (x + y >= z)
e. (x <= y - 2) && (y >= z) || (z - 2 != 20)
C4H8 has four isomers. A, B & Cgets reduced by KMnO4; D does not get reduced by
KMnO4. A forms an optically inactive mixture of two optically active forms in equal
amounts with acidified KMnO4 while B forms optically inactive meso form with
acidified KMnO4. Identify A, B, C & D.
Suppose that x, y, and z are int variables, and x = 10, y = 15, and z = 20. Determine whether the following expressions evaluate to true or false:
a. !(x > 10)
b. x <= 5 || y < 15
c. (x != 5) && (y != z)
d. x >= z || (x + y >= z)
e. (x <= y - 2) && (y >= z) || (z - 2 != 20)
Problem Statement:
Jack and his three friends have decided to go for a trip by sharing the expenses of the
fuel equally. Implement a C# method Calculate CostPerPerson(double mileage,
double amountPerLitre, int distanceOne Way) which returns the amount (in Rs) each
of them need to put in for the complete (both to and fro) journey.
Which of the following apply to the while loop only? To the do...while loop only? To both?
a. It is considered a conditional loop.
b. The body of the loop executes at least once.
c. The logical expression controlling the loop is evaluated before the loop is
entered.
d. The body of the loop may not execute at all.
Write a function called Reverse that takes in a string value and returns the string with the characters in reverse. If the string reads the same forwards as it does backwards the function should output “[word] is a palindrome!”.
Ex:
Reverse(“apple”)
outputs elppa
Reverse(“racecar”)
outputs racescar is a palindrome!
Hint: Make sure you take in your input and then make it lower case using the .lower() method.
Create a stack class in java where the stack is defined using an String type array and the size of the stack is provided by an instance variable. There should be an instance variable to track the top index of the stack. Define a constructor to initialize the size of the stack and the variable to track the top index of the stack. It is to be said that the minimum size of the stack should be 10. Define two methods void push(String item) and String pop() to conduct the insertion and deletion process in the stack. After filling up the stack with the maximum items possible, pop out 4 items from the stack and then output the sum of the remaining items in the stack.