Search Header Logo

Intro CS Python

Authored by Darren Hanson

Education

9th - 12th Grade

Used 1+ times

Intro CS Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello world!\nHello world!")

Hello world! Hello world!
Hello world!
Hello world!
SyntaxError
Hello world!

2.

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

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol do you use to make a comment in Python?

@
¬
;
#

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Python built-in function used to display numbers and text on the screen?

print

input

output

command

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

A location in memory used to store data that can be changed.

Constant
Value
Variable
Iteration

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Python built-in function to converts a number to a string?

str()

int()

parseInt()

convert

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Symbol used for modulus

%
&
#
**

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?