Python Objective 2

Python Objective 2

8th Grade

15 Qs

quiz-placeholder

Similar activities

Python Week 3 Homework - Conditional Statements

Python Week 3 Homework - Conditional Statements

8th Grade

11 Qs

Coding Definitions

Coding Definitions

5th Grade - Professional Development

18 Qs

Python Next Steps Homework Quiz

Python Next Steps Homework Quiz

8th - 10th Grade

20 Qs

Scratch Operators Quiz

Scratch Operators Quiz

1st Grade - University

20 Qs

Code Vocabulary

Code Vocabulary

3rd Grade - University

18 Qs

ABD5 (C++)

ABD5 (C++)

8th Grade

20 Qs

AQA GCSE Computer Science - 3.2.2 Programming Concepts

AQA GCSE Computer Science - 3.2.2 Programming Concepts

8th - 10th Grade

20 Qs

Data validation and verification

Data validation and verification

7th - 11th Grade

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