Python-01-Basic

Python-01-Basic

Assessment

Quiz

Created by

Chun-Jung Lin

others

9 plays

Easy

Student preview

quiz-placeholder

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the type of the following: 0
int
float

2.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the type of the following number: 3.12323
int
float

3.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the result of the following: int(3.99)
3.99
3

4.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the result of the following operation: 11//2
5
5.5

5.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the value of x after the following is run: x=4 x=x/2
4.0
2.0

6.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Media Image
What is the result of the following: Name[0]
"i"
"M"
"n"

7.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Media Image
What is the result of the following: Name[-1]
"o"
"M"
"n"

8.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the output of the following: print("AB\nC\nDE")

AB

CD

E

ABC

DE

AB

C

DE

9.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the result of following? "hello Mike".find("Mike") If you are unsure, copy and paste the code into Jupyter Notebook and check.
5
6
6,7,8