Operating Systems Fundamentals

Test your knowledge of operating systems concepts including process scheduling, memory management, file systems, and Unix/HP-UX commands.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the default history file in the HP-UX POSIX shell?

  1. history
  2. $HOME/.history
  3. $HOME/.sh_history
  4. /etc/history
Question 2 Multiple Choice (Single Answer)

Which command displays the value of the HOME variable?

  1. echo $HOME
  2. echo "$HOME"
  3. echo HOME
  4. echo `$HOME`
Question 3 Multiple Choice (Single Answer)

Which mode is not used in vi editor?

  1. command mode
  2. insert mode
  3. preserve mode
  4. last line mode
Question 4 Multiple Choice (Single Answer)

The set_parms command is used to:

  1. set the hostname
  2. set the time zone
  3. set the IP
  4. all the above
Question 5 Multiple Choice (Single Answer)

What is the secondary system loader?

  1. the hpux utility
  2. the init process
  3. PDC
  4. the /stand/system
Question 6 Multiple Choice (Single Answer)

Which is not a standard state of any HP-UX process

  1. running
  2. sleeping
  3. zombie
  4. printing
Question 7 Multiple Choice (Single Answer)

Which file on HP-UX contains a list of standard port numbers for different applications?

  1. /etc/hosts
  2. /etc/ports
  3. /etc/services
  4. /etc/protocols
Question 8 Multiple Choice (Multiple Answers)

condition required for deadlock

  1. mutual exclusion
  2. no preemtion
  3. hold and wait
  4. cycle
Question 9 True/False

paging technique lead to external fragmentation

  1. True
  2. False
Question 10 True/False

virtual memory management is a dynamic paging concept

  1. True
  2. False
Question 11 Multiple Choice (Single Answer)

which one of following are scheduling algorithm

  1. fcfs
  2. sjf
  3. round robin
  4. all of the above
Question 12 Multiple Choice (Single Answer)

external fragmentation can be handled by

  1. compaction
  2. defragmentation
  3. it cannot be handled
  4. none of the choice
Question 13 Multiple Choice (Single Answer)

which is the fastest memory

  1. hard disc
  2. main memory
  3. cpu registers
  4. cache memoy
Question 14 Multiple Choice (Single Answer)

technique to handle deadlock

  1. deadlock prevention
  2. deadlock detection
  3. deadlock avoidance
  4. all of the above
Question 15 True/False

indexing is used to sort

  1. True
  2. False
Question 16 True/False

kernel is known to be the heart of operating sistem

  1. True
  2. False
Question 17 Multiple Choice (Single Answer)

What command is used to run another command immune to hangups, logouts,and quits?

  1. hup
  2. nohup
  3. attachtoroot
  4. daemon
Question 18 Multiple Choice (Single Answer)

What is sticky bit?

  1. It is a file permission that allows the program's text part to stay in swap memory after its execution
  2. UNIX don’t have sticky bit
  3. It’s a Linux only feature
  4. None of above
Question 19 Multiple Choice (Single Answer)

What is shadow in UNIX?

  1. It is a file
  2. It is a process
  3. It is a command
  4. It is a file containing encrypted password & Login info
Question 20 Multiple Choice (Single Answer)

can a file's modified timestamp be modified? If so how?

  1. No
  2. Yes
  3. Yes;using touch command
  4. Yes;using time system call