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

Similar documents
Copyright Notice David A. Solomon and Mark Russinovich

Case Study. Windows XP. Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze

Copyright Notice David A. Solomon and Mark Russinovich

CSE 4/521 Introduction to Operating Systems. Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018

Windows 7 Overview. Windows 7. Objectives. The History of Windows. CS140M Fall Lake 1

Unit OS2: Operating System Principles

Introduction to I/O. 1-Slide Overview to File Management

From last time. What is the maximum size of a file in bytes? What is the maximum total size of directories and files in a single disk partition?

The modularity requirement

Threads, SMP, and Microkernels. Chapter 4

windows maurizio pizzonia roma tre university

Chapter 5: Threads. Overview Multithreading Models Threading Issues Pthreads Windows XP Threads Linux Threads Java Threads

Chapter 4: Threads. Overview Multithreading Models Thread Libraries Threading Issues Operating System Examples Windows XP Threads Linux Threads

Real Time and Embedded Systems. by Dr. Lesley Shannon Course Website:

Process and Thread Management

Outline. Process and Thread Management. Data Structures (2) Data Structures. Kernel Process Block (PCB)

Ausgewählte Betriebssysteme - Mark Russinovich & David Solomon (used with permission of authors)

OPERATING SYSTEM. Chapter 4: Threads

A Survey on Virtualization Technologies

Module 23: Windows NT. Windows NT

Module 23: Windows NT

Last Class: OS and Computer Architecture. Last Class: OS and Computer Architecture

Chapter 4: Multithreaded Programming. Operating System Concepts 8 th Edition,

Embedded Linux Architecture

Operating Systems: Internals and Design Principles. Chapter 2 Operating System Overview Seventh Edition By William Stallings

Chapter 4: Threads. Chapter 4: Threads

Windows History 2009 Windows 7 2

Structuring of the Windows Operating System

Module 22: Windows XP. Chapter 22: Windows XP. Objectives. Windows XP. History. Design Principles

Chapter 22: Windows XP

Che-Wei Chang Department of Computer Science and Information Engineering, Chang Gung University

Topics. Operating System. What is an Operating System? Let s Get Started! What is an Operating System? Where in the Book are we?

Chapter 1. Windows NT: An Inside Look

Module 21: Windows 2000

Module 21: Windows 2000

Windows Interrupts

Unit OS A: Windows Networking

Motivation. Threads. Multithreaded Server Architecture. Thread of execution. Chapter 4

Topics. Operating System I. What is an Operating System? Let s Get Started! What is an Operating System? OS History.

Module 1 Introduction/OS Overview

Chapter 2: System Structures

Appendix C: Windows Operating System Concepts Essentials 8 th Edition

Threads. Thread Concept Multithreading Models User & Kernel Threads Pthreads Threads in Solaris, Linux, Windows. 2/13/11 CSE325 - Threads 1

Chapter 4: Threads. Chapter 4: Threads

Operating Systems. Operating System Structure. Lecture 2 Michael O Boyle

Chapter 4: Threads. Overview Multithreading Models Threading Issues Pthreads Windows XP Threads Linux Threads Java Threads. Operating System Concepts

Teaching Operating Systems: The Windows Case

Overview of Operating Systems

The NetBSD Operating. Overview

Operating System 4 THREADS, SMP AND MICROKERNELS

CS307: Operating Systems

Chapter 4: Multi-Threaded Programming

Operating Systems 2 nd semester 2016/2017. Chapter 4: Threads

Architectural Support for Operating Systems. Jinkyu Jeong ( Computer Systems Laboratory Sungkyunkwan University

Threads. What is a thread? Motivation. Single and Multithreaded Processes. Benefits

MutekH embedded operating system. January 10, 2013

Appendix C WINDOWS C.1 History

CS 450 Operating System Week 4 Lecture Notes

Chapter 2 Operating-System Structures

Chapter 2. OS Overview

Overview of Operating Systems

Ausgewählte Betriebssysteme

Outline of Lectures. Ausgewählte Betriebssysteme Windows 2000 & Linux. Resources for these Lectures. Windows An Introduction.

Outline of Lectures. Ausgewählte Betriebssysteme Windows 2000 & Linux. Resources for these Lectures. Windows An Introduction

Ausgewählte Betriebssysteme Windows 2000 & Linux

Unit OS7: Security The Security Problem. Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze

Topic 2. System calls. 1. Basic architecture 2. Input/Output routine mechanism 3. Resident routines 4. Accessing OS services: system calls

CISC 7310X. C05: CPU Scheduling. Hui Chen Department of Computer & Information Science CUNY Brooklyn College. 3/1/2018 CUNY Brooklyn College

Chapter 4: Multithreaded Programming Dr. Varin Chouvatut. Operating System Concepts 8 th Edition,

Real-time for Windows NT

Exam Questions. Give an example network topology where GPSR cannot find a way from a source to a sink. Explain your answer.

Microkernel Construction

Operating Systems Fundamentals. What is an Operating System? Focus. Computer System Components. Chapter 1: Introduction

Chapter 4: Multithreaded

Operating Systems Overview. Chapter 2

Outline. Threads. Single and Multithreaded Processes. Benefits of Threads. Eike Ritter 1. Modified: October 16, 2012

CS6401- Operating System QUESTION BANK UNIT-I

Chapter 4: Multithreaded Programming

Four Components of a Computer System

CSC 4320 Test 1 Spring 2017

CSC Operating Systems Fall Lecture - II OS Structures. Tevfik Ko!ar. Louisiana State University. August 27 th, 2009.

Announcements. Computer System Organization. Roadmap. Major OS Components. Processes. Tevfik Ko!ar. CSC Operating Systems Fall 2009

Operating System Structure

Threads Assistant Professor DCS Operating System Concepts

Commercial Real-time Operating Systems An Introduction. Swaminathan Sivasubramanian Dependable Computing & Networking Laboratory

Operating System Architecture. CS3026 Operating Systems Lecture 03

Parallel Simulation Accelerates Embedded Software Development, Debug and Test

I.-C. Lin, Assistant Professor. Textbook: Operating System Concepts 8ed CHAPTER 4: MULTITHREADED PROGRAMMING

OPERATING SYSTEMS & UTILITY PROGRAMS

Machine-Independent Virtual Memory Management for Paged June Uniprocessor 1st, 2010and Multiproce 1 / 15

Chapter 4: Threads. Operating System Concepts 9 th Edition

OS concepts and structure. q OS components & interconnects q Structuring OSs q Next time: Processes

Operating Systems Structure and Processes Lars Ailo Bongo Spring 2017 (using slides by Otto J. Anshus University of Tromsø/Oslo)

Unit OS8: File System

OS Design Approaches. Roadmap. OS Design Approaches. Tevfik Koşar. Operating System Design and Implementation

Outline Background Jaluna-1 Presentation Jaluna-2 Presentation Overview Use Cases Architecture Features Copyright Jaluna SA. All rights reserved

Chapter 6: CPU Scheduling. Operating System Concepts 9 th Edition

Agenda. Threads. Single and Multi-threaded Processes. What is Thread. CSCI 444/544 Operating Systems Fall 2008

Chapter 4: Threads. Operating System Concepts. Silberschatz, Galvin and Gagne

CS420: Operating Systems

Transcription:

Unit OS2: Operating System Principles 2.5. Quiz Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze 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) 2 1

Windows OS Design Goals The design of Windows is closely related to a number of initial design goals. Which one was not among them? a) Portability b) Seamless networking support c) Efficiency d) (hard) realtime 3 OS Structuring The Separation of OS functionality in kernel/user-mode components has the following goals: a) Increasing OS efficiency b) Protection of concurrent activities of different users against each other c) Protection of file system consistency 4 2

Subsystems Which one of the following subsystems does not exist in the Windows operating system family? a) WIN32 b) OS/2 c) POSIX d) VMS 5 Roots of Windows 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 6 3

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 7 Local System Account What are the restrictions applicable to services started by the Windows Service Controller Manager running under the local system account? a) No registry access b) No access to network volumes c) No access to devices except floppy and mouse d) No access to the file system 8 4

Windows - supported Hardware During its evolution, Windows has been ported to a number of CPUs. Which processor architecture has never been supported by Windows? a) Intel 80486 b) Motorola PowerPC c) DEC Alpha AXP d) SUN Sparc II e) MIPS R4000 9 Processes in Windows Which of the following does a process not contain? a) A private address space b) A set of open resources c) One or more threads d) A hardware context 10 5

Thread concept What is a thread? a) Component of most fabrics b) Execution context within a process c) Subroutine in a program d) Main routine in a program 11 Address space What is the default size of the user address space in 32bit Windows? a) 1 gigabyte b) 2 gigabytes c) 3 gigabytes d) 4 gigabytes 12 6

Protection A user program in Windows can corrupt operating system memory? a) True b) False 13 Protection Kernel mode is used to protect a process from: a) Corrupting operating system memory b) Corrupting another process memory c) Being corrupted by the operating system d) Being corrupted by another process 14 7

Operating System Architecture Windows is a microkernel-based OS design a) True b) False 15 Microkernel Windows is not a true microkernel because: a) The kernel is more than 100kb in size b) It does not run on handheld devices c) It is not based on Mach d) All kernel mode components share the same address space 16 8

Hardware support & portability How many CPU architectures does Windows 2000 support? a) One b) Two c) Three d) Four 17 Multiprocessing Windows multiprocessor support is called: a) Parallel b) Mirrored c) Symmetric d) Asymmetric 18 9

Subsystem support Applications call native Windows system calls directly a) True b) False 19 Subsystems Which subsystem provides the most services? a) MS-DOS b) Win32 c) POSIX d) OS/2 20 10

Subsystem functionality What do environment subsystems NOT do? a) Interface to native Windows system calls b) Define process & file system semantics c) Service interrupts d) All of the above 21 Accessing Windows functionality Which dynamic link library (DLL) is the interface to the native Windows API? a) NTDLL.DLL b) Kernel32.dll c) NtNative.dll d) NtOSkrnl.exe 22 11

Windows subsystem implementation The Windows subsystem is partially implemented as device driver a) True since Windows XP b) False c) True since Windows NT4 23 Kernel versions How many versions of NtOSkrnl.exe in 32-bit Windows are there? a) 2 b) 4 c) 6 d) 5 24 12

Checked build What is the purpose of a checked build? a) To aid in debugging device drivers b) For performance testing c) To check for network problems d) To debug multiprocessor issues 25 Windows kernel What is the role of the Windows kernel? a) Abstract differences among CPU architectures b) Provide low level synchronization primitives c) Perform thread scheduling decisions d) All of the above 26 13

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