AP CSP 1.1.4-1.1.6

0.0(0)
Studied by 1 person
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/28

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:58 PM on 10/9/24
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

29 Terms

1
New cards

Relational operators

Used to test the relationship between two variables, expressions, or values, evaluating to a Boolean value.

2
New cards

Boolean

An expression that evaluates to either true or false, used in the conditional of an if structure.

3
New cards

Conditional expressions

A comparison in a while or if statement that evaluates to a Boolean value of True or False.

4
New cards

Arithmetic operations

Mathematical processes including addition, subtraction, multiplication, division, and modulus operators.

5
New cards

Decidable problem

A problem that produces predictable and correct output.

6
New cards

Undecidable problem

A computational problem that cannot be solved by an algorithm.

7
New cards

Rational operator

Used to compare two values.

8
New cards

While loop

A loop used when a condition stays true.

9
New cards

Zero iteration condition

When a loop never starts.

10
New cards

Infinite loop

Code that never stops executing.

11
New cards

!= operator

Compares two values for inequality.

12
New cards

Nested loop

A loop within another loop, allowing for repeated execution of inner tasks.

13
New cards

Advantages of nested loops

They allow for dependent repetitions of tasks, enabling complex iterations.

14
New cards

Zip file

A file stored in a compressed format, often containing multiple files.

15
New cards

Compressed

A file format that reduces file size to save space.

16
New cards

Existing algorithms

Predefined methods that simplify tasks, such as maneuvering a robot through a maze.

17
New cards

Buggy code

Code that contains errors or produces undesired output.

18
New cards

Debug

The process of identifying and eliminating bugs in code.

19
New cards

Sequentially

Code that executes in the order it appears.

20
New cards

Initialized

When a variable is assigned a value for the first time.

21
New cards

Interpret

A program that converts and executes code from a higher-level language to a lower-level language.

22
New cards

Block strings

Multi-line strings in Python that begin with ''' and can deactivate code.

23
New cards

Incremental counter

A variable that stores an integer with increasing or decreasing values.

24
New cards

Iteration

A repeating portion of an algorithm or a single execution of a repetitive procedure.

25
New cards

QA (Quality Assurance)

A career focused on debugging and testing software to ensure high-quality products.

26
New cards

Block strings usage

They allow deactivation of code sections for error-finding purposes.

27
New cards

Variable naming guidelines

Six rules for naming variables to ensure clarity and avoid conflicts.

28
New cards

Reducing bugs

Programmers can reduce bugs by using well-named variables, constant testing, and careful coding.

29
New cards

trtl.setheading()

A command that sets the turtle's direction based on an input number between 0-360.