
Fundamentals of Programming Quiz
Quiz
•
Information Technology (IT)
•
8th Grade
•
Practice Problem
•
Hard
J Blakley
Used 1+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in Python?
2ndNumber
number_2
number-2
number 2
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type would you use to store the value "Hello, World!" in Python?
Integer
String
Boolean
Float
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a control structure used to repeat a block of code?
if statement
for loop
variable assignment
function definition
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? ```python x = 5 print(x * 2) ```
7
10
25
52
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid data type in Python?
float
string
letter
boolean
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to define a function in Python?
function myFunction():
def myFunction():
define myFunction():
func myFunction():
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following lists contains only integers?
[1, 2, 3, 4]
[1, "2", 3, 4]
[1.0, 2, 3, 4]
["one", "two", "three", "four"]
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
25 questions
Chapter 4 Mastering Algebraic Expressions
Quiz
•
7th Grade - University
26 questions
Fun with Computers and Mice
Quiz
•
2nd Grade - University
27 questions
Latihan UTS KKA Kls VIII
Quiz
•
8th Grade
28 questions
Review Python_G8
Quiz
•
8th Grade - University
35 questions
SOAL INFORMATIKA KELAS 8 GANJIL
Quiz
•
8th Grade
31 questions
Знатоки информатики
Quiz
•
8th Grade
30 questions
Animasi kelas 6
Quiz
•
6th Grade - University
29 questions
ÔN TẬP THI HK1 MÔN TIN HỌC LỚP 5
Quiz
•
5th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
15 questions
scatter plots and trend lines
Quiz
•
8th Grade
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
6 questions
Veterans Day
Lesson
•
8th Grade
13 questions
Finding slope from graph
Quiz
•
8th Grade
10 questions
Exploring Europe: Geography, History, and Culture
Interactive video
•
5th - 8th Grade
