Search Header Logo

Python Objective 2

Authored by Max Higgs

Computers

8th Grade

Used 1+ times

Python Objective 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?