Module 1 Flashcards
Memorization
This is a program or system software that acts as an interface between the user and the computer hardware and controls the execution of programs.
Operating System (OS)
True or False.
It is a goal of the operating system to execute system programs and make solving system problems easier.
False
(execute USER programs and make solving USER problems easier)
True of False.
It is a goal of the operating system to make the system convenient to use
True
True or False.
It is a goal of the operating system to use the computer software in an efficient manner.
False
(use the computer HARDWARE in an efficient manner)
What are the components of a computer system?
- Computer Hardware
- Application Programs
- Users
- Operating Systems
This component of the computer system consists of the CPU, memory, and I/O devices.
Computer Hardware
This component of the computer system solves the problems of the users such as word processors, games, and business programs.
Application Programs
This component of the computer system are the ones who utilize a computer or network science.
Users
This component of the computer system controls and coordinates the use of the hardware among the various application programs for the various users.
Operating Systems
What are the common services offered by almost all operating systems?
(PFJUICERS)
- Program Execution
- File System Manipulation
- Job Accounting
- User Interface
- Input/Output Operations
- Communication
- Error Detection
- Resource Allocation
- Security and Protection
This service of the operating system allows a user to enter and receive information.
User Interface
(enter and receive)
What are the different types of user interfaces?
- Command Line Interface
- Batch-based Interface
- Graphical User Interface
This service of the operating system deals with its capability to load a program into memory and execute it.
Program Execution
(load and execute)
This service of the operating system allows users to create, search, and delete files as programs have to be read and written in as files and directories.
File System Manipulation
(create, search, delete files)
This service of the operating system deals with reading and/or writing data from I/O devices.
Input/Output Operations
This service of the operating system deals with ensuring that processes executing on same or different computer systems can communicate.
Communication
This service of the operating system deals with the management of different computer resources and allocates them to different application programs and users.
Resource Allocation
This service of the operating system detects errors within the computer system and takes the appropriate action.
Error Detection
This service of the operating system keeps track of time and resources used by tasks and users.
Job Accounting
This service of the operating system serves as a mechanism for controlling accesses of processes or users to resources and as a defense of the system against internal and external attacks.
Security and Protection
This serves as a mechanism for controlling accesses of processes or users to resources.
Protection
This serves as a defense of the system against internal and external attacks.
Security
This is the part of the OS in the memory which manages system resources.
Kernel
This acts as a bridge between application and hardware.
Kernel
(bridge)
It is the first program that loads after the bootloader.
Kernel
(first program after the bootloader)
It is a program that loads and starts the boot time tasks and processes of an OS. It also places the OS of a computer into memory.
Bootloader
(starts boot time tasks)
(place the OS into memory)
What are the different types of operating systems?
(Held By The DNR)
- Batch Operating System (BOS)
- Time-Sharing Operating System (TSOS)
- Distributed Operating System (DOS)
- Network Operating System (NOS)
- Real-time Operating System (RTOS)
- Handheld Operating System (Mobile OS)
In this type of operating system, the user never directly interacts with the computer.
Batch Operating System (BOS)
In this type of operating system, every user prepares their job on an offline device and submits it to the computer operator.
Batch Operating System (BOS)
In this type of operating system, jobs with similar needs are batched together and run as a group to speed up.
Batch Operating System (BOS)
In this type of operating system, programmers leave their programs with the operator and the operator sorts the programs with similar requirements into batches.
Batch Operating System (BOS)
Examples of this operating system are:
Payroll Systems and Bank Statements
Batch Operating System (BOS)
In this type of operating system, the CPU switches jobs so that users can interact with each job while it is running, creating interactive computing.
Time-sharing Operating System (TSOS)
(interactive computing)
In this type of operating system, multiple jobs are executed by the CPU by switching between them frequently, so the user can receive an immediate response. Response time should be <1 second.
Time-sharing Operating System (TSOS)
(switching between)
In this type of operating system, each user has at least one program executing in memory.
Time-sharing Operating System (TSOS)
(has at least one program executing in memory)
In this type of operating system, if several jobs are ready to run at the same time, then CPU Scheduling is used.
Time-sharing Operating System (TSOS)
This is used if several jobs are ready to run at the same time.
CPU Scheduling
In this type of operating system, if processes don’t fit in memory, swapping will take place.
Time-sharing Operating System (TSOS)
(swapping)
This takes place when processes don’t fit in memory.
Swapping
Examples of this operating system are:
Unix, Linux, Multics, and Windows.
Time-sharing Operating System (TSOS)
In this type of operating system, systems use multiple central processors to serve multiple real-time applications and users. Moreover, data processing jobs are distributed among the processors.
Distributed Operating Systems (DOS)
In this type of operating system, the processors communicate through various communication lines. These are referred as loosely coupled systems or distributed systems. These processors vary in size and function and are referred as sites, nodes, computers.
Distributed Operating Systems (DOS)
Examples of this operating system are:
Telecom Network, WWW, Cloud Computing
Distributed Operating Systems (DOS)
This type of operating system runs on a server and provides the server the capability to manage components and networking functions.
Network Operating Systems (NOS)
The purpose of this type of operating system is to allow shared file and printer access among multiple computers in a network.
Network Operating Systems (NOS)
Examples of this operating system are:
Microsoft Windows Server 2003, Microsoft Windows Server 2008, UNIX, Linux, Mac OS X Server, Novell NetWare, and BSD/OS (Berkeley Software Design)
Network Operating Systems (NOS)
This type of operating system is intended to serve real-time systems/applications that process data without buffer delay.
Real-time Operating Systems (RTOS)
In this type of operating system, the time interval or response time to process and respond to inputs is very small.
Real-time Operating Systems (RTOS)
(response time to process)
These types of operating system is used when there are time requirements are very strict like missile systems, air traffic control systems, robots.
Real-time Operating Systems (RTOS)
(time requirements are very strict)
Examples of this type of operating systems are:
LynxOS, OSE, QNX, RTLinux, VxWorks, Windows CE
Real-time Operating Systems (RTOS)
This type of operating system is built exclusively for mobile devices.
Handheld Operating System (Mobile OS)
Examples of this type of operating system are:
Android, Symbian, iOS, BlackBerry OS and Windows Mobile.
Handheld Operating System (Mobile OS)
This is made up of various components such as hardware or software, and these are organized in layers.
Computer System
True or False.
In computer system operation, two or more CPUs, device controllers connect through common bus providing access to shared memory.
False
(ONE or more CPUs)
True or False.
In computer system operation, there is a concurrent execution of CPUs and devices completing for memory cycles.
True
True or False.
In computer system operation, I/O devices and the CPU can execute in an alternating manner.
False
(can execute CONCURRENTLY)
True or False.
In computer system operation, each device controller is in charge of a particular device type and has a local buffer.
True
True or False.
In computer system operation, CPU moves data from/to main memory to/from global buffers.
False
(moves data from/to main memory to/from LOCAL buffers)
True or False.
In computer system operation, I/O is from the device to local buffer of controller.
True
True or False.
In computer system operation, a device controller informs CPU that it has finished its operation by causing an exception.
False
(by causing an INTERRUPT)
This is a signal emitted by a hardware or a software when a process or an event needs immediate attention.
Interrupt
It alerts the processor temporarily to a high priority process requiring interruption of the current working process and then return to its previous task.
Interrupt
True or False.
An operating system is interrupt driven.
True
What are the types of interrupts?
- Hardware Interrupts
- Software Interrupts (Traps)
These are signals created and sent to the CPU that is caused by some action taken by a hardware device.
Hardware Interrupts
True or False.
A software interrupt rises due to illegal and erroneous use of instruction or data.
True
This occurs when an application software terminates or it requests the operating system for some service.
Software Interrupts (Traps)
This preserves the state by storing registers and the program counter.
Interrupt Handling
This type of interrupt occurs when the operating system sends signal to devices asking if they have a request.
Polling
(signal to devices asking if they have a request)
This type of interrupt occurs when a requesting device sends interrupt to the operating system.
Vectored Interrupt System
(requesting device)
__________ separates segments of code determine what should be done for each type of interrupt.
Interrupt Handling
_________ operation allows the OS to protect itself and other system components
Dual-mode
(user mode & kernel mode)
What is the mode bit for user code?
1 (one)
What is the mode bit for kernel code?
0 (zero)
Instructions designated as ________ is only executable in kernel mode.
Privileged
True or False.
The system call changes mode to user, return from call resets it to kernel.
False
(system call changes mode to KERNEL, return from call resets it to USER)
A ________ is a way for programs to interact with the OS.
System Call
True or False.
A computer program makes a system call when it makes a request to the OS‘s kernel.
True
In this type of processor system, there is one main CPU executing an instruction set.
Single-Processor System
This type of processor system is also known as parallel-system, multicore, or tightly-coupled systems. First appeared in servers.
Multiprocessor System
Most systems use a ___________ processor and ___________ processors
Single General-purpose Processor, Special-purpose
What are the advantages of Multiprocessor Systems?
- Increased Throughput
- Economy of Scale
- Increased Reliability
This advantage of multiprocessor systems states that more processors, more work done in less time.
Increased Throughput
This advantage of multiprocessor systems states that they cost less than multiple single-processor systems because they can share peripherals, mass storage and power supplies.
Economy of Scale
This advantage of multiprocessor systems states that functions can be distributed properly among several processors. Processors can pick-up tasks of other processors.
Increased Reliability
What are the two different types of Multiprocessor systems?
- Asymmetric Multiprocessing
- Symmetric Multiprocessing (SMP)
In this type of multiprocessor system, each processor is assigned a specific task.
Asymmetric Multiprocessing
In this type of multiprocessor system, there is a boss-worker relationship.
Asymmetric Multiprocessing
In this type of multiprocessor system, a boss processor controls the system and the other processors either look to the boss for instructions or have predefined tasks.
Asymmetric Multiprocessing
This type of multiprocessor system is the most commonly used.
Symmetric Multiprocessing (SMP)
In this type of multiprocessor system, each processor performs all tasks within the operating system.
Symmetric Multiprocessing (SMP)
In this type of multiprocessor system, all processors are peers and no boss-worker relationship.
Symmetric Multiprocessing (SMP)
True or False.
The difference between symmetric and asymmetric may result from either hardware or software.
True
True or False.
In a dual-core design with two cores on the same chip, each core has its own register set and local cache.
True
True or False.
Multiple chips with a single core are more efficient than multiple computing cores on a single chip.
False
(Single chip, multiple cores are more efficient than multiple chips with single cores)
These are defined as multiple systems working together.
Clustered Systems
True or False.
Clustered systems usually share storage via a storage-area network (SAN).
True
True or False.
Clustered systems provide a high-availability service which is unable to survive failures.
False
(high-availability service which is ABLE to survive failures)
This type of clustering has one machine in hot-standby mode.
Asymmetric clustering
This type of clustering has multiple nodes running applications.
Symmetric clustering
True or False.
All clusters are for high-performance computing (HPC)
False
(SOME clusters are for high-performance-computing)
What are the different computing environments?
- Traditional Computers
- Mobile Computing
- Distributed Systems
- Client-Server Computing
- Virtualization
- Cloud Computing
This type of computing environment is blurring over time.
Traditional Computers
True or False.
In an office environment, PCs connected to a network, terminals attached to mainframe or minicomputers providing batch and timesharing.
True
True or False.
Home networks used to be multi-system, then modems and are now firewalled, networked
False
(home networks used to be SINGLE system)
______________ refers to computing on handheld smartphones and tablet computers.
Mobile Computing
This computing environment is a collection of physically separate, heterogeneous computer systems networked to provide users with access to the various resources that the system maintains
Distributed System
_________ operating system is an operating system that provides services across the network.
Network
In this type of distributed system, dumb terminals were succeeded by smart PCs and many servers respond to requests by clients.
Client-Server Computing
In Client-Server Computing, _________ provides an interface to client to request services like database.
Compute-server
(request services)
In Client-Server Computing, _________ provides interface for clients to store and retrieve files.
File-server
True or False.
Peer-to-peer (P2P) does not distinguish clients and servers.
Instead all nodes are considered peers and may each act as either a client or a server but not both.
False
(may each act as a client, server OR BOTH.)
Napster and BitTorrent are examples of ________
Peer-to-peer (P2P)
This allows operating systems to run as applications within other operating system.
Virtualization
It is a member of the class software that includes emulation.
Virtualization
_______ is used when the source CPU type is different from the target CPU type.
Emulation
Virtual machine and OracleVirtualBox are examples of _________.
Virtualization
This type of computing delivers computing, storage and applications as a service across a network.
Cloud Computing
(as a service)
This type of computing is a logical extension of virtualization.
Cloud Computing
(logical extension of virtualization)
This type of cloud is available via the Internet.
Public Cloud
(via the internet)
This type of cloud run by a company for that company’s own use.
Private Cloud
(own use)
This type of cloud includes both public and private.
Hybrid Cloud
(both public and private)
This cloud computing server model has one or more applications available via the Internet.
Software as a Service (SaaS)
(Applications)
Microsoft 365, Dropbox, Google Workspace are examples of this cloud computing service model.
Software as a Service (SaaS)
This cloud computing server model has software stacks ready for application use via the Internet.
Platform as a Service (PaaS)
(software stacks)
Microsoft Azure, SAP are examples of this cloud computing service model.
Platform as a Service (PaaS)
This cloud computing server model has servers or storage available over the Internet.
Infrastructure as a Service (IaaS)
(servers or storage)
Oracle Cloud, IBM Cloud are examples of this cloud computing service model.
Infrastructure as a Service (IaaS)
___________ operating systems are released under a license where the copyright holder allows others to study, change, and distribute the software.
Open Source
The open-source operating system was started by ___________, which has “copyleft” GNU Public License (GPL).
Free Software Foundation (FSF)
This operating system was a counter to the copy protection and Digital Rights Management (DRM) movement.
Open-Source Operating System
GNU/Linux, BSD UNIX (including core of Mac OS X), and Sun Solaris are examples of this operating system.
Open-Source Operating System