Python-01-Basic-Test

Python-01-Basic-Test

10 Qs

quiz-placeholder

Similar activities

Eletromagnetismo 11ºAno TB/D

Eletromagnetismo 11ºAno TB/D

11th Grade

15 Qs

Evaluación Python G-10 4P NOV

Evaluación Python G-10 4P NOV

KG - University

11 Qs

While Loops Quiz-Banana TaleI

While Loops Quiz-Banana TaleI

7th Grade

14 Qs

C++ Quiz 2

C++ Quiz 2

KG - University

11 Qs

Parcial 1-Laboratorio II-5to BACO-I Unidad Forma B

Parcial 1-Laboratorio II-5to BACO-I Unidad Forma B

KG - University

13 Qs

Python

Python

KG - University

15 Qs

QUIS BACAKU 1

QUIS BACAKU 1

1st - 5th Grade

15 Qs

Duplicate of Proto General Winter 23

Duplicate of Proto General Winter 23

KG - University

11 Qs

Python-01-Basic-Test

Python-01-Basic-Test

Assessment

Quiz

others

Hard

Created by

Chun-Jung Lin

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Which of the following is an annotation symbol in Python?
$
//
#
%

2.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Which of the following is an incorrect variable name?
if
mary
str56
error_i

3.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

num = 8 + True, what is the value of num?
0
1
8
9

4.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the result displayed by print(type(56.0))?
str
float
int
double

5.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Which of the following is wrong?
print(23 + "67")
print(23 + int("67"))
print(str(23) + "67")
print(str(23) + str("67"))

6.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

num = 96 % 5, what is the value of num?
0
1
19
20

7.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

num = 5, then what is the value of num **=3?
3
15
25
125

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?