Boolean Logic and Loops
Boolean Logic and Loops 2
Inheritance
Inheritance 2
CHAMP for Science
100
a && ( b l l c ) Which of the following is equivalent to the above expression I. a && b l l a && c II. a l l b && a l l c III. a && b l l c a. I only b. II only b III only c. I and II only e I and III only
Q18
100
Assume that a game has four doors and the only way to win the game is to open every other door. in other words, one and three can be open to win or two and four can be open to win. Wrapping cannot be used. Only one pair of doors can be open at the same time. If the game can be won, return true. If the game cannot be won return false. Which of the following code segments could be placed in the method to properly check for the doors and return the appropriate values. a. I only b. II only c. I and II only d. II and III only e. I and III only
Q36
100
Earth
What is the third planet from the sun?
100
The Milky Way
What is the name of our Galaxy?
100
Type of boundary at mid-ocean ridge.
What is Divergent?
200
boolean bThree=false; boolean bFour-true; out.print1n (! (bThree && bFour));
Q10
200
! ( !a && !b) Which of the following expressions is equivalent to the above expression: I. a && b II. ! a l l !b III. a l l b a. I only b. II only c. III only d. I and II only e. I and III only
Q19
200
Water
What exists on earth as a solid, liquid and a gas?
200
Martian Moons
What are Phobos and Deimos?
200
Alfred Wegener
Who is the scientists who suggested that earth's continents were once connected.
300
int up=9, in=9; if (up>4 && ++in>10 l l in>9) { out.print ("dude"); { out.print (in);
Q17
300
int it=9, at=9; if ( it>4 l l ++ at>10 && it>0) { out.print ("dude"); } out.print (at);
Q16
300
Ozone
What protects us from ultra violet radiation?
300
Jupiter
What is the largest planet in our solar system?
300
The center of the earth.
Where is the inner and outer core of the Earth?
400
Boolean bNine=true; Boolean bTen=false; out.print1n (bNine l l (bNine && bTen));
Q13
400
Which of the following code segments matches the truth table shown below: a 0 1 1 1 b 0 1 0 1 c 0 0 1 1 a. a = b l l c b. a = b && ! c c. a = b && c d a = !b && !c e. a = !b l l !c
Q14
400
The moon
What is the name of Earths natural satalite?
400
Rings
What Saturn is surrounded by.
400
The term for the distance from the Earth to the Sun.
What is AU?
500
What is the output by the code: int e=5 if (! (e>3) ) System.out.print ("fun"); System.out.print ("go")
Q1
500
What is the output by the code below: String m = "h" ; int n = 0; do { m=m+"h"; n++; }while )!m.equals ("hhhhh"") ); out.print1n (m + " - " + n);
Q20
500
Scientist believe the earth is this old.
What is five billion years old?
500
Dust and rock particles mixed with frozen water, methane and amonia
What a comet is made of.
500
Earth is the center of the solar system and everything else moves around it
What is Geocentric model?