3i Infotech Placement: Sample Questions 359 - 360 of 1245

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

Question 359

Edit

Describe in Detail

Essay▾

What is database?

Explanation

Structure of Database
  • Database is a systematic collection of data.
  • Databases support storage and manipulation of data.
  • Databases make data management easy.
  • For, example an online telephone directory would definitely use database to store data pertaining to people, phone numbers, other contact details, etc.
  • Your electricity service provider is obviously using a database to manage billing , client related issues, to handle fault data, etc.
  • Now, consider the Facebook. It needs to store, manipulate and present data related to members, their friends, member activities, messages, advertisements and lot more.
  • We can provide countless number of examples for usage of databases.

Question 360

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.

Developed by: