Midterm - Terminology Flashcards
(52 cards)
Computer
A programmable machine or device that can store, retrieve, and process data.
-Can perform calculations and make logical decisions faster than a human being
Data vs Information
Data are the things that you see, feel, etc.
- Data is processed into information
- The extraction is the role of modern computers.
IPO Model
Input -> Process -> Output
-All systems use this model, process is needed to display output.
Two main components of a computer
hardware, software
Software
Set of instructions (computer programs), procedures, rules, data and documentation to provide desired features, functions and performance.
-Enables user to interact w/ PC
Failure differences w/ Hardware and Software.
- 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.
Moore’s Law
- every year or two, the capacities of computers have approximately doubled inexpensively.
Computer Organization (6)
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.
Smallest data item of a computer. second smallest?
bit –> assumes either 1 or 0
2nd is byte –> 8 bits
Fields
a group of characters or bytes that covey meaning
Records
a group of related fields
File
A group of related records
Database
a collection of data organized for easy access and manipulation.
Programming Language
a vocabulary and set of grammatical rules for instructing a computer or computing device to perform specific tasks
Translator Programs
developed to convert assembly language to machine language
High-Level Languages
- can execute substantial tasks in single statements
Compilers
convert high-level languages into machine languages
-create executable files so you don’t have to compile them many times.
Scripting Languages
processed by interpreters
-while may be easier, SLOWER than high level languages.
Interpreter Programs
execute high level programs directly
c is a ____ language because…
procedureal because it consists of functions.
Software Reuse
using existing pieces of code
C Standard Library
functions which can be used –> improve program performance and portability
Advantages/Disadvantages to writing your own functions…
AD: You’ll know how they work
DIS: Time-Consuming
Phases of C Programs (EPCLLE)…
Edit, Preprocess, Compile, Link, Load, Execute