

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

Ahmed Samy
Used 38+ 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
6 questions
MAC 2 | Lesson 5-7 | Wrap it Up
Presentation
•
KG
10 questions
Capitalization Rules
Presentation
•
6th - 12th Grade
10 questions
Linking words
Presentation
•
6th - 12th Grade
9 questions
Tone Lesson
Presentation
•
7th - 12th Grade
11 questions
Teenager 5 Session 24: Pronunciation & Speaking
Presentation
•
KG
9 questions
ICT & MUL
Presentation
•
7th - 12th Grade
10 questions
The Verb Venir
Presentation
•
6th - 12th Grade
8 questions
11.5 Surface Area of Cylinders
Presentation
•
6th - 11th Grade
Popular Resources on Wayground
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade