Python-01-Basic-Test

Python-01-Basic-Test

10 Qs

quiz-placeholder

Similar activities

Week 3 Quiz

Week 3 Quiz

KG - University

10 Qs

French and Indian War Quiz

French and Indian War Quiz

6th Grade

15 Qs

The Absolutely True Diary Test Ch. 1-12

The Absolutely True Diary Test Ch. 1-12

KG - University

13 Qs

LV08

LV08

KG - University

12 Qs

Career Advice on becoming a Beauty Therapist by Danielle S (Full Version)

Career Advice on becoming a Beauty Therapist by Danielle S (Full Version)

KG - University

10 Qs

U02 Review Vocabulary Test

U02 Review Vocabulary Test

KG - University

10 Qs

Python-01-Basic-Test

Python-01-Basic-Test

Assessment

Quiz

others

Hard

Created by

Chun-Jung Lin

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?