Search Header Logo

Python

Authored by James Skinner

Computers

11th Grade

Used 11+ times

Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?

print("Hello world!")

Hello world! Hello world!

Hello world!

Hello world!

SyntaxError

Hello world!

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the following code do? myAge = int (myAge)

Converts the var (variable) myAge to a string

Converts the var (variable) myAge to a integer

Converts the var (variable) myAge from a integer to a string

Converts the var (variable) myAge to if statement

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is python named after

The snake
Television show called Monty Python

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?

print(Hello world!)

Hello world!

Error

Hello world

print(Hello world!)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What syntax can you use to insert a line break between strings so that they appear over multiple lines?

/
\n
\l
n

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Joining elements together to make a string is called what?

Combining
Connecting
Concatenation
Stringing

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is an example of a....

Text-based programming language
Object orientated programming language
language written in java script
Visual-based programming language

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?