Algorithm Basics and Operators

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/20

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

21 Terms

1
New cards

Algorithm

Instructions to execute a specific action

2
New cards

Abstraction

Removing unnecessary information

3
New cards

Linear Search

Manually searching through a list in order

4
New cards

Binary Search

List halved until finding the desired value

5
New cards

Sorted List

List in a specific order, e.g., alphabetically

6
New cards

Bubble Sorting

Comparing adjacent numbers and swapping if needed

7
New cards

Variable

Memory location to temporarily store data

8
New cards

Flowcharts

Visual representation of an algorithm

9
New cards

Pseudocode

Structured English for algorithm description

10
New cards

Sequence Structure

Statements executed in written order

11
New cards

Selection Structure

Conditional statements like if or elif

12
New cards

Iteration Structure

Repeating structure in programming

13
New cards

Integer

Whole number data type

14
New cards

Real

Number with a decimal point data type

15
New cards

Boolean

Data type with TRUE or FALSE values

16
New cards

Character

Single alphabetic or numeric character

17
New cards

String

Characters enclosed in quotes

18
New cards

Comparison Operators

Symbols used to compare values

19
New cards

Switch/Case Statement

Used for testing multiple statements

20
New cards

Trace Table

Method to analyze code execution

21
New cards

For...Next Loop

Control loop execution count