ICT 12 intro to computer norton summary
ICT 12 intro to computer norton summary
A computer program is a collection of instructions (called code) that tell the CPU what to do.
Programs can fall into three main categories: operating systems, utilities, and applications. Key
components include:
Hardware/Software Interaction
Interrupts: Signals sent to the CPU for preprogrammed responses, such as playing a
sound file.
Code: Written instructions in programming languages that interact with hardware.
1. Machine Code: The most basic language of binary instructions (1s and 0s) that a CPU
can directly execute.
2. Assembly Language: Uses mnemonics to represent machine code, requiring an
assembler to translate it into machine-readable form.
3. High-Level Languages: English-like syntax allowing for easier programming (e.g.,
Python, C++).
Compilers: Translate entire programs into machine code, producing an executable file.
Interpreters: Translate and execute code line-by-line, requiring the source code and
interpreter to run each time. Examples include Python and BASIC.
1. Structured Programming: Organizes code into functions that execute specific tasks,
promoting readability and logical flow.
2. Object-Oriented Programming (OOP): Encapsulates data and functions into objects.
Key OOP concepts:
o Classes: Templates for creating objects.
o Inheritance: Sharing attributes and methods between classes.
o Polymorphism: Allowing objects to be treated as instances of their parent class.
Programming Structures
Careers in Programming
Roles include: