Sequence and Selections

Sequence and Selections

9th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

ICT9 - SmallBasic

ICT9 - SmallBasic

9th Grade

9 Qs

Excel Overview

Excel Overview

9th - 12th Grade

10 Qs

Spreadsheet1

Spreadsheet1

12th Grade

10 Qs

OCR GCSE CS - 2.1 ERL sorts and searches

OCR GCSE CS - 2.1 ERL sorts and searches

10th - 11th Grade

9 Qs

INTRODUCCION A LA PROGRAMACION

INTRODUCCION A LA PROGRAMACION

6th Grade - University

10 Qs

2025 python class first quiz

2025 python class first quiz

9th Grade - University

10 Qs

MEDIA AND INFORMATION LITERACY

MEDIA AND INFORMATION LITERACY

12th Grade

10 Qs

ตัวแปร และชนิดตัวแปร

ตัวแปร และชนิดตัวแปร

9th - 12th Grade

10 Qs

Sequence and Selections

Sequence and Selections

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

H Valli

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

6 questions

Show all answers

1.

DRAG AND DROP QUESTION

1 min • 1 pt

place the answers correctly in order to ask the age of a user:

​​ (a)   = ​ (b)   ​ ​ ​ (c)   ​ ​ ​ (d)  

int (
(
input (
"What is your age"
))
age

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to print hello world

Print("hello world")

print = "hello world"

print(hello world)

print("hello world")

Answer explanation

Media Image

When you want to print hello world,

1) always make sure that the 'p' in print is always lower case

2) always make sure there are brackets after print

3) always make sure there is no space between print and the brackets

4) always make sure there are speech marks inside the brackets, UNLESS, you want to output the value in a variable

correct answer:

print("hello world")

3.

REORDER QUESTION

1 min • 1 pt

Reorder the following

=

27

kiwi

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following TWO are NOT correct variable names

player_life

_marvel

#playerone

1_life

Answer explanation

Media Image

A variable can have:

1) Letter (0-9)

2) Number (A-z)

3) Underscore ( _ )

Rules:

1) A variable name cannot start with a Number

2) No special characters are allowed EXCEPT for underscore ( _ )

3) Spaces are not allowed when naming a variable

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the term sequencing mean?

To code something in the correct order

To code something in any order, as long as it makes sense to me

To iterate something 2 times

To find a result between 2 conditions

Answer explanation

Media Image

Sequencing means to ensure that everything is in a correct and logical order

Lets look at a recipe, If I was to change the recipe order, there may be a change in taste, colour and/or smell.

Similarly, a computer needs to be told what to do in order otherwise it will get confused and crash!

6.

DRAG AND DROP QUESTION

1 min • 1 pt

Order the code correctly:

  1. 1. ​ ​ (a)  

  2. 2. ​ (b)  

  3. 3. ​ (c)  

  4. 4. ​ (d)  

num1 = int(input("gimme a number")
num2 = int(input("gimme a number")
ans = num1 + num2
print(ans)
num1 = input(int(gimme a number))
num2 = input(int("gimme a number))
Print("Ans")
Print(ans)