
Ch. 5 Exam Review
Authored by Ashley Brown
Information Technology (IT)
8th Grade
Used 33+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 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?
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
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?
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
Only the first parameter will be present in the output string
The resulting string must be less than 128 characters in length
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)
purple
My favorite color ispurple
My favorite color is favoriteColor
My favorite color is purple
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)
$ 112.5
My balance is: $ accountBalance
My balance is: $ 112.5
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? print("If you can dream it", "you can do it.", sep="#")
If you can dream it#you can do it.
If you can dream it, you can do it.
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 = " ")
1
2
3
0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following two statements about the print() function are true?
print() with multiple parameters will automatically convert all values to strings and join them together with a space
print() with a single string parameter will display the exact string that you pass in
Both of these are true
Neither of these is true
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
22 questions
Team Role Quiz (Belbin Inspired)
Quiz
•
8th Grade
20 questions
Latihan Soal Bab 1 dan 2
Quiz
•
8th Grade
20 questions
Computer Basics Quiz
Quiz
•
7th Grade - University
20 questions
TEKNOLOGI INFORMASI DAN KOMUNIKASI
Quiz
•
8th Grade
20 questions
Checkboxes e Campos Somente Leitura
Quiz
•
3rd Grade - University
20 questions
Image editing
Quiz
•
4th Grade - University
20 questions
UH 1 Kelas 8 Ganjil 2024 INFORMATIKA
Quiz
•
8th Grade
20 questions
Ulangan Harian Kelas 4
Quiz
•
4th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
7th grade ELA Vocabulary Review
Quiz
•
7th - 8th Grade
22 questions
Phases of the moon
Quiz
•
8th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
14 questions
finding slope from a graph
Quiz
•
8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
7 questions
Path and Ortho Greek bases
Quiz
•
6th - 8th Grade
20 questions
Relative Pronouns
Quiz
•
4th - 8th Grade
8 questions
8th U6L1: Organizing Data
Quiz
•
8th Grade