GATE 2021 (Session 1) Computer Science and Information Technology (CS) Questions with Solutions

GATE 2021 (Session 1)

65 questions

MCQ 34 · MSQ 13 · NAT 181-mark 30 · 2-mark 35

Questions 21–25 of 65

Q21Memory Management1 markMSQ
In the context of operating systems, which of the following statements is/are correct with respect to paging?

One or more options are correct.

Q22Recursive Language1 markMSQ
Let < M > denote an encoding of an automaton M. Suppose that Σ={0,1}\Sigma =\{0,1\}. Which of the following languages is/are NOT recursive?

One or more options are correct.

Q23Transaction1 markMSQ
Suppose a database system crashes again while recovering from a previous crash. Assume checkpointing is not done by the database either during the transactions or during recovery.

Which of the following statements is/are correct?

One or more options are correct.

Q24System Call1 markMSQ
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?

One or more options are correct.

Q25File System1 markMSQ
Consider a linear list based directory implementation in a file system. Each directory is a list of nodes, where each node contains the file name along with the file metadata, such as the list of pointers to the data blocks. Consider a given directory foo.

Which of the following operations will necessarily require a full scan of foo for successful completion?

One or more options are correct.