Search Header Logo

Python

Authored by vijayanandh ece

Computers

University

CCSS covered

Used 287+ times

Python
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 CHOICE QUESTION

30 sec • 1 pt

What is python named after

The snake
Television show called Monty Python

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Hello world!
SyntaxError
Hello world
print(Hello world!)

Tags

CCSS.L.2.2C

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python identifies blocks of code by

BEGIN and END keywords
{ and }
aligning up the starts of lines (indentation)
guessing

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

TypeError
Hello world world!
Hello world!Hello world!
Hello world! * 2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

people = ["John", "Rob", "Bob"]

print (people[-1])

what would this result be?

John
Rob
Bob

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To create a newline at the end of prompt, you can use which of the following expressions?

\new
\n
\break
\return

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

A box(memory location) where you store values
a type of graphics
Data type
a type of memory

Tags

CCSS.6.EE.B.6

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?

Discover more resources for Computers