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

Algorithms Assessment

Algorithms Assessment

KG - University

18 Qs

EVALUACIÓN TEORIA GENERAL DE MUESTREO

EVALUACIÓN TEORIA GENERAL DE MUESTREO

KG - University

15 Qs

Unit 6  Energy and Heat vocabulary

Unit 6 Energy and Heat vocabulary

KG - University

15 Qs

UNIT 1 - Grade 4. Know Your Computer

UNIT 1 - Grade 4. Know Your Computer

KG - University

15 Qs

Lesson 1 Summative Assessment

Lesson 1 Summative Assessment

KG - University

16 Qs

Quiz - 8 on conditional/ternary operator

Quiz - 8 on conditional/ternary operator

KG - University

15 Qs

8-сынып. Python тілінде алгоритмдерді программалау.

8-сынып. Python тілінде алгоритмдерді программалау.

KG - University

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