

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
10 questions
How much do you know about our Portrait of an Eagle?
Quiz
•
10th Grade
10 questions
Fast Food Slogans
Quiz
•
6th - 8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Copyright and Fair Use
Quiz
•
6th - 8th Grade
20 questions
[AP CSP] Python Coding: Functions, Parameters, Return
Presentation
•
9th - 12th Grade
15 questions
Internet Safety
Quiz
•
7th Grade
40 questions
Introduction to Microsoft Word
Quiz
•
8th - 12th Grade
20 questions
APCS Unit 1A
Quiz
•
9th - 12th Grade
28 questions
STEM: Engineering Design Process
Quiz
•
5th - 6th Grade
24 questions
Binary
Quiz
•
9th - 12th Grade