Introduction to Computer Fundamentals and Programming Flashcards

1
Q

Types of Computer Hardware

A
  1. Input Unit
  2. Output Unit
  3. Memory Unit
  4. ALU (Arithmetic and Logic Unit)
  5. CPU (Central Processing Unit)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

obtains information from various input devices

A

Input Unit

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

• places information

A

Input Unit

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

keyboard, mouse devices

A

Input Unit

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

• takes information processed by the computer

A

Output Unit

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

• places on various output devices

A

Output Unit

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

• screens, printed on paper, used to control other devices

A

Output Unit

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

• stores information

A

Memory Unit

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

RAM (Random Access Memory)

ROM (Read Only Memory)

A

Two Types of Memory Unit

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

• performs all arithmetic and logic operations

A

ALU (Arithmetic and Logic Unit)

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

• supervises the overall operation of the computer

A

CPU (Central Processing Unit)

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

permanent storage area for programs

A

secondary storage device

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

examples of secondary storage device

A

magnetic tapes, magnetic disks, optical storage CD, magnetic hard disks, floppy disks, CD ROM

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

set of instructions used to operate a computer to produce specific result.

A

Computer Program

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

writing computer programs

A

Computer Programming

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

languages used to create programs

A

Programming Language

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

program or a set of programs

A

Software

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

• lowest level of computer languages

A

Machine Languages

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

• consists of 1s and 0s

A

Machine Languages

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

programs can control directly to the computer’s hardware

A

Machine Languages

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

Two Parts of Machine Language Instructions

A

Instruction Part (opcode)

Address Part

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

• perform the same tasks as machine languages

A

Assembly Languages

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

• uses symbolic names for opcodes and operands instead of 1s and 0s

A

Assembly Languages

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

must be translated into machine language program before it can be executed on a computer

A

Assembly Languages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
ASSEMBLER
Assembly Language Program → Translation Program (assembler) → Machine Language Program
26
create computer programs using instructions that is much easier to understand.
High Level Programming Language
27
• allow programmers to write instructions that look like every English sentences and commonly used mathematical notations.
High Level Programming Language
28
program which translate high level languages into a low level language/ translates programming code into a low level format
compiler
29
refers to each line in a high level language
statement
30
WELL-KNOWN PROGRAMMING LANGUAGES:
1. FORTRAN (1957) 2. COBOL (1960) 3. BASIC (1960) 4. PASCAL (1971) - Structure Programming 5. C 6. C++ - Object-oriented Programming 7. Java
31
set of rules for writing correct language statements.
Syntax
32
designed by Dennis Ritchie and Brian Kernighan at Bell Laboratories in 1970
C Programming Language
33
• used exclusively on UNIX and on mini-computers.
C
34
in 1980s, _____________ were written for other platforms, including PCs.
C compilers
35
standard version of C created by ANSI
ANSI C
36
• much closer to assembly language other than other high level programming languages
C
37
often run faster and more efficiently than other high level programming language.
C
38
• created by Bjarne Stroutrup based on C language in Bell Labaratories in 1985.
C++ Programming Language
39
• an extension of C that adds object-oriented programming capabilities.
C++ Programming Language
40
• now the most popular programming language for writing programs in Windows and Macintosh
C++ Programming Language
41
standardized version of C++
ANSI C++
42
contains useful functions, variables, constants, and other programming items that you can add to your programs.
run-time libraries
43
ANSI C++ run time library
Standard Template or Standard C++ Library
44
• research activity in the 1960s
Structured Programming
45
• discipline approach to writing programs that are clearer that unstructured programs, easier to test and debug, and easier to modify
Structured Programming
46
was designed for teaching structured programming in academic environments and rapidly became the preferred programming languages in most universities.
Pascal (Niklaus Wirth) in 1971
47
• another revolution in software community in 1980s
Object Oriented Programming
48
• allow programmers to use programming objects that they have written themselves or by others.
Object Oriented Programming
49
• creation of reusable software objects that can be easily incorporated into another program.
Object Oriented Programming
50
reusable software components that model items in the real world
objects
51
programming code and data that can be treated as an individual unit or component.
object
52
information contained within variables, constants, and other types of storage structures
data
53
procedures associated with an object
functions or methods
54
variables associated with an object
properties or attributes
55
concerned with creating readable, efficient. reliable, and maintainable programs and systems.
Software Engineering
56
THREE OVERLAPPING PHASES:
PHASE 1: Development and Design PHASE 2: Documentation PHASE 3: Maintenance
57
sequence of steps that describes how the data are to be processed to produce the desired outputs.
Algorithm
58
requires collecting critical documents during the analysis, design, coding, and testing.
Documentation
59
• can be described by using flowchart symbols
Algorithms
60
• can be also described by pseudocodes.
Algorithms
61
outline of basic structure or logic of the program
Flow chart
62
• are not convenient to revise and have fallen out of favor by programmers.
Flow chart
63
• Flow chart symbols:
a. Rounded Rectangle - Terminal b. Parallelogram - Input/Output c. Rectangle - Process d. Arrows - flowlines e. Diamond - decisions
64
• gained increasing acceptance
Pseudocodes
65
• English-like phases to describe an algorithm
Pseudocodes
66
• very important concept in programming
Loop
67
volatile
RAM (Random Access Memory)
68
stores program and data when using computer
RAM (Random Access Memory)
69
non-volatile
ROM (Read Only Memory)
70
fundamental instructions that cannot be lost or changed by the user
ROM (Read Only Memory)
71
tells computers the operation to be performed.
instruction part (opcode)
72
specifies the memory address of the data to be used in the instruction.
address part
73
programs written written to perform particular tasks required by the users.
Application Software
74
○ collection of programs that must be available to any computer system for it to operate.
System Software
75
most important system software
operating system
76
operating systems that allow to run multiple programs.
multitasking systems
77
is also a system software aside from operating system.
language translators