nerdexam
Oracle

1Z0-803 · Question #28

Given the following code fragment: What is the result if the integer value is 33?

The correct answer is B. The fox lazy.... 33 is greater than 0. 33 is not equal to 0. 33 is greater than 30 33 is greater then 10 (the two else if are skipped) finally … is printed.

Using Operators and Decision Constructs

Question

Given the following code fragment:

What is the result if the integer value is 33?

Exhibit

1Z0-803 question #28 exhibit

Options

  • AThe fox jump lazy...
  • BThe fox lazy...
  • CQuick fox over lazy ...
  • DQuick fox the ....

How the community answered

(46 responses)
  • A
    11% (5)
  • B
    83% (38)
  • C
    4% (2)
  • D
    2% (1)

Explanation

33 is greater than 0. 33 is not equal to 0. 33 is greater than 30 33 is greater then 10 (the two else if are skipped) finally … is printed.

Topics

#conditional statements#if-else#switch#output prediction

Community Discussion

No community discussion yet for this question.

Full 1Z0-803 Practice