
CS 211 - Midterm Review
Authored by Fatima Agdon
Computers
University
Used 39+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
TRUE && FALSE
TRUE
FALSE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable name can contain alphanumeric characters, dollar sign, and...
dash
underscore
comma
semi-colon
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This statement immediately terminates the loop if the condition is true.
continue
System.out.println
case
break
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this statement, System.out.println(num + " km is " + met " in meters."); the plus (+) operator was used as…
Addition Operator
Relational Operator
Concatenation Operator
Comparison Operator
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which inputs will make the result of this condition: if((digit >= 48 && digit <= 57)) true?
1, 2, 3, 4
a, b, c, d
A, B, C, D
All of these
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following components of the for loop is executed once?
Condition
Iterator
Initialization
Statement
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following does this symbol = belong to?
Relational Operators
Assignment Operators
Conditional Operators
Logical Operators
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?