Python Objective 2

Python Objective 2

8th Grade

15 Qs

quiz-placeholder

Similar activities

MS EXCEL

MS EXCEL

8th - 10th Grade

20 Qs

Conditionals in JavaScript

Conditionals in JavaScript

7th - 8th Grade

14 Qs

Excel

Excel

8th Grade

10 Qs

Excel If function WSC 4.2.3

Excel If function WSC 4.2.3

7th Grade - University

10 Qs

Coding 300 Coding Basics

Coding 300 Coding Basics

7th - 8th Grade

10 Qs

Code.org Express Course Vocab

Code.org Express Course Vocab

6th - 8th Grade

18 Qs

Code.org Express Course Quiz 2

Code.org Express Course Quiz 2

6th - 8th Grade

15 Qs

Review Python

Review Python

8th Grade

15 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?