Search Header Logo

Year 9 Summer Term 1 Homework

Authored by Luigi Fauceglia

Computers

6th Grade

Used 1+ times

Year 9 Summer Term 1 Homework
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an advantage of using local variables?

They allow the variable to be used throughout the whole program

They allow variable identifiers to be reused each time

They are easier to program than global variables

A wider range of data types can be used

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Leo wants to create a subroutine that will roll a dice. Which syntax is correct?

def dice roll ():

def diceroll ()

def diceroll ():

def diceroll []:

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the output be from this program?

Error

Hello

Hello, World

World

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which python operator means 'less than or equal to'?

>
<
>=
<=

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is another word for 'iteration'?

Selection
Variable Assignment
Repetition
Sequencing

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

How many times will this loop run?

10
9
4
5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which word completes this sentence: "Iteration makes code more ___________"

Complex

Efficient

Simple

Straightforward

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?