Python basics

Python basics

9th - 10th Grade

20 Qs

quiz-placeholder

Similar activities

Python Basics Quiz

Python Basics Quiz

9th Grade

15 Qs

FOR and WHILE loop in Python

FOR and WHILE loop in Python

9th - 12th Grade

18 Qs

Python - Programming Constructs - KS3 Y9

Python - Programming Constructs - KS3 Y9

8th - 9th Grade

15 Qs

Algoritma Fungsi Phyton

Algoritma Fungsi Phyton

10th Grade

20 Qs

Python Final-Exam

Python Final-Exam

9th Grade

21 Qs

Python

Python

6th Grade - University

15 Qs

IST P-STEM Unit 1 Hardware and Python Review

IST P-STEM Unit 1 Hardware and Python Review

8th - 12th Grade

20 Qs

Python Casting and Input

Python Casting and Input

8th - 11th Grade

15 Qs

Python basics

Python basics

Assessment

Quiz

Computers

9th - 10th Grade

Medium

Created by

Shruthi Satheesh

Used 9+ times

FREE Resource

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 • 1 pt

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 • 1 pt

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")

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?