Quiz Space

Operating Systems Quiz 2: 24 March 2024 (January 2024 term)

Question 1

+2 marksOne correct option

Given the hexadecimal view of first few bytes of different files, identify the executable file (ELF file) from the options below. (Hint: The ASCII value of ’A’ = 65)

  1. A

    7f 41 51 45 02 01 01 00

  2. B

    6e 45 4c 46 02 01 01 00

  3. C

    7f 45 4c 46 02 01 01 00

  4. D

    7f 45 45 45 02 01 01 00

Question 2

+2 marksOne correct option
  1. A
  2. B
  3. C
  4. D

Question 3

+2 marksOne correct option

Consider the code given below.

c
int pid;
pid = fork();
if (pid > 0){
pid = wait();
}else{
execlp("ls", "", NULL);
exit(0);
}

While the execlp("ls", "", NULL) function is running in the child process, what is the state of the parent process?

  1. A

    Sleeping

  2. B

    Running

  3. C

    Terminated

  4. D

    Waiting

16 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the Operating Systems Quiz 2 24 Mar 2024 paper

The IIT Madras BS Operating Systems (Operating Systems) Quiz 2 paper sat on 24 Mar 2024, in the January 2024 term: 19 questions for 50 marks in 120 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureOperating Systems Quiz 2 24 Mar 2024 at a glance
TermJanuary 2024 term
SubjectOperating Systems
Course codeBSCS4022
Questions19
Marks50
Duration120 min
MCQ15
Numerical2
MSQ2
Official paperIIT M FOUNDATION AN EXAM QDF2 24 Mar 2024
Negative markingNo negative marking.
Updated

Same Quiz 2, other subjects

More Operating Systems