
Programming and Logic Lesson 4
Authored by Sherrell Cheatham
Computers
6th - 8th Grade
Used 136+ 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
1 min • 1 pt
Named memory locations whose contents can vary are called:
variables
expressions
algorithms
programs
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following variable names is valid according to variable naming rules?
1Name
Phone#
phoneNumber
First Name
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the following expression:
Set grandTotal = Total + 2
If the Total variable has the value 5, what is the value of grandTotal after the expression is evaluated?
3
7
Total2
5
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which programming term means joining two strings together?
Concatenation
Evaluating
Declaring
Initializing
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is used by the computer to determine how the data stored in a variable can be manipulated?
Name
Assignment
Data Type
Operator
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which type of operator only returns the values true and false?
Comparison
Arithmetic
Procedural
Assignment
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which data type contains only two values and is used to compare conditions?
String
Boolean
Floating Point
Integer
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?