
Programming Techniques
Authored by Marc Hoy
Computers
8th - 10th Grade
Used 104+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following statements are false about variable names:
They must always be in capital letters
They should be descriptive
They should not start with numbers or contain spaces
They point to memory locations
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not a valid data type?
Fraction
Float
String
Integer
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Quotation marks around a variable’s identifier imply that it is a:
String
Integer
Character
List
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
This variable data type can only have True or False values:
Boolean
Integer
True/False
String
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The statement A OR B implies that A and B are:
Booleans
Integers
Strings
Constants
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Casting refers to:
Converting between variable data types
Boolean algebra
Printing out of the program’s results
Sending values to a function or procedure
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The programming keywords ELSE IF or ELIF are best used when our selection needs to work with:
More than two choices
More than three choices
More than one choice
A conditional loop
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?