Chapter 3 Review

Chapter 3 Review

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

UNIT 1.2 MEMORY

UNIT 1.2 MEMORY

10th Grade

19 Qs

9.1 Homework #3

9.1 Homework #3

9th Grade

20 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

1.1.3 Proses Penyelesaian Masalah

1.1.3 Proses Penyelesaian Masalah

11th Grade

20 Qs

OOP 1 Undiksha

OOP 1 Undiksha

12th Grade - University

13 Qs

Empowerment Technologies Quiz 2

Empowerment Technologies Quiz 2

11th Grade

10 Qs

8525 AQA GCSE  3.1.1 Pseudo-code

8525 AQA GCSE 3.1.1 Pseudo-code

10th - 11th Grade

14 Qs

Alat Proses

Alat Proses

9th Grade

20 Qs

Chapter 3 Review

Chapter 3 Review

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Evanna Johnson

Used 21+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you concatenate strings together with the plus sign (+), which of the following statements is true?

A space will be automatically added to separate each part within the output string

No spaces will be added to separate the parts within the output string

Only the longer input string will appear in the output string

The resulting string must be less than 128 characters in length

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When you use the print() statement to automatically concatenate multiple parameters together, which of the following statements is true?

The resulting string must be less than 128 characters in length

Only the first parameter will be present in the output string

No spaces will be added to separate the parts within the output string

A space will be automatically added to separate each part within the output string

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output when the following statements are run?

favoriteColor = "purple" print("My favorite color is", favoriteColor)

My favorite color is purple

purple

My favorite color is favoriteColor

My favorite color ispurple

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output when the following statements are run?

accountBalance = 112.5 print("My balance is: $", accountBalance)

My balance is: $ 112.5

My balance is: $ accountBalance

$112.50

You will see an error because you can't use a numeric parameter inside print()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which answer shows the output from the following print() statement?

If you can dream it, you can do it.

print("If you can dream it", "you can do it.", sep="#")

If#you#can#dream#it#you#can#do#it.

you can do it.#sep#If you can dream it

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many lines of output will be shown from the following code?

print("Line 1", end = " ") print("Line 2") print("Line 3", end = " ")

0

1

2

3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following two statements about the print() function are true?

print() with a single string parameter will display the exact string that you pass in

print() with multiple parameters will automatically convert all values to strings and join them together with a space

both of theses are true

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?