SlideShare a Scribd company logo
1 of 4
Download to read offline
22

CHAPTER

Windows XP

Practice Exercises
22.1

What type of operating system is Windows XP? Describe two of its
major features.
Answer: A 32/64 bit preemptive multitasking operating system supporting multiple users. (1) The ability automatically to repair application and operating system problems. (2) Better networking and device
experience (including digital photography and video).

22.2

List the design goals of Windows XP. Describe two in detail.
Answer: Design goals include security, reliability, Windows and POSIX
application compatibility, high performance, extensibility, portability
and international support. (1) Reliability was perceived as a stringent
requirement and included extensive driver verification, facilities for
catching programming errors in user-level code, and a rigorous certification process for third-party drivers, applications, and devices. (2)
Achieving high performance required examination of past problem areas such as I/O performance, server CPU bottlenecks, and the scalability
of multithreaded and multiprocessor environments.

22.3

Describe the booting process for a Windows XP system.
Answer: (1) As the hardware powers on, the BIOS begins executing
from ROM and loads and executes the bootstrap loader from the disk. (2)
The NTLDR program is loaded from the root directory of the identified
system device and determines which boot device contains the operating
system. (3) NTLDR loads the HAL library, kernel, and system hive. The
system hive indicates the required boot drivers and loads them. (4)
Kernel execution begins by initializing the system and creating two
processes: the system process containing all internal worker threads,
and the first user-mode initialization process: SMSS. (5) SMSS further
79
80

Chapter 22 Windows XP

initializes the system by establishing paging files and loading device
drivers. (6) SMSS creates two processes: WINLOGON, which brings up
the rest of the system, and CSRSS (the Win32 subsystem process).
22.4

Describe the three main architectural layers of Windows XP.
Answer: (1) The HAL (Hardware Abstraction Layer) creates operating system portability by hiding hardware differences from the upper
layers of the operating system. Administrative details of low-level facilities are provided by HAL interfaces. HAL presents a virtual-machine
interface that is used by the kernel dispatcher, the executive and device
drivers. (2) The kernel layer provides a foundation for the executive
functions and user-mode subsystems. The kernel remains in memory
and is never preempted. Its responsibilities are thread scheduling, interrupt and exception handling, low-level processor synchronization,
and power failure recovery. (3) The executive layer provides a set of services used by all subsystems: object manager, virtual memory manager,
process manager, local procedure call facility, I/O manager, security
monitor, plug-and-play manager, registry, and booting.

22.5

What is the job of the object manager?
Answer: Objects present a generic set of kernel mode interfaces to usermode programs. Objects are manipulated by the executive-layer object
manager. The job of the object manager is to supervise the allocation
and use of all managed objects.

22.6

What types of services does the process manager provide? What is a
local procedure call?
Answer: The process manager provides services for creating, deleting, and using processes, threads and jobs. The process manager also
implements queuing and delivery of asynchronous procedure calls to
threads. The local procedure call (LPC) is a message-passing system.
The operating system uses the LPC to pass requests and results between client and server processes within a single machine, in particular
between Windows XP subsystems.

22.7

What are the responsibilities of the I/O manager?
Answer: The I/O manager is responsible for file systems, device
drivers, and network drivers. The I/O manager keeps track of which
device drivers, filter drivers, and file systems are loaded and manages
buffers for I/O requests. It furthermore assists in providing memorymapped file I/O and controls the cache manager for the whole I/O
system.

22.8

Does Windows XP offer any user-mode processes that enable it to run
programs developed for other operating systems? Describe two of these
subsystems.
Answer: Environmental subsystems are user-mode processes layered
over the native executable services to enable Windows XP to run programs developed for other operating systems. (1) A Win32 application
called the virtual DOS machine (VDM) is provided as a user-mode process to run MS-DOS applications. The VDM can execute or emulate Intel
486 instructions and also provides routines to emulate MS-DOS BIOS
Practice Exercises

81

services and provides virtual drivers for screen, keyboard, and communication ports. (2) Windows-on-windows (WOW32) provides kernel
and stub routines for Windows 3.1 functions. The stub routines call the
appropriate Win32 subroutines, converting the 16-bit addresses into
32-bit addresses.
22.9

What types of networking does Windows XP support? How does Windows XP implement transport protocols? Describe two networking protocols.
Answer: Support is provided for both peer-to-peer and client-server
networking. Transport protocols are implemented as drivers. (1) The
TCP/IP package includes SNMP, DHCP, WINS, and NetBIOS support. (2)
Point-to-point tunneling protocol is provided to communicate between
remote-access modules running on Windows XP servers and other client
systems connected over the internet. Using this scheme, multi-protocol
virtual private networks (VPNs) are supported over the internet.

22.10

How is the NTFS namespace organized? Describe.
Answer: The NTFS namespace is organized as a hierarchy of directories
where each directory uses a B+ tree data structure to store an index of
the file names in that directory. The index root of a directory contains
the top level of the B+ tree. Each entry in the directory contains the
name and file reference of the file as well as the update timestamp and
file size.

22.11

How does NTFS handle data structures? How does NTFS recover from
a system crash? What is guaranteed after a recovery takes place?
Answer: In NTFS, all file-system data structure updates are performed
inside transactions. Before a data structure is altered, the transaction
writes a log record containing redo and undo information. A commit
record is written to the log after a transaction has succeeded. After a
crash the file system can be restored to a consistent state by processing
the log records, first redoing operations for committed transactions and
undoing operations for transactions that did not successfully commit.
This scheme does not guarantee that user file contents are correct after
a recovery, but rather that the file-system data structures (file metadata)
are undamaged and reflect some consistent state that existed before the
crash.

22.12

How does Windows XP allocate user memory?
Answer: User memory can be allocated according to several schemes:
virtual memory, memory-mapped files, heaps, and thread-local storage.

22.13

Describe some of the ways an application can use memory via the
Win32 API.
Answer: (1) Virtual memory provides several functions that allow
an application to reserve and release memory, specifying the virtual
address at which the memory is allocated. (2) A file may be memorymapped into address space, providing a means for two processes to
share memory. (3) When a Win32 process is initialized, it is created
with a default heap. Private heaps can be created that provide regions of
82

Chapter 22 Windows XP

reserved address space for applications. Thread management functions
are provided to allocate and control thread access to private heaps. (4)
A thread-local storage mechanism provides a way for global and static
data to work properly in a multithreaded environment. Thread-lock
storage allocates global storage on a per-thread basis.

More Related Content

What's hot

Visual comparison of Unix-like systems & Virtualisation
Visual comparison of Unix-like systems & VirtualisationVisual comparison of Unix-like systems & Virtualisation
Visual comparison of Unix-like systems & Virtualisationwangyuanyi
 
Linux architecture
Linux architectureLinux architecture
Linux architecturemcganesh
 
Linux kernel Architecture and Properties
Linux kernel Architecture and PropertiesLinux kernel Architecture and Properties
Linux kernel Architecture and PropertiesSaadi Rahman
 
I/O System and Case study
I/O System and Case studyI/O System and Case study
I/O System and Case studymalarselvi mms
 
Intro to linux systems administration
Intro to linux systems administrationIntro to linux systems administration
Intro to linux systems administrationPadam Banthia
 
System components of windows xp
System components of windows xpSystem components of windows xp
System components of windows xpMohd Tousif
 
Inter Process Communication PPT
Inter Process Communication PPTInter Process Communication PPT
Inter Process Communication PPTSowmya Jyothi
 
Chapter 21 - The Linux System
Chapter 21 - The Linux SystemChapter 21 - The Linux System
Chapter 21 - The Linux SystemWayne Jones Jnr
 
Windows Architecture Explained by Stacksol
Windows Architecture Explained by StacksolWindows Architecture Explained by Stacksol
Windows Architecture Explained by StacksolStacksol
 

What's hot (19)

OSCh21
OSCh21OSCh21
OSCh21
 
Visual comparison of Unix-like systems & Virtualisation
Visual comparison of Unix-like systems & VirtualisationVisual comparison of Unix-like systems & Virtualisation
Visual comparison of Unix-like systems & Virtualisation
 
OSCh20
OSCh20OSCh20
OSCh20
 
Linux architecture
Linux architectureLinux architecture
Linux architecture
 
Chapter 22 - Windows XP
Chapter 22 - Windows XPChapter 22 - Windows XP
Chapter 22 - Windows XP
 
Operating System lab
Operating System labOperating System lab
Operating System lab
 
Bhagyashri k os-tutorial1
Bhagyashri k os-tutorial1Bhagyashri k os-tutorial1
Bhagyashri k os-tutorial1
 
Linux kernel Architecture and Properties
Linux kernel Architecture and PropertiesLinux kernel Architecture and Properties
Linux kernel Architecture and Properties
 
I/O System and Case study
I/O System and Case studyI/O System and Case study
I/O System and Case study
 
Intro to linux systems administration
Intro to linux systems administrationIntro to linux systems administration
Intro to linux systems administration
 
Windows Kernel-
Windows Kernel-Windows Kernel-
Windows Kernel-
 
linux kernel overview 2013
linux kernel overview 2013linux kernel overview 2013
linux kernel overview 2013
 
System components of windows xp
System components of windows xpSystem components of windows xp
System components of windows xp
 
Inter Process Communication PPT
Inter Process Communication PPTInter Process Communication PPT
Inter Process Communication PPT
 
Chapter 21 - The Linux System
Chapter 21 - The Linux SystemChapter 21 - The Linux System
Chapter 21 - The Linux System
 
Windows Architecture Explained by Stacksol
Windows Architecture Explained by StacksolWindows Architecture Explained by Stacksol
Windows Architecture Explained by Stacksol
 
Linux kernel
Linux kernelLinux kernel
Linux kernel
 
OSCh18
OSCh18OSCh18
OSCh18
 
Case Study 2: WINDOWS VISTA
Case Study 2: WINDOWS VISTACase Study 2: WINDOWS VISTA
Case Study 2: WINDOWS VISTA
 

Viewers also liked

32 ways to make your blog suck less
32 ways to make your blog suck less32 ways to make your blog suck less
32 ways to make your blog suck lessScott Hanselman
 
Analiza Profitului Institutului NaţIonal De Cercetare Dezvoltare Pentru Intre...
Analiza Profitului Institutului NaţIonal De Cercetare Dezvoltare Pentru Intre...Analiza Profitului Institutului NaţIonal De Cercetare Dezvoltare Pentru Intre...
Analiza Profitului Institutului NaţIonal De Cercetare Dezvoltare Pentru Intre...AlexK09
 
Primerjava organiziranosti gozdarstev in številčnosti gozdarskega kadra izbra...
Primerjava organiziranosti gozdarstev in številčnosti gozdarskega kadra izbra...Primerjava organiziranosti gozdarstev in številčnosti gozdarskega kadra izbra...
Primerjava organiziranosti gozdarstev in številčnosti gozdarskega kadra izbra...Franc Ferlin
 
Articulación sena prohivido :(
Articulación sena prohivido :(Articulación sena prohivido :(
Articulación sena prohivido :(INETESUGUI-SENA
 
Clase 1 trabajo-potencia
Clase 1 trabajo-potenciaClase 1 trabajo-potencia
Clase 1 trabajo-potenciajonathanfelfle
 
Ansiedad y angustia
Ansiedad y angustiaAnsiedad y angustia
Ansiedad y angustiaeduarfrasa
 
Proyecto sexualidad adulto mayor
Proyecto sexualidad adulto mayorProyecto sexualidad adulto mayor
Proyecto sexualidad adulto mayorivonnerocio1971
 
Essentials of Production
Essentials of ProductionEssentials of Production
Essentials of ProductionShiju Nesamony
 
Trabajo potencia
Trabajo  potenciaTrabajo  potencia
Trabajo potenciamaria jose
 
Programa de formacion
Programa de formacionPrograma de formacion
Programa de formacioncami322
 
Diseño curricular tecnico en sistemas 865244
Diseño curricular tecnico en sistemas 865244Diseño curricular tecnico en sistemas 865244
Diseño curricular tecnico en sistemas 865244Dihanitha Gonzxalezx
 
Proceso metodologico de medición de clima organizacional
Proceso metodologico de medición de clima organizacionalProceso metodologico de medición de clima organizacional
Proceso metodologico de medición de clima organizacionalOscar Ivan Vasquez Rivera
 

Viewers also liked (20)

32 ways to make your blog suck less
32 ways to make your blog suck less32 ways to make your blog suck less
32 ways to make your blog suck less
 
SOCIOLOGIA
SOCIOLOGIASOCIOLOGIA
SOCIOLOGIA
 
Cap6
Cap6Cap6
Cap6
 
Analiza Profitului Institutului NaţIonal De Cercetare Dezvoltare Pentru Intre...
Analiza Profitului Institutului NaţIonal De Cercetare Dezvoltare Pentru Intre...Analiza Profitului Institutului NaţIonal De Cercetare Dezvoltare Pentru Intre...
Analiza Profitului Institutului NaţIonal De Cercetare Dezvoltare Pentru Intre...
 
Primerjava organiziranosti gozdarstev in številčnosti gozdarskega kadra izbra...
Primerjava organiziranosti gozdarstev in številčnosti gozdarskega kadra izbra...Primerjava organiziranosti gozdarstev in številčnosti gozdarskega kadra izbra...
Primerjava organiziranosti gozdarstev in številčnosti gozdarskega kadra izbra...
 
Clior
CliorClior
Clior
 
Teorias de la motivacion
Teorias de la motivacionTeorias de la motivacion
Teorias de la motivacion
 
Articulación sena prohivido :(
Articulación sena prohivido :(Articulación sena prohivido :(
Articulación sena prohivido :(
 
Clase 1 trabajo-potencia
Clase 1 trabajo-potenciaClase 1 trabajo-potencia
Clase 1 trabajo-potencia
 
Ansiedad y angustia
Ansiedad y angustiaAnsiedad y angustia
Ansiedad y angustia
 
Proyecto sexualidad adulto mayor
Proyecto sexualidad adulto mayorProyecto sexualidad adulto mayor
Proyecto sexualidad adulto mayor
 
El encéfalo humano
El encéfalo humanoEl encéfalo humano
El encéfalo humano
 
Essentials of Production
Essentials of ProductionEssentials of Production
Essentials of Production
 
Premios y castigos
Premios y castigosPremios y castigos
Premios y castigos
 
Trabajo potencia
Trabajo  potenciaTrabajo  potencia
Trabajo potencia
 
Software
Software Software
Software
 
Programa de formacion
Programa de formacionPrograma de formacion
Programa de formacion
 
Diseño curricular tecnico en sistemas 865244
Diseño curricular tecnico en sistemas 865244Diseño curricular tecnico en sistemas 865244
Diseño curricular tecnico en sistemas 865244
 
Proceso metodologico de medición de clima organizacional
Proceso metodologico de medición de clima organizacionalProceso metodologico de medición de clima organizacional
Proceso metodologico de medición de clima organizacional
 
Final ob
Final obFinal ob
Final ob
 

Similar to WEB (20)

OS_Ch21
OS_Ch21OS_Ch21
OS_Ch21
 
Ch21 OS
Ch21 OSCh21 OS
Ch21 OS
 
Windows Operating system notes taken from somewhere
Windows Operating system notes taken from somewhereWindows Operating system notes taken from somewhere
Windows Operating system notes taken from somewhere
 
Operating system
Operating systemOperating system
Operating system
 
Chapter 1- Introduction.ppt
Chapter 1- Introduction.pptChapter 1- Introduction.ppt
Chapter 1- Introduction.ppt
 
os.ppt
os.pptos.ppt
os.ppt
 
Operating system Definition Structures
Operating  system Definition  StructuresOperating  system Definition  Structures
Operating system Definition Structures
 
Operating system
Operating systemOperating system
Operating system
 
Linux internal
Linux internalLinux internal
Linux internal
 
Linux architecture
Linux architectureLinux architecture
Linux architecture
 
Windows 2000
Windows 2000Windows 2000
Windows 2000
 
Windows 2000
Windows 2000Windows 2000
Windows 2000
 
O.s. lab all_experimets
O.s. lab all_experimetsO.s. lab all_experimets
O.s. lab all_experimets
 
System structure
System structureSystem structure
System structure
 
Window architecture
Window architecture Window architecture
Window architecture
 
Handout2o
Handout2oHandout2o
Handout2o
 
Operating System
Operating SystemOperating System
Operating System
 
Chapter 1,2,3 & 4_Win Server AD Basics.pptx
Chapter 1,2,3 & 4_Win Server AD Basics.pptxChapter 1,2,3 & 4_Win Server AD Basics.pptx
Chapter 1,2,3 & 4_Win Server AD Basics.pptx
 
Chapter 1 part 1
Chapter 1 part 1Chapter 1 part 1
Chapter 1 part 1
 
OS unit 1 ppt.ppt
OS unit 1 ppt.pptOS unit 1 ppt.ppt
OS unit 1 ppt.ppt
 

Recently uploaded

Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 

Recently uploaded (20)

Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 

WEB

  • 1. 22 CHAPTER Windows XP Practice Exercises 22.1 What type of operating system is Windows XP? Describe two of its major features. Answer: A 32/64 bit preemptive multitasking operating system supporting multiple users. (1) The ability automatically to repair application and operating system problems. (2) Better networking and device experience (including digital photography and video). 22.2 List the design goals of Windows XP. Describe two in detail. Answer: Design goals include security, reliability, Windows and POSIX application compatibility, high performance, extensibility, portability and international support. (1) Reliability was perceived as a stringent requirement and included extensive driver verification, facilities for catching programming errors in user-level code, and a rigorous certification process for third-party drivers, applications, and devices. (2) Achieving high performance required examination of past problem areas such as I/O performance, server CPU bottlenecks, and the scalability of multithreaded and multiprocessor environments. 22.3 Describe the booting process for a Windows XP system. Answer: (1) As the hardware powers on, the BIOS begins executing from ROM and loads and executes the bootstrap loader from the disk. (2) The NTLDR program is loaded from the root directory of the identified system device and determines which boot device contains the operating system. (3) NTLDR loads the HAL library, kernel, and system hive. The system hive indicates the required boot drivers and loads them. (4) Kernel execution begins by initializing the system and creating two processes: the system process containing all internal worker threads, and the first user-mode initialization process: SMSS. (5) SMSS further 79
  • 2. 80 Chapter 22 Windows XP initializes the system by establishing paging files and loading device drivers. (6) SMSS creates two processes: WINLOGON, which brings up the rest of the system, and CSRSS (the Win32 subsystem process). 22.4 Describe the three main architectural layers of Windows XP. Answer: (1) The HAL (Hardware Abstraction Layer) creates operating system portability by hiding hardware differences from the upper layers of the operating system. Administrative details of low-level facilities are provided by HAL interfaces. HAL presents a virtual-machine interface that is used by the kernel dispatcher, the executive and device drivers. (2) The kernel layer provides a foundation for the executive functions and user-mode subsystems. The kernel remains in memory and is never preempted. Its responsibilities are thread scheduling, interrupt and exception handling, low-level processor synchronization, and power failure recovery. (3) The executive layer provides a set of services used by all subsystems: object manager, virtual memory manager, process manager, local procedure call facility, I/O manager, security monitor, plug-and-play manager, registry, and booting. 22.5 What is the job of the object manager? Answer: Objects present a generic set of kernel mode interfaces to usermode programs. Objects are manipulated by the executive-layer object manager. The job of the object manager is to supervise the allocation and use of all managed objects. 22.6 What types of services does the process manager provide? What is a local procedure call? Answer: The process manager provides services for creating, deleting, and using processes, threads and jobs. The process manager also implements queuing and delivery of asynchronous procedure calls to threads. The local procedure call (LPC) is a message-passing system. The operating system uses the LPC to pass requests and results between client and server processes within a single machine, in particular between Windows XP subsystems. 22.7 What are the responsibilities of the I/O manager? Answer: The I/O manager is responsible for file systems, device drivers, and network drivers. The I/O manager keeps track of which device drivers, filter drivers, and file systems are loaded and manages buffers for I/O requests. It furthermore assists in providing memorymapped file I/O and controls the cache manager for the whole I/O system. 22.8 Does Windows XP offer any user-mode processes that enable it to run programs developed for other operating systems? Describe two of these subsystems. Answer: Environmental subsystems are user-mode processes layered over the native executable services to enable Windows XP to run programs developed for other operating systems. (1) A Win32 application called the virtual DOS machine (VDM) is provided as a user-mode process to run MS-DOS applications. The VDM can execute or emulate Intel 486 instructions and also provides routines to emulate MS-DOS BIOS
  • 3. Practice Exercises 81 services and provides virtual drivers for screen, keyboard, and communication ports. (2) Windows-on-windows (WOW32) provides kernel and stub routines for Windows 3.1 functions. The stub routines call the appropriate Win32 subroutines, converting the 16-bit addresses into 32-bit addresses. 22.9 What types of networking does Windows XP support? How does Windows XP implement transport protocols? Describe two networking protocols. Answer: Support is provided for both peer-to-peer and client-server networking. Transport protocols are implemented as drivers. (1) The TCP/IP package includes SNMP, DHCP, WINS, and NetBIOS support. (2) Point-to-point tunneling protocol is provided to communicate between remote-access modules running on Windows XP servers and other client systems connected over the internet. Using this scheme, multi-protocol virtual private networks (VPNs) are supported over the internet. 22.10 How is the NTFS namespace organized? Describe. Answer: The NTFS namespace is organized as a hierarchy of directories where each directory uses a B+ tree data structure to store an index of the file names in that directory. The index root of a directory contains the top level of the B+ tree. Each entry in the directory contains the name and file reference of the file as well as the update timestamp and file size. 22.11 How does NTFS handle data structures? How does NTFS recover from a system crash? What is guaranteed after a recovery takes place? Answer: In NTFS, all file-system data structure updates are performed inside transactions. Before a data structure is altered, the transaction writes a log record containing redo and undo information. A commit record is written to the log after a transaction has succeeded. After a crash the file system can be restored to a consistent state by processing the log records, first redoing operations for committed transactions and undoing operations for transactions that did not successfully commit. This scheme does not guarantee that user file contents are correct after a recovery, but rather that the file-system data structures (file metadata) are undamaged and reflect some consistent state that existed before the crash. 22.12 How does Windows XP allocate user memory? Answer: User memory can be allocated according to several schemes: virtual memory, memory-mapped files, heaps, and thread-local storage. 22.13 Describe some of the ways an application can use memory via the Win32 API. Answer: (1) Virtual memory provides several functions that allow an application to reserve and release memory, specifying the virtual address at which the memory is allocated. (2) A file may be memorymapped into address space, providing a means for two processes to share memory. (3) When a Win32 process is initialized, it is created with a default heap. Private heaps can be created that provide regions of
  • 4. 82 Chapter 22 Windows XP reserved address space for applications. Thread management functions are provided to allocate and control thread access to private heaps. (4) A thread-local storage mechanism provides a way for global and static data to work properly in a multithreaded environment. Thread-lock storage allocates global storage on a per-thread basis.