Quiz
OPSYS MST Quiz
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (93)
1Which statements describes a process that is currently in the ready state?
- AThe process is currently using the CPU at that instant
- BThe process is runnable, but is waiting in a queue
- CThe process is unable to run until some external event happens
- DThe process no longer has an entry in the process table
2Which statements describes a process that is currently in the running state?
- AThe process is currently using the CPU at that instant
- BThe process is runnable, but is waiting in a queue
- CThe process is unable to run until some external event happens
- DThe process no longer has an entry in the process table
3Which statements describes a process that is currently in the waiting state?
- AThe process no longer has an entry in the process table
- BThe process is currently using the CPU at that instant
- CThe process is runnable, but is waiting in a queue
- DThe process is unable to run until some external event happens
4Which statements describes a process that is currently in the termination state?
- AThe process is currently using the CPU at that instant
- BThe process is runnable, but is waiting in a queue
- CThe process is unable to run until some external event happens
- DThe process no longer has an entry in the process table
5Which one of the following statements is NOT TRUE about a program?
- AA program is an application written by software programmer
- BPrograms are stored inside secondary storage such as a hard disk or cd-rom
- CA program uses up main memory and CPU time
- DA program consists of one or more files
6Explain the term batch processing when applied to operating systems.
- AThe process of placing data in a temporary working area for another programs to process
- BIf refers to executing a series of non-interactive jobs one at a time until completion
- CWhen a job's assigned time slice comes to an end, the operating system suspends the job execution and another job starts running
- DIt is the method where multiple tasks are performed during the same time period
7The part of the operating system that manages the RAM space is called the
- AProcess manager
- BMemory manager
- CFiles and secondary storage manager
- DI/O device manager
- EUser interface manager
8The part of the operating system that manages the modem, video card and printer is called the
- AProcess manager
- BMemory manager
- CFiles and secondary storage manager
- DI/O device manager
- EUser interface manager
9The part of the operating system that manages the processes and scheduling in CPU is called the
- AProcess manager
- BMemory manager
- CFiles and secondary storage manager
- DI/O device manager
- EUser interface manager
10The part of the operating system that manages the hard disk and cd-rom is called the
- AProcess manager
- BMemory manager
- CFiles and secondary storage manager
- DI/O device manager
- EUser interface manager
11A CPU is currently executing 2 processes. The CPU utilization rate is 40%. Assuming that each process takes 2 time units to complete, how long does it take to complete both processes assuming an equal time-share of the CPU?
- A2 time units
- B4 time units
- C10 time units
- D20 time units
12A process that is terminated due to anticipated missing file in Linux is known as
- ANormal exit (voluntary)
- BError exit (voluntary)
- CFatal error (involuntary)
- DKilled by another process (involuntary)
13Which statement below DOES NOT describe a computer process?
- AA process is a sequence of instructions stored in secondary storage for the computer to follow.
- BA process is a program in execution.
- CA process is an instance of a running program.
- D A process consists of machine instructions, data area, stack and the machine registers it is using.
14The entries in a Process Control Block (PCB) does not include
- AProcess management
- BMemory management
- CFile management
- DI/O management
15If you kill the parent process, you will also kill the child process.
- ATrue
- BFalse
16If you kill the child process, you will also kill the parent process.
- ATrue
- BFalse
17Which is NOT true about multi-tasking processes with a single CPU?
- AA single processor (CPU) may be shared with several processes
- BMultiple programs are running at the same time
- CCPU switches back-and-forth from process to process (very fast)
18Which is true for cooperative multi-tasking?
- AProcess works through timeslot until request to release or continue
- BEach process is give a timeslot, when time is up, process switches. However if important task is required, process still switches.
19Which is true for preemptive multi-tasking?
- AProcess works through timeslot until request to release or continue
- BEach process is give a timeslot, when time is up, process switches. However if important task is required, process still switches.
20A minicomputer is a __________ generation computer system.
- AFirst
- BSecond
- CThird
- DFourth
21Comparing the four computer systems below, which is the one that has been first used and deployed as earliest computer generation?
- AMainframe
- BIBM PC
- CApple I
- DMicrosoft PC
22A Microsoft XBox and a Sony Playstation 2 is considered as what type of computer system?
- APC
- BServer
- CA game console
23The interface between the user and the applications is the
- AAPI
- BUI
- CGUI & API
- DOS
24Which of the following devices below is not an input device?
- APrinter
- BMouse
- CMonitor
- DKeyboard
25Which key(s) does the bash shell use to speed typing of commands and filename by filling or suggesting possible choices?
- ACtrl+D
- BCtrl+N
- CTAB
- DCtrl+Z
26Which of the following command lines would redirect the file content of /etc/hosts into the file /tmp/hosts.txt?
- Acat /etc/hosts > /tmp/hosts.txt
- Bgedit /tmp/hosts.txt
- Ccp /etc/hosts /tmp/hosts.txt
27Using the information provided below, which of the following commands could blondie use to view the contents of the file spam?
[blondie@station blondie]$ pwd
/home/blondie
[blondie@station blondie]$ ls
Mail README
[blondie@station blondie]$ ls Mail
received sent spam- Atouch /home/blondie/Mail/spam
- Bcp /home/blondie/Mail/spam
- Ctype spam
- Dtype Mail/spam
- Ecat spam
- Fgedit ./spam
28Which of the following is the default Red Hat Enterprise Linux shell?
- A/
- B/bin/bash
- C/etc/host
- D/temp
29Which of the following can be used to view the info page on the find command?
- Ainfo find
- Bpinfo find
- Cyelp (The GNOME help browser)
- DAll of the answers
30Which of the following control sequences suspends the foreground process?
- ACTRL-Z
- BCTRL-C
- CCTRL-D
- DCTRL-Q
31If you typed "cat -A /etc/services", What is the role of "-A"?
- AThe command
- BAn argument to the command
- CA command line switch
- DAn argument to a command line switch
32Which of the following commands lists users currently logged onto a Linux system?
- Awho
- Blogin
- Clogon
- Duser
33The part of the operating system that manages the printer, network card and modem is called the __________.
- AProcess manager.
- BMemory manager.
- CFiles and storage manager.
- DI/O device manager.
34Which of the following statements below is NOT correct?
- AAn operating system manages all the hardware devices of the computer system.
- BAn operating system provides users and programs with a simpler interface to the hardware.
- CAn operating system manages the client databases and SQL requests.
- DAn operating system is a resource manager and decides which program gets to use the resource.
35The part of the operating system that manages the hard disk is called the __________.
- AProcess manager.
- BMemory manager.
- CFiles and secondary storage manager.
- DI/O device manager.
36Linux is a __________ operating system.
- ASingle-user, single-tasking.
- BMulti-user, single-tasking.
- CMulti-user, multi-tasking.
- DSingle-user, multi-tasking.
37Name the two interfaces that a firmware programmer will be using for his work.
- AUser interface and Application Programming Interface.
- BUser interface and Device Driver Interface.
- CHardware interface and device driver interface.
- DApplication Programming Interface and Device Driver Interface.
38An operating system controls all of the hardware.
- ATrue
- BFalse
39The operating system gives you a user interface to control hardware
- ATrue
- BFalse
40The operating system is another name for CPU
- ATrue
- BFalse
41Apple is a user interface that the operating system can use
- ATrue
- BFalse
42The operating system can't multi task
- ATrue
- BFalse
43Samsung is an operating system
- ATrue
- BFalse
44Apple is an operating system
- ATrue
- BFalse
45Mac OS is an operating system
- ATrue
- BFalse
46Operating managers control various things such as memory
- ATrue
- BFalse
47Operating systems cant control output peripherals
- ATrue
- BFalse
48The operating system can send files by itself
- ATrue
- BFalse
49What are the 4 basic functions of a operating system?
- AHardware access
- BFile and Folder management
- CApplication Management
- DUser interface
- EGraphical
50Which of the following commands could be used to create a empty newfile in /tmp?
- Atouch /newfile
- Btouch /tmp/newfile
- Ctouch ~/newfile
- Dtouch ../tmp/newfile
51Which command creates a new, empty directory?
- Amd
- Bmkdir
- Ctouch -d
- Dnewdir
52If /home/student is the home directory of student, then the command rm /home/student will
- Aremove all files in the directory
- Bdelete the directory from the filesystem
- Cdelete the student user account
- Dproduce an error message
53/bin and /usr/bin contain the same files.
- ATrue
- BFalse
54Configuration files that customize each user's account are placed in /etc/users
- ATrue
- BFalse
55In which mode can the CPU execute only a subset of the instruction set and a subset of the features to be accessed?
- ASupervisor mode
- BUser mode
- CKernel mode
- DSystem mode
56Which of the following technologies is least used as a bus for a personal computer today?
- APCI
- BISA
- CAGP
- DUSB
57A ___________ runs in the kernal mode
- AUI
- BLibrary
- CSoftware Application
- DOS
58Which of the following components in the memory hierarchy has the largest storage space or capacity?
- ARegisters
- BLevel 2 Cache
- CMain memory
- DHard disk
59Which of the following companies do not make and sell central processing units (CPUs) for the desktop personal computers?
- AIntel
- BAdvanced Micro Devices (AMD)
- CSeagate Technologies
- DARM Holdings (ARM)
60Which of the following statements is not true about a program?
- AA program is application written by software programmer and can be used by a normal user or a system administrator.
- BPrograms are stored inside secondary storage such as hard disk, cd-rom or a floppy disk.
- CA program uses up main memory and CPU time.
- DA program consists of one or more files.
61Which of the following statements below is not true about a thread?
- AThreads are the entities scheduled for execution on the CPU.
- BOne or more processes run inside a thread.
- CThreads are mini-versions of processes and are sometimes called lightweight processes.
- DEach thread will have its own private items which are its program counter, it register contents, its stack and its state.
62Which of the following statements most accurately describes a process that is currently in the ready state?
- AThe process is currently using the CPU at that instant.
- BThe process is runnable, but is waiting in a queue.
- CThe process is unable to run until some external event happens.
- DThe process no longer has an entry in the process table.
63There are four users currently using a multi-user, multi-tasking operating system on a personal computer. User ChewKit has 3 processes running on the system, while users AhBeng, Muthu and Faridah have 4, 1 and 2 processes running respectively. If lottery scheduling is used with each user treated equally, and there are a total of 100 lottery tickets, what is the number of lottery tickets given to each user?
- AChewKit (25 tickets), AhBeng (25 tickets), Muthu (25 tickets), Faridah (25 tickets)
- BChewKit (30 tickets), AhBeng (40 tickets), Muthu (10 tickets), Faridah (20 tickets)
- CChewKit (20 tickets), AhBeng (10 tickets), Muthu (40 tickets), Faridah (30 tickets)
- DChewKit (100 tickets), AhBeng (0 tickets), Muthu (0 tickets), Faridah (0 tickets)
64Which of the statements below is not true regarding scheduling in batch systems?
- AThe process scheduler in a batch system consists of four different components, i.e. the routing scheduler, the admission scheduler, the memory scheduler and the CPU scheduler.
- BThe admission scheduler decides which jobs to admit to the system.
- CThe memory scheduler determines which processes are kept in memory and which on the disk.
- DThe CPU scheduler picks on of the ready processes in the main memory to run next.
65Use the output form the following command to answer the following question.
[student@station grps]$ ls -l
-rw-rw---- 1 ventura wrestle 2027 May 9 07:38 antics
-rw------- 1 ventura ventura 126 May 9 07:40 donors
-rw-rw-r-- 1 madonna madonna 138 May 9 07:38 playlist
-rw-rw-r-- 1 ventura wrestle 29 May 9 07:38 slogans
Which users on the system can modify the permissions on the file slogans?- Amodonna
- Ball members of the group wrestle
- Cany valid user on the system
- Dall members of the group music
66Which permission represents the octal notation 644?
- A-w--w-rw-
- B--x--x-wx
- Cr-xr--r--
- Drw-r--r--
67Which best describes why the /etc/passwd must be readable by all users?
- ASo users can easily lookup forgotten passwords.
- BBecause the file contains passwords, it should not be world readable.
- CSo that processes can associate usernames with kernel provided userid owners of files, processes, and other resources.
- DSo that users may change their login shell, if they choose to do so.
68Which invocation of the id command lists all group memberships by name?
- Aid -g
- Bid -gn
- Cid -G
- Did -Gn
69Use the output of the following commands to answer the question below.
[student@station student]$ tail /etc/passwd
sleepy:x:507:507::/home/sleepy:/bin/bash
grumpy:x:509:509::/home/grumpy:/bin/bash
doc:x:510:510::/home/doc:/bin/bash
ventura:x:511:511::/home/ventura:/bin/bash
hogan:x:512:512::/home/hogan:/bin/bash
pataki:x:513:513:/home/pataki:/bin/bash
einstein:x:514:514::/home/einstein:/bin/bash
maxwell:x:515:515::/home/maxwell:/bin/bash
nero:x:516:516::/home/nero:/bin/bash
julius:x:517:517::/home/julius:/bin/bash
[student@station student]$ cat /etc/group
...
wrestle:x:201:ventura,hogan,elvis
physics:x:202:einstein,maxwell,elvis
emperors:x:203:nero,julius,elvis
governor:x:204:ventura,pataki
music:x:205:elvis,blondie,prince,madonna
dwarfs:x:206:sleepy,grumpy,doc
...
hogan:x:512:
pataki:x:513:
einstein:x:514:
maxwell:x:515:
nero:x:516:
julius:x:517:
Which of the following groups is elvis not a member of?- Aphysics
- Bwrestle
- Cmusic
- Ddwarfs
70The configuration files that customize each user's account are placed in __________.
- A/etc/hosts
- B/bin/bash
- C/usr/bin
- D/etc/passwd
- E/usr
- F/etc/users
71Which OS makes the user aware of other computers on a network?
- ATime-sharing OS
- BMulti-tasking OS
- CReal-time OS
- DNetwork OS
72Which of the following systems is used in an intelligent home entertainment system that is network aware?
- ANetwork OS
- BReal-time OS
- CDistributed OS
- DEmbedded OS
73What is the fifth generation of computer?
- Aminicomputers
- Bmobile computers
- Cpersonal computers
- Dultracomputers
- Emicrocomputers
- Fcalculator
74Which control sequence is used to terminate a currently running process?
- ACrtl-C
- BCrtl-Z
- CCrtl-D
- DCrtl-S
- ECrtl-Q
- FCrtl+N
75Which control sequence is used to suspend a program?
- ACrtl+Z
- BCrtl+C
- CCrtl+D
- DCrtl+Q
- ECrtl+S
- FCrtl+N
76Which control sequence is used to activate a frozen screen?
- ACrtl+C
- BCrtl+S
- CCrtl+Q
- DCrtl+Z
- ECrtl+N
- FCrtl+D
77Which control sequence is used to send an "End of Transmission" to a process?
- ACrtl+C
- BCrtl+D
- CCrtl+Z
- DCrtl+N
- ECrtl+Q
- FCrtl+S
78Which control sequence is used to freeze a screen?
- ACrtl+C
- BCrtl+S
- CCrtl+Z
- DCrtl+Q
- ECrtl+D
- FCrtl+N
79Which symbol is used to redirect the output?
- A>
- B$
- C#
- D.
- E..
- F=
- G/
80Which file is used to store general user information?
- A/etc/passwd
- B/etc/shadow
- C/etc/hosts
- D/usr
81Which file is used to store user's password information?
- A/etc/passwd
- B/etc/shadow
- C/usr
- D/etc/hosts
82/etc/sysconfig/network is NOT used to specify information about the desired network configuration.
- ATrue
- BFalse
83Which is the function of /etc/hosts?
- Ato map hostnames to IP address
- Bto show who logon to the system
- Cto show only the hostnames
84/temp is a used to hold temporary files.
- ATrue
- BFalse
85Windows CE has real time capabilities, so it is a Real-time OS.
- ATrue
- BFalse
86MINIX is using Distributed Operating System.
- ATrue
- BFalse
87Which of the following is supported by Windows 7 operating system? (Select all applicable)
- Abatch processing
- Bspooling
- Ctune slice operations
- Dmulti-tasking
88Which of the following can be done by using Windows 7 operating system?
- ACMD line batch file
- Bsend queuing jobs to a printer
- Crun several GUI applications
- Drun multiple programs at the same time
- Erun multiple tasks at the same time
89Select all that is related to 4th generation computer.
- AMinicomputers
- BPersonal Computers & Workstations
- CMulti-user & Multi-tasking
- DSingle-user & Multi-tasking
- EVacuum Tubes
- FTransistors
- GIntegrated Circuits
- HVery Large Scale Integration (VLSI)
- IBatch Processing Systems
- JMobile Computers
90Which is used to display all processes running in the system?
- Aps
- Bps a
- Cps aux
- Dls -a
- Els -alh
91_________ is used to console attached process.
- Aps
- Bps a
- Cps aux
- Dcat
- Egedit
92Which of the following is used to give up the CPU to let another thread run?
- Athread_wait
- Bthread_yield
- Cthread_exit
- Dthread_create
93A single processor system can have no processes in the ready queue.
- ATrue
- BFalse
Information
- Description
- 2015/16 Sem 1 SP2013-2016 - 2015/16 Sem 1 (OPSYS) Quiz on OPSYS MST Quiz, created by Charlene Chang on 31/05/2015.
- Author
- Charlene Chang
- Language
- English
- Views
- 37
- Tags
- Rating
- No ratings yet Rate this quiz