exam questions

Exam 1z0-808 All Questions

View all questions & answers for the 1z0-808 exam

Exam 1z0-808 topic 1 question 184 discussion

Actual exam question from Oracle's 1z0-808
Question #: 184
Topic #: 1
[All 1z0-808 Questions]

Given the code fragment:

Which code fragment inserted at line 10 print ****?
A.

B.

C.

D.

E.

Show Suggested Answer Hide Answer
Suggested Answer: E

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MPignaProTech
2 months, 3 weeks ago
AE works
upvoted 1 times
...
BelloMio
7 months, 1 week ago
Answer is AE
upvoted 1 times
...
7df49fb
9 months, 3 weeks ago
Only A
upvoted 1 times
...
akbiyik
2 years, 1 month ago
Answer is A and E.
upvoted 3 times
...
carloswork
2 years, 2 months ago
Answer is A and E. To test: public static void main(String[] args) { int x; /* insert code here */ /* Option A - Ok */ /* x = 3; do { System.out.print("*"); x--; } while (x >= 0); */ /* Option B - It does not enter the loop. */ /* x = 0; do { System.out.print("*"); x++; } while (x >= 3); */ /* Option C - It does not enter the loop. */ /* x = 0; do { System.out.print("*"); ++x; } while (x > 3); */ /* Option D - I only printed two asterisks */ /* x = 3; do { System.out.print("*"); x--; } while (x != 1); */ /* Option E - Ok / /* x=0; do { System.out.print("*"); }while(x++ < 3); */ }
upvoted 2 times
...
iSnover
2 years, 3 months ago
The correct answer is the letter E, because it starts to put * from zero, analyze these questions well, the answers are very confusing precisely to take the time wrong on purpose.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago