Lesson_1_2025

Lesson_1_2025

Assessment

Flashcard

Computers

12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

5 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What happens at the Python command line if you type: 12+6-2

Back

16

2.

FLASHCARD QUESTION

Front

Knowing that var1 = 2 and var2 = 6. new_var = var1**2 + var2. What will be the value stored in the variable new_var?

Back

10

3.

FLASHCARD QUESTION

Front

What function can I use to convert an integer into a string character?

Back

str( )

4.

FLASHCARD QUESTION

Front

Which codes can I use to print 'Michael is 20 years old', knowing that the variable first_name = 'Michael' and age = 20. print(​____, 'is' ,____, 'years old.' )

Back

first_name and age

5.

FLASHCARD QUESTION

Front

mylist = ['W','X','Y','Z']. What will be the output if I type this command? mylist[0:2]

Back

['W','X']

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?