Answer the following statements true (T) or false (F)

1. "1st Place" < "2nd Place"
2. The second condition in cond1 OrElse cond2 is not evaluated when the first condition is
false.
3. condition containing the keyword Or will always have the same truth value as
the compound condition where Or is replaced with OrElse.
4. The second condition in cond1 AndAlso cond2 is not evaluated when the first condition is
true.
5. The following two statements are equivalent. (T/F)
Not (a < b)
a > b

1. True
2. False
3. True
4. False
5. False

Computer Science & Information Technology

You might also like to view...

The Mars Climate Orbiter crashed on the surface of Mars because

a. one program output thrust in terms of foot-pounds, and another program expected thrust to be expressed in terms of newtons. b. the probe lost contact with the Jet Propulsion Laboratory when it entered the Martian atmosphere. c. a bug in the computer program caused the vehicle to consume too much fuel on the way to Mars, leaving an inadequate supply for landing. d. the extreme cold of deep space caused the computer to crash. e. before programmers went on strike at subcontractor Lockheed Martin, one of them sabotaged the flight control software.

Computer Science & Information Technology

The three types of control statements are the sequence statement, the selection state- ment and the statement.

a) repeat b) looping c) redo d) repetition

Computer Science & Information Technology