
Programming Principles
Quiz
•
Computers
•
12th Grade
•
Hard
C Deighan
Used 1+ times
FREE Resource
71 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can be used within programs and functions to organize different types of data in a computer program?
Constants and variables
Functions and arrays
Loops and conditions
Operators and expressions
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in the context of computer programming?
A fixed memory location
A set of instructions
A named memory location where data can change
A data type
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do we assign a value to a variable in a computer program?
Using a comparison operator
Using an assignment operator
Using an arithmetic operator
Using a logical operator
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of changing the value of a variable during the running of a program?
age = age + 1
age == age + 1
age + age = 1
age = age
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a constant in programming?
A variable that can change during the execution of a program.
A named location in memory that contains a value that does not change during the execution of a program.
A function that performs a specific task.
A data type that allows for different values over time.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When writing code, how are constants typically identified?
By using lower case letters.
By using a special symbol at the beginning.
By using upper case letters.
By using italics.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an array?
A single value that can store multiple data types.
A set of values of different data types stored under one identifier.
A set of values of the same data type stored under one identifier.
A function that stores multiple values.
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
75 questions
Y11 Architecture & Primary Homework
Quiz
•
12th Grade
69 questions
Kiến thức về mạng máy tính
Quiz
•
12th Grade - University
76 questions
Systemy operacyjne 2
Quiz
•
12th Grade
70 questions
GUI DAN CLI
Quiz
•
KG - University
73 questions
Soal Latihan Untuk USBN
Quiz
•
9th Grade - University
71 questions
Animation and Game Design Unit 1 M1 Quiz
Quiz
•
12th Grade
70 questions
Review for Fall Semester Exam - CTE
Quiz
•
8th Grade - University
68 questions
Spreadsheets
Quiz
•
KG - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
