Back to marketplace

Unit 3: Boolean Expressions and if Statements

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

! (NOT) Operator

Back (Answer)

A unary operator that negates the value of a boolean expression. It returns true if the expression is false, and false if the expression is true.

#2
Front (Question)

&& (AND) operator

Back (Answer)

A logical operator that returns true if both of its operands are true, and false otherwise.

#3
Front (Question)

|| (OR) operator

Back (Answer)

A logical operator that returns true if at least one of its operands is true, and false otherwise.

#4
Front (Question)

Boolean Expressions

Back (Answer)

Statements that evaluate to either true or false. They are commonly used in programming to make decisions and control the flow of a program.

#5
Front (Question)

Boolean Logic Operators

Back (Answer)

Symbols used to perform logical operations on boolean values (true or false). They allow programmers to combine conditions and make decisions based on the result.

#6
Front (Question)

Boolean Statements

Back (Answer)

Expressions that can only have two possible values

#7
Front (Question)

Boolean values

Back (Answer)

Data types that can only have two possible values - true or false. They are often used in programming to make decisions based on certain conditions.

#8
Front (Question)

Branching

Back (Answer)

Refers to the ability of a program to make decisions and execute different sets of instructions based on certain conditions.

#9
Front (Question)

Branching Decisions

Back (Answer)

Refer to the process in programming where different paths are taken based on certain conditions or criteria. It allows the program to make decisions and execute specific blocks of code accordingly.

#10
Front (Question)

College Board

Back (Answer)

An organization that administers standardized tests, including the AP Computer Science A exam. They set the curriculum and create the exams for various subjects.

#11
Front (Question)

Combinational Logic

Back (Answer)

Refers to digital circuits where the output depends solely on the current input values. There is no memory element involved in these circuits.

#12
Front (Question)

Comparing Objects

Back (Answer)

Involves checking whether two objects are equal or determining their relative order. In computer science, it is done using comparison operators or methods to compare the values of specific attributes or properties.

#13
Front (Question)

Compound boolean statements

Back (Answer)

Logical expressions that combine multiple boolean values using logical operators such as AND, OR, and NOT. They allow us to evaluate the truth or falsehood of complex conditions.

#14
Front (Question)

Conditional Statements

Back (Answer)

Programming constructs that allow different actions to be taken based on whether a certain condition is true or false. They control the flow of execution in a program.

#15
Front (Question)

Efficient

Back (Answer)

Achieving maximum productivity with minimum wasted effort or resources. In computer science, it refers to writing code that performs tasks quickly and uses minimal memory.

#16
Front (Question)

Equivalent Boolean Expressions

Back (Answer)

Different logical expressions that produce the same output for all possible input combinations. In other words, they have the same truth table.

#17
Front (Question)

Exam Weighting

Back (Answer)

Refers to the allocation of points or marks given to each section or topic in an exam. It determines how much each part contributes to the overall score.

#18
Front (Question)

Flow of Program

Back (Answer)

Refers to the order in which instructions are executed in a computer program. It determines how the program progresses from one statement to another.

#19
Front (Question)

FRQ #1

Back (Answer)

Refers to the first free-response question in the AP Computer Science A exam. It is a coding problem that requires students to write methods and implement control structures to solve a given problem.

#20
Front (Question)

If-Else If-Else statements

Back (Answer)

Conditional statements that allow different blocks of code to be executed based on different conditions. They provide multiple branches for decision-making in a program.

#21
Front (Question)

If-Else Statements

Back (Answer)

Conditional statements used in programming to make decisions based on certain conditions. They allow different blocks of code to be executed depending on whether a condition is true or false.

#22
Front (Question)

Indentations and Brackets

Back (Answer)

Used in programming to organize code and indicate the scope of blocks. Indentations help visually separate different sections of code, while brackets (such as curly braces {}) define the beginning and end of a block.

#23
Front (Question)

<= (less than or equal to)

Back (Answer)

This term refers to a comparison operator used in programming that checks if one value is less than or equal to another value.

#24
Front (Question)

> (greater than)

Back (Answer)

This term refers to a comparison operator used in programming that checks if one value is greater than another value.