Python_3P_Basics

Python_3P_Basics

11th Grade

31 Qs

quiz-placeholder

Similar activities

Python Programming Quiz

Python Programming Quiz

9th - 12th Grade

30 Qs

Python

Python

10th Grade - University

34 Qs

Creative iMedia Planning and Production Documents

Creative iMedia Planning and Production Documents

11th Grade

36 Qs

Tech Quiz 2025-26

Tech Quiz 2025-26

9th Grade - University

30 Qs

AI History Quiz

AI History Quiz

11th Grade

30 Qs

Quiz sobre o Telégrafo e Disquetes

Quiz sobre o Telégrafo e Disquetes

11th Grade

30 Qs

Python_3P_Basics

Python_3P_Basics

Assessment

Quiz

Information Technology (IT)

11th Grade

Hard

Created by

diego gantiva

Used 6+ times

FREE Resource

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many variables are there in this program?

2

3

4

5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would be the output of this program if the user input was 10?

22.04

220.4

2204

Error wrong data type

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would be the output of this program if the user entered "yes" then "what"?

Enjoy your day

it is too windy for an umbrella

Take an umbrella

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type represents a decimal number?

Float

Int

Boolean

String

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct code for creating a list of names?

nameList = John, Harry, Jesse, John, Harry, Harry

nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")

nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]

nameList = [John, Harry, Jesse, John, Harry, Harry]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

List items have an index number. In the following list, which item has the index number of 3?

["John", "Harry", "Jesse", "John", "Harry", "Harry"]

"John"

"Harry"

"Jesse"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these pieces of code would return the name "Harry" from the following list?

nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]

nameList()

nameList[1]

NameList(4)

nameList["4"]

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?