Search Header Logo

Python Fundamentals

Authored by Alfie Rivadenera

Computers

9th - 12th Grade

Used 3+ times

Python Fundamentals
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the output from the following code?

print( Hello World )

Syntax Error

Hello World

" Hello World "

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the output from the following code?

Print(" Hello ")

Initialization Problem

Hello

" Hello "

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the input for the following code?

Python

is

easy

Print( Python is easy)

print(" Python ")

print("is")

print("easy")

print( Python is easy)

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the outcome of running this code:

30

10

20

1020

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the outcome of running this code if the user types in 50:

50

60

10

none of these answers

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will print out as a result of this code?

Your lucky numbers are 13 and 45.

Your lucky numbers are 45 and 13.

Your lucky numbers are { } and { }.

you do not have enough information to determine this

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will display if someone enters 10 and then 22 into the prompts?

error

1022

32

2210

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?