
11AE-CSC60-SBQ-practice2

Quiz
•
Other
•
11th Grade
•
Medium
Computer Teacher
Used 3+ times
FREE Resource
Student preview

20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is true about the if statement?
The if statement can have only one condition that evaluates to an integer value.
The if block is optional.
The else block is optional.
The if and else blocks should always be included within curly braces.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct syntax for an if statement?
if (x < 10) { size = "Small"; } else (x < 20) { size = "Medium"; }
if (x < 10); { size = "Small"; } else (x < 20) { size = "Medium"; }
if (x < 10)
{ size = "Small";
}
else
{
size = "Medium";
}
if { size = "Small"; } else (x < 20) { size = "Medium"; }
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a free account and access millions of resources
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade