CH1 Flashcards

1
Q

Computer

A

programmable machine designed to follow instructions

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

Program

A

instructions in computer memory to make it do something

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

Main hardware components

A

CPU
Main memory (RAM)
Secondary memory (storage)
I/O devices

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

CPU parts:

A
Control Unit
  -retrives/decodes instructions
  -coordinates activities of all other parts
Arithmetic/logic unit
  -numeric calc
  -T/F, Y/N
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Main memory

A

AKA RAM
volatile: erased when terminated/off
organized as bits: 0 or 1
-byte: 8 bits

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

Secondary storage

A
Non-volatile
Media variety:
  -magnetic
  -solid-state
  -optical
  -flash drives
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Input devices

A

send info to computer from outside

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

Categories of software

A

System
-manage computer hardware + programs that run on
them (OS, software dev tools)
Application
-provide services to user (word processing, games)

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

Algorithm

A

start

set of well-defined steps

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

Machine language

A

binary

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

Types of languages

A

low-level
-comm with computer hardware directly (binary)
High-level
-closer to human lang

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

High-levvel program to executable file

A
  1. ) create file
  2. ) preprocessor: convert source file directives –> source code program statements
  3. ) compiler: source program –> machine instructions
  4. ) linker: connect HW-specific code + machine instructions = executable file
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a program made of?

A
key words
programmer-defined IDs
operators
punctuation
syntax
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Procedural programming

A

focus on the process, written to process data

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

Object-oriented programming

A

focus on object: contain data/means to manip data

objects perform operations

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