Test 3 Flashcards
Name the three characteristics of an object oriented program.
Encapsulation
Polymorphism
Inheritance
Encapsulation
hides the complex operations from the rest of the program
Polymorphism
changes the data type on the fly
Inheritance
a mechanism by which one class acquires the properties, data fields, and methods of another class.
What is a compiler?
a program that translates a high level language program into machine code.
What is an interpreter?
a program that translates and executes the statements in sequence
on the fly translation
Control Structures
looping
control
selection
Looping Control
for, while
Sequence Control
starts at the beginning and runs the program in sequence until the end
Selection Control
case
if
Boot Sequence
- Power on system
- Hardware check with program called POST
- Instructions in ROM tell computer where boot devices are located
- Boot sector of hard drive holds information about computer operating system
- A kernel is created with drivers to access hardware
Operating systems
Human users application software operating system other system software hardware
Application Software
software written to address specific needs to solve problems in the real world
System Software
software that manages a computer system at a fundamental level
Roles of an Operating System
- manages computer resources, such as memory and input/output
- provides an interface through which a human can interact with the computer
- allows an application program to interact with these other system resource
Paged Memory Technique
a technique in which processes are divided into fixed-size pages and stored in memory frames when loaded
Frame
A fixed size portion of main memory that holds a process page
Page
A fixed size portion of a process that is stored into a memory frame
Demand paging
an extension of paged memory management in which pages are brought into memory on demand
Page swap
the act of bringing in a page from secondary memory, which often causes another page to be written back to secondary memory
Virtual Memory
the illusion that there are no restrictions on the size of a program because an entire process doesn’t have to be in memory at the time