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
PAS PLSM XII 6
Quiz
•
12th Grade
39 questions
CĐ 6 - 22.23 (1)
Quiz
•
12th Grade
40 questions
Atención y Concentración
Quiz
•
KG - University
35 questions
Cooperative & Rural Market
Quiz
•
KG - University
35 questions
01.Test Potensi Akademik Siswa Baru MAN1Kolaka
Quiz
•
10th Grade
45 questions
EX_U6_T3_DS
Quiz
•
11th Grade
40 questions
SAS PPKN KELAS 8 2022
Quiz
•
8th Grade
40 questions
SOAL MATEMATIKA 2022/2023
Quiz
•
9th 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
