CS609 - SYSTEM PROGRAMMING QUIZ No. 3 Vu by Study Guruz Mega File
Use the below linked mega file and watch the video to learn how to get full marks in virtual university quiz, how to solve the virtual university quiz without using the extension.
CS609- SYSTEM PROGRAMMING QUIZ NO. 3 SOLVED WITH STUDY GURUZ MEGA FILE
https://bit.ly/3MUaMpZ
1.
Windows treats threads as
a. Objects (SG Correct Answer)
b.
Processes
c.
Classes
d.
Threads
2.
In Environment Block, GetEnvironmentVorioble() function returns
in case of failure.
a. 0(SG Correct Answer)
b.
UNDEFINED
c.
-1
d.
NULL
3.
The most fundamental process management function in windows is CreateProcess() that has -----------_parameters.
a.
6
b. 10(SG Correct Answer)
c.
12
d.
4
4.
In the work crew model, how do the workers handle tasks?
a.
Workers report results to the boss.
b.
They divide the work themselves without boss direction.
c.
The boss assigns work to each worker.
d. They perform individual tasks sequentially. (SG Correct Answer)
5.
In Finding a Process Id, the FindProcessld() obtains the--------- of the given job number.
a.
Handle ID
b.
Job ID
c.
Thread ID
d. Process ID(SG Correct Answer)
6.
Thread Ids and handles can be obtained using functions quite similar to the ones used with ---------------.
a. Programs(SG Correct Answer)
b.
Threads
c.
Processes
d.
Objects
7.
When a thread exits, the thread ------------- is deallocated and the handle referring to the thread is invalidated.
a. Stack(SG Correct Answer)
b.
List
c.
Array
d.
Queue
8.
Total number of files inputted, can be get with-------------.
a.
argc-2
b.
argc-1
c.
argc-3
d. argc(SG Correct Answer)
9.
Closing the child process handle, ---------------the process.
a.
Create
b. Does not destroy(SG Correct Answer)
c.
Destroy
d.
Does not create
10.
How does Thread Local Storage (TLS) contribute to thread safety?
a.
By allowing all threads to access each other's ILS arrays.
b. By allocating a single TLS index for all threads. (SG Correct Answer)
c.
By preventing threads from modifying each other's data.
d.
By enabling shared data modification.
#CS609, #CS609 QUIZ, #Vu #CS609 QUIZ 3, #CS609 QUIZ 2023, #assignment, #solution, #CS609assignment1, #CS609Assignment1, #VU, #Assignment2023, #CS609assignment, #assignmentsolution, #CS609solution, #VUassignment, #CS614VU, #CS609Assignment1Solution, #VUassignment2023, #CS609VUAssignment, #CS609Assignment2023, #CS609Assignment1VU, #VUCS614, #CS609Assignment1Solved, #VUCS609assignment, #VUassignment2023solution, #CS609Assignment1VUSolution