PLTW CSE Essentials - Review for EOC #2

PLTW CSE Essentials - Review for EOC #2

Assessment

Flashcard

Computers

9th - 12th Grade

Easy

Created by

Quizizz Content

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

70 questions

Show all answers

1.

FLASHCARD QUESTION

Front

people = ["John", "Rob", "Bob"]
print (people[-1])
what would this result be?

Back

Bob

2.

FLASHCARD QUESTION

Front

people = ["John", "Rob", "Bob"]
print (people[4])
what would this result be?

Back

Error

3.

FLASHCARD QUESTION

Front

What numbers are included in this range call: range(2, 10, 2)? Options: 2, 4, 6, 8, 10; 2, 4, 6, 8; 1, 2, 3, 4, 5, 6, 7, 8, 9; 2, 3, 4, 5, 6, 7, 8, 9

Back

2, 4, 6, 8

4.

FLASHCARD QUESTION

Front

What will the output be from the following code?
print("Hello world!\nHello world!")

Back

Hello world!
Hello world!

5.

FLASHCARD QUESTION

Front

What will the output be from the following code?
print("Hello world!" * 2)

Back

Hello world!Hello world!

6.

FLASHCARD QUESTION

Front

To create a newline at the end of prompt, you can use which of the following expressions? Options: \new, \n, \break, \return

Back

\n

7.

FLASHCARD QUESTION

Front

What symbol is used in python to assign values to a variable?

Back

equals =

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?