
Final F2024 Review
Flashcard
•
Information Technology (IT)
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

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
==
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?