Search Header Logo

Programming Constructs_Y10

Authored by F. LaGrand

Computers

9th - 12th Grade

Used 16+ times

Programming Constructs_Y10
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Select below the 3 basic programming constructs?

Selection

Revolution

Sequencing

Iteration

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type of the variable below?


nbPassengers <-- Enter the number of passengers

real

integer

boolean

string

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the Python statement to display something on the screen?

input()

if()

print()

int()

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these are iteration statements?

Media Image
Media Image
Media Image

5.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

#Complete this Python programme that allows the user to enter his name:


name = ...........("Enter your name: ")

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Python statement allowing the user to enter a value?

print()

output()

insert()

input()

7.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

Complete this Python code that displays a student's favourite subject.


........... ("My favourite subject is :", subject)

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?