Which of the following data types holds only True and False values?

Chapter 6 Exam

Quiz
•
Information Technology (IT)
•
8th Grade
•
Medium
Ashley Brown
Used 10+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
IT Career and College Pathways

Quiz
•
8th Grade
23 questions
Cybercrime exercise

Quiz
•
7th Grade - University
20 questions
Database and Spreadsheet Quiz

Quiz
•
8th Grade
20 questions
quiz1B1

Quiz
•
7th Grade - University
16 questions
ICDL K4_ Xử lý văn bản P1_5*

Quiz
•
5th Grade - University
19 questions
Quick Lookup - Printing Variables

Quiz
•
8th Grade
15 questions
WordPress Quiz

Quiz
•
8th Grade
20 questions
Exploring the World of AI

Quiz
•
6th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade