
Explore Programming Basics

Quiz
•
Computers
•
4th Grade
•
Medium
Gabriel Mendieh
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
32 questions
SCRATCH QUIZ

Quiz
•
1st - 5th Grade
30 questions
PBO - XI RPL (SMKN 1 Cisarua)

Quiz
•
1st - 10th Grade
32 questions
The Codeyoung Qwizard

Quiz
•
1st - 12th Grade
32 questions
Coding Concepts for Young Learners

Quiz
•
4th Grade
30 questions
Computer Science

Quiz
•
1st - 5th Grade
28 questions
Algorithm and flow charts

Quiz
•
KG - Professional Dev...
36 questions
Algorithm and Pascal

Quiz
•
4th Grade
36 questions
Sains Komputer Peperiksaan

Quiz
•
4th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade