1. How does the NTFS directory structure differ from the directorystructure used
ID: 3863999 • Letter: 1
Question
1. How does the NTFS directory structure differ from the directorystructure used in UNIX operating systems?
2. Describe some of the ways in which an application can use memory via the Win 32 API.
3. What is a handle, and how does a process obtain a handle?
4. When a Windows system hibernates, the system is powered off.Suppose you changed the CPU or the amount of RAM on a hibernatingsystem. Do you think that would work? Why or why not?
5. What types of networking does Windows support?
Operating Systems Questions please help!
Explanation / Answer
1)
NTFS directory structure used in windows affects the access time for the below cases
a) If the folder is bigger with more number of files.
b) If the files in the folder are of large size.
Where as in UNIX operating systems the above parameters wont affect the access time.
2)
The below mentioned are the ways in which an application can use memory via the Win 32 API,
a. Application can reserve and release memory by using functions provided by the virtual memory
but it has to specify the virtual address at which the memory is allocated.
b. A file may be memory-mapped into address space, providing a means for two
processes to share memory.
c. When a Win32 process is initialized, it is created with a default heap. Private heaps
can be created that provide regions of reserved address space for applications.
Thread management functions are provided to allocate and control thread access to private heaps.
d. 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.
3)
A handle is an abstract reference to a resource. Handles are used when application software references
blocks of memory or objects managed by another system, such as a database or an operating system.
ex :- File descriptors, Network Sockets, Database Connections
4)
In General, Information about CPU and RAM are captured by Kernel when it boots, when the system
resumes from hibernation data structures that describes this information will be inconsistent with
the changed hardware. Hence the system will crash.
5)
Basically it supports 2 types of networking
1) peer-to-peer
2) client-server networking
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.