Blank Quiz

Blank Quiz

49 Qs

quiz-placeholder

Similar activities

ETHICS - MIDTERM EXAM - 2023

ETHICS - MIDTERM EXAM - 2023

KG - University

50 Qs

แบบทดสอบ Coding ม.1-3

แบบทดสอบ Coding ม.1-3

KG - University

53 Qs

Blank Quiz

Blank Quiz

KG

48 Qs

Python second

Python second

KG - University

50 Qs

PYTHON ASSESSMENT_PRT_1

PYTHON ASSESSMENT_PRT_1

KG - University

44 Qs

GS34_MVIT_ME_AIML_Exam

GS34_MVIT_ME_AIML_Exam

KG - University

50 Qs

Python_1121-Midterm

Python_1121-Midterm

KG - University

46 Qs

2023-2024 Video Game Design Final

2023-2024 Video Game Design Final

KG - University

49 Qs

Blank Quiz

Blank Quiz

Assessment

Quiz

others

Hard

Created by

ROHIT K

Used 3+ times

FREE Resource

49 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

What is the output of the following code? print(type(10))

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

5.

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

6.

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 = ""

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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?