Python Quiz

Python Quiz

20 Qs

quiz-placeholder

Similar activities

Lembar Kerja Siswa 2 kelas 8B

Lembar Kerja Siswa 2 kelas 8B

KG - University

20 Qs

JAVASCRIPT FINAL EXAM

JAVASCRIPT FINAL EXAM

KG - University

20 Qs

Percents Unit Test Review Game

Percents Unit Test Review Game

7th Grade

21 Qs

EVALUACIÓN TEORIA GENERAL DE MUESTREO

EVALUACIÓN TEORIA GENERAL DE MUESTREO

KG - University

15 Qs

PHP MCQ 1 (kahoot)

PHP MCQ 1 (kahoot)

KG - University

25 Qs

SOAL TEORI TKJ 2024

SOAL TEORI TKJ 2024

KG - University

20 Qs

2.3 Testing

2.3 Testing

KG - University

20 Qs

Quiz 1

Quiz 1

KG - University

20 Qs

Python Quiz

Python Quiz

Assessment

Quiz

others

Hard

Created by

Jothi P

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What gets printed?
Python Program
PythonXProgram
PythonXrogram
Error, this code will not run

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What gets printed?
nPr
npr
onPr
nP

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
The output of the code shown below is . . . . .
Error
12
15
1512

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many keyword arguments can be passed to a function in a single function call?
zero
one
zero or more
one or more

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What is the output of the following?
The sum of 2 and 10 is 12
Error
The sum of 0 and 1 is 2
The sum of 10 and 12 is 22

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following? print('Ab!2'.swapcase())
AB!@
ab12
aB!2
aB1@

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Predict the Output:
2
1
error
None

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?