πŸ“Š Operating System Architecture
Q. The advantage of binary files over text files is that
  • (A) it is compact
  • (B) it can be accessed faster
  • (C) they are more reliable
  • (D) all of these
πŸ’¬ Discuss
βœ… Correct Answer: (D) all of these
πŸ“Š Operating System Architecture
Q. The permission bits of a filenoname,can be set to - rws - - * - - * by the command
  • (A) chmod 711 noname
  • (B) chmod go -rw noname
  • (C) chmod 2711 noname
  • (D) none of above
πŸ’¬ Discuss
βœ… Correct Answer: (D) none of above
πŸ“Š Operating System Architecture
Q. /bin/passwork has the user execution permission set to 's' because
  • (A) this facility assigns to the user, permissions of the program owner temporarily
  • (B) it should allow users who don\t have write permission to /etc/passwd to write to it
  • (C) /etc/passwd is write protected
  • (D) all of these
πŸ’¬ Discuss
βœ… Correct Answer: (D) all of these
πŸ“Š Operating System Architecture
Q. If are does not want anyone else to read or write to a file named datfile,except through a program in a file filex,then he may use
  • (A) chmod u+s filex; chmod go -rw datfile
  • (B) chmod 4711 filex; chmod go -rw datfile
  • (C) chmod 4711 datfile; chmod go - rw filex
  • (D) both a & b
πŸ’¬ Discuss
βœ… Correct Answer: (D) both a & b
πŸ“Š Operating System Architecture
Q. Writing a c program that accepts input from keyboard,rather than from a file is advantageous because
  • (A) keyboard is a file that is already open
  • (B) it can be used in a pipe,if it writes to stdout
  • (C) both a & b
  • (D) non of above
πŸ’¬ Discuss
βœ… Correct Answer: (C) both a & b
πŸ“Š Operating System Architecture
Q. Consider the following program main ( )
{ printf ("Aayush won a football match on
\n"); system ("date");
printf("In Berlin"); } if a.out is the executable code corresponding to the above source code,then the command a.out >out f
  • (A) redirects the output of date to a file out f
  • (B) displays the output of date on the screen
  • (C) prints everything on screen
  • (D) prints the two messages on the screen
πŸ’¬ Discuss
βœ… Correct Answer: (A) redirects the output of date to a file out f
πŸ“Š Operating System Architecture
Q. The Hardware at centre of UNIX system provides………….
  • (A) basic services
  • (B) operating system with basic services
  • (C) kernel service
  • (D) none of these
πŸ’¬ Discuss
βœ… Correct Answer: (B) operating system with basic services
πŸ“Š Operating System Architecture
Q. Program such as Shell and editors interact with kernel by invoking ……….
  • (A) process
  • (B) thread
  • (C) system calls
  • (D) none of these
πŸ’¬ Discuss
βœ… Correct Answer: (C) system calls

Jump to