science & technology Online Quiz - 345

science & technology Online Quiz - 345

20 Questions Published

Questions

Question 1 True/False

The smallest bone found in the human body is located in the middle nose.

  1. True
  2. False
Question 2 True/False

Human brain is made up of 80% water and it stops growing as one reach the age of 18.

  1. True
  2. False
Question 3 True/False

1/4 of the bones in your body are in your feet

  1. True
  2. False
Question 4 True/False

Astronauts become two inches taller on return from space as the cartilage disks in their spine expand in zero - gravity.

  1. True
  2. False
Question 5 Multiple Choice (Single Answer)

Suppose x=10 and y=10 what is x after evaluating the expression (y > 10) && (x++ > 10).

  1. 9
  2. 10
  3. 11
  4. false
Question 6 Multiple Choice (Single Answer)

Analyze the following code:boolean even = false;if (even = true) { System.out.println("It is even!");}

  1. The program has a syntax error
  2. The program has a runtime error
  3. The program runs fine, but displays nothing
  4. The program runs fine and displays It is even!
Question 7 Multiple Choice (Single Answer)

Analyze the following program fragment: int x; double d = 1.5; switch (d) { case 1.0: x = 1; case 1.5: x = 2; case 2.0: x = 3; }

  1. The program has a syntax error because the required break statement is missing in the switch statement
  2. The program has a syntax error because the required default case is missing in the switch statement
  3. The switch control variable cannot be double
  4. No errors
Question 8 Multiple Choice (Single Answer)

What is sum after the following loop terminates? int sum = 0; int item = 0; do { item++; sum += item; if (sum > 4) break; } while (item < 5);

  1. 5
  2. 6
  3. 7
  4. 8
Question 9 Multiple Choice (Single Answer)

What will be the value of str after line no.7?1 class string 2 {3 public static void main String ds[])4 {5 String str="A";6 str.concat("B");7 str+="C";8 }9 }

  1. A
  2. AB
  3. AC
  4. ABC
  5. compile-time error
Question 10 Multiple Choice (Single Answer)

Analyze the following code: public class Test { public static void main(String[] args) { System.out.println(max(1, 2)); } public static double max(int num1, double num2) { System.out.println("max(int, double) is invoked"); if (num1 > num2) return num1; else return num2; } public static double max(double num1, int num2) { System.out.println("max(double, int) is invoked"); if (num1 > num2) return num1; else return num2; } }

  1. The program cannot compile because the compiler cannot determine which max method should be invoked
  2. The program cannot compile because you cannot have the print statement in a non-void method
  3. The program runs and prints "max(int, double) is invoked" followed by 2
  4. The program runs and prints "max(double, int) is invoked" followed by 2
Question 11 True/False

I can have multiple main methods in same class.

  1. True
  2. False
Question 12 Multiple Choice (Single Answer)

Analyze the following code: public class Test { public static void main(String[] args) { System.out.println(m(2)); } public static int m(int num) { return num; } public static void m(int num) { System.out.println(num); } }

  1. The program runs and prints 2 once
  2. The program runs and prints 2 twice
  3. The program has a syntax error because the second m method is defined, but not invoked in the main method
  4. The program has a syntax error because the two methods m have the same signature
Question 13 True/False

It takes approximately 12 hours for food to entirely digest.

  1. True
  2. False
Question 14 True/False

The longest living cells in the body are brain cells which can live an entire lifetime.

  1. True
  2. False
Question 15 True/False

The pectin that is found in apples aids in lowering cholesterol levels.

  1. True
  2. False
Question 16 True/False

The human body consists of nine systems: the skeletal system, the muscular system, the nervous system, the hormonal system, the circulatory system, the digestive system, the respiratory system, the immune system and the reproductive system.

  1. True
  2. False
Question 17 True/False

Chewing gum while peeling onions will keep you from crying.

  1. True
  2. False
Question 18 True/False

Human bone is comparable to granite when it comes to supporting weight.

  1. True
  2. False
Question 19 True/False

The only bone fully grown at birth is located in the ear.

  1. True
  2. False
Question 20 True/False

The adult body is made up of: 100 trillion cells 206 bones 600 muscles 22 internal organs

  1. True
  2. False