PYTHON ASSESSMENT_PRT_1

PYTHON ASSESSMENT_PRT_1

44 Qs

quiz-placeholder

Similar activities

Waves and Sound Test - short

Waves and Sound Test - short

11th Grade

41 Qs

Toddler Unit Test Review

Toddler Unit Test Review

12th Grade

49 Qs

HUMN02G - ELEMENTS AND CLASSIFICATION OF MUSIC

HUMN02G - ELEMENTS AND CLASSIFICATION OF MUSIC

University

41 Qs

Intro to Computer Science - Sem 2 - Final Exam - 24-25

Intro to Computer Science - Sem 2 - Final Exam - 24-25

9th - 12th Grade

45 Qs

Test: Waves and Sound

Test: Waves and Sound

12th Grade

45 Qs

Magnetism/Electricity Review

Magnetism/Electricity Review

6th - 8th Grade

46 Qs

Y8 A2 - End of Unit Assessment

Y8 A2 - End of Unit Assessment

KG - University

40 Qs

Python-Midterm

Python-Midterm

KG - University

46 Qs

PYTHON ASSESSMENT_PRT_1

PYTHON ASSESSMENT_PRT_1

Assessment

Quiz

others

Hard

Created by

Alayande Olajide

Used 4+ times

FREE Resource

44 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in Python?
A number
A letter
A container for storing data
A type of function

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a correct variable name?
5var
variable_name
!var
Python

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the type of x after 'x = 10'?
String
Float
Integer
Boolean

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the type of x after 'x = "Hello"'?
Integer
Float
String
Boolean

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is NOT a valid data type in Python?
int
bool
word
float

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function to check the type of a variable?
typeof()
getType()
type()
varType()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these can hold multiple values?
Integer
String
Tuple
Boolean

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?