Basic Python and Console Interaction Flashcard

Basic Python and Console Interaction Flashcard

Assessment

Flashcard

Computers

12th Grade

Practice Problem

Hard

Created by

Wayground 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?

Media Image

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

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?