
Girls Who Code Lesson 3 review
Authored by Hari Ganesh
Other
6th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this program when the user writes: "red"
color = input("Favorite color: ")
print("my favorite color is " + color)
red
my favorite color is red
my favorite color is color
red is my favorite color
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Correct this code
x = "input("What grade are you in?"
input = ("What grade are you in")
input("What grade are you in)"
x = input("What grade are you in?)"
x = "input("What grade are you in?")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when the program reaches the `input()` line?
The program immediately ends.
The program will continue running infinitely.
The program waits for the user to write input in the prompt.
The program prints an runtime error.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the `print()` function in this code?
To take input from the user.
To display the user's input.
To pause the program.
To end the program.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fix the following code
x = input(Length of rectangle: )
y = input(Width of rectangle: )
print("Area: " + x * y)
x = input("Length of rectangle: ")
y = input("Width of rectangle: ")
print("Area: " + (x*y))
x = int(input("Length of rectangle: "))
y = int(input("Width of rectangle: "))
print("Area: " + str(x*y))
x = int("Length of rectangle: ")
y = int("Width of rectangle: ")
print("Area: " + str(x * y))
The code runs without any errors.
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
10 questions
Ori and the will of the wisps
Quiz
•
KG - Professional Dev...
10 questions
vehicle transmission and driveline units(a)
Quiz
•
KG - 12th Grade
8 questions
FaZe Kaz
Quiz
•
4th - 12th Grade
10 questions
COMPARE AND CONTRAST
Quiz
•
4th - 7th Grade
10 questions
Baking
Quiz
•
KG - Professional Dev...
10 questions
Jannat Zubair
Quiz
•
6th - 12th Grade
7 questions
Stargazing Quiz
Quiz
•
KG - 6th Grade
10 questions
GA - Task Management
Quiz
•
1st - 10th Grade
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 Other
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
36 questions
6th Grade Math STAAR Review
Quiz
•
6th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
30 questions
Literary Terms and Definitions Quiz
Quiz
•
6th Grade
23 questions
Solve and Graph Inequalities
Quiz
•
6th Grade
15 questions
Distributive Property & Review
Quiz
•
6th Grade