Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged threads
3.3k
views
3
answers
8
votes
Self Doubt Context Switching Threads
S1: Context Switching occurs only in kernel mode. :TRUES2: Context Switching in user mode is faster as compared to context switching in kernel mode. : TRUEIf ... which means more time should be taken as compared to CS in kernel mode.
_jerry
3.3k
views
_jerry
asked
Jan 26, 2018
Operating System
operating-system
context-switch
threads
+
–
1.7k
views
1
answers
4
votes
Theads
True/False :1)Several threads can share same physical address space.2)Several threads can share same virtual address space.
VS
1.7k
views
VS
asked
Jan 16, 2018
Operating System
operating-system
threads
+
–
2.0k
views
4
answers
1
votes
Threads
The primary difference between process and thread ?(A) The number of I/O requests mode.(B) The amount of overhead associated with creation and context ... (C) The amount of memory allocation(D) The average number of instructions executed
ankitgupta.1729
2.0k
views
ankitgupta.1729
asked
Dec 14, 2017
Operating System
threads
operating-system
process
+
–
734
views
2
answers
1
votes
OS:- Threads
Why threads have less context than process? Context means various attributes that we store in the PCB,so the attributes like state,property,PC,etc.. should be there in both process and thread.So,how thread have less context than process?
rahul sharma 5
734
views
rahul sharma 5
asked
Dec 6, 2017
Operating System
operating-system
threads
process
+
–
896
views
0
answers
0
votes
Threads
Threads of a process share(A) global variables but not heap(B) heap but not global variables(C) neither global variables nor heap(D) both heap and global ... files. So global variables it does share bt does it also share heap section?
Na462
896
views
Na462
asked
Oct 29, 2017
Operating System
threads
operating-system
process
+
–
1.2k
views
1
answers
0
votes
threads
Multi-threaded application cannot take advantage of multiprocessing.What does this mean?
Parshu gate
1.2k
views
Parshu gate
asked
Sep 18, 2017
Operating System
threads
operating-system
process
+
–
1.4k
views
1
answers
1
votes
Deadlocks and threads
Which one of the following is false about user threads1. User threads can switch fast since it does noy invoke kernel2.user threads are light weight since they do ... of every user threads ie if it is blocking or run able4.none of these
Suman Acharya
1.4k
views
Suman Acharya
asked
Sep 12, 2017
Operating System
threads
+
–
1.1k
views
1
answers
1
votes
Deadlocks and threads
State true or false A program to compute the sum of first 10000 numbers can be divided into 4 sub parts and executed on 4 CPUs using either forks/threads. ... between the 4 subparts are very similar and need not duplicated. A. TrueB. False
Suman Acharya
1.1k
views
Suman Acharya
asked
Sep 12, 2017
Operating System
threads
+
–
550
views
1
answers
0
votes
threads and subprocess
I am getting confused with the implementation of threads.....as we know if some task is assigned to process it can divide the task into subprocess and ... why there is need of the concept multithreading? plz explain it clearly if possible
vamp_vaibhav
550
views
vamp_vaibhav
asked
Aug 11, 2017
Operating System
threads
process
+
–
667
views
2
answers
4
votes
Self Doubt
Whether the following statement is true or false??"The OS maintains scheduling and accounting information for each thread"
akb1115
667
views
akb1115
asked
Aug 4, 2017
Operating System
operating-system
threads
+
–
893
views
2
answers
9
votes
#THREADS
if(fork() && fork()) {fork();}if(fork()||fork()) {fork();fork();}printf("XYZ");How many time XYZ gets printed ?
junaid ahmad
893
views
junaid ahmad
asked
Jul 13, 2017
Operating System
process
threads
+
–
1.2k
views
4
answers
11
votes
#threads
int main() { if(fork() == 0) printf("GATE2018"); if(fork() == 0) printf("GATE2018"); }How many times GATE2018 printed?
junaid ahmad
1.2k
views
junaid ahmad
asked
Jul 13, 2017
Operating System
process
threads
+
–
5.9k
views
2
answers
4
votes
Galvin 4.5
Can a multithreaded solution using multiple user-level threads achievebetterperformance on amultiprocessor system than on a single-processorsystem?
reena_kandari
5.9k
views
reena_kandari
asked
Jun 22, 2017
Operating System
threads
+
–
542
views
1
answers
0
votes
ISRO 2011 -ECE Operating System
Which of the following is not true regarding a preemptive kernela. If a high priority thread becomes ready to run, low priority thread is ... . There are special demands on communication between threads and handling common resources
sh!va
542
views
sh!va
asked
Feb 28, 2017
Operating System
isro-ece
operating-system
threads
interrupts
+
–
17.8k
views
7
answers
48
votes
GATE CSE 2017 Set 1 | Question: 18
Threads of a process shareglobal variables but not heapheap but not global variablesneither global variables nor heapboth heap and global variables
Arjun
17.8k
views
Arjun
asked
Feb 14, 2017
Operating System
gatecse-2017-set1
operating-system
threads
+
–
12.2k
views
5
answers
30
votes
GATE CSE 2017 Set 2 | Question: 07
Which of the following is/are shared by all the threads in a process?Program counterStackAddress spaceRegisters(I) and (II) only(III) only(IV) only(III) and (IV) only
Madhav
12.2k
views
Madhav
asked
Feb 14, 2017
Operating System
gatecse-2017-set2
operating-system
threads
+
–
735
views
1
answers
5
votes
Threading in OS [GateBook]
biranchi
735
views
biranchi
asked
Jan 24, 2017
Operating System
operating-system
threads
+
–
743
views
1
answers
1
votes
MadeEasy Subject Test: Operating System - Threads
Consider the following statements.1. A thread running in critical section never get context switched.2. Hardware access to devices is usually available in user ... only possible in Kernel mode.Which of the above statements are incorrect?
thor
743
views
thor
asked
Jan 10, 2017
Operating System
made-easy-test-series
operating-system
threads
+
–
2.5k
views
2
answers
1
votes
can user level threads be scheduled on different processors in a multi-processor system.??
sushmita
2.5k
views
sushmita
asked
Jan 5, 2017
Operating System
operating-system
threads
+
–
2.6k
views
3
answers
10
votes
user and kernel mdoe
can anyone tell what are different activities that are performed in kernel modeuser modehow to change frm user mode to kernel mode and vice-versa,,
Akriti sood
2.6k
views
Akriti sood
asked
Dec 20, 2016
Operating System
operating-system
threads
process
+
–
486
views
1
answers
1
votes
pthreads
Suppose you have an array A of 4 numbers and you have 2 threads. how will you perform a cumulative sum of numbers and store it in array B using parallel computation and synchronization. (B[1]=A[1], B[2]=A[1] + A[2],.. so on
.
486
views
.
asked
Oct 10, 2016
Operating System
threads
process-synchronization
+
–
2.8k
views
3
answers
2
votes
UGC NET CSE | August 2016 | Part 3 | Question: 42
Java uses threads to enable the entire environment to be ______.SymmetricAsymmetricSynchronousAsynchronous
makhdoom ghaya
2.8k
views
makhdoom ghaya
asked
Oct 4, 2016
Java
ugcnetcse-aug2016-paper3
java
threads
+
–
1.8k
views
2
answers
5
votes
User|Kernel threads
Assume that process A has 3 user level threads and process B has 4 kernel-level threads. Consider while process A is running in CPU, process B is waiting in ready ... .C. All B threads are blocked and A threads are not blocked.D. None.
vijaycs
1.8k
views
vijaycs
asked
Sep 20, 2016
Operating System
threads
process
+
–
1.1k
views
1
answers
4
votes
Process and Thread
If a process has multiple threads and it calls a fork() then will the child process be multi-threaded also or it will have only one thread?
Mandeep Singh
1.1k
views
Mandeep Singh
asked
Aug 2, 2016
Operating System
threads
+
–
2.2k
views
2
answers
3
votes
UGC NET CSE | December 2013 | Part 3 | Question: 75
Possible thread states in Windows 2000 operating system include:Ready, running and waitingReady, standby, running, waiting, transition and ... waiting, transition and terminatedStandby, running, waiting, transition and terminated
go_editor
2.2k
views
go_editor
asked
Jul 29, 2016
Operating System
ugcnetcse-dec2013-paper3
operating-system
threads
non-gate
+
–
2.7k
views
2
answers
10
votes
Thread
Q:which of the following can run in parallel on different processors in a multiprocessorsa)user level thread b)kernel level thread c)processesd) processes and kernel level thread
Anjali_aspirant
2.7k
views
Anjali_aspirant
asked
Jul 16, 2016
Operating System
threads
in
multiprocessor
+
–
3.1k
views
2
answers
2
votes
UGC NET CSE | December 2012 | Part 3 | Question: 32
A thread is a light weight process.In the above statement, weight refers totimenumber of resourcesspeedall of the above
go_editor
3.1k
views
go_editor
asked
Jul 12, 2016
Operating System
ugcnetcse-dec2012-paper3
operating-system
threads
+
–
4.9k
views
5
answers
3
votes
ISRO2008-60
Overlayingrequires use of a loaderallows larger programs, but requires more effortis most used on large computersis transparent to the user
jaiganeshcse94
4.9k
views
jaiganeshcse94
asked
Jun 2, 2016
Operating System
isro2008
operating-system
threads
+
–
1.7k
views
3
answers
5
votes
What is executed by the processor? What is in ready queue? Process or thread?
Thread is a light-weight sub-process. If so, what is executed by the processor? Process or thread? If it is thread, why do we say that ready queue has ... is very small in size? What is actually the difference between these two?Thank you.
Aayush Mittal
1.7k
views
Aayush Mittal
asked
Jun 12, 2015
Operating System
process
threads
operating-system
+
–
14.4k
views
4
answers
27
votes
GATE IT 2004 | Question: 14
Which one of the following is NOT shared by the threads of the same process ?StackAddress SpaceFile Descriptor TableMessage Queue
Ishrat Jahan
14.4k
views
Ishrat Jahan
asked
Nov 1, 2014
Operating System
gateit-2004
operating-system
easy
threads
+
–
Page:
« prev
1
2
3
4
5
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register