
Pre Python Assessment
Flashcard
•
Computers
•
8th Grade
•
Hard

Liam Harber
Used 2+ times
FREE Resource
Student preview

19 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Why should variable names not start with numbers in Python?
Back
Because it is not allowed by the Python syntax
2.
FLASHCARD QUESTION
Front
What is the output of the following code snippet?
Back
Hello
3.
FLASHCARD QUESTION
Front
Which of the following is a correct if statement in Python?
- if x = 5:
- if x == 5:
- if (x == 5)
- if x := 5
Back
if x == 5:
4.
FLASHCARD QUESTION
Front
What is the purpose of a for loop in Python?
Back
To execute a block of code a fixed number of times
5.
FLASHCARD QUESTION
Front
What is the output of the following code snippet?
Back
4 5 6 7
6.
FLASHCARD QUESTION
Front
Which of the following is a data type in Python? integer, float, string, All of the above
Back
All of the above
7.
FLASHCARD QUESTION
Front
What will be the output of the following code.
Back
25
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
8 questions
Regulations
Flashcard
•
KG
20 questions
Atomic structure
Flashcard
•
9th Grade
15 questions
iPhone Camera and Photo Basics
Flashcard
•
8th Grade
19 questions
T3 The Water Cycle
Flashcard
•
6th - 8th Grade
8 questions
Graphic Novels Vocabulary
Flashcard
•
7th Grade
17 questions
Social Contract Theory and Aristotle's Views
Flashcard
•
8th Grade
10 questions
Basic Concepts of Probability
Flashcard
•
8th Grade
15 questions
Full Blast 3 1b
Flashcard
•
6th - 8th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade