MCQ Bank
The ____________ exceptions are enabled with the help of controlfp function.
- A) Mutex
- B) String
- C) Floating point
- D) Integer
____________ stores the root address.
- A) RecHeap
- B) RootHeap
- C) NodeHeap
- D) ProcHeap
The stub of actual code file function call is converted to _________ after build process.
- A) .LIB file
- B) .LNK file
- C) .COM file
- D) .DLL file
In order to deallocate a block of heap, ____________ is used.
- A) HeapDelete()
- B) HeapDestroy()
- C) HeapTruncate()
- D) HeapFree()
Closing the child process handle, ___________ the process.
- A) Create
- B) Does not create
- C) Destroy
- D) Does not destroy
LoadLibrary() and LoadLibraryEx() should never be called from ___________ as it will create more DLL entry points.
- A) ThreadLibraryCalls()
- B) DllMainFunc()
- C) DllMain()
- D) DisableThreadLibraryCalls()
Windows mainly uses ____________ API platforms.
- A) 3
- B) 4
- C) 2
- D) 1
Which of the following functions is used to generate a sound beep for 0.7 seconds with the frequency of 750?
- A) Beep(700, 750)
- B) Beep(750, 800)
- C) Beep(750, 700)
- D) Beep(750, 0.7)
The wait() function is limited to ______________ handles.
- A) 32
- B) 64
- C) 8
- D) 16
The_____________ functions are used for synchronizations.
- A) Wait
- B) Exit
- C) Run
- D) Go
Console control handlers are similar to ____________.
- A) Exception handlers
- B) Parameters
- C) Functions
- D) Interrupts
IF the system is a _________________then windows scheduler can run process threads on separate processors.
- A) Bio processor
- B) Multiprocessor
- C) Uni processor
- D) Linear processor
The process obtains environment and other information from____________ call
- A) CreateProcess()
- B) GetEnvironmentInfo()
- C) GetInfo()
- D) CreateThread()
When we create a file mapped object for sorting 1000 numbers in a file then file records will be saved in a/an_______________.
- A) Heap
- B) Array
- C) Stack
- D) Queue
What is the requirement for a source handle to be used with DuplicateHandle() successfully?
- A) It should not exist in the source process.
- B) It should be a pseudohandle.
- C) It should have PROCESS DUP HANDLE access.
- D) It should be created by the target process.
Which of the following is recommended to use while dealing with memory mapped file to look for EXCEPTION_IN_PAGE_ERROR exceptions?
- A) HE exception handling
- B) SHE exception handling
- C) HES exception handling
- D) ESH exception handling
Which of the following is return type of GetExceptionCode() API?
- A) HANDLE
- B) BOOL
- C) VOID
- D) DWORD
Parent process usually creates a ________ handle if parent and child process may require _______ access rights.
- A) New, Same
- B) New, different
- C) Duplicate, different
- D) Duplicate, same
The single object for which the process waits is activated by____________.
- A) hHandle
- B) nCount
- C) bWaitAll
- D) lpHandle
What is the main advantage of using DLLs over monolithic, single-image programs?
- A) Smaller program size
- B) Improved error reporting
- C) Faster program execution
- D) Easier management of program updates