![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
1. |
Source code is not available for user in. |
A. | open source |
B. | bharat os |
C. | linux os |
D. | none |
Answer» B. bharat os |
2. |
Linux is closed source. |
A. | true |
B. | false |
Answer» B. false |
3. |
Bash is the ___________. |
A. | shell |
B. | compiler |
C. | none |
Answer» A. shell |
4. |
BOSS is developed by. |
A. | nasa |
B. | iucca |
C. | c-dac |
D. | nasdaq |
Answer» C. c-dac |
5. |
BOSS is developed over. |
A. | mandrake |
B. | suse |
C. | fedora |
D. | debian |
Answer» D. debian |
6. |
Android is desktop OS. |
A. | true |
B. | false |
Answer» B. false |
7. |
3DBlender is close source. |
A. | true |
B. | false |
Answer» B. false |
8. |
Mozilla Firefox is _________ . |
A. | browser |
B. | editor |
C. | compiler |
D. | none of above |
Answer» A. browser |
9. |
Google chrome is _________. |
A. | compiler |
B. | os |
C. | editor |
D. | none of above |
Answer» D. none of above |
10. |
Windows OS is a closed source. |
A. | true |
B. | false |
Answer» A. true |
11. |
Microsoft .NET is _________ |
A. | open source |
B. | closed source |
C. | browser |
D. | all of above |
Answer» B. closed source |
12. |
Is the windows command |
A. | true |
B. | false |
Answer» B. false |
13. |
Which of the following command gives the list of the users in the systems |
A. | whoami |
B. | ps |
C. | ds |
D. | who |
Answer» D. who |
14. |
________is the linux flavor which runs from CD |
A. | knopix |
B. | suse |
C. | fedora |
D. | ubuntu |
Answer» A. knopix |
15. |
OSF stands for_________ |
A. | o.s. factory |
B. | open software foundation |
C. | open system foundation |
D. | none |
Answer» B. open software foundation |
16. |
Open source software are very costly |
A. | true |
B. | false |
Answer» B. false |
17. |
Internet Explorer comes along with ________ |
A. | linux |
B. | windows |
C. | mac |
D. | android |
Answer» B. windows |
18. |
which browser comes with linux by default |
A. | mozilla firebox |
B. | ie |
C. | opera |
D. | none |
Answer» C. opera |
19. |
BOSS is developed in _______ |
A. | usa |
B. | uk |
C. | india |
D. | china |
Answer» C. india |
20. |
Which of the following is the closed source |
A. | 3d max |
B. | blender |
C. | linux |
D. | android |
Answer» A. 3d max |
21. |
PHP is the Open Source |
A. | true |
B. | false |
Answer» A. true |
22. |
______ Determines which piece of large program need to be recompiled |
A. | rpm |
B. | make |
C. | yum |
D. | none of above |
Answer» B. make |
23. |
______Execute a command as another user |
A. | who |
B. | tty |
C. | chmod |
D. | sudo |
Answer» D. sudo |
24. |
__ is used to install and remove packages and control downloading them from a repository |
A. | rpm |
B. | who |
C. | yum |
D. | is |
Answer» A. rpm |
25. |
Which of the following is not flavor of linux? |
A. | mandrake |
B. | susan |
C. | redhat |
D. | fedora |
Answer» B. susan |
26. |
7-zip is ___________ |
A. | file achiever |
B. | web browser |
C. | editor |
D. | none of above |
Answer» A. file achiever |
27. |
Ubuntu is windows based |
A. | true |
B. | false |
Answer» B. false |
28. |
________ is HTTP web server |
A. | lucene |
B. | fedora |
C. | perl |
D. | apache |
Answer» D. apache |
29. |
Symbian is valid Linux Based Shell |
A. | true |
B. | false |
Answer» A. true |
30. |
Following is valid Linux based Shell |
A. | c-shell |
B. | d-shell |
C. | k-shell |
D. | none of above |
Answer» A. c-shell |
31. |
Shell is the exclusive feature of |
A. | unix |
B. | dos |
C. | system software |
D. | application software |
Answer» A. unix |
32. |
Q.32 Operating system is |
A. | hardware |
B. | software which manage resources of the system |
C. | software which performs computation |
D. | none |
Answer» B. software which manage resources of the system |
33. |
To increase the response time and throughput, the kernel minimizes the frequency of disk access by keeping a pool of internal data buffer called |
A. | pooling |
B. | spooling |
C. | buffer cache |
D. | swapping |
Answer» C. buffer cache |
34. |
At start of process execution, STDOUT & STDERR |
A. | point to current terminal device |
B. | are closed |
C. | point to special files on the system |
D. | none of the above |
Answer» A. point to current terminal device |
35. |
wtmp and utmp files contain: |
A. | temporary system data |
B. | user login-logout log |
C. | the user’s command execution log |
D. | the user’s su and sudo attempts |
Answer» B. user login-logout log |
36. |
Which is the core of the operating system? |
A. | shell |
B. | kernel |
C. | commands |
D. | script |
Answer» B. kernel |
37. |
ILP32 stands for |
A. | 32 bit integer, long & pointer |
B. | 32 bit integrated long & pointer |
C. | 32 bit intelligent long & pointer |
D. | 32 bit long & pointer |
Answer» A. 32 bit integer, long & pointer |
38. |
Single Unix Specification Version 2 provides enhanced support for |
A. | 16 bit unix |
B. | 32 bit unix |
C. | 64 bit unix |
D. | 8 bit unix |
Answer» C. 64 bit unix |
39. |
Under UNIX the key board is the default input device and the monitor is the default output device |
A. | true |
B. | false |
Answer» A. true |
40. |
Which among the following interacts directly with system hardware? |
A. | shell |
B. | commands |
C. | kernel |
D. | applications |
Answer» C. kernel |
41. |
Applications communicate with kernel by using: |
A. | system calls |
B. | c programs |
C. | shell script |
D. | shell |
Answer» A. system calls |
42. |
SVR4 was developed by |
A. | sun microsystems |
B. | at&t |
C. | university of berkeley |
D. | sun and at&t jointly |
Answer» D. sun and at&t jointly |
43. |
Which of these is not a Unix Flavor? |
A. | bsd |
B. | mac |
C. | aix |
D. | irix |
Answer» B. mac |
44. |
Which of the following statement is FALSE ? |
A. | unix supports multiple users |
B. | linux is an open source operating system and the source code is shared |
C. | shell takes care of inter process communication |
D. | shell provides the feature of i/o redirection |
Answer» C. shell takes care of inter process communication |
45. |
Which of the following UNIX flavor is from IBM? |
A. | bsd |
B. | solaris |
C. | hp-ux |
D. | aix |
Answer» D. aix |
46. |
What are the sizes of (Integer/Long/Pointer) in LP64 programming model? |
A. | 8/8/8 |
B. | 4/4/8 |
C. | 4/8/8 |
D. | 4/8/4 |
Answer» C. 4/8/8 |
47. |
Which among the following is used to write small programs to control Unix functionalities? |
A. | shell commands |
B. | shell script |
C. | filters |
D. | c language |
Answer» B. shell script |
48. |
What control character signals the end of the input file? |
A. | ctrl + a |
B. | ctrl + b |
C. | ctrl + c |
D. | ctrl + d |
Answer» D. ctrl + d |
49. |
Which command is used to display the octal value of the text |
A. | octal |
B. | text_oct |
C. | oct |
D. | od |
Answer» D. od |
50. |
Which command is used to view compressed text file contents |
A. | cat |
B. | type |
C. | zcat |
D. | |
Answer» C. zcat |
51. |
Which command changes a file’s group owner |
A. | cgrp |
B. | chgrp |
C. | change |
D. | group |
Answer» B. chgrp |
52. |
Which command is used to extract intermediate result in a pipeline |
A. | tee |
B. | extract |
C. | exec |
D. | none of the above |
Answer» A. tee |
53. |
Which command is used to extract a column from a text file |
A. | paste |
B. | get |
C. | cut |
D. | tar |
Answer» C. cut |
54. |
Which command is used to display disk consumption of a specific directory |
A. | du |
B. | ds |
C. | dd |
D. | dds |
Answer» A. du |
55. |
Which command is used to perform backup in unix? |
A. | backup |
B. | cpio |
C. | zip |
D. | gzip |
Answer» B. cpio |
56. |
Which command creates an empty file if file does not exist? |
A. | cat |
B. | touch |
C. | ed |
D. | read |
Answer» B. touch |
57. |
Which option of rm command is used to remove a directory with all its subdirectories |
A. | –b |
B. | –o |
C. | –p |
D. | –r |
Answer» D. –r |
58. |
Write the command to display the current date in the form dd/mm/yyyy. |
A. | date +%d/%m/%y |
B. | date +”%d/%m/%y” |
C. | date +/%d/%m/20%y |
D. | date +”/%d/%m/20%y” |
Answer» A. date +%d/%m/%y |
59. |
Which command will delete all the blank lines in file old.txt? |
A. | sed ‘/d’ old.txt |
B. | sed ‘/^/d’ old.txt |
C. | sed ‘/^$/d’ old.txt |
D. | sed ‘/^*/d’ old.txt |
Answer» C. sed ‘/^$/d’ old.txt |
60. |
The command “sed -n ‘/mcqmate/p’ old.txt” will |
A. | print the lines containing the word ‘mcqmate’ in file old.txt |
B. | delete the lines containing the word ‘mcqmate’ in file old.txt |
C. | will generate an error message |
D. | none of the mentioned |
Answer» A. print the lines containing the word ‘mcqmate’ in file old.txt |
61. |
Which option is used by sed to specify that the following string is an instruction or set of instructions? |
A. | -n |
B. | -e |
C. | -f |
D. | -i |
Answer» A. -n |
62. |
When we install a new package in linux system, then |
A. | all the files of the packages are installed in a single directory |
B. | different files are installed at different locations of the file system |
C. | package works just after extraction, installation is not required |
D. | none of the mentioned |
Answer» B. different files are installed at different locations of the file system |
63. |
Host specific configuration files are installed in |
A. | /etc directory |
B. | /lib directory |
C. | /root directory |
D. | /bin directory |
Answer» A. /etc directory |
64. |
The directory /media is the |
A. | mount point for removable media |
B. | mount point for filesystem |
C. | both (a) and (b) |
D. | none of the mentioned |
Answer» A. mount point for removable media |
65. |
What is /bin/sh ? |
A. | bourne shell |
B. | hard or symbolic link to the real shell command |
C. | bash shell |
D. | both (b) and (c) |
Answer» B. hard or symbolic link to the real shell command |
66. |
The /boot directory stores the data that is used |
A. | before the kernel begins executing user mode programs |
B. | after the kernel begins executing user mode programs |
C. | before the bootloader is loaded in the ram |
D. | none of the mentioned |
Answer» A. before the kernel begins executing user mode programs |
67. |
Which one of the directory does not contain binary files? |
A. | /bin |
B. | /sbin |
C. | /etc |
D. | none of the mentioned |
Answer» C. /etc |
68. |
Kernel modules are present in |
A. | /lib directory |
B. | /root directory |
C. | /boot directory |
D. | none of the mentioned |
Answer» A. /lib directory |
69. |
The directory /opt is reserved for |
A. | installation of add-on application software packages |
B. | optional booting files |
C. | optional user specific files |
D. | none of the mentioned |
Answer» A. installation of add-on application software packages |
70. |
The directory /srv contains |
A. | site-specific data which is served by the system |
B. | all the system files |
C. | all the service files provided by the specific user |
D. | none of the mentioned |
Answer» A. site-specific data which is served by the system |
71. |
Any file or directory present in the ______ directory may not be reserved between the invocation of the program. |
A. | /var |
B. | /tmp |
C. | /etc |
D. | all of the mentioned |
Answer» B. /tmp |
72. |
What is a context switch? |
A. | kernel switches from executing one process to another. |
B. | process switches from kernel mode to user mode. |
C. | process switches from user mode to kernel mode. |
D. | none of the above |
Answer» A. kernel switches from executing one process to another. |
73. |
Pid of init process |
A. | 0 |
B. | 1 |
C. | 32767 |
D. | none of the above |
Answer» B. 1 |
74. |
What is the default maximum number of processes that can exist in Linux? |
A. | 32768 |
B. | 1024 |
C. | 4096 |
D. | unlimited |
Answer» A. 32768 |
75. |
How do you get parent process identification number? |
A. | waitpid |
B. | getpid() |
C. | getppid() |
D. | parentid() |
Answer» C. getppid() |
76. |
The process which terminates before the parent process exits becomes |
A. | zombie |
B. | orphan |
C. | child |
D. | none of the above |
Answer» A. zombie |
77. |
Return value of fork() system call can be: |
A. | -1,<0,0 |
B. | -1,>0,0 |
Answer» B. -1,>0,0 |
78. |
If the fork() system call returns -1, then it means? |
A. | no new child process is created |
B. | the child process is an orphan |
C. | the child process is in zombie |
Answer» A. no new child process is created |
79. |
Fork returns _____ to parent process on success |
A. | 0 |
B. | child process id |
C. | parent process id |
D. | none |
Answer» B. child process id |
80. |
Which niceness value among the following indicate most favorable scheduling? |
A. | 0 |
B. | 19 |
C. | 5 |
D. | -20 |
Answer» D. -20 |
81. |
The maximum time slice that can be given to a process in Linux (where tick is 10ms) is |
A. | 150ms |
B. | 10ms |
C. | 300 ms |
D. | 600ms |
Answer» D. 600ms |
82. |
Nice can be used by an ordinary process to |
A. | increase the priority of a process |
B. | decrease the priority of a process |
C. | increase or decrease the priority of a process |
Answer» B. decrease the priority of a process |
83. |
Which one can be a real time schedule policy? |
A. | sched_fifo |
B. | sched_spf |
C. | sched_other |
D. | sched_filo |
Answer» A. sched_fifo |
84. |
Solaris real time class priority is |
A. | 0-59 |
B. | 60-99 |
C. | 100-159 |
D. | 160-169 |
Answer» C. 100-159 |
85. |
On x86-32 Linux, at which address the code segment of the program starts? |
A. | 0x00000000 |
B. | 0x08048000 |
C. | 0x80000000 |
D. | 0xbfff0000 |
Answer» B. 0x08048000 |
86. |
On x86-32 Linux, at which address the user stack resides normally? |
A. | 0x00000000 |
B. | 0x3fff0000 |
C. | 0x7fff0000 |
D. | 0xbfff0000 |
Answer» D. 0xbfff0000 |
87. |
A system has 512MB of physical memory. Which among the following is not a suitable virtual memory size for this system architecture? |
A. | 512mb |
B. | 256m |
C. | 4gb |
D. | none of the above |
Answer» D. none of the above |
88. |
LRU stands for |
A. | last received unit |
B. | least recently used |
C. | least recently usable |
D. | lost recoverd unit |
Answer» B. least recently used |
89. |
Mm_struct maintains? |
A. | memory files |
B. | open files |
C. | pipe |
D. | active memory regions |
Answer» D. active memory regions |
90. |
Is page table per process entity? |
A. | yes |
B. | no |
Answer» A. yes |
91. |
Among these files which has an ELF format |
A. | shared objects |
B. | core |
C. | executables |
D. | all of the above |
Answer» D. all of the above |
92. |
If one of the thread in multithreaded process is blocked on an I/O, which of the following is true? |
A. | the entire process with block if their is no kernel supported threads |
B. | other threads of the process will continue to execute even if there is no kernel supported threads |
C. | it depends on specific implementatation |
D. | all of the above |
Answer» A. the entire process with block if their is no kernel supported threads |
93. |
UNIX/Linux kernel is? |
A. | monolithic |
B. | micro |
C. | exo |
D. | nano |
Answer» A. monolithic |
94. |
Monolithic kernel |
A. | is highly extensiblity |
B. | has less run time overhead |
C. | smaller than micro level |
D. | suitable for real time system |
Answer» B. has less run time overhead |
95. |
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» D. all of the above |
96. |
Pick the run level to run Linux in multi user mode with networking? |
A. | 0 |
B. | 3 |
C. | 5 |
D. | 6 |
Answer» B. 3 |
97. |
Section 2 of manpage describes |
A. | commands |
B. | system calls |
C. | function calls |
D. | drivers |
Answer» B. system calls |
98. |
System call can be implemented using which assembly instruction(s) on x86 processors? |
A. | int 0??80 |
B. | sysenter |
C. | both a & b |
D. | none |
Answer» C. both a & b |
99. |
Which of the following exec call is a system call? |
A. | execl |
B. | execlp |
C. | execve |
D. | execvp |
Answer» C. execve |
100. |
______________ timer is decremented only when the process is executing |
A. | itimer_real |
B. | itimer_virtual |
C. | itimer_prof |
D. | none of the above |
Answer» B. itimer_virtual |
Done Reading?