Powered By Blogger

Friday, 22 April 2011

CS604 QUIZ




Quiz Start Time: 04:38 PM  Time Left  89
sec(s)   


Question # 1 of 10 ( Start time: 04:38:33 PM )  Total Marks: 1 
__________ scheduler selects the process from the job pool and put them in main memory. 
Select correct option: 

 Long term

 Short term

 Medium term

 Swapper

    

Quiz Start Time: 04:38 PM  Time Left  84
sec(s)   


Question # 2 of 10 ( Start time: 04:38:49 PM )  Total Marks: 1 
The process id returned to the child process after successful fork system call execution is ______. 
Select correct option: 

 0
 1
 2
 3





Quiz Start Time: 04:38 PM  Time Left  89
sec(s)   


Question # 6 of 10 ( Start time: 05:16:16 PM )  Total Marks: 1 
__________ displays information about the top processes. 
Select correct option: 

 ls
 cs
 top
 cd


    







Quiz Start Time: 04:38 PM  Time Left  85
sec(s)   


Question # 7 of 10 ( Start time: 05:16:27 PM )  Total Marks: 1 
In Unix/ Linux, by default the standard output file is attached to the ___________ 
Select correct option: 

 File

 Screen

 Printer

 Scanner



    







Quiz Start Time: 04:38 PM  Time Left  82
sec(s)   


Question # 8 of 10 ( Start time: 05:17:51 PM )  Total Marks: 1 
Using _________system, we can create a new process in Linux. 
Select correct option: 

 fork

 exec

 wait

 exit



    







Quiz Start Time: 04:38 PM  Time Left  88
sec(s)    


Question # 9 of 10 ( Start time: 05:19:08 PM )  Total Marks: 1 
A Process ‘A’ that has finished working but its parent process has also finished its execution. In this state the process ‘A’ will be called as _____ process. 
Select correct option: 

 Child

 Thread

 Zombie

 Fork



    







Quiz Start Time: 04:38 PM  Time Left  86
sec(s)   


Question # 10 of 10 ( Start time: 05:19:36 PM )  Total Marks: 1 
The correct command for compiling C program named program.c in Linux environment is 
Select correct option: 

 gcc program.c –o FirstPrgram
 gcc –o FirstProgram program.c
 gcc –z FirstProgram program.c
 gcc program.c –m FirstPrgram




    







Quiz Start Time: 05:23 PM  Time Left  74
sec(s)   


Question # 1 of 10 ( Start time: 05:23:29 PM )  Total Marks: 1 
__________ scheduler selects the process from the job pool and put them in main memory. 
Select correct option: 

 Long term

 Short term

 Medium term

 Swapper



    







Quiz Start Time: 05:23 PM  Time Left  89
sec(s)   


Question # 2 of 10 ( Start time: 05:24:23 PM )  Total Marks: 1 
In Linux directory structure, there is ___________ root directory. 
Select correct option: 

 1
 2
 3
 4


    







Quiz Start Time: 05:23 PM  Time Left  86
sec(s)   


Question # 3 of 10 ( Start time: 05:24:38 PM )  Total Marks: 1 
__________ commands in Linux helps to create a new directory. 
Select correct option: 

 ls

 cp

 mv

 mkdir



    







Quiz Start Time: 05:23 PM  Time Left  85
sec(s)   


Question # 4 of 10 ( Start time: 05:24:47 PM )  Total Marks: 1 
Cooperating processes never share any data, code, memory or state. 
Select correct option: 

 True

 False



    







Quiz Start Time: 05:23 PM  Time Left  70
sec(s)   


Question # 5 of 10 ( Start time: 05:24:57 PM )  Total Marks: 1 
__________ commands in Linux is used to copy file 
Select correct option: 

 ls

 cp

 mv

 mkdir



    







Quiz Start Time: 05:23 PM  Time Left  83
sec(s)   


Question # 6 of 10 ( Start time: 05:25:24 PM )  Total Marks: 1 
____ command display the status of a process. 
Select correct option: 

 ls

 ps

 gcc

 cat



    
 





Quiz Start Time: 05:23 PM  Time Left  86
sec(s)   


Question # 7 of 10 ( Start time: 05:26:51 PM )  Total Marks: 1 
The manual pages can be read in Linux using ____ command. 
Select correct option: 

 man

 wan

 desc

 help



    







Quiz Start Time: 05:23 PM  Time Left  88
sec(s)   


Question # 8 of 10 ( Start time: 05:27:40 PM )  Total Marks: 1 
In Unix/ Linux, by default the standard input file is attached to the ___________ 
Select correct option: 

 Mouse

 Keyboard

 Light pen

 Joystick



    







Quiz Start Time: 05:23 PM  Time Left  87
sec(s)   


Question # 9 of 10 ( Start time: 05:27:49 PM )  Total Marks: 1 
__________ displays information about the top processes. 
Select correct option: 

 ls
 cs
 top
 cd


    







Quiz Start Time: 05:23 PM  Time Left  84
sec(s)   


Question # 10 of 10 ( Start time: 05:27:56 PM )  Total Marks: 1 
Taking the CPU from one process and giving the CPU to another process is termed as 
Select correct option: 

 Context Switching

 Dispatching

 Swapping

 Tracking



    







Quiz Start Time: 05:28 PM  Time Left  65
sec(s)   


Question # 2 of 10 ( Start time: 05:29:04 PM )  Total Marks: 1 
Shared libraries and kernel modules are stored in _____________ directory. 
Select correct option: 

 /bin

 /dev

 /boot

 /lib



    







Quiz Start Time: 05:28 PM  Time Left  84
sec(s)   


Question # 3 of 10 ( Start time: 05:29:33 PM )  Total Marks: 1 
When process opens its first file explicitly it will get descriptor number _________ 
Select correct option: 

 1

 2

 3
 4


    







Quiz Start Time: 05:28 PM  Time Left  85
sec(s)   


Question # 4 of 10 ( Start time: 05:30:18 PM )  Total Marks: 1 
In Unix/ Linux, by default the standard output file is attached to the ___________ 
Select correct option: 

 File

 Screen

 Printer

 Scanner



    







Quiz Start Time: 05:28 PM  Time Left  86
sec(s)   


Question # 5 of 10 ( Start time: 05:30:30 PM )  Total Marks: 1 
The manual pages can be read in Linux using ____ command. 
Select correct option: 

 man

 wan

 desc

 help



    







Quiz Start Time: 05:28 PM  Time Left  50
sec(s)   


Question # 7 of 10 ( Start time: 05:31:17 PM )  Total Marks: 1 
Swapper is also termed as Short term scheduler. 
Select correct option: 

 True

 False



    







Quiz Start Time: 05:28 PM  Time Left  80
sec(s)   


Question # 8 of 10 ( Start time: 05:32:04 PM )  Total Marks: 1 
__________ scheduler selects the process from the job pool and put them in main memory. 
Select correct option: 

 Long term

 Short term

 Medium term

 Swapper



    







Quiz Start Time: 05:28 PM  Time Left  86
sec(s)   


Question # 9 of 10 ( Start time: 05:32:20 PM )  Total Marks: 1 
__________ commands in Linux helps to create a new directory. 
Select correct option: 

 ls

 cp

 mv

 mkdir



    







Quiz Start Time: 05:28 PM  Time Left  85
sec(s)   


Question # 10 of 10 ( Start time: 05:32:27 PM )  Total Marks: 1 
You can use the mv file1 file2 command to move ______________ 
Select correct option: 

 file1 to file2.

 file 2 to file 1

 this command will not work for moving files

 None of the option is correct.




     







Quiz Start Time: 05:36 PM  Time Left  86
sec(s)   


Question # 1 of 10 ( Start time: 05:36:22 PM )  Total Marks: 1 
Shared libraries and kernel modules are stored in _____________ directory. 
Select correct option: 

 /bin

 /dev

 /boot

 /lib



    







Quiz Start Time: 05:36 PM  Time Left  86
sec(s)   


Question # 2 of 10 ( Start time: 05:36:33 PM )  Total Marks: 1 
___________ is also called Swapper. 
Select correct option: 

 Long term


 Short term

 Medium term

 Swap space



    







Quiz Start Time: 05:36 PM  Time Left  83
sec(s)   


Question # 3 of 10 ( Start time: 05:36:44 PM )  Total Marks: 1 
__________ directory includes essential system boot files including the kernel image. 
Select correct option: 

 /bin

 /boot

 /dev

 /etc



    







Quiz Start Time: 05:36 PM  Time Left  86
sec(s)   


Question # 4 of 10 ( Start time: 05:38:03 PM )  Total Marks: 1 
Swapper is also termed as Short term scheduler. 
Select correct option: 

 True

 False



    







Quiz Start Time: 05:36 PM  Time Left  77
sec(s)   


Question # 5 of 10 ( Start time: 05:38:12 PM )  Total Marks: 1 
The process id returned to the child process after successful fork system call execution is ______. 
Select correct option: 

 0
 1
 2
 3


    







Quiz Start Time: 05:36 PM  Time Left  83
sec(s)   


Question # 6 of 10 ( Start time: 05:38:30 PM )  Total Marks: 1 
____ command display the status of a process. 
Select correct option: 

 ls

 ps

 gcc

 cat



    







Quiz Start Time: 05:36 PM  Time Left  85
sec(s)   


Question # 7 of 10 ( Start time: 05:38:41 PM )  Total Marks: 1 
You can use the mv file1 file2 command to move ______________ 
Select correct option: 

 file1 to file2.

 file 2 to file 1

 this command will not work for moving files

 None of the option is correct.




    







Quiz Start Time: 05:36 PM  Time Left  85
sec(s)   


Question # 8 of 10 ( Start time: 05:38:52 PM )  Total Marks: 1 
__________ commands in Linux is used to copy file 
Select correct option: 

 ls

 cp

 mv

 mkdir



    







Quiz Start Time: 05:36 PM  Time Left  84
sec(s)   


Question # 9 of 10 ( Start time: 05:39:03 PM )  Total Marks: 1 
Using _________system, we can create a new process in Linux. 
Select correct option: 

 fork

 exec

 wait

 exit



    







Quiz Start Time: 05:36 PM  Time Left  88
sec(s)   


Question # 10 of 10 ( Start time: 05:39:14 PM )  Total Marks: 1 
The manual pages can be read in Linux using ____ command. 
Select correct option: 

 man

 wan

 desc

 help



    







Quiz Start Time: 05:40 PM  Time Left  88
sec(s)   


Question # 1 of 10 ( Start time: 05:40:38 PM )  Total Marks: 1 
In Unix/ Linux, by default the standard output file is attached to the ___________ 
Select correct option: 

 File

 Screen

 Printer

 Scanner



    







Quiz Start Time: 05:40 PM  Time Left  88
sec(s)    


Question # 2 of 10 ( Start time: 05:40:46 PM )  Total Marks: 1 
Cooperating processes never share any data, code, memory or state. 
Select correct option: 

 True

 False



    







Quiz Start Time: 05:40 PM  Time Left  86
sec(s)    


Question # 3 of 10 ( Start time: 05:41:08 PM )  Total Marks: 1 
_____ system call is used to write to a file or FIFO or any other IPC channel. 
Select correct option: 

 read

 write

 open

 fork



    







Quiz Start Time: 05:40 PM  Time Left  84
sec(s)   


Question # 4 of 10 ( Start time: 05:41:56 PM )  Total Marks: 1 
A Process ‘A’ that has finished working but its parent process has also finished its execution. In this state the process ‘A’ will be called as _____ process.  
Select correct option: 

 Child

 Thread

 Zombie

 Fork



    







Quiz Start Time: 05:40 PM  Time Left  87
sec(s)   


Question # 5 of 10 ( Start time: 05:42:40 PM )  Total Marks: 1 
A parent process calling __________ system call will be suspended until children process terminates. 
Select correct option: 

 wait

 fork

 exit

 exec



    







Quiz Start Time: 05:40 PM  Time Left  88
sec(s)   


Question # 6 of 10 ( Start time: 05:43:57 PM )  Total Marks: 1 
If your processor does not have two slots empty in Per Process File Descriptor Table, then your _________ system call will fail. 
Select correct option: 

 Pipe

 Read

 Write

 Open



    







Quiz Start Time: 05:40 PM  Time Left  88
sec(s)   


Question # 7 of 10 ( Start time: 05:45:23 PM )  Total Marks: 1 
The process id returned to the child process after successful fork system call execution is ______. 
Select correct option: 

 0
 1
 2
 3


    







Quiz Start Time: 05:40 PM  Time Left  78
sec(s)   


Question # 9 of 10 ( Start time: 05:45:46 PM )  Total Marks: 1 
You can use the mv file1 file2 command to move ______________ 
Select correct option: 

 file1 to file2.

 file 2 to file 1

 this command will not work for moving files

 None of the option is correct.




    







Quiz Start Time: 05:40 PM  Time Left  88
sec(s)   


Question # 10 of 10 ( Start time: 05:46:18 PM )  Total Marks: 1 
__________ scheduler selects the process from the job pool and put them in main memory. 
Select correct option: 

 Long term

 Short term

 Medium term

 Swapper



    



    


No comments:

Post a Comment