nerdexam
Oracle

1Z0-909 · Question #65

The variables c and d are declared as integer types. Examine these initialization statements with placeholder value <p1>, which execute successfully: Now, examine this loop which executes…

The correct answer is A. b: LOOP SET d = d + 1; SET c = c + 1; IF c > 3 THEN LEAVE b; END IF; END LOOP b. Exam Questions, Study Guides, Practice Tests. Lead the way to help you pass any IT Certification exams, 100% Pass Guaranteed or Full Refund. Especially Cisco, Microsoft, CompTIA, Citrix, EMC, HP, Oracle, VMware, Juniper, Check Point, LPI, Nortel, EXIN and so on. Our Slogan…

Stored Programs

Question

The variables c and d are declared as integer types. Examine these initialization statements with placeholder value <p1>, which execute successfully:

Now, examine this loop which executes successfully:

Which loop results in the same value of d for all valid values of <p1>? A. B. C. D.

Exhibits

1Z0-909 question #65 exhibit 1
1Z0-909 question #65 exhibit 2

Options

  • Ab: LOOP SET d = d + 1; SET c = c + 1; IF c > 3 THEN LEAVE b; END IF; END LOOP b;
  • BWHILE c <= 3 DO SET d = d + 1; SET c = c + 1; END WHILE;
  • Cb: LOOP IF c > 3 THEN LEAVE b; END IF; SET d = d + 1; SET c = c + 1; END LOOP b;
  • DWHILE c < 3 DO SET d = d + 1; SET c = c + 1; END WHILE;

How the community answered

(64 responses)
  • A
    63% (40)
  • B
    6% (4)
  • C
    13% (8)
  • D
    19% (12)

Explanation

Exam Questions, Study Guides, Practice Tests. Lead the way to help you pass any IT Certification exams, 100% Pass Guaranteed or Full Refund. Especially Cisco, Microsoft, CompTIA, Citrix, EMC, HP, Oracle, VMware, Juniper, Check Point, LPI, Nortel, EXIN and so on. Our Slogan: First Test, First Pass. Help you to pass any IT Certification exams at the first try. You can reach us at any of the email addresses listed below. Any problems about IT certification or our products, you could rely upon us, we will give you satisfactory answers in 24 hours.

Topics

#stored program loops#integer variables#WHILE#loop equivalence

Community Discussion

No community discussion yet for this question.

Full 1Z0-909 Practice