1
GATE CSE 2021 Set 2
MCQ (More than One Correct Answer)
+1
-0
Which of the following statement(s) is/are correct in the context of CPU scheduling?
A
Implementing preemptive scheduling needs hardware support.
B
Turnaround time includes waiting time.
C
Round-robin policy can be used even when the CPU time required by each of the processes is not known apriori.
D
The goal is to only maximize CPU utilization and minimize throughput.
2
GATE CSE 2021 Set 1
MCQ (More than One Correct Answer)
+1
-0
Which of the following standard C library functions will always invoke a system call when executed from a single-threaded process in a UNIX/Linux operating system?
A
strlen
B
malloc
C
exit
D
sleep
3
GATE CSE 2020
MCQ (Single Correct Answer)
+1
-0.33
Consider the following statements about process state transitions for a system using preemptive scheduling.

I. A running process can move to ready state.

II. A ready process can move to ready state.

III. A blocked process can move to running state.

IV. A blocked process can move to ready state.

Which of the above statements are TRUE?
A
I, II and III only
B
II and III only
C
I, II and IV only
D
I, II, III and IV
4
GATE CSE 2019
Numerical
+1
-0.33
The following C program is executed on a Unix/Linux system:

         #include < unistd.h >
            int main ()
            {
                  int i ;
                  for (i=0; i<10; i++)
                         if (i%2 == 0) fork ( ) ;
                  return 0 ;
            }


The total number of child processes created is _____.
Your input ____
GATE CSE Subjects
Software Engineering
Web Technologies
EXAM MAP
Medical
NEETAIIMS
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
Civil Services
UPSC Civil Service
Defence
NDA
Staff Selection Commission
SSC CGL Tier I
CBSE
Class 12