Basic Python and Console Interaction Flashcard

Basic Python and Console Interaction Flashcard

Assessment

Flashcard

Computers

12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

18 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the final result of the expression 4 + 5 * 3?

Back

19

2.

FLASHCARD QUESTION

Front

What is the final result of the expression 7/2 + 6?

Back

9.5

3.

FLASHCARD QUESTION

Front

Choose the print statement below that will cause an error. Assume that num has the value 6, and name has the value Isabella.

Back

Media Image

4.

FLASHCARD QUESTION

Front

Which one of the statements below will cause an error? ans = "hi" * 8, ans= "hi" + 9, ans="hi" +"hi" +"hi", ans=("a" * 4) + "b"

Back

ans= "hi" + 9

5.

FLASHCARD QUESTION

Front

What does the following program print?

Back

6.

FLASHCARD QUESTION

Front

Suppose you have a variable defined a = '4'. What is the variable type of a?

Back

str

7.

FLASHCARD QUESTION

Front

Choose the option that correctly prints out the variable(s).

Back

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?