Blank Quiz

Blank Quiz

KG

48 Qs

quiz-placeholder

Similar activities

Intro to World Geography

Intro to World Geography

7th Grade

50 Qs

The South Test Review

The South Test Review

8th Grade

48 Qs

Python second

Python second

KG - University

50 Qs

GS34_MVIT_ME_AIML_Exam

GS34_MVIT_ME_AIML_Exam

KG - University

50 Qs

Soal Olimpiade Akademik Sekolah Bidang Informatika

Soal Olimpiade Akademik Sekolah Bidang Informatika

KG - University

50 Qs

October OJT test

October OJT test

KG - University

43 Qs

Web6

Web6

11th Grade

44 Qs

SEA Map/Religions/Government

SEA Map/Religions/Government

KG - University

50 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?