Unit 3: Basic Python & Console Interaction

Unit 3: Basic Python & Console Interaction

9th - 12th Grade

21 Qs

quiz-placeholder

Similar activities

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

11th Grade - University

16 Qs

Python

Python

9th - 12th Grade

20 Qs

Defining Data Science

Defining Data Science

11th Grade

20 Qs

Skills of an Administrator Assessment

Skills of an Administrator Assessment

12th Grade - University

20 Qs

Uji Pemahaman Array dan Fungsi

Uji Pemahaman Array dan Fungsi

11th Grade - University

20 Qs

2.00

2.00

9th - 12th Grade

20 Qs

Algorytmy

Algorytmy

10th Grade

20 Qs

Artificial Intelligence Class X

Artificial Intelligence Class X

10th Grade

20 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 73+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?