3i Infotech Papers: Sample Questions 1172 - 1173 of 1245

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 1172

» Languages » Java



Which of the following involves context switch?


Choice (4) Response


Privileged instruction


System call


Floating poitnt exception


All of the above




Understanding of context switching

Understanding of Context Switching

Understanding of context switching

  • Context switch is starting execution of a new process from specified location.

  • System call calls a kernel mode procedure during the execution of another process.

  • When a program makes a system call, the mode is switched from user mode to kernel mode.

  • This is called a context switch.

  • Then the kernel provides the resource which the program requested.

  • Context switch changes the mode from kernel mode back to user mode.

  • System calls are made by the user programs in following situations:

    • Creating, opening, closing and deleting files in the file system.

    • Creating and managing new processes.

    • Creating a connection in the network, sending, and receiving packets.

    • Requesting access to a hardware device, like a mouse or a printer.

Question number: 1173

» Operating System » Unix

Essay Question▾

Describe in Detail

In UNIX a files i-node ________?


Understanding of Process file desc and Inode table.

Understanding of Process File Desc and Inode Table.

Understanding of Process file desc and Inode table.

  • Inode is a data structure that defines all specifications of a file like the file size, number of lines to a file, permissions etc.

  • It is used in a Unix-style file system to describe a file system object such as a file or a directory.

  • Inode stores the attributes and disk block location of the object’s data.

  • File system object attributes may include metadata as well as owner and permission data.

  • Directories are lists of names assigned to inodes.

  • A directory contains an entry for itself, its parent, and each of its children.