Python Lesson 1-6 Review Quiz
Quiz
•
Computers
•
4th Grade
•
Medium
Stephanie Pocci
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will the following code print? print("apple", end=" pie") print(" is tasty")
apple pie is tasty
apple pie
apple is tasty
apple pie is not tasty
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will the following code print? a = 24 print(a)
a
24
"a"
0
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the input() function do in programming?
Deletes a file
Prints a message to the user
Saves a file
Waits for a typed answer from the user
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How can you shorten the code x = x + 1 in Python?
x++
x += 1
x =+ 1
x = 1
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Why can't you add "5" and 5 directly in Python?
Because they are both strings.
Because they are both integers.
Because one is a string and the other is an integer.
Because Python doesn't support addition.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will the code print if you enter the number 5 and DO NOT convert it to an integer before adding 20?
25
5
Error
205
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of the condition (5 == 4)?
True
False
Error
5
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Python-basics
Quiz
•
1st - 4th Grade
10 questions
Loop FOR basics
Quiz
•
1st - 5th Grade
12 questions
Python Quiz - Basics & Turtle
Quiz
•
3rd - 8th Grade
8 questions
T1028 Sem10
Quiz
•
1st - 5th Grade
12 questions
Lists IN PYTHON!!!!!!!!
Quiz
•
KG - 12th Grade
10 questions
Python Math
Quiz
•
1st - 12th Grade
10 questions
9-сынып. Python массив.
Quiz
•
1st - 9th Grade
10 questions
PYTHON (FOR LOOP)
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
10 questions
Video Games
Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines
Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22
Lesson
•
9th - 12th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
20 questions
US Constitution Quiz
Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Place Value
Quiz
•
4th Grade
20 questions
Run-On Sentences and Sentence Fragments
Quiz
•
3rd - 6th Grade
20 questions
4 Types of Sentences
Quiz
•
3rd - 5th Grade
20 questions
place value
Quiz
•
4th Grade
20 questions
Place Value and Rounding
Quiz
•
4th Grade
12 questions
Text Structures
Quiz
•
4th Grade
15 questions
Place Value
Quiz
•
4th Grade
18 questions
Hispanic Heritage Month
Quiz
•
KG - 12th Grade
