Programming and Logic Lesson 4

Programming and Logic Lesson 4

6th - 8th Grade

20 Qs

quiz-placeholder

Similar activities

CodeHS JavaScript Control Functions

CodeHS JavaScript Control Functions

8th - 12th Grade

21 Qs

Learn to Code 1 Test

Learn to Code 1 Test

6th Grade

20 Qs

Operators (Computer Science - Python)

Operators (Computer Science - Python)

7th - 12th Grade

20 Qs

CodeHS JavaScript

CodeHS JavaScript

8th - 12th Grade

21 Qs

Grade 6 - Algorithms & Pseudocode

Grade 6 - Algorithms & Pseudocode

6th - 8th Grade

20 Qs

c++

c++

8th Grade

22 Qs

PHP Basics

PHP Basics

8th Grade

15 Qs

Revision

Revision

6th Grade

15 Qs

Programming and Logic Lesson 4

Programming and Logic Lesson 4

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Sherrell Cheatham

Used 134+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?