Sunteți pe pagina 1din 3

|| Swami Shreeji || SHREE M. & N. VIRANI SCIENCE COLLEGE B.C.A - (Sem.

-4) (CBCS) PRILIM EXAM Operating System Concepts with Unix/Linux Date:- 01/04/2012 Marks:-70 Section A Q 1 Select objective 20 1. The scheduling in which CPU is allocated to the process with least CPU-burst time is called (a) Priority Scheduling (b) Shortest job first Scheduling (c) Round Robin Scheduling (d) Multilevel Queue Scheduling 2. PCB = (a) Program control block (c) Process control block (b) Process communication block (d) Process Function

3. The number of process completed per unit time is known as______ (a) Waiting time (b) Output (c) Throughput (d) Response time 4.What is another naeme for thread ? (a) heavyweight process (c) lightweight process (b) kernel (d) distributor

5. Which of the follwing is part of the process state information maintained in the PCB ? (a) Main memory (b) process Priority (c) Register Content (d) All of the above 6. Virtual memory can be implemented with (a) Compiler (c) Paging (b) Assembler (d) all of the above

7. The segmented /demand paged memory allocation schems divides each segment into equally Sized (a) pages (b) frames (c) blocks (d) sets 8. What does the job scheduler seek to do when scheduling jobs? (a) run all CPU intensive job first (b) balance CPU and I/O intesive jobs (c) run all I/O intensive job first (d) run the quickest job first 9. How is the first-come-first-served(FCFS) scheduling algorithem implemented ? (a) using FIFO queue (b) using circular queue (c) using a LIFO queue (d)using a directed graph 10. Which command is used to sort the lines of data in a file in reverse order (a) sort (b) sh (c) st (d) sort -r 11. Which symbol is used to separate more than one command in the same command line?

(a) $ (b) # (c) : (d) ; 12.Which of the follwing command is used to rename a file ? (a) rename (b) remove (c) mv (d)ren 13. When the opreating system detets a nonrecoverable error, which of the follwing happens first ? (a)state of the interrupted process is saved (b) interrupt is processed (c) type of interrupt is described and stored (d) processor resumes opreation 14. The turn-around time of a user job is the (a) time since its submission to the time its results become available (b) time duration for which the CPU is allotted to the job. (c) total time taken to execute the job. (d) time taken for the job to move from assembly phase to completion phase 15. Which command will be used with vi editor to append text at the end of line ? (a) A (b) ins. (c) append (d) I 16. Which of the following is not filter (a) gerp (c) wc (b) cat (d) sort

17..is used to terminate the switch case (a) end case (b) end (c) esac (d) close 18. .represents the number of positional parameters. (a) $$ (b) $% (c) $# (d) $@ 19 Which command is used to assign only read permission to all three categories of the file note ? (a) r =chmod (b) chmod +r. (c) chmod=r=ugo note (d) chmod ugo=r note 20. Which is used to run a process in background (a) & (b) (c) = (d) % Section II Q 1 A Answer the following (Any 3) 06 1) Give the definition of operating system. 2) Give the formula of :Turnaround time=______ 3) Explain who command in unix. 4) What do you mean by MAIL system variable . 5) Explain mtod command in unix 6) Give the definition of multithreading operating system. Q1B Answer the following (Any 3) 09

1) Explain batch operating system 2) Give the brief explanation of virtual memory. 3) Explain ls command with all option and Give the example in unix. 4) Explain cat command in unix 5) Give the differentiate: Multiprocessing V/S Multitasking. 6) Explain the concepts of mounting in unix Q 1 C Answer the following (Any 2) 10 1) What is Process? Explain Process state transition diagram. 2) Explain session command in unix 3) What is VI editor ? Explain difference modes of VI editor . 4) Explain PCB in detail. 5) Explain single partition contiguous allocation algorithm Q 2 A Answer the following (Any 3) 06 1) Explain touch command in unix 2) What is Process ?and give the definition of MAR. 3) Explain chmod command with syntax in unix. 4) Explain head command . 5) Expalin $? Shell variable in unix 6) Draw a logical structure of operating system Q2B Answer the following (Any 3) 09 1) Differentiate: Physical memory and virtual memory . 2) Features of UNIX. 3) Explain case statement 4) Explain until loop . 5) Explain segmented memory allocation . 6) Explain sort command in detail . Q 2 C Answer the following (Any 2) 10 1) Write a short note on I/O redirection and piping . 2) Explain Round Robin scheduling with example. 3) Write a shell script which takes p, r , n from the user and calculate simple interest and print it on the screen . 4) Write a shell script to find the number of occurrence of file exam . 5) Explain the file structure in unix.

S-ar putea să vă placă și