Lower Secondary 8 Computing: Algorithms, Flowcharts, and Pseudocode

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

1/28

flashcard set

Earn XP

Description and Tags

Comprehensive vocabulary flashcards covering algorithms, flowchart symbols, pseudocode syntax, variables, assignment, operators, and Python conditionals for Lower Secondary 8 Computing.

29 Terms

1
New cards

Algorithm

A step-by-step set of clear, ordered, and precise instructions or rules designed to solve a problem or complete a task.

2
New cards
<p>Algorithm Components</p>

Algorithm Components

The three essential parts of any algorithm: inputs (data entered into the system), steps (ordered processes or decisions), and outputs (results sent out or displayed).

3
New cards

Flowchart

A visual diagram that depicts a process, system, or computer algorithm using standardized geometric shapes connected by directional arrows.

4
New cards
<p>Flowchart Symbols</p>

Flowchart Symbols

Standardized shapes used to map program logic: an oval represents start/end; a parallelogram represents input/output; a rectangle represents a process; a diamond indicates a decision; and arrows connect the shapes showing program flow.

5
New cards

Oval (Flowchart)

A flowchart shape used as a terminator to represent the start or end point of an algorithm (such as START or STOP).

6
New cards

Parallelogram (Flowchart)

A flowchart shape representing an input operation (getting data from the user) or an output operation (displaying results).

7
New cards

Rectangle (Flowchart)

A flowchart shape representing a process or action, such as calculations, data manipulation, or internal operations.

8
New cards

Diamond (Flowchart)

A flowchart shape that indicates a decision or condition, asking a question that branches the flow into multiple paths (such as YES/NO or TRUE/FALSE).

9
New cards
<p>Pseudocode</p>

Pseudocode

A structured, readable description of an algorithm written in simplified English that bridges the gap between a flowchart design and real program code.

10
New cards

High-Level Programming Language

A programming language, such as Python, designed with human-readable syntax to allow programmers to communicate easily with computers.

11
New cards

Language Independent

A characteristic of pseudocode meaning it does not follow the syntax of any single programming language, allowing programmers of different languages to collaborate and translate it.

12
New cards

Syntax

The formal rules governing the arrangement of words, phrases, and punctuation symbols required by a programming language.

13
New cards

Programming Constructs

The three fundamental building blocks used to control program execution: sequence, selection, and iteration.

14
New cards

Sequence

A programming construct where instructions execute strictly one after another in order from top to bottom.

15
New cards

Selection

A programming construct that checks a condition and decides which branch of instructions to run using conditional statements such as IF, THEN, and ELSE.

16
New cards

Iteration

A programming construct that repeats a set of steps or instructions multiple times in a loop (such as WHILE or FOR loops).

17
New cards

Variable

A named location in a computer's memory used to store one item of data that can change as the program executes.

18
New cards

Identifier

The name assigned to a variable or subroutine; in pseudocode and Python, it must be one word without spaces, cannot start with a number or symbol, and cannot be a reserved keyword.

19
New cards

Reserved Keywords

A set of protected words (such as the 3131 Python keywords including if, else, while, print, and def) that have specific functions and cannot be used as variable identifiers.

20
New cards

Assignment

The operation of storing a value into a variable, represented in pseudocode by an arrow (←\leftarrow) or equals sign (==), with the variable identifier on the left and the data on the right.

21
New cards

String

A sequence of one or more characters treated as text, delineated in algorithms and code by double quotation marks.

22
New cards
<p>Concatenation</p>

Concatenation

The process of joining two or more text strings together into one continuous string using symbols such as a comma (,,), plus sign (++), or ampersand (&\&).

23
New cards

Arithmetic Operators

Symbols used to perform mathematical operations on numeric values: addition (++), subtraction (−-), multiplication (∗*), and division (//).

24
New cards

Comparison Operators

Operators that compare two values and always return either TRUE or FALSE: greater than (>>), less than (<<), greater than or equal to (>=>=), less than or equal to (<=<=), equal to (====), and not equal to (!=!=).

25
New cards

Logical AND

A logical operator that joins two conditions, evaluating to TRUE only when both individual conditions are TRUE at the same time.

26
New cards

Tracing

A structured method of following an algorithm line by line in order, recording inputs, calculating expressions, and updating variable values at each assignment step to predict the output.

27
New cards

Debugging

The process of finding logic errors or bugs in an algorithm or program, understanding why they occur, correcting them, and testing the solution again.

28
New cards

Boundary Value

A test value selected right at the edge or threshold of a condition (such as testing 100100 when the condition is score≥100score \ge 100) to verify that inclusive comparisons function correctly.

29
New cards

Indentation (Python)

The required leading whitespace (typically four spaces) in Python that specifies which statements belong to an IF or ELSE code block.