Blank Quiz

Blank Quiz

KG

48 Qs

quiz-placeholder

Similar activities

PYTHON ASSESSMENT_PRT_1

PYTHON ASSESSMENT_PRT_1

KG - University

44 Qs

Java 3 Test Review

Java 3 Test Review

KG - University

51 Qs

Chapter 03 2021 UPC

Chapter 03 2021 UPC

KG - University

43 Qs

The French Revolution

The French Revolution

KG - University

53 Qs

HISTORY HEXAGEM CHALLENGE

HISTORY HEXAGEM CHALLENGE

University

50 Qs

2023-2024 Video Game Design Final

2023-2024 Video Game Design Final

KG - University

49 Qs

Intro to Computer Science Final Exam 2025

Intro to Computer Science Final Exam 2025

8th Grade

48 Qs

Blank Quiz

Blank Quiz

Assessment

Quiz

others

KG

Hard

Created by

ROHIT K

FREE Resource

48 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in Python?
1variable
variable-1
variable_1
variable 1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these data types is immutable in Python?
List
Dictionary
Tuple
Set

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of len("Hello")?
4
5
6
Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code do? my_list = [1, 2, 3] my_list.append(4) print(my_list)
Print [1, 2, 3]
Print [1, 2, 3, 4]
Error
None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create a dictionary in Python?
my_dict = {}
my_dict = []
my_dict = ()
my_dict = ""

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is not a Python keyword?
def
return
assert
function

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a single-line comment in Python?
// comment
/* comment */
# comment

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?