Search Header Logo

Program Development - Python: Code Tracing

Computers

8th - 10th Grade

Used 53+ times

Program Development - Python: Code Tracing
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which part is the inbuilt Python command?

Written in purple
Written in green
The text in brackets
The text in speech marks

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which part is the string?

Written in purple
Written in green
The text in brackets
The text in speech marks

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will this code do?

Miss a line space between two sentences
Miss two lines spaces between a sentence
Miss two lines spaces between two sentences
It will print ""

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the \n mean?

New line
New word
New file
Nothing - it's a mistake

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What's the name of the variable in this code?

School
if
input
print

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many in built Python commands are used in this code?

1
2
3
4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many strings are there in this code?

4
3
2
1

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?