AP CSP 1.1.4 - 1.1.6 Quiz Study Guide

0.0(0)
studied byStudied by 5 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/15

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

relational operators

used to test the relationship between two variables, expressions, or values. A comparison using a relational operator evaluates to a Boolean value. For example, a == b evaluates to true if a and b are equal; otherwise, it evaluates to false. Operators include the following: ==, !=, >, <, >=, and >=.

2
New cards

boolean

an expression with relational operators that evaluates to either true or false

3
New cards

conditional expressions

a comparison, usually in a while or if statement, that evaluates to a Boolean value of true or false

4
New cards

arithmetic operations

a symbol in code that tells a computer to perform a specific math operation, such as addition, subtraction, multiplication, or division

5
New cards

decidable problem

a decision problem for which an algorithm can be constructed that is always capable of providing a correct yes-or-no answer

6
New cards

undecidable problem

a decision problem for which no algorithm can be constructed that is always capable of providing a correct yes-or-no answer

7
New cards

zip file

a file that is stored in a compressed format, often containing multiple files

8
New cards

compressed

storing information using fewer bytes

9
New cards

bugs

part of a program that causes an error or undesired output

10
New cards

debug

the process that identifies errors or bugs in computer programs and fixes them

11
New cards

sequentially

code that executes in the order they appear in the code segment

12
New cards

initialized

when a variable is given a value for the first time.

13
New cards

interpret

a computer program that converts a program written in a higher-level language into a lower-level language and executes it, beginning execution before converting the entire program

14
New cards

block strings/multiline comments

denoted by either ''' or """ these are comments that can generate docstrings and allow the programmer to leave notes in code that span several lines without having to type '#' at the beginning of each line

15
New cards

incremental counter

a variable that stores an integer with increasing (or decreasing) value.

16
New cards

iteration

a repeating portion of an algorithm