string

string

11th Grade

12 Qs

quiz-placeholder

Similar activities

loop while/do while

loop while/do while

7th - 12th Grade

10 Qs

Python - True or False?

Python - True or False?

7th - 11th Grade

14 Qs

Pre Tes XI PPLG A

Pre Tes XI PPLG A

11th Grade

10 Qs

Pretest Peluang usaha

Pretest Peluang usaha

11th Grade

15 Qs

TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN

TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN

11th Grade

10 Qs

CE4 - Health and Green IT

CE4 - Health and Green IT

7th - 11th Grade

12 Qs

EmTech Q1 Pre-Test 4

EmTech Q1 Pre-Test 4

11th Grade

10 Qs

Review Quiz #2- Productivity Tools

Review Quiz #2- Productivity Tools

11th - 12th Grade

10 Qs

string

string

Assessment

Quiz

Computers

11th Grade

Medium

CCSS
L.2.2C

Standards-aligned

Created by

Sarika Kaushal

Used 24+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

SyntaxError
Hello world!
"Hello world!"
print(Hello world!)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print("12"*3)
What would this print?

36
121212
24
12*3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("3+4")

7
3+4
34
SyntaxError

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print(9/3)

3
3.0
9/3
SyntaxError

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What letter will be printed on the screen after running this code:

e
x
t
Nothing prints

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is printed by the following statements?

s = "programming in Python"

print(len(s))

20

21

22

nothing - there is an error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What characters are printed by the following statements?

s = "APCSP2018"

for idx in range(len(s)):

if idx % 2 == 0:

print(s[idx])

ACP08

PS21

APCSP2018

Error

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?