
Coding Quiz

Quiz
•
Other
•
12th Grade
•
Hard
S A
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in programming?
A command that performs a specific task
A storage location paired with an associated symbolic name, which contains some known or unknown quantity of information referred to as a value
A set of instructions that performs a task
A condition that determines which instructions to execute next
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid variable name in most programming languages?
myVariable
2ndVariable
variable_name
Variable1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function in programming?
A sequence of program instructions that performs a specific task, packaged as a unit
A data structure that can store multiple values
A loop that executes a set of instructions repeatedly
A variable that can store multiple values
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following loops will execute the body at least once even if the condition is false?
for loop
while loop
do-while loop
foreach loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of conditional statements in programming?
To repeat a block of code multiple times
To define a function
To execute a block of code based on whether a condition is true or false
To store multiple values in a single variable
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a type of loop in most programming languages?
for loop
while loop
do-while loop
repeat-until loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an array?
A function that performs a specific task
A variable that can store multiple values of the same type
A conditional statement
A loop that executes a set of instructions repeatedly
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Introduction to Python Programming Quiz 9E

Quiz
•
10th Grade - University
5 questions
QUIZ NO. 1

Quiz
•
12th Grade
14 questions
Intro to Python Programming Quiz 9D

Quiz
•
1st Grade - University
15 questions
Loops and Lists and Arrays

Quiz
•
9th - 12th Grade
14 questions
The working memory model

Quiz
•
12th Grade
10 questions
Uj1 P3m4h4man

Quiz
•
12th Grade
15 questions
Scratch Programming Quiz

Quiz
•
8th Grade - University
15 questions
2D Arrays

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Other
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University