On This Page
This set of Operating System Architecture Multiple Choice Questions & Answers (MCQs) focuses on Operating System Architecture Set 13
Q1 | The first thing that is searched when a command references a file is its
- i node
- i node number
- permission
- none of the above
Q2 | Profilers are
- tools that analyze the run time behavior of a program
- tools that check c code for cross file consistency
- tools that keep track of evolving versions of a file
- none of the above
Q3 | Which of the following tools can be used to keep track of evolving version of a file?
- make
- yacc
- sccs
- dv
Q4 | The size of any block in the unix file system is
- 512 bytes
- 1024 bytes
- 2048 bytes
- any of the above
Q5 | To find the block size on your file system the command is
- blksz
- szblk
- chksz
- cmchk
Q6 | Each entry in inode table is of size
- 64 kb
- 32kb
- 32 bytes
- 64 bytes
Q7 | The program contained in boot block, that loads kernel into memory is called
- disk bootstrap program
- master boot program
- shell program
- none of the above
Q8 | The state of the file system is contained in
- boot block
- a special block created by book block
- super block
- none of the above
Q9 | Which file gets executed when we use the passwd command
- /etc/passwd
- /etc/pwd
- /bin/passwd
- /passwd
Q10 | The command cal j 1997 would give the output as
- the calendar of jan,june and july 1997
- only calendar of jan 1997
- an error
- none of the above
Q11 | To see the last access time of various files in a file system the command is
- is-iu
- is-i
- is-acc
- is-mt
Q12 | To ascertain what are the contents of the file in your the system the best way would be
- do a cat command on each file and find its contents
- use the command cat*
- use the command file*
- none of the above
Q13 | Which of these is not a command of Unix related with DOS
- dosdir a:proj
- doscopy trial a:/
- doscp/home/pro j/prg a:/
- dosls
Q14 | How many links are created when we creat a directory file?
- 1
- 2
- 3
- 4
Q15 | A user creates a link to a file file1 using the following command “ln file1 file2”. Which of the following is not true?
- file1 and file2 have the same inode numbers
- the number of links for file1 is displayed as 1
- the number of links for file1 is displayed as 2
- the number of links for file2 is displayed as 2
Q16 | here are two hard links to the “file1″ say hl and h2 and a softlink sl. What happens if we deleted the “file1″?
- we will still be able to access the file with hl and h2 but not with sl
- we will not be able to access the file with hl and h2 but with sl
- we will be able to access the file with any of hl, h2 and sl
- we will not be able to access the file with any of hl, h2 and sl
Q17 | If two files on same partition point to the same inode structure they are called
- soft links
- hard links
- alias
- special files
Q18 | Deleting a soft-link
- deletes the destination file
- deletes both the softlink and the destination file
- deletes just the softlink
- backup of the destination is automatically created
Q19 | Creation of hardlinks that point across partitions
- is allowed only to root user
- can be done by all users
- he effects are unspecified
- is not allowed
Q20 | Which command is used to change permissions of files and directories?
- mv
- chgrp
- chmod
- set
Q21 | Where can I find the printer in the file structure?
- /etc
- /dev
- /lib
- /printer
Q22 | Which of the following statement is true?
- the cp command will preserve the meta data of the file
- the sort command by default sorts in the numeric order
- the mv command will preserve the meta data of the file
- the command ps will display the filesystem usage
Q23 | What UNIX command is used to update the modification time of a file?
- time
- modify
- cat
- touch
Q24 | Which of the following time stamps need not exist for a file on traditional unix file system
- access time
- modification time
- creation time
- change time
Q25 | Which command is used to set limits on file size
- fsize
- flimit
- ulimit
- usize