Presentation is loading. Please wait.

Presentation is loading. Please wait.

Unit OS2: Operating System Principles

Similar presentations


Presentation on theme: "Unit OS2: Operating System Principles"— Presentation transcript:

1 Unit OS2: Operating System Principles
2.5. Quiz Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze

2 Copyright Notice © 2000-2005 David A. Solomon and Mark Russinovich
These materials are part of the Windows Operating System Internals Curriculum Development Kit, developed by David A. Solomon and Mark E. Russinovich with Andreas Polze Microsoft has licensed these materials from David Solomon Expert Seminars, Inc. for distribution to academic organizations solely for use in academic environments (and not for commercial use)

3 Windows OS Design Goals
The design of Windows is closely related to a number of initial design goals. Which one was not among them? Portability Seamless networking support Efficiency (hard) realtime d) (hard) realtime

4 OS Structuring The Separation of OS functionality in kernel/user-mode components has the following goals: Increasing OS efficiency Protection of concurrent activities of different users against each other Protection of file system consistency b) Protection of concurrent activities of different users against each other

5 Subsystems Which one of the following subsystems does not exist in the Windows operating system family? WIN32 OS/2 POSIX VMS d) VMS

6 Roots of Windows a) VMS b) MS-DOS c) IBM OS/360 d) Unix
Windows has its roots in a number of operating systems. Which OS did not contribute to Windows? a) VMS b) MS-DOS c) IBM OS/360 d) Unix d) IBM OS/360

7 Similar or identical? Client and Server versions of the Windows OS differ in the following: a) Kernel implementation b) Maximum size of the file system c) Default quantum length used for CPU scheduling d) Maximum number of processes c) Default quantum length used for CPU scheduling

8 Local System Account What are the restrictions applicable to services started by the Windows Service Controller Manager running under the local system account? No registry access No access to network volumes No access to devices except floppy and mouse No access to the file system b) No access to network volumes

9 Windows - supported Hardware
During its evolution, Windows has been ported to a number of CPUs. Which processor architecture has never been supported by Windows? Intel 80486 Motorola PowerPC DEC Alpha AXP SUN Sparc II MIPS R4000 d) SUN Sparc II

10 Processes in Windows Which of the following does a process not contain? A private address space A set of open resources One or more threads A hardware context d) A hardware context

11 Thread concept What is a thread? Component of most fabrics
Execution context within a process Subroutine in a program Main routine in a program b) Execution context within a process

12 Address space What is the default size of the user address space in 32bit Windows? 1 gigabyte 2 gigabytes 3 gigabytes 4 gigabytes b) 2 gigabytes

13 Protection A user program in Windows can corrupt operating system memory? True False b) False

14 Protection Kernel mode is used to protect a process from:
Corrupting operating system memory Corrupting another process’ memory Being corrupted by the operating system Being corrupted by another process a) Corrupting operating system memory

15 Operating System Architecture
Windows is a microkernel-based OS design True False b) False

16 Microkernel Windows is not a true microkernel because:
The kernel is more than 100kb in size It does not run on handheld devices It is not based on Mach All kernel mode components share the same address space d) Kernel mode components share the same address space

17 Hardware support & portability
How many CPU architectures does Windows 2000 support? One Two Three Four a) One

18 Multiprocessing Windows’ multiprocessor support is called: Parallel
Mirrored Symmetric Asymmetric c) Symmetric

19 Subsystem support Applications call native Windows system calls directly True False b) False

20 Subsystems Which subsystem provides the most services? MS-DOS Win32
POSIX OS/2 b) Win32

21 Subsystem functionality
What do environment subsystems NOT do? Interface to native Windows system calls Define process & file system semantics Service interrupts All of the above c) Service interrupts

22 Accessing Windows functionality
Which dynamic link library (DLL) is the interface to the native Windows API? NTDLL.DLL Kernel32.dll NtNative.dll NtOSkrnl.exe

23 Windows subsystem implementation
The Windows subsystem is partially implemented as device driver True since Windows XP False True since Windows NT4 c) True since Windows NT4

24 Kernel versions How many versions of NtOSkrnl.exe in 32-bit Windows are there? 2 4 6 5 c) 6

25 Checked build What is the purpose of a checked build?
To aid in debugging device drivers For performance testing To check for network problems To debug multiprocessor issues a) To aid in debugging device drivers

26 Windows kernel What is the role of the Windows kernel?
Abstract differences among CPU architectures Provide low level synchronization primitives Perform thread scheduling decisions All of the above d) All of the above

27 Hardware Abstraction Layer
What is the role of the HAL? Prevent drivers from accessing hardware directly Make all CPUs look the same to device drivers Provide a portable interface to the motherboard Provide access to the I/O system bus c) Provide a portable interface to the motherboard


Download ppt "Unit OS2: Operating System Principles"

Similar presentations


Ads by Google