Unit 3: Basic Python & Console Interaction

Unit 3: Basic Python & Console Interaction

9th - 12th Grade

21 Qs

quiz-placeholder

Similar activities

LATIHAN SOAL CTRL

LATIHAN SOAL CTRL

7th Grade - University

25 Qs

Kuis Algoritma dan Pemrograman Informatika XII Kelompok 1

Kuis Algoritma dan Pemrograman Informatika XII Kelompok 1

12th Grade

20 Qs

2.00

2.00

9th - 12th Grade

20 Qs

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

11th Grade - University

16 Qs

Role of Banks Quiz

Role of Banks Quiz

10th Grade

25 Qs

условный оператор

условный оператор

11th Grade - University

25 Qs

ASAS SAINS KOMPUTER TINGKATAN 2 KOD ARAHAN (3.1.3 i, ii dan iii)

ASAS SAINS KOMPUTER TINGKATAN 2 KOD ARAHAN (3.1.3 i, ii dan iii)

12th Grade

19 Qs

Python - Chapter 3 Practice Quiz

Python - Chapter 3 Practice Quiz

12th Grade

25 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 69+ 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?