
Fundamentals of Programming Quiz

Quiz
•
Information Technology (IT)
•
8th Grade
•
Hard
J Blakley
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
30 questions
Quiz Pemrograman dan Fungsi

Quiz
•
8th Grade
25 questions
KUIS INFOR 1

Quiz
•
8th Grade
30 questions
การพัฒนาเว็บแอปพลิเคชัน

Quiz
•
8th Grade
25 questions
BAB 7 ALGORITMA D Pemrograman Musik dengan Blockly

Quiz
•
8th Grade
30 questions
Scratch Programming Fundamentals Quiz

Quiz
•
8th Grade
32 questions
Form 1 - Information Technology Quiz

Quiz
•
7th Grade - University
30 questions
Uji Pemahaman Konsep Komputer

Quiz
•
8th Grade
32 questions
UH TIK Ms. Word

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Figurative Language Review

Quiz
•
8th Grade
18 questions
Identifying Functions Practice

Quiz
•
8th Grade
20 questions
Scientific method and variables

Quiz
•
8th Grade
20 questions
Physical and Chemical Changes

Quiz
•
8th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade