Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Which of the following results in error? A. expr 3*9 B. expr 1+2 C. expr 5-4

ID: 3902500 • Letter: 1

Question

1. Which of the following results in error? A. expr 3*9 B. expr 1+2 C. expr 5-4 expr 4/5 2. For logical OR operatio option is used -a 3. Choose incorrect statement. A. Shell script can accept arguments B. Shell script are compiled C. Shell scripts are interpreted D. Shell supports programming 4. Unix OS is an A. Time sharing OS B. Multi-tasking OS C. Multi user OS D. All the above 5. dev directory contains files for controlling A. temporary file B. input output C. log files D. backup files directory contains executable file for most of the Unix commands A. lib B. bin C. dev D. tmp 7. to utilize the previous entered commands once more, first you can input command "history" to display all previous commands. After determine the command you need again, say number 66, you can type A. %66 B. $66 C. 66 D. #66 8. The command "free-mis used to Determine the CPU time A. B. Determine the amount of memorv in the svstem C. Determine the amount of hard disk in the system D. Determine the amount of swap in the systenm 9. To check the swap info A. Sswaps B. Sswap C. Scat proc/swaps D. Sswapinfo

Explanation / Answer

Q1

expr 3*9 results in error

Q2

-o is for or operation

Q3

Shell is compiled is wrong as it is interpreted

Q4

All the above options are correct for unix

Q5

input/output device are controlled using files in dev

Q6

bin directory is used

Q7

$66 is the right choice

Q8

Determine the amount of memory in system

Q9

WE can use option C