AP CSP Unit 4 Vocab Variables, Conditionals, and Functions

AP CSP Unit 4 Vocab Variables, Conditionals, and Functions

9th Grade

12 Qs

quiz-placeholder

Similar activities

Module 3 - Unity Scripting Basics

Module 3 - Unity Scripting Basics

9th - 12th Grade

15 Qs

Introduction to Computer Science Concepts

Introduction to Computer Science Concepts

6th Grade - University

10 Qs

Quiz on Algorithms

Quiz on Algorithms

9th Grade

7 Qs

ICT 9 Css

ICT 9 Css

9th Grade

10 Qs

Introducción a la programación en Python

Introducción a la programación en Python

9th Grade

8 Qs

Scratch Kelas 7

Scratch Kelas 7

7th Grade - University

10 Qs

AP CSP Unit 6 and 7 Vocab

AP CSP Unit 6 and 7 Vocab

9th Grade

16 Qs

Condition Programming Quiz

Condition Programming Quiz

1st Grade - University

9 Qs

AP CSP Unit 4 Vocab Variables, Conditionals, and Functions

AP CSP Unit 4 Vocab Variables, Conditionals, and Functions

Assessment

Quiz

Information Technology (IT)

9th Grade

Hard

Created by

Eric York

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in programming?

A data type that is either true or false

A combination of operators and values that evaluates to a single value

An ordered sequence of characters

A named reference to a value that can be used repeatedly throughout a program

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator allows a program to change the value represented by a variable?

Comparison Operator

Assignment Operator

Function Call

Logical Operator

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Boolean value?

An ordered sequence of characters

A command that executes the code within a function

A named group of programming instructions

A data type that is either true or false

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a logical operator?

Assignment Operator

==

Function Call

AND

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function in programming?

A named group of programming instructions

A data type that is either true or false

A combination of operators and values that evaluates to a single value

An ordered sequence of characters

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a comparison operator do?

Executes the code within a function

Indicates a Boolean expression

Changes the value of a variable

Evaluates to a single value

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an expression in programming?

A combination of operators and values that evaluates to a single value

A command that executes the code within a function

A named reference to a value

A data type that is either true or false

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?