COMP APPS - EXAM2

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

1/44

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:10 PM on 3/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

45 Terms

1
New cards

Algorithm

A step-by-step set of instructions used to solve a problem or complete a task.

2
New cards

Program

A set of coded instructions written in a programming language that a computer can execute.

3
New cards

Heuristic Approach

A problem-solving method that uses practical rules or experience-based techniques to find a solution quickly, even if it’s not perfect.

4
New cards

Input

Data or information given to a computer or program to be processed.

5
New cards

Output

The result or information produced by a computer or program after processing input.

6
New cards

Definiteness

Every step in an algorithm must be clearly defined and unambiguous.

7
New cards

Effectiveness

Each step in an algorithm must be simple, practical, and possible to perform.

8
New cards

Finiteness

An algorithm must eventually stop after a finite number of steps.

9
New cards

Pseudocode

A simplified, human-readable version of code used to design algorithms without using actual programming syntax.

10
New cards

Variable Initialization

Giving a variable its first value when it is created.

11
New cards

Boolean Expressions

Expressions that evaluate to either true or false.

12
New cards

Assignment Statement

A statement that stores a value into a variable.

13
New cards

Relational Operators

Operators that compare values.

14
New cards

Logical Operators

Operators that combine or modify Boolean expressions.

15
New cards

Arithmetic Operators

Operators used for math calculations.

16
New cards

Operator Overload

When the same operator performs different actions depending on the data type.

17
New cards

Concatenation

Joining strings (text) together.

18
New cards

Debug

To find and fix errors (bugs) in a program.

19
New cards

Reproducible

Producing the same results every time when the same steps, inputs, and conditions are used.

20
New cards

Redundancy

Used to resolve hardware failures by having computers perform computations of a safety critical system and make decisions based on majority vote.

21
New cards

Specification

A detailed description of what a system or program is supposed to do and the requirements it must meet.

22
New cards

Fail-Safe

A system design where, if something goes wrong, the system switches to a safe mode to prevent harm or damage.

23
New cards

Fail-Soft

A system design where, if part of the system fails, it continues operating with reduced functionality instead of stopping completely.

24
New cards

GUI (Graphical User Interface)

A visual way for users to interact with a computer using windows, icons, buttons, and menus instead of text commands.

25
New cards

Event

An action or occurrence detected by a program (such as a mouse click, key press, or screen touch).

26
New cards

Event Handler

A piece of code that runs in response to a specific event (like clicking a button or pressing a key).

27
New cards

Off-By-One Error

A common programming mistake where a loop runs one time too many or one time too few (usually due to incorrect index boundaries).

28
New cards

Variable

A named storage location in a program that holds a value which can change while the program runs.

29
New cards

Compile-Time Error

Errors that occur while the program is being translated from source code into executable code (Type Mismatch).

30
New cards

Run-Time Errors

Errors that occur while the program is running, after compilation (Division by zero).

31
New cards

Logic Errors

Errors where the program runs without crashing but produces incorrect or unexpected results (Addition instead of subtraction).

32
New cards

Array

A collection of elements (values) stored in a single variable, accessed by position.

33
New cards

Index

The position number of an element in an array (usually starts at 0).

34
New cards

Infinite Loop

A loop that never stops because its condition is always true.

35
New cards

Initiazer List

A way to assign starting values to an array or variables when they are created.

36
New cards

Iteration

One complete pass through a loop.

37
New cards

Loop

A programming structure that repeats a block of code while a condition is true.

38
New cards

Nested Loop

A loop inside another loop.

39
New cards

Increment

Increasing a variable’s value, usually by 1.

40
New cards

Function + Benefit

A block of code designed to perform a particular task. With functions, you can reuse code, you can write code that can be used many times.

41
New cards

Prompt

A pop-up box that asks the user to type something, and returns what they typed as a string.

42
New cards

Button

A clickable element that runs Javascript when the user clicks it.

43
New cards

Radio Button

A radio button lets the user choose one option from a list.

44
New cards

Text Box

A text box (text input) lets the user type a line of text.

45
New cards

What are the different parts of a loop?

Initialization (var i = 0), Condition (i < 10), Update (increment/decrement) [i++], Body (the code inside the {}).

Explore top notes

note
Bristol case study
Updated 1055d ago
0.0(0)
note
Factoring Polynomials Part 1:
Updated 1517d ago
0.0(0)
note
Health Quiz
Updated 394d ago
0.0(0)
note
Voice Referendum
Updated 111d ago
0.0(0)
note
european expansion and exploration
Updated 1083d ago
0.0(0)
note
AP Stats Section 2 (unit 6-12)
Updated 305d ago
0.0(0)
note
Bristol case study
Updated 1055d ago
0.0(0)
note
Factoring Polynomials Part 1:
Updated 1517d ago
0.0(0)
note
Health Quiz
Updated 394d ago
0.0(0)
note
Voice Referendum
Updated 111d ago
0.0(0)
note
european expansion and exploration
Updated 1083d ago
0.0(0)
note
AP Stats Section 2 (unit 6-12)
Updated 305d ago
0.0(0)

Explore top flashcards

flashcards
humanities final
29
Updated 109d ago
0.0(0)
flashcards
Beach Vocab
49
Updated 1073d ago
0.0(0)
flashcards
Hinduism
20
Updated 1097d ago
0.0(0)
flashcards
October exam
32
Updated 528d ago
0.0(0)
flashcards
bio flashcards - genes/genetics
28
Updated 1068d ago
0.0(0)
flashcards
Unit 1 English Literary Terms
46
Updated 772d ago
0.0(0)
flashcards
Odyssey Test review
85
Updated 526d ago
0.0(0)
flashcards
humanities final
29
Updated 109d ago
0.0(0)
flashcards
Beach Vocab
49
Updated 1073d ago
0.0(0)
flashcards
Hinduism
20
Updated 1097d ago
0.0(0)
flashcards
October exam
32
Updated 528d ago
0.0(0)
flashcards
bio flashcards - genes/genetics
28
Updated 1068d ago
0.0(0)
flashcards
Unit 1 English Literary Terms
46
Updated 772d ago
0.0(0)
flashcards
Odyssey Test review
85
Updated 526d ago
0.0(0)