Algorithm Basics and Operators

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

Algorithm

1 / 20

flashcard set

Earn XP

Description and Tags

21 Terms

1

Algorithm

Instructions to execute a specific action

New cards
2

Abstraction

Removing unnecessary information

New cards
3

Linear Search

Manually searching through a list in order

New cards
4

Binary Search

List halved until finding the desired value

New cards
5

Sorted List

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

New cards
6

Bubble Sorting

Comparing adjacent numbers and swapping if needed

New cards
7

Variable

Memory location to temporarily store data

New cards
8

Flowcharts

Visual representation of an algorithm

New cards
9

Pseudocode

Structured English for algorithm description

New cards
10

Sequence Structure

Statements executed in written order

New cards
11

Selection Structure

Conditional statements like if or elif

New cards
12

Iteration Structure

Repeating structure in programming

New cards
13

Integer

Whole number data type

New cards
14

Real

Number with a decimal point data type

New cards
15

Boolean

Data type with TRUE or FALSE values

New cards
16

Character

Single alphabetic or numeric character

New cards
17

String

Characters enclosed in quotes

New cards
18

Comparison Operators

Symbols used to compare values

New cards
19

Switch/Case Statement

Used for testing multiple statements

New cards
20

Trace Table

Method to analyze code execution

New cards
21

For...Next Loop

Control loop execution count

New cards

Explore top notes

note Note
studied byStudied by 18 people
... ago
4.0(1)
note Note
studied byStudied by 12 people
... ago
5.0(1)
note Note
studied byStudied by 34 people
... ago
5.0(1)
note Note
studied byStudied by 13 people
... ago
5.0(2)
note Note
studied byStudied by 1 person
... ago
5.0(1)
note Note
studied byStudied by 57 people
... ago
5.0(1)
note Note
studied byStudied by 22 people
... ago
5.0(1)
note Note
studied byStudied by 1975 people
... ago
4.7(11)

Explore top flashcards

flashcards Flashcard (93)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (115)
studied byStudied by 13 people
... ago
5.0(2)
flashcards Flashcard (22)
studied byStudied by 17 people
... ago
5.0(3)
flashcards Flashcard (75)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (29)
studied byStudied by 27 people
... ago
5.0(2)
flashcards Flashcard (40)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (134)
studied byStudied by 2615 people
... ago
4.0(26)
robot