UNIX and Network Administration
- 46Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
Which perspective best describes an end user?
Which perspective best describes an end user?
46 questions
- 1
Which perspective best describes an end user?
- A
Developing operating-system services that control hardware resources
- B
Designing network protocols that connect independent computer systems
- C
Using application functions without needing to know how the software works
- D
Writing application software by directly addressing hardware devices
Correct answer
CUsing application functions without needing to know how the software works
Explanation
An end user uses the functionality provided by application software, such as editing, saving, or printing a file, without needing to understand the software's internal operation.
- A
- 2
What is the primary concern of an application programmer?
- A
Operating applications without using programming languages
- B
Using facilities provided by system software to develop applications
- C
Manufacturing hardware components used by the operating system
- D
Managing the physical movement of data across network cables
Correct answer
BUsing facilities provided by system software to develop applications
Explanation
An application programmer develops software using facilities supplied by system software, such as memory allocation, file access, and input/output functions.
- A
- 3
What does an operating-system programmer need to understand especially well?
- A
How end users perform word-processing operations
- B
How to use application functions without writing code
- C
How hardware resources can be controlled and used
- D
How application users choose passwords for websites
Correct answer
CHow hardware resources can be controlled and used
Explanation
The operating-system or system programmer develops system software and therefore needs to understand how to read from disks, control printers, track input devices, and use other hardware resources.
- A
- 4
Which sequence correctly represents the three software-related viewpoints described in the content?
- A
End user uses an application, application programmer uses system software, and system programmer uses hardware
- B
Application programmer uses the end user, system programmer uses applications, and hardware uses system software
- C
End user uses system software, system programmer uses applications, and application programmer uses hardware
- D
System programmer uses applications, end user develops system software, and application programmer uses networks
Correct answer
AEnd user uses an application, application programmer uses system software, and system programmer uses hardware
Explanation
The end user uses an application, the application programmer uses system-software facilities to create that application, and the system programmer uses hardware interfaces to create system software.
- A
- 5
Which example illustrates dynamic memory allocation requested by an application?
- A
A printer independently allocates memory to a word processor
- B
A user opens a browser without requesting any operating-system service
- C
A compiler changes a disk into a network interface
- D
A C program calls
mallocto request memory from the operating system
Correct answer
DA C program calls
mallocto request memory from the operating systemExplanation
The C library function
mallocis used by a program to request memory dynamically, with the operating system providing the underlying memory resource. - A
- 6
Which relationship connects the second and third courses in the information-security sequence described?
- A
The earlier course examined hardware interfaces, while the later course examines how system software uses them
- B
The earlier course examined network protocols, while the later course replaces operating systems with hardware
- C
The earlier course examined end-user behavior, while the later course examines only programming syntax
- D
The earlier course examined application design, while the later course examines only user-interface design
Correct answer
AThe earlier course examined hardware interfaces, while the later course examines how system software uses them
Explanation
The earlier course discussed hardware features and interfaces available to system software, while this course focuses on how system software, including Unix and network administration tools, uses those interfaces.
- A
- 7
Which statement best describes the focus of the course content?
- A
It examines only theoretical definitions of information security
- B
It covers Unix and network administration fundamentals with attention to security
- C
It focuses exclusively on designing new computer hardware architectures
- D
It teaches only application-level programming without operating-system concepts
Correct answer
BIt covers Unix and network administration fundamentals with attention to security
Explanation
The course presents the basics of Unix and network administration, emphasizing security and the relationship between operating systems and networks.
- A
- 8
What is system software?
- A
Software that provides common facilities and resource-management services to applications
- B
Hardware circuitry that directly performs arithmetic operations
- C
A network cable that connects multiple computers
- D
Software used only by end users to edit documents and browse the web
Correct answer
ASoftware that provides common facilities and resource-management services to applications
Explanation
System software includes software layers that support applications by providing services such as memory allocation, file operations, input/output, and resource management.
- A
- 9
Why can a programmer use
printfwithout implementing screen output from scratch?- A
The hardware automatically converts every source-code statement into printed text
- B
The end user manually performs the output operation after compilation
- C
The application programmer must rewrite the display driver each time
- D
A prebuilt library function supplies the complicated output functionality
Correct answer
DA prebuilt library function supplies the complicated output functionality
Explanation
Prebuilt C library functions, accessed through facilities such as header files, provide complex operations like
printf, allowing programmers to use them without implementing all underlying details. - A
- 10
What is the role of C header files such as
stdio.handmath.hin the described programming model?- A
They physically store the operating system in read-only memory
- B
They provide access to prebuilt library facilities used by programs
- C
They replace the hardware interfaces used by device drivers
- D
They allow users to operate a computer without applications
Correct answer
BThey provide access to prebuilt library facilities used by programs
Explanation
Header files identify or provide access to prebuilt libraries containing functions that applications can use for tasks such as input/output and mathematical operations.
- A
- 11
Which of the following is identified as system software?
- A
A collection of C library functions
- B
A user's handwritten document
- C
A physical monitor manufactured for a computer
- D
A printed copy of an application manual
Correct answer
AA collection of C library functions
Explanation
The content explicitly identifies collections of C library functions as examples of system software because they provide reusable facilities to application programmers.
- A
- 12
Why can a database management system such as MySQL be classified as system software?
- A
It provides software services for storing and managing application data
- B
It functions only as a network cable between database servers
- C
It physically replaces the computer's central processing unit
- D
It allows an end user to avoid using any operating system
Correct answer
AIt provides software services for storing and managing application data
Explanation
A database management system provides software services that applications can use to store and manage data, so it is treated as system software in the described classification.
- A
- 13
What is the role of device drivers in system software?
- A
They define the contents of documents created by word processors
- B
They prevent applications from requesting operating-system services
- C
They replace all application programs used by end users
- D
They provide resource-management functions for interacting with hardware devices
Correct answer
DThey provide resource-management functions for interacting with hardware devices
Explanation
Device drivers are system-software components that help manage and communicate with hardware resources such as printers, disks, and display devices.
- A
- 14
How do application programmers generally access services provided by system software?
- A
Through the master boot record on every file request
- B
Through user instructions that bypass all software layers
- C
Through an application programming interface, or API
- D
Through direct physical manipulation of memory chips
Correct answer
CThrough an application programming interface, or API
Explanation
System-software facilities are made available to application programmers through application programming interfaces, commonly called APIs.
- A
- 15
Which four-layer arrangement correctly describes the computer system model?
- A
Application programs, hardware, users, and operating system
- B
Users, hardware, application programs, and operating system
- C
Hardware, operating system, system and application programs, and users
- D
Operating system, users, hardware, and system programs
Correct answer
CHardware, operating system, system and application programs, and users
Explanation
The model places computer hardware at the bottom, the operating system above it, system and application programs above the operating system, and users at the top.
- A
- 16
What does the operating system do when an application requests a service such as printing?
- A
It asks the end user to operate the printer manually
- B
It replaces the application with a new operating-system process
- C
It ignores the request because applications cannot use hardware
- D
It translates the request into hardware-level actions, often through a device driver
Correct answer
DIt translates the request into hardware-level actions, often through a device driver
Explanation
The operating system converts an application service request into instructions that hardware can understand, using mechanisms such as device drivers to control the display or printer.
- A
- 17
What happens when an application requests memory through the operating system?
- A
The operating system allocates memory and returns a pointer or equivalent reference
- B
The hardware sends the request directly to another application
- C
The end user manually assigns physical memory addresses
- D
The operating system prints the requested amount of memory on the screen
Correct answer
AThe operating system allocates memory and returns a pointer or equivalent reference
Explanation
For a request such as dynamic memory allocation, the operating system assigns available memory and provides the application with a pointer to that memory.
- A
- 18
What is the general direction of interaction among the user, application, operating system, and hardware?
- A
The operating system asks the user to translate every request into machine instructions
- B
The application controls hardware directly while the operating system only displays results
- C
The user uses an application, the application requests operating-system services, and the operating system controls hardware
- D
The hardware requests services from the user, who directly controls the operating system
Correct answer
CThe user uses an application, the application requests operating-system services, and the operating system controls hardware
Explanation
A user interacts with an application, the application requests services from the operating system, and the operating system translates those requests into hardware operations and returns the results.
- A
- 19
What does it mean for the operating system to abstract hardware resources?
- A
Applications can use standard services without knowing the specific hardware implementation
- B
Hardware devices become unnecessary because software simulates every resource
- C
Applications must contain separate code for every possible monitor and disk
- D
Users are required to understand device-level instructions before running programs
Correct answer
AApplications can use standard services without knowing the specific hardware implementation
Explanation
Abstraction hides hardware-specific details. For example, an application can request printing or file access without knowing the manufacturer or internal operation of the monitor or disk.
- A
- 20
What is the relationship between the kernel and hardware resources?
- A
The kernel is an application used only for editing documents
- B
The kernel abstracts hardware resources and presents usable interfaces to higher software layers
- C
The kernel prevents higher software layers from using any hardware resource
- D
The kernel is a physical device that replaces the computer's memory
Correct answer
BThe kernel abstracts hardware resources and presents usable interfaces to higher software layers
Explanation
The kernel is the trusted operating-system core that manages and abstracts hardware resources so that higher-level system and application software need not handle hardware details directly.
- A
- 21
Why can the same
printfrequest work with monitors from different manufacturers?- A
The operating system and related software hide monitor-specific details from the application
- B
The end user converts the request into device instructions each time
- C
Every monitor uses identical hardware and requires no software support
- D
The C language automatically rewrites the monitor's physical circuitry
Correct answer
AThe operating system and related software hide monitor-specific details from the application
Explanation
The application uses a standard output interface, while the operating system and device drivers handle differences among specific display devices.
- A
- 22
Which operating-system type processes submitted jobs with little or no direct interaction during execution?
- A
Real-time operating system
- B
Interactive workstation operating system
- C
Distributed operating system
- D
Batch-processing operating system
Correct answer
DBatch-processing operating system
Explanation
A batch-processing operating system handles jobs submitted for processing, historically allowing users to submit work and collect results later rather than interacting continuously.
- A
- 23
What characterizes a single-user, single-task operating system?
- A
One user effectively performs one task at a time
- B
One user runs many programs concurrently on several computers
- C
Many users execute unrelated tasks simultaneously
- D
No user can execute a program without a network server
Correct answer
AOne user effectively performs one task at a time
Explanation
A single-user, single-task operating system is designed so that one user can effectively perform one activity at a time.
- A
- 24
What characterizes a single-user multitasking operating system?
- A
One user can have several programs in operation at the same time
- B
Several independent computers appear as one computer to the user
- C
One task is processed only after the computer is switched off
- D
Many users must share one program while no other program runs
Correct answer
AOne user can have several programs in operation at the same time
Explanation
A single-user multitasking system supports one user while allowing several programs to be active or operated concurrently.
- A
- 25
What is a defining feature of a multiuser operating system?
- A
Only one user can log in, even if many applications are running
- B
The system permits only one task during its entire execution
- C
Many users can access computer resources simultaneously
- D
The system can operate only without a network connection
Correct answer
CMany users can access computer resources simultaneously
Explanation
A multiuser operating system allows multiple users to take advantage of computer resources at the same time, as in Unix or Linux servers and mail servers.
- A
- 26
Why is a system that supports many networked users not necessarily a multiuser operating system?
- A
A multiuser operating system cannot communicate with other computers
- B
Any system connected to a network is automatically a multiuser operating system
- C
Networked systems are classified only by the number of installed applications
- D
Networking support and simultaneous local-user management are different classifications
Correct answer
DNetworking support and simultaneous local-user management are different classifications
Explanation
A system may support networking for many connected users while still having only one local system administrator or one local user. Network capability and the multiuser operating-system classification are distinct.
- A
- 27
What additional requirement distinguishes a real-time operating system from an ordinary operating system?
- A
It must allow only one user to run one program at a time
- B
It must make several computers appear as a single computer
- C
It must process every job only in the order it was submitted
- D
It must complete a correct operation within a specified time limit
Correct answer
DIt must complete a correct operation within a specified time limit
Explanation
A real-time operating system must produce the correct result and complete the operation within a required time interval, which is essential in control systems such as aircraft systems.
- A
- 28
What is the main purpose of a distributed operating system?
- A
To manage independent computers so they appear as one system to applications
- B
To restrict one computer to executing only one application
- C
To process only jobs that are collected and executed the next day
- D
To control only small sensors without coordinating other computers
Correct answer
ATo manage independent computers so they appear as one system to applications
Explanation
A distributed operating system manages a group of independent computers and presents them as a single computer from the perspective of application software.
- A
- 29
Which situation is most characteristic of an embedded operating system?
- A
A desktop computer runs numerous general-purpose applications
- B
A mainframe processes large batches that users collect the next morning
- C
A compact device monitors room temperature or controls a washing machine
- D
A mail server supports many simultaneous interactive logins
Correct answer
CA compact device monitors room temperature or controls a washing machine
Explanation
Embedded operating systems are used in compact devices such as sensors, mobile devices, and washing machines, where the software is typically small and efficient.
- A
- 30
What major change occurred in operating-system evolution from mainframes to handheld computers?
- A
Computing moved entirely from software control to manual hardware control
- B
Computing became more interactive and increasingly networked
- C
Users stopped expecting immediate results from computer operations
- D
Operating systems became less concerned with communication among systems
Correct answer
BComputing became more interactive and increasingly networked
Explanation
The evolution from batch-oriented mainframes to desktops and handheld devices brought interactive computing, rapid feedback, and extensive networking.
- A
- 31
Which three characteristics are emphasized as central requirements for contemporary operating systems?
- A
Batch execution, isolated hardware, and delayed user feedback
- B
Manual resource allocation, single-task execution, and no networking
- C
Interactivity, quick or real-time responses, and extensive networking
- D
Hardware replacement, offline operation, and unrestricted program execution
Correct answer
CInteractivity, quick or real-time responses, and extensive networking
Explanation
Modern systems are expected to be highly interactive, provide quick or time-constrained results, and operate in heavily networked environments.
- A
- 32
Which example best illustrates the operating system's role as a resource allocator?
- A
Choosing the topic of a document written by the end user
- B
Writing the application's source code without programmer involvement
- C
Granting a program CPU time, memory, or file storage when requested
- D
Manufacturing a new printer whenever an application requests output
Correct answer
CGranting a program CPU time, memory, or file storage when requested
Explanation
The operating system allocates resources such as CPU time, memory, and storage to programs that request them.
- A
- 33
Why must an operating system resolve conflicts between programs or users requesting the same resource?
- A
Conflict resolution is required only when no operating system is present
- B
Without coordination, simultaneous requests could produce mixed or incorrect results
- C
Hardware resources are always unlimited and need no scheduling
- D
Applications cannot request resources unless users manually rewrite them
Correct answer
BWithout coordination, simultaneous requests could produce mixed or incorrect results
Explanation
When two users request a shared resource such as a printer, the operating system must coordinate access. Serializing the jobs prevents their output from becoming interleaved.
- A
- 34
What does serialization accomplish when two users want to print simultaneously?
- A
It allows one complete print job to proceed before the other begins
- B
It combines both files into one randomly interleaved print job
- C
It permanently prevents the second user from accessing the printer
- D
It sends both jobs directly to the hardware without operating-system control
Correct answer
AIt allows one complete print job to proceed before the other begins
Explanation
Serialization resolves the conflict by ordering access to the printer, such as printing the first file completely and then printing the second.
- A
- 35
What is a process?
- A
A program stored permanently on a disk
- B
A hardware device waiting for power
- C
A program in execution
- D
A source-code comment describing an application
Correct answer
CA program in execution
Explanation
A process is an executing instance of a program. Operating systems manage processes so that one process does not improperly interfere with another.
- A
- 36
How does an operating system help isolate processes in a multiuser system?
- A
It stops all processes whenever any one process performs an ordinary operation
- B
It gives every process unrestricted access to every hardware device
- C
It allows every process to overwrite all other processes' memory
- D
It prevents an error in one process from improperly affecting another process
Correct answer
DIt prevents an error in one process from improperly affecting another process
Explanation
Process isolation is an important operating-system responsibility, especially in multiuser systems. It helps ensure that one program's mistakes do not corrupt another program's execution.
- A
- 37
What should the operating system do when a program attempts an invalid operation such as division by zero?
- A
Ignore the error and allow the program to continue with an arbitrary result
- B
Detect or report the error and stop the invalid program when necessary
- C
Transfer responsibility for the error entirely to another application
- D
Shut down every program running on the computer immediately
Correct answer
BDetect or report the error and stop the invalid program when necessary
Explanation
Error detection, reporting, and controlled termination are operating-system responsibilities. Invalid operations such as division by zero may require the offending program to be stopped.
- A
- 38
Which statement best captures the purpose of an operating system?
- A
It is a user document that records the computer's configuration
- B
It is merely a collection of unrelated application-library functions
- C
It acts as a software layer between users or applications and computer hardware
- D
It is a physical component that performs all computation without software
Correct answer
CIt acts as a software layer between users or applications and computer hardware
Explanation
An operating system is a software layer between users and hardware. It provides abstraction, allocates resources, controls execution, and coordinates operations.
- A
- 39
Why is there no universally accepted single definition of an operating system?
- A
Operating systems are defined only by the programming language used to build them
- B
Operating systems must support varied applications, hardware, devices, and users
- C
Operating systems contain no components that can be described consistently
- D
Every operating system is exclusively a hardware device rather than software
Correct answer
BOperating systems must support varied applications, hardware, devices, and users
Explanation
Operating systems serve diverse users and applications while managing varied processors, peripherals, and devices. This broad range of responsibilities makes one universally accepted definition difficult.
- A
- 40
What is the kernel in relation to the operating system?
- A
The kernel is the core or heart of the operating system
- B
The kernel is a network cable used to connect operating systems
- C
The kernel is the first document created after a user logs in
- D
The kernel is an end-user application unrelated to system management
Correct answer
AThe kernel is the core or heart of the operating system
Explanation
The kernel is a central part of the operating system that executes continuously and manages fundamental system functions. It is not identical to every component that may be included with an operating system.
- A
- 41
Which set lists the principal goals of an operating system described in the content?
- A
Eliminate applications, prevent networking, and require manual hardware control
- B
Replace hardware, remove system software, and prevent program execution
- C
Maximize user confusion, delay responses, and restrict resource allocation
- D
Provide convenience, operate efficiently, and facilitate program execution
Correct answer
DProvide convenience, operate efficiently, and facilitate program execution
Explanation
The primary goals are convenience for users, efficient operation of the computer, and facilitating the execution of application programs.
- A
- 42
What initially executes when a computer is switched on?
- A
The user's preferred application loaded directly from a text editor
- B
A network application selected by the end user after login
- C
Instructions stored in read-only memory, commonly referred to as firmware
- D
A program created dynamically by the printer driver
Correct answer
CInstructions stored in read-only memory, commonly referred to as firmware
Explanation
At startup, the computer begins executing instructions stored in read-only memory. This startup code is commonly called firmware.
- A
- 43
What does firmware typically do during the boot process?
- A
It allocates all user files before locating any storage device
- B
It executes every application installed on the computer
- C
It replaces the operating-system kernel with a text editor
- D
It locates a bootable device and loads its initial boot program
Correct answer
DIt locates a bootable device and loads its initial boot program
Explanation
Firmware searches for a bootable disk or device and loads the initial program stored there so that the boot process can continue.
- A
- 44
What is the boot strap program?
- A
The final application launched after the user closes the operating system
- B
The initial program loaded from a bootable device that continues loading the kernel
- C
A library function used to allocate memory during application execution
- D
A device driver used only to print documents from a browser
Correct answer
BThe initial program loaded from a bootable device that continues loading the kernel
Explanation
The boot strap program is stored in the initial sector or block of a bootable device. Firmware loads it into memory, and it continues the process by loading the operating-system kernel.
- A
- 45
What is the role of the master boot record in the described startup sequence?
- A
Firmware loads its contents into memory and transfers control to the loaded program
- B
It stores every application that will be used by the end user
- C
It provides the memory pointer returned by a dynamic allocation request
- D
It serializes print jobs after the operating system has fully started
Correct answer
AFirmware loads its contents into memory and transfers control to the loaded program
Explanation
The master boot record contains the initial boot code. Firmware loads that code into memory and gives it control so it can continue loading the kernel.
- A
- 46
Which sequence correctly describes the transition from power-on to operating-system execution?
- A
An application executes first, then the user creates firmware and loads the kernel
- B
The boot program executes first from an application file, then firmware powers on the hardware
- C
The kernel executes first, then firmware searches for a device and loads the boot program
- D
Firmware executes, locates a bootable device, loads the boot program, and the boot program loads the kernel
Correct answer
DFirmware executes, locates a bootable device, loads the boot program, and the boot program loads the kernel
Explanation
After power-on, firmware begins execution from read-only memory, finds a bootable device, loads its initial boot program, and that program loads the kernel and transfers control to it.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.