Skip to content
MCQtimes.com
GK
Pakistan Studies
Current Affairs
Islamic Studies
English
MCQtimes.com
Toggle Menu
Computer Science
Home
/
Computer Science
- Page 103
Operating System
1081
Computer Science Fundamentals
998
Show/Hide Answers
OS Deadlocks
Cost factors for process termination include ____________
Number of resources the deadlock process is not holding
CPU utilization at the time of deadlock
Amount of time a deadlocked process has thus far consumed during its execution
All of the mentioned
Author:
rikazzz
Comment
OS The Linux System
If a process does not call exec after forking ____________
the program specified in the parameter to exec will replace the entire process
all the threads should be duplicated
all the threads should not be duplicated
none of the mentioned
The new process is purely based on fork, due to no exec command, duplication will be done.
Author:
rikazzz
Comment
OS Process Synchronization
If no process is suspended, the signal operation ____________
puts the system into a deadlock state
suspends some default process execution
nothing happens
the output is unpredictable
Author:
rikazzz
Comment
OS I/O Systems
In general the two interrupt request lines are ____________
maskable & non maskable interrupts
blocked & non maskable interrupts
maskable & blocked interrupts
none of the mentioned
Author:
rikazzz
Comment
Computer Science Fundamentals
In 8-bit microprocessor, how many opcodes are present?
246
278
250
256
In an 8-bit microprocessor, maximum 28 = 256 opcodes are possible. But it consists of only 246 opcodes.
Author:
rikazzz
Comment
Computer Science Fundamentals
CAD stands for?
Computer Aided Design
Calculation Aided Design
Computer Aided Draft
Calculation Aided Draft
CAD stands for Computer Aided Design. It is used in design of buildings, automobiles, aircrafts, etc.
Author:
rikazzz
Comment
OS Protection
Which principle states that programs, users and even the systems be given just enough privileges to perform their task?
principle of operating system
principle of least privilege
principle of process scheduling
none of the mentioned
Author:
rikazzz
Comment
OS Processes
In Unix, Which system call creates the new process?
fork
create
new
none of the mentioned
In UNIX, a new process is created by fork() system call. fork() system call returns a process ID which is generally the process id of the child process created.
Author:
rikazzz
Comment
OS Processes
A process stack does not contain __________
Function parameters
Local variables
Return addresses
PID of child process
Process stack contains Function parameters, Local variables and Return address. It does not contain the PID of child process.
Author:
rikazzz
Comment
Computer Science Fundamentals
The memory unit is made up of _____ bytes.
256
124
4096
3096
The memory unit is made up of 4,096 bytes. Memory unit is responsible for the storage of data. It is an important entity in the computer system.
Author:
rikazzz
Comment
Page navigation
Previous Page
Previous
1
…
101
102
103
104
105
…
208
Next Page
Next
Go to Page
Light
Dark
GK
Pakistan Studies
Current Affairs
Islamic Studies
English