Computer Programming I - Algorithms and Flowcharting

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

1/27

flashcard set

Earn XP

Description and Tags

Flashcards covering the fundamentals of algorithms, flowcharting, programming concepts, Java identifiers, variables, and operators based on Week 02 lecture notes.

Last updated 1:44 AM on 8/12/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

28 Terms

1
New cards

ALGORITHM

A procedure for solving a problem in terms of the actions to be executed and the order in which these actions are to be executed.

2
New cards

Program control

Specifying the order in which statements are to be executed in a computer program.

3
New cards

Pseudocode

An artificial and informal language similar to everyday English that helps programmers develop algorithms; it is not an actual programming language and is not executed in computers.

4
New cards

Flowchart

A graphical representation of an algorithm or of a portion of an algorithm, often referred to as the blueprint of the program.

5
New cards

TERMINAL

A basic flowchart symbol used to signify the beginning and end of a flowchart.

6
New cards

INITIALIZATION

A flowchart symbol that indicates the preparation of data and is used to select initial conditions.

7
New cards

INPUT/OUTPUT

A flowchart symbol that shows the input and output functions of the program.

8
New cards

PROCESS

A flowchart symbol that signifies any calculations that are to be performed.

9
New cards

DECISION

A flowchart symbol representing two alternative execution paths selected by testing whether or not a specified condition is fulfilled.

10
New cards

ON PAGE CONNECTOR

A symbol showing the entry or exit point within the same page of a flowchart.

11
New cards

OFF PAGE CONNECTOR

A symbol used to designate entry to or exit from one page when a flowchart requires more than one page.

12
New cards

FLOW LINES

Symbols that signify the process that is to be executed next.

13
New cards

Programming

The act or process of planning or writing a program.

14
New cards

Computer program

A sequence of instructions written to perform a specified task for a computer; also known as a software program or just a program.

15
New cards

Programming language

An artificial language designed to express computations that can be performed by a machine, particularly a computer.

16
New cards

Identifiers

Names supplied for variables, types, functions, and labels composed of sequence of letters, digits, and the special character _ (underscore).

17
New cards

Keywords

Identifiers that cannot be used as names in a program because they already have a reserved meaning in Java, such as abstractabstract, booleanboolean, or staticstatic.

18
New cards

Variables

Identifiers that represent a location in memory where a changeable value can be stored for use by a program.

19
New cards

Data type

A data storage format that can contain a specific type or range of values.

20
New cards

Rules for naming variables

Must consist only of letters, digits, and underscore; should not begin with a digit; keywords are not allowed; case sensitive (AnsansAns \neq ans); no embedded blanks; and cannot use function names like mainmain.

21
New cards

Variable Declaration Syntax

Data type variable terminator (;)\text{Data type variable terminator (;)} (e.g., int _total;\text{int \_total;}).

22
New cards

Operator

A symbol that tells the computer to perform specific mathematical or logical manipulations.

23
New cards

Arithmetic Operators

Operators used for calculations: ++ (addition), - (subtraction), * (multiplication), // (division), %\% (modulus), -- (decrement), and ++++ (increment).

24
New cards

Relational Operators

Operators that result in True/False: >> (greater than), >=>= (greater than or equal), << (less than), <=<= (less than or equal), ==== (equal), and !=!= (not equal).

25
New cards

Logical Operators

Operators that result in True/False: &&\&\& (AND), || (OR), and !! (NOT).

26
New cards

OR (||)

A logical operator where the result is true if at least one of the conditions is true.

27
New cards

AND (&&\&\&)

A logical operator where the result is true only if both conditions are true.

28
New cards

Programming Strategy

The sequence involving Input (feeding data), Process (manipulation/calculation), and Output (processed data results).