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
La sicurezza delle reti

Quiz
•
Professional Development
25 questions
#100 Devs - LwL - class 15

Quiz
•
10th Grade - Professi...
29 questions
File System Shell Guide Quiz

Quiz
•
Professional Development
24 questions
Julia - Quiz 1

Quiz
•
Professional Development
30 questions
Analisis Data SD Kelas 3

Quiz
•
Professional Development
30 questions
LATIHAN UJIKOM XI RPL

Quiz
•
Professional Development
30 questions
Part II- Practice Study Guide (ITF+)

Quiz
•
Professional Development
25 questions
CompTIA Security+ Certification Exam SY0-701 Practice Test 2

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade