JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Threads interview questions
Threads interview questions
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 5
1. Which one of the following is not shared by threads?
A. program counter
B. stack
C. both program counter and stack
D. none of the mentioned
Show Correct Answer
Correct Answer is :
both program counter and stack
2. A process can be
A. single threaded
B. multithreaded
C. both single threaded and multithreaded
D. none of the mentioned
Show Correct Answer
Correct Answer is :
both single threaded and multithreaded
3. If one thread opens a file with read privileges then
A. other threads in the another process can also read from that file
B. other threads in the same process can also read from that file
C. any other thread can not read from that file
D. all of the mentioned
Show Correct Answer
Correct Answer is :
other threads in the same process can also read from that file
4. The time required to create a new thread in an existing process is
A. greater than the time required to create a new process
B. less than the time required to create a new process
C. equal to the time required to create a new process
D. none of the mentioned
Show Correct Answer
Correct Answer is :
less than the time required to create a new process
5. When the event for which a thread is blocked occurs,
A. thread moves to the ready queue
B. thread remains blocked
C. thread completes
D. a new thread is provided
Show Correct Answer
Correct Answer is :
thread moves to the ready queue
Similar Interview Questions
Search for latest jobs
Find Jobs