Fundamentals of Algorithms and Programming

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

1/45

flashcard set

Earn XP

Description and Tags

A set of flashcards designed to review key vocabulary and concepts related to algorithms and programming as covered in the lecture.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

46 Terms

1
New cards

Sequencing

The execution of instructions in a specific order.

2
New cards

Selection

The part of an algorithm that determines which instructions are executed based on a condition.

3
New cards

Iteration

The repetition of a portion of an algorithm a specified number of times or until a condition is met.

4
New cards

Algorithm

A step-by-step procedure for solving a problem.

5
New cards

Algorithmic solution

Solutions developed by programmers that can take many forms.

6
New cards

Caesar Cipher

An early encryption technique that substitutes each letter of the plaintext with a letter shifted by a fixed number.

7
New cards

Substitution Cipher

An encryption method that replaces each letter with another letter.

8
New cards

Plaintext

The original unencrypted message.

9
New cards

Ciphertext

The encoded message after encryption.

10
New cards

Left Rotation

A method of shifting characters in the alphabet to the left by a certain number of spaces.

11
New cards

Block

A section of code that performs a specific task.

12
New cards

Display

The command used to present output to the user.

13
New cards

Input Function

A function that captures user input.

14
New cards

Arithmetic Operators

Operators used to perform mathematical operations such as addition and subtraction.

15
New cards

Relational Operators

Operators that compare two values and return a Boolean result.

16
New cards

Boolean Value

A data type with two possible values: true or false.

17
New cards

IF Statement

A conditional statement that executes a block of code only when a specified condition is true.

18
New cards

FOR LOOP

A control structure used to repeat a block of code a specific number of times.

19
New cards

Unconditional Statement

A statement that executes regardless of conditions.

20
New cards

REPEAT UNTIL

A loop that continues until a specified condition evaluates to true.

21
New cards

List Operations

Functions defined to manipulate lists such as adding or removing elements.

22
New cards

Index

A position in a list that indicates where an element is located.

23
New cards

MOD Operator

An operator that returns the remainder of division.

24
New cards

Procedure

A set of instructions packaged as a unit to perform a specific task.

25
New cards

Return Statement

Ends a procedure and optionally returns a value to the caller.

26
New cards

Robot Movement

Commands issued to a robot determining its actions.

27
New cards

MOVE FORWARD Command

A command that instructs the robot to move in the direction it is currently facing.

28
New cards

ROTATE LEFT Command

A command that rotates the robot 90 degrees counterclockwise.

29
New cards

ROTATE RIGHT Command

A command that rotates the robot 90 degrees clockwise.

30
New cards

CAN MOVE Command

Checks if the robot can move in a specified direction.

31
New cards

Error Message

A notification that an error has occurred in the program.

32
New cards

Open Square

A space that the robot can move into.

33
New cards

Cryptography

The practice of secure communication in the presence of third parties.

34
New cards

Dynamic Adaptation

Adjusting operations based on varying conditions.

35
New cards

Condition

A statement that evaluates to true or false.

36
New cards

Expression

A combination of variables, operators, and values that produces a result.

37
New cards

Assignment Statement

A statement that assigns a value to a variable.

38
New cards

Code Block

A group of statements that are executed together.

39
New cards

Function Call

An instruction to execute a function.

40
New cards

List Index Error

An error produced when an index does not fall within the valid range of a list.

41
New cards

Initial State

The starting conditions of a program or algorithm.

42
New cards

Output

The result produced by a program.

43
New cards

Variable

A storage location identified by a name which holds a value.

44
New cards

Object-Oriented Programming

A programming paradigm based on the concept of objects.

45
New cards

Debugging

The process of finding and fixing errors in code.

46
New cards

Algorithm Complexity

A measure of the amount of resources required for an algorithm, typically time or space.