Computer Fundamental and Programming - Problem Solving and Programming Life Cycle

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/33

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering C++ problem-solving steps, program execution definitions, ATM case study concepts, and the six steps of the Programming Life Cycle based on the lecture slides.

Last updated 4:20 PM on 8/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

34 Terms

1
New cards

Initialize Memory Variables

The first step in C++ problem-solving, which involves declaring and allocating memory for the variables that will be used in the program.

2
New cards

Get Input

The second step in C++ problem-solving, involving reading user input, usually from the console.

3
New cards

Validate

The third step in C++ problem-solving, which checks if input is within acceptable ranges and ensures the correct input format for numeric operations.

4
New cards

Store Values to Memory Variables

The fourth step in C++ problem-solving, where input values are stored into previously declared variables.

5
New cards

Perform Computation and Decision Making

The fifth step in C++ problem-solving, which executes required mathematical calculations and decision logic based on the input.

6
New cards

Error Handling

The sixth step in C++ problem-solving, implementing strategies like try-catch blocks to manage unexpected situations such as invalid input or division by zero.

7
New cards

Output the Required Values

The final step in C++ problem-solving, which displays the calculated results to the user.

8
New cards

Program

A set of step-by-step instructions that directs a computer to perform a specific task and produce the required results.

9
New cards

Programming

The process of designing or creating a program.

10
New cards

Programmer

A person who writes the program.

11
New cards

Input (Program Execution)

The process of entering data, programs, and instructions into the computer system using input devices.

12
New cards

Process (Program Execution)

The stage where the CPU processes raw data into usable information for the user.

13
New cards

Output (Program Execution)

Raw data that has been processed by the computer into results and converted into an understandable form before being displayed or printed.

14
New cards

Card Insertion

The initial ATM input step where an ATM card is inserted into the designated slot, allowing the card reader to verify authenticity and magnetic strip data.

15
New cards

PIN Entry

The ATM input step where a user enters their personal identification number to ensure only the authorized cardholder accesses the account.

16
New cards

Data Transmission

The ATM processing step where the ATM sends card details and PIN to the bank's central server for verification.

17
New cards

Authorization

The ATM processing step where the server checks card validity, verifies the PIN, and authorizes the transaction if funds are available.

18
New cards

Response

The ATM processing step where the bank's server sends a confirmation message back to the ATM indicating transaction status.

19
New cards

Cash Dispensing

An ATM output step where the requested amount of cash is counted and dispensed securely from the internal vault if approved.

20
New cards

Receipt Printing

An ATM output step that prints a record detailing transaction details such as date, time, amount, and account balance.

21
New cards

Cycle

Refers to the need to replace an old program with a new program, restarting the development process.

22
New cards

Programming Life Cycle

A framework or discipline that uses specific techniques needed in computer programming development.

23
New cards

Problem Analysis

Step 1 of the programming life cycle, which describes in detail a solution to a problem by identifying input, required output, and relevant processes.

24
New cards

Program Design

Step 2 of the programming life cycle, defining the framework or flow of the problem solution using algorithms or pseudocode.

25
New cards

Algorithm

A sequence of instructions to solve a problem written in human language that yields a solution if correct procedures are followed.

26
New cards

Pseudocode

Steps in problem solving written in a combination of programming language code and human language/English-like phrases.

27
New cards

Program Coding

Step 3 of the programming life cycle, involving writing the solution in a specific programming language such as C, C++, or COBOL.

28
New cards

Testing

A process within Step 4 of the programming life cycle using sample data sets to discover errors and ensure program accuracy.

29
New cards

Bug

An error in a program.

30
New cards

Debugging

The process of identifying and correcting bugs in a program.

31
New cards

Syntax Error

A grammatical compile-time error that occurs when programming language rules are violated, which can be traced by the compiler during compilation.

32
New cards

Logic Error

A run-time error that cannot be traced by the compiler and occurs when the program executes but produces incorrect output.

33
New cards

Maintenance

Step 5 of the programming life cycle, involving activities to verify that an operational system performs as planned or is modified to meet updated requirements.

34
New cards

Documentation

Step 6 of the programming life cycle, consisting of a written report or graphic record detailing all development steps carried out for future reference and modification.