The process of switching from one process to another is called ------. ►Context switching (page 31)
► scheduling
► quantum period
► latency
______directory includes essential system boot files including the kernel image.
► /bin
► /boot (page 23)
► /dev
► /etc
The manual pages can be read in Linux using ____ command.
► man (Page 24)
► wan
► desc
► help
You can display the contents (names of files and directories) of a directory in UNIX/Linux directory structure with the ------command.
►ll
► s
► ls (Page 25)
► none of the given options
image:
PermalinkReply byMeeral Mcs (ex std)onJune 16, 2015 at 8:37pm
A time sharing system is
► Multi tasking
► Interactive
► Multi user
► All of these (Page 6)
The main characteristic of a Real time system is
► Efficiency
► Large Virtual Memory
► Large secondary storage device
► Usability
_____scheduler selects the process from the job pool and put them in main memory.
► Long term (Page 33)
► Short term
► Medium term
► Swapper
______is also called Swapper.
► Swap space
► Medium term scheduler (Page 34)
► Short term scheduler
► Long term scheduler
Command-line interpreter is also called ______in some operating systems.
►Kernel
►Shell (Page 13)
►Signal
You can use the mv file1 file2 command to move ______
►file1 to file2. (Page 27)
►file 2 to file 1
►this command will not work for moving files
►None of the option is correct.
►Both option a and b are correct
Taking the CPU from one process and giving the CPU to another process is termed as
►Context Switching (page 31)
►Dispatching
►Swapping
►Tracking
A Process that has finished working, as well as its parent process has also finished its execution. In this state the process A will be called as ______process.
►Child
►Thread
►Zombie
►Fork
- Exam Results
- Government Jobs
image:
PermalinkReply byMeeral Mcs (ex std)onJune 16, 2015 at 8:56pm
cs 604
Attachments:
image:
Quiz1.docx, 1.6 MB
image:
PermalinkReply by+ мυsкαη(sιт)onJune 16, 2015 at 9:34pm
thanks for sharingMeeral Mcs 4th
image:
image:
image:
image:
image:
PermalinkReply by+ мυsкαη(sιт)onJune 16, 2015 at 9:34pm
thanks
image:
image:
PermalinkReply by+ мυsкαη(sιт)onJune 17, 2015 at 6:30pm
Question # 1 of 15 ( Start time: 05:44:15 PM ) Total Marks: 1
In Linux directory structure, there is ______root directory.
Select correct option:
1 (Page no. 22)
2
3
4
Question # 2 of 15 ( Start time: 05:44:39 PM ) Total Marks: 1
______scheduler takes the process from the ready queue and assign the CPU with the help of Dispatcher.
Select correct option:
Long term
Short term (Page No. 33)
Medium term
Swapper
Question # 3 of 15 ( Start time: 05:44:51 PM ) Total Marks: 1
The basic purpose of ______is to help the users to utilize the hardware resources for completing
different tasks in a simplified manner.
Select correct option:
Operating system
Application software
All Software
All of the given
Question # 4 of 15 ( Start time: 05:45:57 PM ) Total Marks: 1
______directory includes essential system boot files including the kernel image.
Select correct option:
/bin
/boot(Page No. 23)
/dev
/etc
Question # 5 of 15 ( Start time: 05:46:05 PM ) Total Marks: 1
The major advantage of multi-programming system is
Select correct option
image:
PermalinkReply by+ мυsкαη(sιт)onJune 17, 2015 at 6:32pm
More than one jobs can be processed at a given time
CPU utilization can be increases (Page No. 205)
Jobs can be completed quickly
All of the options are correct
Question # 6 of 15 ( Start time: 05:46:30 PM ) Total Marks: 1
______is used to request the OS by the process to take an I/O or initiating child process.
Select correct option:
System call (Page No. 36)
Interrupt
Trap
Signal
Question # 7 of 15 ( Start time: 05:47: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 (Page No. 39)
Fork
Question # 8 of 15 ( Start time: 05:47:23 PM ) Total Marks: 1
You can use the mv file1 file2 command to move ______
Select correct option:
file1 to file2. (Page No. 27)
file 2 to file 1
this command will not work for moving files
None of the option is correct.
Question # 9 of 15 ( Start time: 05:47:40 PM ) Total Marks: 1
______scheduler selects the process from the job pool and put them in main memory.
Select correct option:
Long term (Page No. 33)
Short term
Medium term
image:
PermalinkReply by+ мυsкαη(sιт)onJune 17, 2015 at 6:33pm
Swapper
Question # 10 of 15 ( Start time: 05:47:56 PM ) Total Marks: 1
A program in execution is called a ______.
Select correct option:
Command
Process (Page No. 12)
Software
Compiler
Question # 11 of 15 ( Start time: 05:48:11 PM ) Total Marks: 1
which is not basic computing hardware?
Select correct option:
CPU
Memory
Compact Disc (Page No. 1)
I/O Devices
Question # 12 of 15 ( Start time: 05:48:49 PM ) Total Marks: 1
OS helps manages the following except
Select correct option:
Application software
Memory
Virtual memory
Bus speed of the system
Question # 13 of 15 ( Start time: 05:49:07 PM ) Total Marks: 1
In system call that creates a pipe for IPC. If one of the operation from read/write would fail then what will be
returned as result?
Select correct option:
-1,+1
-1
1
0
Read more at
CS604 QUIZZ # 1
Attempted on 17 June 2015
System calls provide the interface between a______and the Operating system
User
Machine
Process
Kernel
Bounded Buffer is a buffer of ______size
Variable
Fixed
In system call thatcreatesa pipe for IPC. If one of the operation from read/write would fail then what will be returned as result?
-1,+1
-1
1
0
The correct command for compiling C program named program.c in Linux environment is:
gcc program.c –o FirstPrgram
gcc –o FirstProgram program.c
gcc –z FirstProgram program.c
gcc program.c –m FirstPrgram
A signal is an event generated to get attention of
Hard disk
Process
Trap
Interrupts
InUnix/Linux ------are used for clientservercommunication to pass data between aserverprocess and client processes.
FIFO
LIFO
Read()
Write()
If your processor does not have two slots empty in Per Process FileDescriptorTable, then your ______system call will fail.
Pipe
Read
Write
Open
A program in execution is called a ______.
Command
Process
Software
Compiler
______is also called Swapper.
Long term
Short term
Medium term
Swap space
While using the read/write system call whichdata typeis use to return the size of file to buffer from filedescriptorfd?
Pipefd
SIZE_MAX
FIFO
Ssize_t
______is used to request the OS by the process to take an I/O or initiating child process.
System call
Interrupt
Trap
Signal
image:
PermalinkReply by♥ Rising STAR ღ❤onJune 17, 2015 at 8:21am
_____ system call is used to write to a file or FIFO or any other IPC channel.
read
write
open
fork
image:
PermalinkReply by♥ Rising STAR ღ❤onJune 17, 2015 at 8:22am
You can use the rm file1 command to ______file1.
retrieve
remove
make
modify
image:
PermalinkReply by♥ Rising STAR ღ❤onJune 17, 2015 at 8:22am
______scheduler selects the process from the job pool and put them in main memory.
Long term
Short term
Medium term
Swapper
image:
PermalinkReply by♥ Rising STAR ღ❤onJune 17, 2015 at 8:22am
The manual pages can be read in Linux using ____ command.
man
wan
desc
help
image:
PermalinkReply by♥ Rising STAR ღ❤onJune 17, 2015 at 8:22am
The major advantage of multi-programming system is:
More than one jobs can be processed at a given time
CPU utilization can be increases
Jobs can be completed quickly
All of the options are correct
image:
PermalinkReply by♥ Rising STAR ღ❤onJune 17, 2015 at 8:23am
______command is used to change the directory.
ls
cp
cd
mv
image:
PermalinkReply by♥ Rising STAR ღ❤onJune 17, 2015 at 8:23am
Using ______system, we can create a new process in Linux.
fork
exec
wait
exit
image:
PermalinkReply by♥ Rising STAR ღ❤onJune 17, 2015 at 8:23am
Given bellow two statements can be categorized in some sort of message passing techniques. This type is named as ______. • Send (A, message) • Receive (B, message)
Synchronization
Direct communication
Explicit buffering
Send by copy commuincation
image:
PermalinkReply by♥ Rising STAR ღ❤onJune 17, 2015 at 8:23am
Pipes simply used on the command line to connect the standard input of one process to the standard input of another. Which of the following syntax is correct use of command line Linux /UNIX pipes?
cmd1 % cmd2% …………... %cmdN
cmd1 | cmd2 | …………... | cmdN
cmd1 $ cmd2 $ …………... $ cmdN
cmd1 & cmd2 & …………...& cmdN
image:
PermalinkReply byzahid mahboobonJune 17, 2015 at 3:04pm
Swapper is also termed as Short term scheduler.
► True
►False
image:
PermalinkReply byzahid mahboobonJune 17, 2015 at 3:06pm
You can display the contents (names of files and directories) of a directory in UNIX/Linux directory structurewith the ------command.
►ll
► s
► ls(Page 28)
► none of the given options
A time sharing system is
► Multi tasking
► Interactive
► Multi user
► All of these
image:
PermalinkReply byzahid mahboobonJune 17, 2015 at 3:07pm
The Operating system is a layer of software between ______and ______.
►hardware, software application (Page 21)
► Kernel, hardware
► Dos, Windows
► Windows, Kernel
image:
PermalinkReply byzahid mahboobonJune 17, 2015 at 3:08pm
Taking the CPU from one process and giving the CPU to another process is termed as
►Context Switching click here for detail
► Dispatching
► Swapping
► Tracking
image:
PermalinkReply byzahid mahboobonJune 17, 2015 at 3:09pm
When a process opens its first file explicitly it will get descriptor number ______
► 1
► 2
►3
► 4
image:
PermalinkReply byzahid mahboobonJune 17, 2015 at 3:10pm
The major advantage of multi-programming system is:
More than one jobs can be processed at a given time
CPU utilization can be increases
Jobs can be completed quickly
All of the options are correct
image:
PermalinkReply byzahid mahboobonJune 17, 2015 at 3:11pm
If your processor does not have two slots empty in Per Process File Descriptor Table, then your ______system call will fail.
Pipe
Read
Write
Open
image:
PermalinkReply byzahid mahboobonJune 17, 2015 at 3:11pm
In Unix/Linux ------are used for client server communication to pass data between a server process and client processes.
FIFO
LIFO
Read()
Write()
The process of switching from one process to another is called ------. ►Context switching (page 31)
► scheduling
► quantum period
► latency
______directory includes essential system boot files including the kernel image.
► /bin
► /boot (page 23)
► /dev
► /etc
The manual pages can be read in Linux using ____ command.
► man (Page 24)
► wan
► desc
► help
You can display the contents (names of files and directories) of a directory in UNIX/Linux directory structure with the ------command.
►ll
► s
► ls (Page 25)
► none of the given options
image:
PermalinkReply by°ƻαɦɤα°onNovember 20, 2014 at 9:45pm
A time sharing system is
► Multi tasking
► Interactive
► Multi user
► All of these (Page 6)
image:
PermalinkReply by°ƻαɦɤα°onNovember 20, 2014 at 9:45pm
The main characteristic of a Real time system is
► Efficiency
► Large Virtual Memory
► Large secondary storage device
► Usability
image:
PermalinkReply by°ƻαɦɤα°onNovember 20, 2014 at 9:50pm
______scheduler selects the process from the job pool and put them in main memory.
► Long term (Page 33)
► Short term
► Medium term
► Swapper
______is also called Swapper.
► Swap space
► Medium term scheduler (Page 34)
► Short term scheduler
► Long term scheduler
image:
PermalinkReply by°ƻαɦɤα°onNovember 20, 2014 at 9:55pm
Command-line interpreter is also called ______in some operating systems.
►Kernel
►Shell (Page 13)
►Signal
You can use the mv file1 file2 command to move ______
►file1 to file2. (Page 27)
►file 2 to file 1
►this command will not work for moving files
►None of the option is correct.
►Both option a and b are correct
Taking the CPU from one process and giving the CPU to another process is termed as
►Context Switching (page 31)
►Dispatching
►Swapping
►Tracking
A Process that has finished working, as well as its parent process has also finished its execution. In this state the process A will be called as ______process.
►Child
►Thread
►Zombie
►Fork
My Today Quiz
1. Kernel is responsible for scheduling the user level threads.
True
False
2. The problem with priority scheduling algorithm is ______.
Deadlock
Starvation
Aging
Nice value
3.______command displays the contents of current working directory.
Ls
CS
Mv
CP
4. When processes are generated using fork () system call and then after that they are coordinated with each other using IPC channel. They are utilizing a separate address space for each of process (parent, child),, kernel resources and IPC channel. This makes it a more heavy. Which strategy can be used to make it light?
Termination of child process when these become more
Scheduling of each process
Use of threads
Use of threads
5. Which could not be the advantage of thread?
Separate address space
Quick response
Economical
Best in multiprocessing environment
6. In process management, some of the jobs can be suspended for some time in order to give other jobs a chance to be in execution. Which command can be used to place back a suspended program?
fg
top
ps
bg
7. Swapper is also termed as Short term scheduler.
True
False
8. The procedure “The time at which the process finished working MINUS the arrival time of the process MINUS CPU burst for that process” will help calculate the ______.
Non-primitive shortest scheduling
Preemptive job first scheduling
FCFS
RR scheduling
9. thread that is not executed for servicing a request by a user thread .It is named as ------.
EINVAL
EAGAIN
LWP
POSIX
10. Linux OS can support multiple users at a time
TRUE
FALSE
1. ______COMMAND DISPLAYS THE CONTENTS OF CURRENT WORKING DIRECTORY.
A.ls
B.cs
C.mv
A.Right Answer
2. ______IS USED TO REQUEST THE OS BY THE PROCESS TO TAKE AN I/O OR INITIATING CHILD PROCESS.
A.System call
B.Interrupt
C.Trap
D.Signal
ARight Answer
3. LINUX USES ______DIRECTORY TO STORE SYSTEM CONFIGURATION FILES.
A./bin
B./dev
C./boot
D./etc
D.Right Answer
4. YOU CAN USE THE MV FILE1 FILE2 COMMAND TO MOVE ______
A.file1 to file2.
B.file 2 to file 1
C.this command will not work for moving files
D.None of the option is correct.
A.Right Answer
5. ______COMMANDS IN LINUX IS USED TO COPY FILE
A.ls
B.cp
C.mv
D.mkdir
BRight Answer
6. USER MODE CAN RUN THE PRIVILEGED INSTRUCTIONS.
A.1
B.0
A.Right Answer
7. A PARENT PROCESS CALLING ______SYSTEM CALL WILL BE SUSPENDED UNTIL CHILDREN PROCESS TERMINATES.
A.wait
B.fork
C.exit
D.exec
A.Right Answer
8. IF YOUR PROCESSOR DOES NOT HAVE TWO SLOTS EMPTY IN PER PROCESS FILE DESCRIPTOR TABLE, THEN YOUR ______SYSTEM CALL WILL FAIL.
A.Pipe
B.Read
C.Write
D.Open
A.Right Answer
9. THE MANUAL PAGES CAN BE READ IN LINUX USING____ COMMAND.
A.man
B.wan
C.desc
D.help
A.Right Answer
10. ______DIRECTORY INCLUDES ESSENTIAL SYSTEM BOOT FILES INCLUDING THE KERNEL IMAGE.
A./bin
B./boot
C./dev
D./etc
B.Right Answer
11. SWAPPER IS ALSO TERMED AS SHORT TERM SCHEDULER.
A.1
B.0
A.Right Answer
12. FIRST ______ENTRIES IN PER PROCESS FILE DESCRIPTOR TABLE ARE USED AS SOON AS THE PROCESS IS CREATED.
A.1
B.2
C.3
D.4
D.Right Answer
13. THE NUMBER OF PROCESSES COMPLETEDPER UNIT TIME IS CALLED ______.
A.Turn around time
B.ThroughputCorrect
C.Response time
D.Dispatch latency
B.Right Answer
14. COMMAND-LINE INTERPRETER IS ALSO CALLED ______IN SOME OPERATING SYSTEMS.
A.KernelWrong
B.Shell
C.Signal
D.API
B.Right Answer
15. ______DISPLAYSINFORMATION ABOUT THE TOP PROCESSES.
A.ls
B.csWrong
C.top
D.cd
C.Right Answer
My today quiz CS604
1. The process id returned to the child process after successful fork system call execution is ______.
2. ______command is used to change the directory.
3. ______is used to request the OS by the process to take an I/O or initiating child process.
4. When process opens its first file explicitly it will get descriptor number ______
5. If your processor does not have two slots empty in Per Process File Descriptor Table, then your ______system call will fail.
6. You can use the rm file1 command to ______file1.
7. The basic purpose of ______is to help the users to utilize the hardware resources for completing different tasks in a simplified manner.
8. In Unix/Linux ------are used for client server communication to pass data between a server process and client processes.
9In Unix/ Linux, by default the standard output file is attached to the ______
Question # 1 of 10 ( Start time: 09:27:15 AM ) Total Marks: 1
The basic purpose of ______is to help the users to utilize the hardware resources for completing different tasks in a simplified manner.
Select correct option:
Operating system
Application software
All Software
All of the given
Question # 2 of 10 ( Start time: 09:28:40 AM ) Total Marks: 1
Using ______system, we can create a new process in Linux.
Select correct option:
fork
exec
wait
exit
Question # 3 of 10 ( Start time: 09:30:06 AM ) Total Marks: 1
______command displays the contents of current working directory.
Select correct option:
ls
cs
mv
cp
Question # 4 of 10 ( Start time: 09:31:33 AM ) Total Marks: 1
Which part of the computer system helps in managing the file and memory management system?
Select correct option:
Operating System
Device Drivers
Application Software
Hardware
Question # 5 of 10 ( Start time: 09:32:36 AM ) 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
Question # 6 of 10 ( Start time: 09:33:54 AM ) Total Marks: 1
Linux OS can support multiple users at a time
Select correct option:
True
False
Question # 7 of 10 ( Start time: 09:34:50 AM ) Total Marks: 1
______is used to request the OS by the process to take an I/O or initiating child process.
Select correct option:
System call
Interrupt
Trap
Signal
Question # 8 of 10 ( Start time: 09:36:09 AM ) Total Marks: 1
In system call that creates a pipe for IPC. If one of the operation from read/write would fail then what will be returned as result?
Select correct option:
-1,+1
-1
1
0
Question # 9 of 10 ( Start time: 09:37:04 AM ) Total Marks: 1
______command is used to change the directory.
Select correct option:
ls
cp
cd
mv
Question # 10 of 10 ( Start time: 09:37:49 AM ) Total Marks: 1
______commands in Linux is used to copy file
Select correct option:
ls
cp
mv
mkdir
A&R QUIZZES LATEST DECEMBER,2015
1. If your processor does not have two slots empty in Per Process File Descriptor
Table, then your ______system call will fail.
Pipe
read
write
open
2. The basic purpose of ______is to help the users to utilize the
hardware resources for completing different tasks in a simplified manner.
Operating system
application software
All Software
all
commands in Linux helps to create a new directory.
is
cp
mv
mkdir
______is used to request the OS by the process to take an I/O or initiating child
process.
System call
interrupt
trap
signal
?
3. In which of the following system multiple users are allowed to use the computer
simultaneously? Select correct option:
Single user
Two users
Three users
Multi users
4. Command-line interpreter is also called ______in some operating systems.
Select correct option:
Kernel
Shell
Signal