
Computer Programming Quiz
Authored by Andrew Panares
Other
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
20 questions
Planning lessons
Quiz
•
University
20 questions
CB CHAPTER 8 Pay for Performance Plans
Quiz
•
University
20 questions
INTRODUCCION WORD OFIMATICA I
Quiz
•
University
15 questions
JUEGO DE LECTURA BJ 2°
Quiz
•
1st Grade - University
17 questions
Questionnaire Design
Quiz
•
University
22 questions
Guess The Rapper?
Quiz
•
7th Grade - Professio...
20 questions
Module 8: State and Non-state Institutions
Quiz
•
11th Grade - University
15 questions
Economía 2023
Quiz
•
University
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
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University