Final F2024 Review

Final F2024 Review

Assessment

Flashcard

Information Technology (IT)

University

Hard

Created by

Quizizz 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?

Back

true

5.

FLASHCARD QUESTION

Front

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

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

==

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?