Operating System » Threads Fork Exec
Operating System Subcategories
Application Io Interface 1Application Io Interface 2
Atomic TransactionsBasics
Classic Sync ProblemsCommunication Systems Bandwidth Transmission Medium
Cpu SchedulingCpu Scheduling 2
Cpu Scheduling Algorithms 1Cpu Scheduling Algorithms 2
Cpu Scheduling BenefitsCritical Section Problem
DeadlockDeadlock Avoidance
Deadlock DetectionDeadlock Prevention
Deadlock RecoveryDisk Management
Disk Scheduling 1Disk Scheduling 2
Distributed File SystemDistributed Operating System
Distributed SynchronizationFile System 1
File System Allocation Methods 1File System Allocation Methods 2
File System Allocation Methods 3File System Concepts
File System Free Space PerformanceFile System Implementation
File System Interface Access Methods 1File System Interface Access Methods 2
File System Interface Directory Structure 1File System Interface Directory Structure 2
File System Interface Mounting SharingFile System Interface Protection
File System RecoveryInter Process Communication
Io SubsystemKernel Io Subsystems
LinuxMass Storage Raid 1
Mass Storage Raid 2Mass Storage Tertiary Storage
Memory Allocation 1Memory Allocation 2
Memory ManagementMemory Management Paging 1
Memory Management Paging 2Memory Management Segmentation
Memory Management Swapping 1Memory Management Swapping 2
Multi Threading ModelsMultimedia System Compression 1
Multimedia System Compression 2Multimedia System Compression 3
Multimedia System Cpu Disk SchedulingMultimedia System Network Management
Network File System 1Network File System 2
Network Structure TopologyOperating System
Process Control BlockProcess Creation
Process RpcProcess Scheduling Queue
Process StructuresProcess Sync Monitors
Process SynchronizationProcesses
Protection Access MatrixProtection Concepts
Protection Memory ProtectionProtection Revocation Access Rights
RobustnessRtos
Secondary StorageSecurity
Security CryptographySecurity Intrusion Detection
Security Program System ThreatsSecurity System Facility
Security User AuthenticationSemaphores 1
Semaphores 2Swap Space Management
ThreadsThreads Cancellation
Threads Fork ExecThreads Pools
Threads Signal HandlingThreads Ult Klt
Two Port NetworkVirtual Memory
Virtual Memory Demand PagingVirtual Memory Frame Allocation
Virtual Memory Page Replacement Algorithms 1Virtual Memory Page Replacement Algorithms 2
Virtual Memory Thrashing
The following program results in the creation of? main() { if(fork()>0) sleep(100); }
A. An orphan process
B. A zombie process
C. A process that executes forever
D. None of the mentioned
Read more about this MCQ
A fork system call will fail if ______________
A. The previously executed statement is also a fork call
B. The limit on the maximum number of processes in the system would be executed
C. The limit on the minimum number of processes that can be under execution by a single user would be executed
D. All of the mentioned
Read more about this MCQ
If a thread invokes the exec system call ____________
A. Only the exec executes as a separate process
B. The program specified in the parameter to exec will replace the entire process
C. The exec is ignored as it is invoked by a thread
D. None of the mentioned
Read more about this MCQ
If exec is called immediately after forking ____________
A. The program specified in the parameter to exec will replace the entire process
B. All the threads will be duplicated
C. All the threads may be duplicated
D. None of the mentioned
Read more about this MCQ
If a process does not call exec after forking ____________
A. The program specified in the parameter to exec will replace the entire process
B. All the threads should be duplicated
C. All the threads should not be duplicated
D. None of the mentioned
Read more about this MCQ