MCQ Bank
Reasoning in fuzzy logic is just a matter of generalizing the familiar _________ logic.
- A) Supervised
- B) Coagnitive
- C) Boolean
- D) Complex
In Environment Block, GetEnvironmentVariable() function returns _______ in case of failure.
- A) NULL
- B) 0
- C) -1
- D) UNDEFINED
If threads have separate memory spaces, then it will reduce ________________.
- A) Memory contention
- B) Memory density
- C) Direct memory access
- D) Access speed
In the vectored exception handler, the value of FirstHandler parameter specifies the __________ in which the handler will execute.
- A) Allocation of stack
- B) Speed
- C) Order
- D) Accuracy
lpApplicationName _________ be NULL.
- A) Should not
- B) May not
- C) Should
- D) May
A file mapping handle returns _________ on failure.
- A) FALSE
- B) TRUE
- C) UNDEFINED
- D) NULL
To start the mapping from the start of a file, set both dwFileOffsetHigh and dwFileOffsetLow as ____________.
- A) Null
- B) -1
- C) 0
- D) 1
Once the DLL is loaded, the programmer needs to obtain _________ into the DLL for an entry point.
- A) Physical address
- B) Procedure address
- C) Bus address
- D) Dynamic address
The most fundamental process management function in windows is CreateProcess() that has ______ parameters.
- A) 10
- B) 12
- C) 4
- D) 6
Each thread has its own ______________.
- A) Stack
- B) TLS and Stack
- C) Environment Block
- D) TLS
How many parameters are there in the CreateProcess() API?
- A) 7
- B) 10
- C) 5
- D) 12
Try and Catch keywords ___________ required for vectored exception handlers.
- A) are occasionally
- B) are not
- C) must be
- D) are
The HeapAlloc() API has ___________ parameter(s).
- A) 1
- B) 2
- C) 3
- D) 4
An Environment Block is associated with __________process.
- A) Each
- B) No
- C) One
- D) Some
FILETIME parameter of GetThreadTime() function is a ________ bit value.
- A) 16
- B) 32
- C) 8
- D) 64
In comparison of DLL, executable library files are linked at _________ time.
- A) Link
- B) Compile
- C) Load
- D) Run
Pages are swapped in and out when a _______________ occurs.
- A) Page fault
- B) Frame fault
- C) Page error
- D) Dirty frame
It’s not a good idea to use _______ within the program as it will not give it chance to release resources.
- A) ExitProcess()
- B) CreateProcess()
- C) TerminateProcess()
- D) FinishProcess()
Which structure contains the child process handle and id, as well as the primary thread handle and id?
- A) PROCESS_INFO
- B) THREAD_INFO
- C) SYSTEM_INFO
- D) PROCESS_INFORMATION
While using CreateFileMapping(), setting IpMapName to __________ disables the map sharing.
- A) Null
- B) 0
- C) -1
- D) 1