Java Chapter 4 Review Questions

Quiz
•
Computers
•
Professional Development
•
Medium
Alejandro Hidalgo
Used 4+ times
FREE Resource
28 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the println statement in the following program segment display?
int x = 5;
System.out.println(x++);
5
6
0
None of these
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the println statement in the following program segment display?
int x = 5;
System.out.println(++x);
5
6
0
None of these
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the expression number++, the ++ operator is in what mode?
prefix
pretest
postfix
posttest
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is each repetition of a loop known as?
cycle
revolution
orbit
iteration
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This is a variable that controls the number of iterations performed by a loop.
loop control variable
accumulator
iteration register variable
repetition meter
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The while loop is this type of loop
pretest
posttest
prefix
postfix
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
the do-while loop is this type of loop.
pretest
posttest
prefix
postfix
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Chủ đề: Ms powerpoint

Quiz
•
2nd Grade - Professio...
25 questions
TINHOCTRE -SC-Đề 1

Quiz
•
Professional Development
25 questions
Myob Accounting/Kompt. Akt.

Quiz
•
Professional Development
30 questions
Quiz Wizard'24

Quiz
•
Professional Development
30 questions
Smyrna IT Night | CompTIA A+ 1102 | Questions 31 - 60

Quiz
•
Professional Development
30 questions
P2 CORSO ADDETTO ALL’IMMISSIONE E GESTIONE DEI DATI DIGITALI

Quiz
•
Professional Development
23 questions
OCA Unit 1

Quiz
•
11th Grade - Professi...
23 questions
Bash Scripting introduction

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development