CS3 Lesson 3.5: Flashcard

CS3 Lesson 3.5: Flashcard

Assessment

Flashcard

Computers

6th - 8th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

8 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What number will be shown on the display by this code?
a = 4
b = 2
c = a * b
display.show(c)

Back

8

2.

FLASHCARD QUESTION

Front

Which code segment will scroll the temperature in Fahrenheit on the display? Remember, the formula for converting from Celsius is F = C * 1.8 + 32.

Back

Media Image

3.

FLASHCARD QUESTION

Front

What number will be shown on the display by this code?

Back

7

4.

FLASHCARD QUESTION

Front

Which sentence about variables in Python is true? Options: Variables in Python don’t store data, Variables in Python are all the same data type., Variables in Python can store several different data types., None of the above.

Back

Variables in Python can store several different data types.

5.

FLASHCARD QUESTION

Front

Which of these variables is storing a string? a = 2.5, b = -5, c = 'hello', d = 100

Back

c = 'hello'

6.

FLASHCARD QUESTION

Front

What will be scrolled across the display by this code? Options: thisthat, onetwo, one+two, three

Back

onetwo

7.

FLASHCARD QUESTION

Front

What does a while loop do?

Back

Repeats code while a condition is true

8.

FLASHCARD QUESTION

Front

What numbers will be displayed by this code? Options: 4 7, 5 6, 4 5 6, 4 5 6 7

Back

4 5 6