Exam 1 Python 101 (Tynker)
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Maria Cruz Farooqi
Used 3+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do we call the rules for writing Python code?
Punctuation
Vocabulary
Grammar
Syntax
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid function call in Python?
forward(
forward()
forward;
forward
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How should variable and function names ideally start in Python?
With an uppercase letter
With a number
With a lowercase letter
With a symbol
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid naming convention for variables and functions in Python?
UPPERCASE
CamelCase
snake_case
kebab-case
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following identifiers is NOT valid in Python?
1forward()
ForWarD()
forward1()
oneforward()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used to start a single line comment in Python?
//
#
'''
/*
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a rule for naming identifiers in Python?
Can use letters and numbers
Can't begin with numbers
Can't have spaces
Must use symbols like !, -, .
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
26 questions
Report Builder
Quiz
•
10th Grade
30 questions
Битва умов
Quiz
•
7th - 11th Grade
29 questions
Dzień bezpiecznego Internetu
Quiz
•
12th Grade
27 questions
Project management revision
Quiz
•
12th Grade
25 questions
Berpikir Komputasional
Quiz
•
9th Grade
25 questions
Keamanan Jaringan 1
Quiz
•
11th Grade
25 questions
Unions in C Programming
Quiz
•
10th Grade
32 questions
Tabulky - 2
Quiz
•
8th - 9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
