
Chapter 6 Exam
Authored by Ashley Brown
Information Technology (IT)
8th Grade
Used 31+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types holds only True and False values?
Boolean
Integer
Floating point
String
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a logical expression, assuming A and B are variables initialized with some numeric values?
A - B
A + B
A > B
A = B
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operators means "equal to"?
==
<
>=
!
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If "numGrapes" is equal to 10, which of the following expressions will produce a False result?
numGrapes >= 11
numGrapes != 10
numGrapes < 9
All of these are False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a mathematical operator?
!=
+
/
*
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The "if" statement relies on what type of expression?
Mathematical
Logical
Assignment
Repeating
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you indent statements to form the body of an "if" block?
Use the same amount of spacing on each indented line
Always indent exactly 2 spaces
Always indent exactly 3 spaces
Start with 1 space and add an extra indentation space for each additional statement in the body
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?