Python_3P_Basics

Python_3P_Basics

11th Grade

31 Qs

quiz-placeholder

Similar activities

Year 5 ICT Revision Quiz

Year 5 ICT Revision Quiz

5th Grade - University

30 Qs

Test3

Test3

9th - 12th Grade

30 Qs

Quiz 3.1 - Operating Systems

Quiz 3.1 - Operating Systems

9th - 12th Grade

29 Qs

Digital Scam

Digital Scam

9th - 12th Grade

30 Qs

Quiz Pemrograman Server Side

Quiz Pemrograman Server Side

11th Grade

26 Qs

Review Python_G8

Review Python_G8

8th Grade - University

28 Qs

Revision Quiz 3

Revision Quiz 3

9th Grade - University

30 Qs

Y9 Python Review

Y9 Python Review

9th Grade - University

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?