What will the following code print? print("apple", end=" pie") print(" is tasty")
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
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 Quizizz
15 questions
Dash & Dot Programming

Quiz
•
3rd - 5th Grade
12 questions
Intro to Scratch 2

Quiz
•
KG - University
9 questions
Python Loops

Quiz
•
1st - 6th Grade
10 questions
Flow Charts

Quiz
•
1st - 10th Grade
10 questions
Introduction to Python - Loops and Logic

Quiz
•
1st - 6th Grade
10 questions
Python Basics

Quiz
•
4th - 7th Grade
10 questions
Python

Quiz
•
1st - 10th Grade
10 questions
microbit

Quiz
•
4th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
15 questions
Character Analysis

Quiz
•
4th Grade
10 questions
Identifying equations

Quiz
•
KG - University
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Addition and Subtraction

Quiz
•
4th Grade
20 questions
Multiplication Facts

Quiz
•
4th Grade
35 questions
Science Mania Quizizz

Quiz
•
4th - 5th Grade
11 questions
Flag Day

Quiz
•
4th Grade
16 questions
Chapter 8 - Getting Along with your Supervisor

Quiz
•
3rd Grade - Professio...