Midterm - Terminology Flashcards

(52 cards)

1
Q

Computer

A

A programmable machine or device that can store, retrieve, and process data.
-Can perform calculations and make logical decisions faster than a human being

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Data vs Information

A

Data are the things that you see, feel, etc.

  • Data is processed into information
  • The extraction is the role of modern computers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

IPO Model

A

Input -> Process -> Output

-All systems use this model, process is needed to display output.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Two main components of a computer

A

hardware, software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Software

A

Set of instructions (computer programs), procedures, rules, data and documentation to provide desired features, functions and performance.
-Enables user to interact w/ PC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Failure differences w/ Hardware and Software.

A
  • Hardware:
  • First there are lots of failures, until it’s ready for market.
  • Then after a while hardware gets old and begins to fail.

Software

  • Starts with a lot failures
  • eventually flattens.
  • But then slowly increases because of a lack of support for obsolent software.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Moore’s Law

A
  • every year or two, the capacities of computers have approximately doubled inexpensively.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Computer Organization (6)

A

Input: keyboard, touch screen, etc
Output: speakers, monitor, etc
Memory: data is placed before being processed.
ALU (Arithmetic and Logic):
CPU (Central Processing Unit): “administrative section” coordinates and tells the other sections what to do.
Secondary Storage: long-term, high capacity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Smallest data item of a computer. second smallest?

A

bit –> assumes either 1 or 0

2nd is byte –> 8 bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Fields

A

a group of characters or bytes that covey meaning

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Records

A

a group of related fields

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

File

A

A group of related records

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Database

A

a collection of data organized for easy access and manipulation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Programming Language

A

a vocabulary and set of grammatical rules for instructing a computer or computing device to perform specific tasks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Translator Programs

A

developed to convert assembly language to machine language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

High-Level Languages

A
  • can execute substantial tasks in single statements
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Compilers

A

convert high-level languages into machine languages

-create executable files so you don’t have to compile them many times.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Scripting Languages

A

processed by interpreters

-while may be easier, SLOWER than high level languages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Interpreter Programs

A

execute high level programs directly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

c is a ____ language because…

A

procedureal because it consists of functions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Software Reuse

A

using existing pieces of code

22
Q

C Standard Library

A

functions which can be used –> improve program performance and portability

23
Q

Advantages/Disadvantages to writing your own functions…

A

AD: You’ll know how they work
DIS: Time-Consuming

24
Q

Phases of C Programs (EPCLLE)…

A

Edit, Preprocess, Compile, Link, Load, Execute

25
Link Phase
using terminal to run program
26
Load Phase
file will load onto memory
27
Preprocess
give the command to compile the program
28
Execute phase
CPU will run file from the memory
29
Fatal Errors
Terminate immediately
30
Non-Fatal Errors
may produce incorrect results
31
stdin
Standard Input stream
32
stdout
Standard Output Stream
33
stderr
Standard Error Stream - used to display errors.
34
Embedded System
systems that the user cannot modify
35
Real-Time System
used for air-traffic control, time is sensitive in these systems
36
Algorithm
a sequence of finite instructions for solving a problem.
37
Characteristics of an Algorithm (IOFDE):
- Input - Output - Finiteness - Definiteness - Effectiveness
38
3 Advantages to Algorithms
- Easy to Understand - Easy to Debug - Can be implemented to any programming language
39
Control/ Logic Structure - 3 things algorithms are made up of
- Sequential Statements - Conditions - Iteration
40
Variables
to label and store data in memory locations
41
Pseudocode
an artificial and informal language that helps develop code
42
Flowchart
A graphical representation of an algorithm or a process (or pseudocode)
43
CERT C Coding Standard
CERT C Coding Standard - guidelines that help you avoid programming practices that open systems to attacks.
44
Counter-Controlled Iteration
count the number of iterations.
45
Sentinel-controlled iteration
the precise number of iterations is unknown
46
echo Linux command
Repeats the message
47
pwd Linux command
says the directory
48
mkdir Linux command
create a folder
49
cd Linux command
change directory
50
ls Linux command
list the files in the current directory
51
gcc Linux command
for compiling a c program; gcc -Wall firstPrg.c -o myProg
52
Symbols for a flowchart: 1. Begin/End 2. Input/Output 3. Process 4. Decision
1. Circle 2. Parallelogram 3. Rectangle 4. Diamond