Search Header Logo

Introduction to Python programming

Authored by Wayground Content

Computers

6th - 8th Grade

Used 2+ times

Introduction to Python programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the answer to?

print(10 % 4)

1

3

2

4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = "Dave"

print (name)

Dave

'Dave'

name

(name)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A syntax error means your code has a 'grammar' mistake or you used symbols/operations incorrectly

True
False

4.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

What, if anything, is wrong with the following?

input=x("Type your password: ")

print(x)

The variable should be switched with the input command

Input commands don't need ( )

You can't print x

Nothing is wrong

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the word (command) used to display numbers and text on the screen?

print
input
output
command

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement correctly assigns the string "Tanner" to the variable name?

name  = print( "Tanner")
input("Tanner")
name = "Tanner"
name = input("Tanner")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When you have an error in your code what is the term to summarise finding and fixing that error?

Error checking
Debugging
Syntax finder
Error finder

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?