Quiz 1 - Python

Quiz
•
Computers
•
8th Grade
•
Medium
Joshua Reid
Used 9+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In programming, what is a variable?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many variables exist in the following code?
Two - Num1 and Num2
Three - if, elif and else
Two - AND, OR
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be output if the following code was executed?
Num1 is larger
Num1 is smaller
Both the same
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In python programming, what does the following code demonstrate?
Selection
Iteration
Variable Assignment
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in Python?
1variable
variable_name
variable-name
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following would produce an error?
print(7 * 7)
print(7 * "7")
print("7" * "7")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct definition for "syntax"
The rules of language
The errors that a program produces
The programming concepts such as variables and selection
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Milestone Exkul SMP SMA - Q5_2022_Basic Python Syntax

Quiz
•
6th - 8th Grade
13 questions
Python

Quiz
•
7th - 8th Grade
11 questions
Python for Class 7

Quiz
•
7th - 8th Grade
20 questions
Intro to Python

Quiz
•
6th - 8th Grade
14 questions
year 8 lesson 2 quiz - python

Quiz
•
8th - 10th Grade
15 questions
Python basics

Quiz
•
6th - 8th Grade
20 questions
Python Recap

Quiz
•
7th Grade - University
16 questions
Python Basics

Quiz
•
KG - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade