Unit 3: Basic Python & Console Interaction

Unit 3: Basic Python & Console Interaction

9th - 12th Grade

21 Qs

quiz-placeholder

Similar activities

Python - Chapter 3 Practice Quiz

Python - Chapter 3 Practice Quiz

12th Grade

25 Qs

Python

Python

9th - 12th Grade

20 Qs

кэгэ информатика

кэгэ информатика

11th Grade

19 Qs

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

11th Grade - University

16 Qs

Simulasi Pra  Ujian SMT 1 Py

Simulasi Pra Ujian SMT 1 Py

10th Grade

20 Qs

Tes Formatif Python

Tes Formatif Python

11th Grade

20 Qs

BÀI KIỂM TRA 15 PHÚT - Môn Tin Học 10 - HK2-PYTHON

BÀI KIỂM TRA 15 PHÚT - Môn Tin Học 10 - HK2-PYTHON

10th Grade - University

20 Qs

Kiểm Tra Môn Tin Học 10

Kiểm Tra Môn Tin Học 10

10th Grade - University

17 Qs

Unit 3: Basic Python & Console Interaction

Unit 3: Basic Python & Console Interaction

Assessment

Quiz

Information Technology (IT)

9th - 12th Grade

Medium

Created by

Jennifer Brockman

Used 67+ times

FREE Resource

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the final result of the expression 10 + 4 * 5

50
20
30
14

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the final result of the expression 8 / 3 + 6

7.5
8.6667
10
5.3333

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the print statement below that will cause an error. Assume that num has the value 6, and name has the value George.

print(name + ":" )

print(num)

print(name + " wants " + "num " + "candies")

print(name + ": " + str(num))

print(name + ": " + num)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the statements below will cause an error?

y = "yes" * 6

y = "yes" + 10

y = "yes" + "yes"

y = ("a"*4)+"b"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following program print?

<class 'str'>

<class 'int'>

<class 'float'>

The program crashes & doesn't print anything.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose you have a variable defined num = "4". What is the variable type of num?

int

float

str

number

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the option that correctly prints out the variable(s).


Media Image
Media Image
Media Image
Media Image

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?