Python Objective 2

Python Objective 2

8th Grade

15 Qs

quiz-placeholder

Similar activities

Boolean Operators Quiz

Boolean Operators Quiz

8th Grade

10 Qs

C++ programming

C++ programming

7th - 12th Grade

20 Qs

Python Operators & Expressions

Python Operators & Expressions

8th - 11th Grade

13 Qs

Python Week 3 Homework - Conditional Statements

Python Week 3 Homework - Conditional Statements

8th Grade

11 Qs

Scratch Operators Quiz

Scratch Operators Quiz

1st Grade - University

20 Qs

Computer Science Coding

Computer Science Coding

8th - 9th Grade

18 Qs

Y10M2A2 - Selection

Y10M2A2 - Selection

6th - 10th Grade

15 Qs

Programming Computer Science

Programming Computer Science

8th - 9th Grade

18 Qs

Python Objective 2

Python Objective 2

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Max Higgs

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the process of checking the value of a variable and executing instructions based on the outcome called?

Looping

Selection

Iteration

Recursion

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the term for the instructions executed as a result of a selection?

Loop

Condition

Program branch

Function

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the logical checking of a variable against another value known as?

Loop

Condition

Selection

Branch

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is a Boolean variable used in a condition also known as?

Loop

Flag

Branch

Condition

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What must be done to the code for each program branch?

Enclose it in brackets

Indent it with a tab

Comment it

Capitalize it

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Why is it good practice to comment a selection?

To make the code run faster

To explain its purpose

To reduce the size of the code

To make the code look neat

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is it called when one “if” construct is placed inside another “if” construct?

Looping

Nesting

Branching

Recursion

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?