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
PENTAKSIRAN SUMATIF AKHIR TAHUN BM PEMAHAMAN T6 (2021)
Quiz
•
6th - 7th Grade
40 questions
IMAN KEPADA KITAB ALLAH
Quiz
•
12th Grade
40 questions
TJBL
Quiz
•
11th Grade
40 questions
USBN SMK N 13 - BAHASA JEPANG
Quiz
•
12th Grade
40 questions
Magistratura civile e amministrativa
Quiz
•
7th - 9th Grade
40 questions
POST TEST TOT PPK DAN PPS GEL III
Quiz
•
University
40 questions
201/601 Personal Protective Equipment pt 1
Quiz
•
11th - 12th Grade
40 questions
Conjugação verbal
Quiz
•
4th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
