Operating System-Windows [3i Infotech Placement]: Sample Questions 1 - 2 of 3

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 1

Question

MCQ▾

Which function is the entry point for a DLL in MS Windows

Choices

Choice (4)

a.

Main

b.

Dllmain

c.

Libmain

d.

Winmain

Answer

b.

Explanation

  • DllMain is a placeholder for a user-defined function which serves as entry point for DLL.
  • On creating a DLL, developer can optionally specify an entry point function.
  • The entry point function is called when processes or threads attach themselves to the DLL or detach themselves from the DLL.
  • Entry point function is used to initialize data structures or to destroy data structures as required by the DLL.
  • Additionally, for multithreaded applications, entry point can be used for initializing thread local storage- to allocate memory private to each thread.

Question 2

Question

MCQ▾

Windows supports

Choices

Choice (4)

a.

n tasks

b.

Multi user

c.

Question does not provide sufficient data or is vague

d.

All of the above

Answer

b.

Explanation

Understanding of Multi-User
  • A multi-user operating system allows multiple users to access a computer system concurrently.
  • Time sharing system is a multi-user system as it enables multi user access to a computer through the sharing of time
  • The users will typically be at terminals or computers that give them access to the system through a network, as well as other machines on the system such as printers

Developed by: