Search Header Logo

Python basics

Authored by Shruthi Satheesh

Computers

9th - 10th Grade

Used 11+ times

Python basics
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

Choose the statement that would display Good luck on the screen.

print(Good luck)

print("Good luck")

print = "Good luck"

print = Good luck

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the following program trying to do?

checking if the input numbers do not match

printing yes or no

checking if the input numbers match

printing yes

3.

OPEN ENDED QUESTION

3 mins • Ungraded

Media Image

complete the program shown to check if the input number is greater than 50

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • Ungraded

Write the input statement to ask for a name. You can call your variable as UserName.

Evaluate responses using AI:

OFF

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to display the variable score?

print("score")

print(score)

print = score

print = "score"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following represents the output of the shown program?

50

100

yes

num1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

how do you take a numeric input from the user?

number = input("Enter a number")

number = int = input("enter a number")

number = int(input("Enter a number"))

number (int) = input("Enter a number")

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?