MCQOPTIONS
Saved Bookmarks
This section includes 713 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science Engineering (CSE) knowledge and support exam preparation. Choose a topic below to get started.
| 201. |
Which of the following syslog.config entries would cause kernel error message to be sent to the system console ? |
| A. | kern warning console |
| B. | kern.error console |
| C. | kern.warning/dev/ console |
| D. | kern error console |
| Answer» D. kern error console | |
| 202. |
What command be used to find the systems previous run level ? |
| A. | runlevel |
| B. | level |
| C. | rlevel previous |
| D. | show level previous |
| Answer» B. level | |
| 203. |
You want to have the process /etc/myprocess run when the system enters run level 3. Which of the following inittab entries would accomplish this ? |
| A. | 5:3.once:/etc/myproces s |
| B. | 3:4:once:/etc/mypr ocess |
| C. | once:3:4:/etc/myp rocess |
| D. | once:5:3:/etc/my process |
| Answer» B. 3:4:once:/etc/mypr ocess | |
| 204. |
Runlevel System command is used for |
| A. | getting the present and previous runlevel of the system |
| B. | setting the runlevel attribute of the system in the inittab file |
| C. | can be used to restart or reboot the system |
| D. | all of the above |
| Answer» E. | |
| 205. |
Which command is used for changing init's run level once the system is up ? |
| A. | inittab |
| B. | telinit |
| C. | restart |
| D. | chkconfig |
| Answer» C. restart | |
| 206. |
Pick the run level to run Linux in Multi user mode with networking |
| A. | 0 |
| B. | 3 |
| C. | 5 |
| D. | 6 |
| Answer» C. 5 | |
| 207. |
To enter command line mode from GRUB boot screen, type |
| A. | d |
| B. | c |
| C. | find |
| D. | boot |
| Answer» C. find | |
| 208. |
By default, GRUB reads its default boot configuration from……… |
| A. | /boot/grub/menu.lst |
| B. | /boot/grub/splash.x pm.gz |
| C. | /boot |
| D. | grub.config |
| Answer» B. /boot/grub/splash.x pm.gz | |
| 209. |
What is master boot record ? |
| A. | the master boot record is the information in the first sector of any hard disk |
| B. | the master boot record is the information in the first sector of any floopy |
| C. | the master boot record contains information about operating system |
| D. | all of these |
| Answer» B. the master boot record is the information in the first sector of any floopy | |
| 210. |
What is size of master boot record ? |
| A. | 256 byte segment |
| B. | 512 byte segment |
| C. | 1024 byte segment |
| D. | 128 byte segment |
| Answer» C. 1024 byte segment | |
| 211. |
BIOS stands for ………. |
| A. | boss india operating system |
| B. | basic input operating system |
| C. | basic input output system |
| D. | boston input output system |
| Answer» D. boston input output system | |
| 212. |
GRUB stands for ……… |
| A. | grand unified boot loader |
| B. | greater rochester urban bounty |
| C. | greedy reclamation of unused bandwidth |
| D. | none of the above |
| Answer» B. greater rochester urban bounty | |
| 213. |
The main difference between application and system software is that ……… |
| A. | application software is composed of program instruction but system software is not |
| B. | application software is stored in memory whereas system software is only the cap |
| C. | system software is unnecessary wheras application software must be present on the computer |
| D. | system software manages hardware wheras application software performs user tasks |
| Answer» E. | |
| 214. |
A bootstrap is : |
| A. | the flat cable that connects the cpu to thre printer |
| B. | the flat cable from the disk controller card to the disk driver |
| C. | additional memory device |
| D. | a small intialization program to start up the computer |
| Answer» E. | |
| 215. |
Which process checks to ensure the componenets of the computer and operating system are connected properly ? |
| A. | booting |
| B. | processing |
| C. | saving |
| D. | editing |
| Answer» B. processing | |
| 216. |
"Awk" is a program that is primarily concerned with formatting output. It is designed to work best with pieces of data called |
| A. | records |
| B. | characters |
| C. | fields |
| D. | strings |
| Answer» D. strings | |
| 217. |
The character separating fields is called a |
| A. | separator |
| B. | delimiter |
| C. | blank |
| D. | semicolon |
| Answer» C. blank | |
| 218. |
Which meta-noncharacter is used to indicate the beginning of the line? |
| A. | ^ |
| B. | ? |
| C. | < |
| D. | $ |
| Answer» B. ? | |
| 219. |
Which meta-noncharacter is used to indicate the end of the line? |
| A. | ^ |
| B. | ? |
| C. | > |
| D. | $ |
| Answer» E. | |
| 220. |
Which programming language has a powerful regular expression engine? |
| A. | c++ |
| B. | perl |
| C. | pearl |
| D. | c |
| Answer» C. pearl | |
| 221. |
Which of the following Unix utilities are not commonly used to process regular expressions? |
| A. | grep |
| B. | sed |
| C. | cut |
| D. | awk |
| Answer» D. awk | |
| 222. |
A metacharacter is any character that |
| A. | is taken literally |
| B. | represents any string of characters that fit its definition |
| C. | is an "asterisk" or "question mark" |
| D. | all of the above |
| Answer» C. is an "asterisk" or "question mark" | |
| 223. |
The asterisk is a metacharacter which in the command "ls *.txt" means |
| A. | any single character |
| B. | any combination of one or more characters |
| C. | any combination of zero or more characters |
| D. | none of the above |
| Answer» D. none of the above | |
| 224. |
A loop that continues indefinitely is called a |
| A. | indefinite loop |
| B. | non-stop loop |
| C. | infinite loop |
| D. | none of the above |
| Answer» D. none of the above | |
| 225. |
Which of the following is not a iterative construct in "bash"? |
| A. | if |
| B. | for |
| C. | until |
| D. | while |
| Answer» B. for | |
| 226. |
In "bash", "if" constructs are ended with |
| A. | fi |
| B. | endif |
| C. | end |
| D. | none of the above |
| Answer» B. endif | |
| 227. |
Flow control in a shell program allows parts of a shell program to be executed |
| A. | repeatedly |
| B. | conditionally |
| C. | all of the above |
| D. | none of the above |
| Answer» D. none of the above | |
| 228. |
Comments in a shell program are important because |
| A. | keeps complex programs understandable |
| B. | other programmers may try to read your program |
| C. | you may revise an old program |
| D. | all of the above |
| Answer» E. | |
| 229. |
A shell program is a |
| A. | binary file |
| B. | system file |
| C. | text file |
| D. | linked file |
| Answer» D. linked file | |
| 230. |
Shell programs are |
| A. | compiled |
| B. | interpreted |
| C. | command processed |
| D. | none of the above |
| Answer» C. command processed | |
| 231. |
Another term for shell programs is |
| A. | scripts |
| B. | c programs |
| C. | compiled programs |
| D. | shell command language |
| Answer» B. c programs | |
| 232. |
Applications of Shell programming include |
| A. | simplifying complex jobs |
| B. | automating repetitive tasks |
| C. | both a and b |
| D. | none of the above |
| Answer» D. none of the above | |
| 233. |
The shell in the Unix system is the |
| A. | outer layer of a seed |
| B. | user interface with the operating system |
| C. | provides a prompt |
| D. | both b and c |
| Answer» E. | |
| 234. |
A personal run control file for bash is |
| A. | .cshrc |
| B. | profile |
| C. | .bsh |
| D. | .bashrc |
| Answer» E. | |
| 235. |
To start a process in the background, enter the command with this character at the end. |
| A. | $ |
| B. | # |
| C. | & |
| D. | % |
| Answer» D. % | |
| 236. |
The part of the Unix operating system that interacts with the hardware is called |
| A. | gnu project |
| B. | the kernal |
| C. | the shell |
| D. | linux |
| Answer» D. linux | |
| 237. |
Which of the following is not a major Unix shell? |
| A. | x shell |
| B. | c shell |
| C. | bash shell |
| D. | korn shell |
| Answer» D. korn shell | |
| 238. |
The last character of the "bash" prompt is usually |
| A. | $ |
| B. | # |
| C. | % |
| D. | ? |
| Answer» B. # | |
| 239. |
To invoke "bash" you type |
| A. | bsh |
| B. | sh |
| C. | bsh |
| D. | either a or c |
| Answer» D. either a or c | |
| 240. |
The letters "bash" stand for |
| A. | born after shell |
| B. | bourne again shell |
| C. | berkeley admin shell |
| D. | none of the above |
| Answer» C. berkeley admin shell | |
| 241. |
Multiple Unix commands can be put into a file to form a program. This is called a |
| A. | pipe |
| B. | script |
| C. | link |
| D. | shell |
| Answer» C. link | |
| 242. |
To use a Unix system with a GUI you need this type of window to enter Unix commands |
| A. | terminal |
| B. | dialog box |
| C. | dos |
| D. | command |
| Answer» B. dialog box | |
| 243. |
To get to the on-line reference manual, you use this command |
| A. | manual |
| B. | online |
| C. | man |
| D. | none of the above |
| Answer» D. none of the above | |
| 244. |
Who needs to possess the superuser account? |
| A. | ordinary users |
| B. | system administrator |
| C. | department manager |
| D. | president of the company |
| Answer» C. department manager | |
| 245. |
Which of the following is not a component of a user account? |
| A. | home directory |
| B. | password |
| C. | group id |
| D. | kernel |
| Answer» E. | |
| 246. |
"bash" is an example of a |
| A. | kernel |
| B. | shell |
| C. | security system |
| D. | file manager |
| Answer» C. security system | |
| 247. |
The Superuser can |
| A. | create accounts |
| B. | delete accounts |
| C. | read and write files in user accounts |
| D. | all the above |
| Answer» E. | |
| 248. |
The shell does the following in Unix |
| A. | is the user interface |
| B. | provides security to files |
| C. | talks to the hardware |
| D. | is the file manager |
| Answer» B. provides security to files | |
| 249. |
Shell functions |
| A. | are another name for shell procedures |
| B. | execute faster than shell procedures |
| C. | are executed by a new shell |
| D. | are not executed by new shell |
| Answer» E. | |
| 250. |
Which of the following is not a filter? |
| A. | cat |
| B. | wc |
| C. | grep |
| D. | sort |
| Answer» B. wc | |