

Semester Exam - CS2 (2024)
Flashcard
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

49 questions
Show all answers
1.
FLASHCARD QUESTION
Front
When we want to print in Java, we use the code ....
Back
System.out.println();
2.
FLASHCARD QUESTION
Front
What does a comment look like in Java?
Back
//comment
3.
FLASHCARD QUESTION
Front
Which of the following is incorrect? Options: int count = 50.0;, double salary = 50;
Back
int count = 50.0;
4.
FLASHCARD QUESTION
Front
What would the new value of A be? A=10; A--;
Back
9
5.
FLASHCARD QUESTION
Front
What symbol represents the and operator in Java?
Back
&&
6.
FLASHCARD QUESTION
Front
What symbol represents the or operator in Java?
Back
||
7.
FLASHCARD QUESTION
Front
Which one of the following is NOT a logical operator? Options: ||, &&, $$, !
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?