Java Chapter 4 Review Questions

Java Chapter 4 Review Questions

Professional Development

28 Qs

quiz-placeholder

Similar activities

CIW IBA Lesson 3 Vocabulary

CIW IBA Lesson 3 Vocabulary

8th Grade - Professional Development

24 Qs

Linux Creating Scripts

Linux Creating Scripts

Professional Development

28 Qs

PLD_FinalsSAT Quiz

PLD_FinalsSAT Quiz

Professional Development

25 Qs

Intro To Business&Tech

Intro To Business&Tech

9th Grade - Professional Development

25 Qs

FCS_Finals Exam

FCS_Finals Exam

Professional Development

25 Qs

IGIT-SPC By Prof Zafar

IGIT-SPC By Prof Zafar

University - Professional Development

30 Qs

Elements of Art and  Principles of Design - Quiz 1

Elements of Art and Principles of Design - Quiz 1

10th Grade - Professional Development

30 Qs

Linux Editing Files

Linux Editing Files

Professional Development

27 Qs

Java Chapter 4 Review Questions

Java Chapter 4 Review Questions

Assessment

Quiz

Computers

Professional Development

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?