Python Review 2023-01-12

Python Review 2023-01-12

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Cuestionario Steve Jobs

Cuestionario Steve Jobs

12th Grade - University

10 Qs

Fondo de pantalla

Fondo de pantalla

10th Grade

10 Qs

1.6 Ejemplo de aplicación Web

1.6 Ejemplo de aplicación Web

12th Grade

12 Qs

Software-Chapter 6

Software-Chapter 6

7th - 10th Grade

10 Qs

ICT as Platform for Change

ICT as Platform for Change

11th - 12th Grade

10 Qs

Introducción Redes Tele1 IB

Introducción Redes Tele1 IB

10th Grade - University

15 Qs

Contact Center Sevices

Contact Center Sevices

7th - 10th Grade

10 Qs

Questionário Aula 6 - Int. à Inf. (Segurança e Proteção)

Questionário Aula 6 - Int. à Inf. (Segurança e Proteção)

10th Grade

10 Qs

Python Review 2023-01-12

Python Review 2023-01-12

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Michael Ida

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this function do?

Returns the product of its parameters

Returns the sum of its parameters

Returns the largest of its parameters

Returns the smallest of its parameters

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will this code snippet print?

cow

sheep

pig

ox

3.

REORDER QUESTION

1 min • 1 pt

You want to write code to aske the user to enter his or her favorite food and then print "good" if the response is "fries" and "bad" if it isn't. Reorder the statements below to accomplish this.

Media Image
Media Image
Media Image
Media Image
Media Image

4.

DRAG AND DROP QUESTION

1 min • 1 pt

How would you write a for loop to repeat 15 times using a counter variable called count?

for ​ (a)   ​ (b)   ​ (c)   ​ (d)  

count
in
range(15)
:

5.

DRAG AND DROP QUESTION

1 min • 1 pt

You want to create a conditional to check whether a variable called n is positive. How would you do this?

​ (a)   n ​ (b)   ​ (c)   ​ (d)  

if
>
0
:
<
<=
>=
==
!=
for

6.

DRAG AND DROP QUESTION

1 min • 1 pt

A ​ (a)   loop repeats a specified number of times. A ​ (b)   loop repeats as long as a condition is met.

for
while
conditional
list
block
if
variable
function
recursive
iterative

7.

MATCH QUESTION

1 min • 1 pt

Match each description with the code snippet that is an example of that description.

list

Media Image

for loop

Media Image

conditional

Media Image

while loop

Media Image

function

Media Image

Access all questions and much more by creating a free account

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

Already have an account?