
Computer Programming Quiz

Quiz
•
Other
•
University
•
Easy

Andrew Panares
Used 4+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable?
A type of operator
A fixed value in memory
A named storage location in memory that holds a value
A function that performs calculations
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid identifier?
char grade@;
double total amount;
float salary;
int 1stNumber;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does scope refer to in programming?
The speed of the program
The visibility or accessibility of a variable
The amount of memory used
The type of data stored
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of global scope?
int x = 10; // Global scope
void myFunction() { int y = 5; }
int z = 15; // Local scope
for(int i = 0; i < 10; i++) {}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of data does 'int' store?
Strings
Integers
Single characters
Floating-point numbers
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for addition?
-
*
+
/
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the relational operator '>' do?
Checks if the left value is greater than the right value
Checks if two values are not equal
Assigns a value to a variable
Compares two values for equality
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Tech-Pictionary Round 1

Quiz
•
University
16 questions
CO KHI ĐIỆN LỰC 1- CHƯƠNG 7( MÁY NÉN CÁNH DẪN)

Quiz
•
University
15 questions
Web Dev

Quiz
•
University
19 questions
Project Management Quiz

Quiz
•
University
15 questions
CMA 490 - Chapter 1 Review

Quiz
•
University
20 questions
QUIZERIA

Quiz
•
University
15 questions
Technoquiz..3

Quiz
•
University
15 questions
Quize on c language and html

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University