Overview of Computers and Programming

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/46

flashcard set

Earn XP

Description and Tags

Flashcards based on lecture notes about Computer Overview and Programming Fundamentals.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

47 Terms

1
New cards

Memory Cells

Cells within the RAM that contains either programming, instructions, or data

2
New cards

Address

The unique location of a memory cell within the RAM

3
New cards

CPU

Central Processing Unit responsible for carrying out arithmetic and logical operations

4
New cards

RAM

Also known as the main memory, is an ordered sequence of memory cells

5
New cards

Secondary Storage

Device that stores information permanently (Ex—Hard disks, Flash drives, CD-ROMS, Cloud storage)

6
New cards

Input Devices

Feed data and programs into computers (Ex—keyboard, mouse, secondary storage)

7
New cards

Output Devices

Display the results (Ex- monitor, printer, secondary storage)

8
New cards

Software

Programs that do specific tasks

9
New cards

System Programs

Runs the computer and keeps it running smoothly

10
New cards

Operating System

Monitors the overall activity of the computer and provides services (Ex—memory management, input/output devices, storage managements)

11
New cards

Application Programs

Programs that do tasks for the user (Ex— word processors, games, spreadsheets, etc.)

12
New cards

Digital Data (Binary Code)

Sequences of 0’s and 1’s

13
New cards

Binary Digits (Bits)

The digit 0 or 1

14
New cards

BYTE

Group of 8 bits that translate into a #, letter, or something else (Ex—01000101=E)

15
New cards

Kilobyte

2^10 bytes = 1024 bytes

16
New cards

ASCII (American Standard for Information Interchange)

A BYTE encoding standard for every character in the english language

17
New cards

Machine Language

The 1st generation of programming languages and the only language a computer recognizes

18
New cards

Assembly Language

The second generation of programming languages where the programmer writes the code as symbolic instructions

19
New cards

Assemblers

Converts code written in assembly language to machine language

20
New cards

Source Program (Code)

Contains the language, instruction, or code to be converted into machine language.

21
New cards

Compiler

Translates a program written in a higher-level language to machine language before executing it

22
New cards

Interpreter

Converts and executes one code statement at a time

23
New cards

Object Code

Source code that has been translated into machine language and can be run by the computer

24
New cards

High-level languages

3rd gen languages that tell the computer what to do and how to do it

25
New cards

Algorithm

Step-by-step problem solving process in which the solution is arrived at in a finite amount of times

26
New cards

Preprocessor

A computer program that modifies data to conform with the input requirements of another program

27
New cards

Structured Design

Diving a complex problem into subproblems (also called top-down/bottom-up/stepwise refinement/modular programming)

28
New cards

Structured Programming

Implementing a structured design

29
New cards

Object-Oriented Design (OOD)

Identifies components call objects and determines how they interact with one another

30
New cards

Object

Contains data and operations on that data

31
New cards

Object-Oriented Programming (OOP)

A programming language that implements OOD

32
New cards

CPU (Central Processing Unit)

Brain of the computer which Carries out arithmetic and logical operations

33
New cards

Main Memory/RAM

All programs must be loaded into it before they can be executed & data must be brought into it before it can be manipulated; When computer power is turned off, everything in it is lost

34
New cards

MACHINE LANGUAGE

Early computers used this language to communicate with each other.

35
New cards

ASSEMBLY LANGUAGE

This language writes the code as symbolic instructions known as a source program that is then translated into machine language by assemblers.

36
New cards

THE 3RD GENERATION OF LANGUAGES

These languages tell the computer what to do and how to accomplish it. The code is then converted by compilers and interpreters into the machine language

37
New cards

PROCESSING A C++ PROGRAM (STEP 2)

Preprocessor directives begin with a # and are processed by the preprocessor

38
New cards

PROGRAMMING WITH THE PROBLEM ANALYSIS CODING-EXECUTION CYCLE

Programming is problem solving via algorithms.

39
New cards

PROBLEM ANALYSIS CODING-EXECUTION CYCLE STEP 1: Analyze the problems

Outline the problem and its requirements and Design steps (algorithm) to solve the problem

40
New cards

PROBLEM ANALYSIS CODING-EXECUTION CYCLE STEP 2: Implement the algorithm

Implement the algorithm in code (write the program) & Verify the algorithm works (test the program)

41
New cards

PROBLEM ANALYSIS CODING-EXECUTION CYCLE STEP 3: Maintain

Use and modify the program if the problem domain changes

42
New cards

STEP 5: Check the correctness of the algorithm

Test using sample data, Some mathematical analysis might be required

43
New cards

STEP 7: Run the code for the compiler

Look at code and remove errors and Run it again through the compiler

44
New cards

FINAL STEP: Execute the program

Compiler guarantees that the program follows the rules of the language but it does not guarantee the program will run correctly

45
New cards

OBJECT-ORIENTED DESIGN (OOD)

Specifies the relevant data and the operations to be performed on the data found within an object.

46
New cards

OBJECT-ORIENTED DESIGN (OOD)

Functions are used to implement algorithms and to combine data and operations on the data into a single unit called an object

47
New cards

What does Bjarne Stroustrup have to do with C++?

C++ evolved from C and was designed by Bjarne Stroustrup at Bell Laboratories in early 1980s