adplus-dvertising

Welcome to the UNIX System MCQs Page

Dive deep into the fascinating world of UNIX System with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of UNIX System, a crucial aspect of UGC CBSE NET Exam. In this section, you will encounter a diverse range of MCQs that cover various aspects of UNIX System, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within UGC CBSE NET Exam.

frame-decoration

Check out the MCQs below to embark on an enriching journey through UNIX System. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of UGC CBSE NET Exam.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of UNIX System. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

UNIX System MCQs | Page 3 of 7

Discuss
Answer: (b).$ head-3 shortlist | tr ‘[a-z]’ ‘[A-Z]’
Q22.
Match the following vi commands in Unix:
List-I                   List-II
a.   :w        i. saves the file and quits
editing mode
b.   :x         ii. escapes unix shell
c.   :q         iii. saves file and remains
in editing mode
d. :sh       iv. quits editing mode and
no changes are saved to
the file

Codes:
     a   b  c  d
Discuss
Answer: (d).iii  i   iv ii
Q23.
The Unix Operating System Kernel maintains two key data structures related to processes, the process table and the user structure. Now, consider the following two statements:

I. The process table is resident all the time and contain information needed for all processes, even those that are not currently in memory.
II. The user structure is swapped or paged out when its associated process is not in memory, in order not to waste memory on information that is not needed.

Which of the following options is correct with reference to above statements ?
Discuss
Answer: (c).Both (I) and (II) are correct
Q24.
Consider the following operations to be performed in Unix:

“The pipe sorts all files in the current directory modified in the month of “June” by order of size and prints them to the terminal screen. The sort option skips ten fields then sorts the lines in numeric order.”

Which of the following Unix command will perform above set of operations?
Discuss
Answer: (a).ls – l | grep “June” | sort + 10n
Q25.
Which of the following statement(s) is/are True regarding ‘nice’ command of UNIX?

I. It is used to set or change the priority of a process.
II. A process’s nice value can be set at the time of creation.
III. ‘nice’ takes a command line as an argument.
Discuss
Answer: (c).I, II, III
Q26.
In UNIX, processes that have finished execution but have not yet had their status collected are known as ................
Discuss
Answer: (c).Zombie Processes
Q27.
In UNIX operating system, when a process creates a new process using the fork() system call, which of the following state is shared between the parent process and child process?
Discuss
Answer: (c).Shared memory segments
Discuss
Answer: (c).Each i-node is 256-bytes long
Discuss
Answer: (d).KILL is a blockable signal.
Discuss
Answer: (b).It runs the word count program to count the number of lines in its input, a, writing the result to b, but does it in the background.
Page 3 of 7

Suggested Topics

Are you eager to expand your knowledge beyond UNIX System? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!