COMPUTER SCIENCE MCQ’s


UNIX MCQ SET 8

1. The statement z=’expr 5/2’ would store in z a value a. 2.5 b. 3 c. 2 d. 0 2. The expression expr -7 % 2evaluates to a. 1 b. -1 c. -3.5 d. 0 3. The expression expr -2 % 7 evaluates to a. 2 b. -2 c. 0 […]


UNIX MCQ SET 7

1. When we are executing a shell script the shell acts as a. An interpreter b. A compiler c. An operating system d. None of the above 2. On executing a statement set -3+1 a. $1 would be -3 b. $1 would be – c. $1 would be set d. […]


UNIX MCQ SET 6

1) If the user has read a news item he cannot read it again because of creation of the file   _news_time news.time .news.time .news_time   2) To read the stale news the option available is   news –a Delete the file /usr/news Delete the file _news.time Delete the file […]


UNIX MCQ SET 5

1) Which of following commands do not belong to multiple file editing commands   :n! :q! :rnew! All the above   2) The difference between the commands ps –e and ps –a is   Ps –e gives details of every process running in memory whereas ps –a gives output for […]


UNIX MCQ SET 4

1) Which of the following is not true a. Sorting is done on the basics of first character of each line b. Sort command sorts a file word by word rather than line by line c. Sort command has s provision to do a numeric sort d. Sort is not […]


UNIX MCQ SET 3

1) To find the block size on your file system the command is   Blksz Szblk Chksz Cmchk   2) Each entry in inode table is of size   64 kb 32kb 32 bytes 64 bytes   3) The program contained in boot block, that loads kernel into memory is […]


UNIX MCQ SET 1

1. Unix OS was first developed by a. Dennis Ritchie b. Bjarne stroustrup c. Ken Thompson d. Brian Kernighan 2. Unix OS was first developed at a. Microsoft corp. USA b. AT & T Bell Labs, USA c. IBM, USA d. Borland International, USA 3. Unix is written in a. […]


UNIX MCQ

UNIX MCQ SET 1 UNIX MCQ SET 2 UNIX MCQ SET 3 UNIX MCQ SET 4 UNIX MCQ SET 5 UNIX MCQ SET 6 UNIX MCQ SET 7 UNIX MCQ SET 8 UNIX MCQ SET 9 UNIX MCQ SET 10