

Python quiz
Presentation
•
Computers
•
6th - 12th Grade
•
Practice Problem
•
Medium

Ahmed Samy
Used 37+ times
FREE Resource
3 Slides • 8 Questions
1
Python quiz
by ahmed samy

2
Multiple Choice
1. What is the word used to display numbers and text on the screen?
input
output
command
3
Multiple Choice
2. What is a variable?
A box(memory location) where you store values
a type of graphics
Data type
a type of memory
4
Multiple Choice
4. What is the name of the programming language we are learning?
Scratch
Python
Pie thin
Scribble
5
Multiple Choice
6. What will be the output?
name = 'Dave'
greeting = "Good morning" + name
print (greeting)
Good morning 'Dave'
Good morning Dave
Good morning name
Good morning + Dave
6
Multiple Choice
You can buy some chocolate
You are rich!
Get a job!
You almost have enoughGet a job!
7
Multiple Choice
The following code is used to create a variable and store a value. Why will it NOT work?
my number = 36
The variable can't store a number
A variable name cannot have any spaces
There variable name can't be called my number
The equals symbol should be at the beginning of the line
8
Multiple Choice
What is the output of following code?
list = [ 'Tech', 404, 3.03, 'Beamers', 33.3 ]
print list[1:3]
['Tech', 'Beamers']
[404, 3.03]
[ 'Tech', 404, 3.03, 'Beamers', 33.3 ]
9
Multiple Choice
What is the value of colors[2]?
colors = ['red', 'orange', 'yellow', 'green', 'blue', 'indigo', 'violet']
orange
yellow
blue
indigo
10
Create list to have the prime numbers and create for loop to print all the items
Output :
These are the first four prime numbers
2
3
5
7
11
Good Luck
Ahmed Samy
Python quiz
by ahmed samy

Show answer
Auto Play
Slide 1 / 11
SLIDE
Similar Resources on Wayground
9 questions
Mindset
Presentation
•
7th - 12th Grade
10 questions
Volleyball Lesson
Presentation
•
7th - 12th Grade
11 questions
Descriptive Adjectives
Presentation
•
6th - 12th Grade
8 questions
Proportions
Presentation
•
6th - 12th Grade
10 questions
Soft Skills
Presentation
•
6th - 12th Grade
10 questions
Exercise K-1
Presentation
•
KG
9 questions
FIFA Football
Presentation
•
KG
10 questions
Learning Lab Orientation
Presentation
•
6th Grade - University
Popular Resources on Wayground
20 questions
"What is the question asking??" Grades 3-5
Quiz
•
1st - 5th Grade
20 questions
“What is the question asking??” Grades 6-8
Quiz
•
6th - 8th Grade
10 questions
Fire Safety Quiz
Quiz
•
12th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
34 questions
STAAR Review 6th - 8th grade Reading Part 1
Quiz
•
6th - 8th Grade
20 questions
“What is the question asking??” English I-II
Quiz
•
9th - 12th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
47 questions
8th Grade Reading STAAR Ultimate Review!
Quiz
•
8th Grade