
Explore Programming Basics
Quiz
•
Computers
•
4th Grade
•
Practice Problem
•
Medium
Gabriel Mendieh
Used 2+ times
FREE Resource
Enhance your content in a minute
33 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in programming?
A variable is a symbolic name for a storage location in memory that can hold a value and may change during program execution.
A variable is a fixed value that cannot change during program execution.
A variable is a command that executes a specific task in a program.
A variable is a type of function that performs calculations.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a data type: String, Loop, Function?
Array
Variable
String
Class
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a loop do in programming?
A loop executes a block of code multiple times.
A loop creates a new function.
A loop stores data in a variable.
A loop runs a program only once.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you write a conditional statement in code?
Use 'while (condition) { // code }' for loops.
Use 'if (condition) { // code } else { // code }' for conditional statements.
Write 'if condition: // code' in Python without brackets.
Use 'switch (condition) { // code }' for conditional statements.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a function?
To manage database connections efficiently.
The purpose of a function is to encapsulate code for reuse and to perform specific tasks.
To create user interfaces for applications.
To store data permanently in memory.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is debugging?
Debugging is the method of designing user interfaces.
Debugging is the act of compiling a program.
Debugging is the process of writing new code.
Debugging is the process of finding and resolving defects or issues in computer programs.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is commonly used to denote a comment in code?
/* comment */
# or //
// comment
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
36 questions
Deportes
Quiz
•
KG - 5th Grade
30 questions
Intro to PowerPoint
Quiz
•
4th Grade
28 questions
TỔ HỢP PHÍM TẮT TRONG WORD - 1
Quiz
•
1st - 5th Grade
35 questions
ÔN TẬP GIỮA KÌ 1 TIN 6
Quiz
•
4th Grade
29 questions
MS Word
Quiz
•
1st - 6th Grade
30 questions
Sains Komputer Ting4
Quiz
•
4th Grade - University
30 questions
Graphic Design- Photoshop Review
Quiz
•
KG - University
32 questions
HISTORY OF COMPUTERS AND COMPUTER BASICS
Quiz
•
3rd Grade - Professio...
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
