Test - 1
Quiz
•
Other
•
Vocational training
•
Practice Problem
•
Medium
LWsummer internship
Used 1+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function in Python?
A way to store multiple values
A reusable block of code that performs a specific task
A type of variable
A module in Python
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you call a function named my_function in Python?
call my_function
execute my_function()
my_function()
run my_function
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a part of the code section?
Variables
Comments
Hardware specifications
Function definitions
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is stack memory used for?
Storing global variables
Managing the execution of function calls
Long-term data storage
Storing HTML files
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Python?
A fixed value
A reserved word
A name given to a memory location
A type of function
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a statement in Python?
A way to organize code
An instruction that Python can execute
A comment
A type of variable
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a string data type?
123
45.67
"Hello"
True
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
40 questions
Wspólnota narodowa
Quiz
•
1st - 6th Grade
35 questions
Prueba Colportor Evangélico
Quiz
•
University - Professi...
40 questions
Informatika Kelas X (Ganjil)
Quiz
•
10th Grade
35 questions
The TREASURE Effect Quiz
Quiz
•
4th Grade - Professio...
40 questions
Home Ec Trivia
Quiz
•
7th - 9th Grade
40 questions
UM Akidah Akhlak 9
Quiz
•
9th Grade
40 questions
ETC 605
Quiz
•
University
40 questions
Charmed
Quiz
•
5th 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
