Premium Essay

Nt1330 Unit 1 Question Paper

Submitted By
Words 1498
Pages 6
Q1: Give an example in which the operating system would use a bit map to manage resources?

Q2: What is difference between a stack and queue? Where would operating use each of these data structures?
Queue servers in FIFO manner were as the Stack servers in LIFO manner.
Queue is used as buffers where the store and forward is required.
It is used to maintain the job queues.
It is used to maintain the thread queues.
It also used to maintain the I/O request etc…

Stack is used to store the registers, flags and other details of process or thread during interrupts or system call.

Operating system uses these data structures to perform various tasks for example. Operating system uses stack while we use UNDO option it follows stack data …show more content…
How do the three models of threads relate these two types of threads?

The user level threads are high performance. The schedule is done by using thread running system. The thread function library is used to implement user level threads.
Kernel level threads will be implemented on multiple processor. The computer performance is lower when compared to user level threads. The synchronization and sharing resources is expansive.
The Hybrid threads are has the both the features of the user level and kernel level threads.
Kernel level threadsused for applications that are frequently block.

Q15: What is a thread library? Name two thread libraries?

Thread library provides concurrent programming, it provides the control to execution the multiple threads parallel in the shared memory. Thread library is done by time sharing on a single processor.
The thread library for unix is POSIX1003.1c and win32 for windows.

Q16: What is a race condition?

The race condition occurs when more than one threads access the shared memory elements and they try to change the data at the same time. The memory access without any priority scheme,lock or other control

Similar Documents

Premium Essay

Nt1330 Unit 1 Question Paper

...1) Which hardware component performs arithmetic and logical operations? CPU 2) Which number system is used by a computer? Binary system (base 2) 3) What is an object program? An object program is a program into which some other program is translated by an assembler or a compiler 4) What is linking? A linker combines object programs with other programs in the library to create executable code. 5) Which program loads the executable code from the main memory into the CPU for execution? The loader performs this function. 6) In a C++ program, preprocessor directives begin with which symbol? # symbol 7) In a C++ program, which program processes statements that begin with the symbol #? ( Preprocessor directives 8) What is programming? Programming...

Words: 2044 - Pages: 9

Premium Essay

Nt1330 Unit 1 Question Paper

...(20)  Explain how generalization can be implemented in a relational data model. Ans: Select common properties from different class, create one superclass and add in superclass. (21)  Explain why HDD devices are slower than SSD devices. Ans: HDD devices are slower than SSD devices as HDD has moving parts which have potential quality drop issue in long term and take longer time to store data due to the disk inside is spinning and mechanical arm need to write data on the disk. While SSD do not have any moving parts. Furthermore, Solid State Drive uses non-volatile memory made from NAND based silicon wafer and data will not be lost on SSD if power lost. (22)  Explain how relational tables are mapped into files. Logical storage files have data segments, each data segment stores relational table and each index segment stores index. (23)  Explain a difference between manual space management and automatic space management. Ans: Manual segment space management uses linked lists known as free lists to manage free space in the segment. Automatic space management uses bitmap to manage free space in segments and it is more efficient then manual segment space management. (24)  Explain a concept of "role" and provide an example different from the examples included in lecture slides where application of "role" is really useful. Ans: Role is a kind of permission which decide which user can perform certain action or remove action like create or update to a database. For example, grant admin...

Words: 892 - Pages: 4

Premium Essay

Fsmo Role Ayer Nate Method

...have one domain controller (not recommended), there is nothing to do since all roles must be on this server, but if you have multiple servers you should move some of theese roles on to more servers. It is also important to be aware of what servers are Global Catalog servers, especially if you have more than one domain and even if only one domain, they will be prefered by applications like Exchange server. It is recommended to place the forest roles on one Domain Controller (DC) and the domain roles on another server. If not all Domain Controllers are Global Catalog servers, it is also important to place the infrastructure master on a server that is NOT a Global Catalog server. Recommended Best Practice setup of FSMO roles. Domain Controller #1 Place the two forest roles on this server. * Schema Master * Domain Master Domain Controller #2 Place the domain roles on this server. * RID Master * Infrastructure Master * PDC Emulator If more domains exist in the forest, place the domain roles on a server in theese domains like Domain Controller #2 Global Catalog configuration. In Windows 2008 Active Directory all Domain Controllers are by default Global Catalog servers, personally...

Words: 10360 - Pages: 42

Premium Essay

Nothing

...practices, various media and interconnection components), networking devices and their specifications and functions. Students will practice designing physical network solutions based on appropriate capacity planning and implementing various installation, testing and troubleshooting techniques for a computer network. Where Does This Course Belong? | | | NT2799 | | | | | | | | NSA Capstone | | | | | | | Project | | | | | NT2580 | | | NT2670 | NT2640 | | PT2520 | | Introduction to | | | | | | | | | | | Email and Web | | | | | Information | | | | IP Networking | | Database Concepts | | | | | Services | | | | | Security | | | | | | | | | | | | | | | | NT1330 | | | NT1230 | NT1430 | | PT1420 | | Client-Server | | | Client-Server | | | Introduction to |...

Words: 10839 - Pages: 44