
Computer Programming Quiz

Quiz
•
Computers
•
University
•
Easy
Nguyen Duong
Used 1+ times
FREE Resource
42 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct sequence of steps for interacting with a computer program?
Execute, type command, wait for response
Type command, wait for response, execute
Wait for response, type command, execute
Type command, execute, wait for response
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in computer programming?
A fixed value that cannot be changed
An input device used to enter data into the computer
A type of loop used for repeating code
A named place in the memory to store data
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the rules for naming variables in computer programming?
Only letters are allowed, not numbers or underscores
Variable names are not case sensitive
It is allowed to start a variable name with a number
Variable names can include letters, numbers, or underscores, but must start with a letter or underscore
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a statement in computer programming?
A variable used to store data temporarily
A function that performs a specific task
A type of loop used for repeating code
A combination of operator and its operand(s), where the operator is a symbol indicating a calculation, and there is one or more operands
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following values represent a Boolean variable in computer programming?
int
char
float
TRUE
FALSE
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an integer variable in computer programming?
A variable used to store text data
A variable that can only hold a value of 0 or 1
A type of loop used for repeating code
A variable that can hold whole numbers
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type in computer programming is typically used to store decimal numbers with digits and exponents?
char
bool
double
float
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
Operating System - Process

Quiz
•
University
41 questions
kuan

Quiz
•
University
38 questions
Secure Scripting: Exam 1 Review: Modules 1 - 4

Quiz
•
University
40 questions
9th Grade - IT Programming - 2nd Cycle Exam

Quiz
•
9th Grade - University
40 questions
Python Final

Quiz
•
University
40 questions
Repaso Python

Quiz
•
11th Grade - University
40 questions
A4ALGU CLUB EVENT QUIZ

Quiz
•
University
40 questions
Data Spark AI

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade