Blank Quiz

Blank Quiz

KG

48 Qs

quiz-placeholder

Similar activities

Web Designing Test

Web Designing Test

University

50 Qs

Python_1121-Midterm

Python_1121-Midterm

KG - University

46 Qs

EOUT 8.2 Binary Representation

EOUT 8.2 Binary Representation

KG - University

53 Qs

Building Customer Trust & Ethical Banking Practices

Building Customer Trust & Ethical Banking Practices

Professional Development

50 Qs

FINAL REVIEW - Intro to Programming

FINAL REVIEW - Intro to Programming

KG - University

50 Qs

Duplicate of PROTEIN SYNTHESIS

Duplicate of PROTEIN SYNTHESIS

KG - University

44 Qs

ИНФОРМАТИКА I НҰСҚА

ИНФОРМАТИКА I НҰСҚА

11th Grade

45 Qs

Blank Quiz

Blank Quiz

KG - University

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