Search Header Logo
Final F2024 Review

Final F2024 Review

Assessment

Flashcard

Information Technology (IT)

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

42 questions

Show all answers

1.

FLASHCARD QUESTION

Front

How would I print a string but stay on the line? Example: Hello my name is Mr. B |

Back

System.out.print()

2.

FLASHCARD QUESTION

Front

What would the following code segment print? system.out.print("5+5");

Back

an error message

3.

FLASHCARD QUESTION

Front

Which pair of symbols is used would output the following expression? T __ F = F

Back

&&

4.

FLASHCARD QUESTION

Front

What is the output of the following code segment if the user inputs yes?

Media Image

Back

true

5.

FLASHCARD QUESTION

Front

What would appear in the console if the user enters the following input?
0
1
-1

Media Image

Back

Number?-1 to quit 0
Number?-1 to quit 1
Number?-1 to quit -1
Goodbye

6.

FLASHCARD QUESTION

Front

In the following for loop what will be the result when the code is ran?
for(int i = 0; i < 3; i--){
System.out.println(i);
}

Back

Infinite Loop

7.

FLASHCARD QUESTION

Front

Which operator is used to compare two values for equality in Java?

Back

==

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?