Unit 3: Basic Python & Console Interaction

Unit 3: Basic Python & Console Interaction

9th - 12th Grade

21 Qs

quiz-placeholder

Similar activities

COSRS_STEM 11H

COSRS_STEM 11H

11th Grade

20 Qs

ISC Week 11

ISC Week 11

12th Grade - University

20 Qs

Cyber 1 Networking FINAL

Cyber 1 Networking FINAL

9th - 12th Grade

20 Qs

Cuestionario de conceptos de programación y Micro:bit

Cuestionario de conceptos de programación y Micro:bit

9th Grade

20 Qs

QUIZ TIK EXCEL

QUIZ TIK EXCEL

10th Grade - University

25 Qs

Uji Pengetahuan Teknologi Informasi

Uji Pengetahuan Teknologi Informasi

9th Grade - University

20 Qs

COMPUTERIZED ACCOUNTING

COMPUTERIZED ACCOUNTING

12th Grade

20 Qs

Ujian Sumatif Informatika

Ujian Sumatif Informatika

10th Grade

20 Qs

Unit 3: Basic Python & Console Interaction

Unit 3: Basic Python & Console Interaction

Assessment

Quiz

Information Technology (IT)

9th - 12th Grade

Practice Problem

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?