Chapter 6 Powerpoint Flashcards

From the powerpoint

1
Q

What is a naked machine

A

A machine that has no tools or programs to help the user

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

What type of tools or programs does a non- naked machine have

A
  • Write instructions in binary
  • Write data in binary
  • Load instructions into memory one cell at a time
  • Initiate program run
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What were the problems with using a naked machine

A

It quickly became too difficult for humans to do. An interface had to be developed to hide the details and make the computer easier to build.

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

What is System software

A

A collection of programs to manage resources of the computer and to serve as an intermediary between user and hardware

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

What does system software create

A

A virtual machine or a virtual environment that the user sees.

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

What is an operating system considered

A

The single most important piece of software on the computer

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

What are the components of an operating system

A
The user interface
Memory managers
i/0 Systems
Utilities
Language services
Information Managers
Scheduler
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the general function of system software

A
  • Communicates with users
  • Determines what they want
  • Activates other system programs, applications, packages or user programs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe characteristics of language services within the system software

A

Language services support high level languages

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

Describe characteristics of memory managers within the system software

A

Memory managers allocate memory to programs

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

Describe characteristics of Information managers within the system software

A

Information managers organize mass storage

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

Describe characteristics of scheduler managers within the system software

A

Scheduler manages programs waiting to run

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

What are some utilities inside of system software

A

Tools including program libraries

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

What is a gui

A

A visual interface to the virtual machine including operating system and system programs and user programs.

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

What various devices do the I/O systems communicate with

A

Printers
Scanners
Keyboards
Mice

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

What are the 5 functions of a virtual machine

A

1) write program using text editor in high-level language
2) save program to folder
3) use translator to convert to binary
4) Use scheduler to load and run
5) use I/0 system to print results

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

What is the other name for low level programming language

A

Assembly language

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

What are the properties of assembly language

A
  • Instructions map one-to-one to machine language
  • Symbolic op codes (not binary)
  • Symbolic addresses for instructions and data
  • Pseudo-ops for data generation and more (data in human-friendly terms)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What are two advantages of assembly language over machine code

A
  • Clarity, readability and maintainability

* Can be placed at different locations in memory

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

What are some examples of High level programming languages

A

Java, C++, Python

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

What are the advantages of high level programming languages over assembly language

A
  • More powerful: One high level instruction may provide multiple machine instructions
  • User oriented
  • Not Machine Specific
  • Use both natural language and mathematical notation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is the assembly language process

A
  1. The source program (assembly language)
  2. Translated by the assembler to
  3. object program
  4. loader places in memory
  5. Hardware runs
  6. Results
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Are comments in assembly language processed by the assembler

A

Comments are ignored by the assembler- they’re for human use

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

What does pseudo-op commands in the (assembly language) program do

A

Commands in the program directed to the assembler, not converted to machine instructions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is the function of the assembler in relation to assembly language
Converts symbolic op codes to binary equivalents Converts symbolic labels to memory addresses Performs pseudo-op Writes object file containing machine instructions
26
What is the function of the loader in relation to the assembly language
Places instructions in memory | Triggers the hardware to run the program
27
How does assembler convert symbolic op codes to binary ones
Assembler maintains a table Assembler looks up the symbolic op codes in the table and substitutes the binary analogue Use binary search to optimize table lookups
28
When converting symbolic labels to memory addresses using assembly language how many passes does the assembler need
Assembler needs two passes - needs to look over assembly code two times
29
What occurs on the first pass of the assembler
* Keeps a count of how many instructions from the start | * Collects symbolic labels and add to symbol table along with location counter
30
What occurs on the second pass of the assembler
* Looks up and replace op codes * Substitutes label references with location from symbol table * Sets up .DATA pseudo-ops with location and binary value * Writes instructions to object file
31
What are system commands
User instructions about what the computer should do
32
What are typical operating system commands
Load a program Run a program Save information in a file or a directory Retrieve a file previously stored List all the files for this user Delete or rename a file Print a file on a specified I/O device Copy a file from one I/O device to another Establish a network connection Let user set or change a password Tell how much memory or data storage is being used
33
Describe the function of a user interface in an operating system
User communicates with an operating system
34
Describe the text based functions of an operating system
System commands typed at a prompt in a terminal | Command language must be learned
35
Describe the GUI-based functions of an operating system
System commands by a visual /mouse interface
36
What is the built in system security and protection in an operating system
Permit only authorized access to resources. Uses operating system as a security guard
37
How is access to the operating systems resources regulated
Access is protected by usernames and passwords. Superusers have more privileges Encrypt data to increase security
38
What is another way that access is regulated in relation to folders and files
Both folders and files have authorization lists that allow a user to read a file, add new information to a file, change existing information and delete a file
39
What are the three permissions that a file or folder can have
Read Write Execute
40
What is the "receptionist" in an operating system
User interface management
41
What is the "security guard" in an operating system
Control of access to system and data files
42
What is the "dispatcher" in an operating system
Program scheduling activation
43
What is the "efficiency expert" in an operating system
Efficient resource allocation
44
What is the "traffic officer" in an operating system
Deadlock and error detection
45
When does a deadlock occur
A deadlock occurs when multiple programs are requesting the resources that each one is currently using.
46
What is an example of a safe use of resources
Ensuring that the computer doesn't get stuck in deadlock
47
What is deadlock prevention
If you cannot get all of the resources then release all that you have and try again later
48
What is deadlock recovery
If no acknowledgement, send message again
49
Describe the historical development of operating systems: First Generation (nearly) "naked computer"
Programmer hand loaded programs
50
Describe the historical development of operating systems: Second Generation "batch operating systems"
Programmers gave programs to operators Operators collected a "batch" of programs Job control language: Instructions to OS
51
Describe the historical development of operating systems: Third Generation: Multiprogrammed operating systems
Multiple programs loaded at once Switch between programs when I/O happens Computer Security now required
52
Describe the historical development of operating systems: Third generation: Time-sharing system
Multiprogrammed, but users are on the system interactively. Users need an illusion of sole access Allocate run times in time slices - each program runs until I/O OR time runs out
53
Describe the historical development of operating systems: Fourth Generation: Network Operating System
Operating system supports all the same local services | Also supports services that access resources that are available over a network
54
What are some examples of services that access resources that are available over a network
Shared printer Servers: email, data, web Connections to the internet
55
What are real-time operating systems or embedded systems
Special-purpose computers in other equipment
56
Describe the historical development of operating systems: Fifth Generation
Multimedia interfaces Parallel Processing System Distributed Computing Environment
57
What is an example of multimedia interfaces
Integrate images, speech and video seamlessly
58
What is the function of a parallel processing system
Performs multimedia and to permit larger scale tasks
59
What is the function of distributed computing environments
Users don't know where resources are stored
60
What is an example of Distributed Computing Environment
Cloud computing