Introduction to Computer Fundamentals and Programming Flashcards
Types of Computer Hardware
- Input Unit
- Output Unit
- Memory Unit
- ALU (Arithmetic and Logic Unit)
- CPU (Central Processing Unit)
obtains information from various input devices
Input Unit
• places information
Input Unit
keyboard, mouse devices
Input Unit
• takes information processed by the computer
Output Unit
• places on various output devices
Output Unit
• screens, printed on paper, used to control other devices
Output Unit
• stores information
Memory Unit
RAM (Random Access Memory)
ROM (Read Only Memory)
Two Types of Memory Unit
• performs all arithmetic and logic operations
ALU (Arithmetic and Logic Unit)
• supervises the overall operation of the computer
CPU (Central Processing Unit)
permanent storage area for programs
secondary storage device
examples of secondary storage device
magnetic tapes, magnetic disks, optical storage CD, magnetic hard disks, floppy disks, CD ROM
set of instructions used to operate a computer to produce specific result.
Computer Program
writing computer programs
Computer Programming
languages used to create programs
Programming Language
program or a set of programs
Software
• lowest level of computer languages
Machine Languages
• consists of 1s and 0s
Machine Languages
programs can control directly to the computer’s hardware
Machine Languages
Two Parts of Machine Language Instructions
Instruction Part (opcode)
Address Part
• perform the same tasks as machine languages
Assembly Languages
• uses symbolic names for opcodes and operands instead of 1s and 0s
Assembly Languages
must be translated into machine language program before it can be executed on a computer
Assembly Languages
ASSEMBLER
Assembly Language Program → Translation Program (assembler) → Machine Language Program
create computer programs using instructions that is much easier to understand.
High Level Programming Language
• allow programmers to write instructions that look like every English sentences and commonly used mathematical notations.
High Level Programming Language
program which translate high level languages into a low level language/ translates programming code into a low level format
compiler
refers to each line in a high level language
statement
WELL-KNOWN PROGRAMMING LANGUAGES:
- FORTRAN (1957)
- COBOL (1960)
- BASIC (1960)
- PASCAL (1971) - Structure Programming
- C
- C++ - Object-oriented Programming
- Java