Chapter 6 Exam

Chapter 6 Exam

8th Grade

20 Qs

quiz-placeholder

Similar activities

Selection Programming_If condition

Selection Programming_If condition

8th Grade - University

15 Qs

Chapter 21Income Statement IGCSE Exam Questions

Chapter 21Income Statement IGCSE Exam Questions

6th - 8th Grade

20 Qs

Chapter 12 Exam Review

Chapter 12 Exam Review

8th Grade

20 Qs

Understanding Loops in C Programming

Understanding Loops in C Programming

1st Grade - University

15 Qs

G08 - ICT

G08 - ICT

8th Grade

20 Qs

YEAR 3 ICT LENT TERM ASSESSMENT

YEAR 3 ICT LENT TERM ASSESSMENT

3rd Grade - University

21 Qs

Statements in Python

Statements in Python

8th Grade

20 Qs

Chapter 6 Exam

Chapter 6 Exam

Assessment

Quiz

Information Technology (IT)

8th Grade

Medium

Created by

Ashley Brown

Used 10+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?