Assertions are conditions which are true at the point of execution A Always B Sometimes C Many times D No time Answer A ___________________________________________________________________________________________ Top down approach is used for
A Development
B Identification of faults C Testing and validation D Reverse engineering
Answer A
___________________________________________________________________________________________ The first item defined for a new system is its
A Storage B Outputs C Inputs D Processing Answer B ___________________________________________________________________________________________ Software engineering primarily aims on
A reliable software B cost effective software
C reliable and cost effective software D none of the above
Answer C
___________________________________________________________________________________________ Output comparators are used in
A Static testing of single module B Dynamic testing of single module
C Static testing of single and multiple module D Dynamic testing of single and multiple module
Answer D
___________________________________________________________________________________________ The feature of the object oriented paradigm which helps code reuse is
A Object B Class C Inheritance D Aggregation Answer C ___________________________________________________________________________________________
A key concept of quality control is that all work products A Are delivered on time and under budget
B Have complete documentation
C Have measurable specification for process outputs D Are thoroughly tested before delivery to the customer
Answer C
___________________________________________________________________________________________ What are the three generic phases of software engineering?
A Definition, development, support B What, how, where
C Programming, debugging, maintenance D Analysis, design, testing
Answer A
___________________________________________________________________________________________ Coupling and cohesion can be represented using a
A Cause-effect graph B Dependence matrix C Structure chart D SRS Answer B ___________________________________________________________________________________________ Software feasibility is based on which of the following
A Business and marketing concerns B Scope, constraints, market
C Technology, finance, time, resources D Technical prowess of the developers
Answer C
Which one of the items listed below is not one of the software engineering layers ?
A Process B Manufacturing C Method D Tools Answer B ___________________________________________________________________________________________ FP-based estimation techniques require problem decomposition based on
A Information domain values B Project schedule
C Software functions D Process activities
Answer C
Software deteriorates rather than wears out because A Software suffers from exposure to hostile environments
B Defects are more likely to arise after software has been used often C Multiple change requests introduce errors in component interactions D Software spare parts become harder to order
Answer B
___________________________________________________________________________________________ The worst type of coupling is
A Data coupling B Control coupling C Stamp coupling D Content coupling Answer D ___________________________________________________________________________________________ Function point metric of a software also depends on the
A Number of function needed
B Number of final users of the software C Number of external inputs and outputs
D Time required for one set of output from a set of input data Answer C
___________________________________________________________________________________________ Which of the following is not an attribute of software engineering
A Efficiency B Scalability C Dependability D Usability Answer C ___________________________________________________________________________________________ Which of these is not a characteristic of Personal Software Process?
A Emphasizes personal measurement of work product
B Practitioner requires careful supervision by the project manager C Individual practitioner is responsible for estimating and scheduling D Practitioner is empowered to control quality of software work products
Answer B
Recorded software attributes can be used in the following endeavours : (i) Cost and schedule estimates.
(ii) Software product reliability predictions. (iii) Managing the development process. (iv) No where
A (i) (ii) (iv) B (ii) (iii) (iv) C (i) (ii) (iii) D (i) (ii) (iii) (iv)
Answer C
___________________________________________________________________________________________ A feasibility study should focus on
A Technical feasibility B Economic feasibility C Operational feasibilty D All of these Answer D ___________________________________________________________________________________________ Which is not a size metric?
A LOC
B Function count C Program length
D Cyclomatic complexity Answer D
The level at which the software uses scarce resources is
A Reliability
B Efficiency
C Portability
D All of the above Answer B
___________________________________________________________________________________________ If the objects focus on the problem domain, then we are concerned with
A Object Oriented Analysis B Object Oriented Design
C Object Oriented Analysis & Design D None of the above
Answer A
Which one of the following ISO standard is used for software process? A ISO 9000 B ISO 9001 C ISO 9003 D ISO 9000-3 Answer D ___________________________________________________________________________________________ Software Engineering is a discipline that integrates _________ for the development of computer software.
A Process B Methods C Tools D All Answer D ___________________________________________________________________________________________ What is the first stage in program development ?
A Specification and design B System Analysis
C Testing
D None of the above Answer B
___________________________________________________________________________________________ Pseudocode can replace
A Flowcharts B Structure charts C Decision tables D Cause-effect graphs Answer A ___________________________________________________________________________________________ Modules X and Y operate on the same input and output data, then the cohesion is
A Sequential B Communicational C Procedural D Logical Answer B ___________________________________________________________________________________________ Main aim of software engineering is to produce
A Program
B Software C Within budget
D Software within budget in the given schedule Answer D
IEEE 830-1993 is a IEEE recommended standard for A Software requirement specification
B Software design
C Testing
D Both (A) and (B) Answer A
___________________________________________________________________________________________ CASE Tool is
A Computer Aided Software Engineering B Component Aided Software Engineering C Constructive Aided Software Engineering D Computer Analysis Software Engineering
Answer A
Key process areas of CMM level 4 are also classified by a process which is
A CMM level 2
B CMM level 3
C CMM level 5
D All of the above Answer C
___________________________________________________________________________________________ Applications-software
A is used to control the operating system
B includes programs designed to help programmers C performs a specific task for computer users D all of the above
Answer C
___________________________________________________________________________________________ User interface design involves following issues
A Error message handling B System response time C Command labelling D All of these
Answer D
___________________________________________________________________________________________ Which of the items listed below is not one of the software engineering layers?
A Process B Tools C Methods D Manufacturing Answer D ___________________________________________________________________________________________
Which of the following are advantages of using LOC (lines of code) as a size oriented metric? A LOC is easily computed
B LOC is a language dependent measure C LOC is a language independent measure
D LOC can be computed before a design is completed Answer A
___________________________________________________________________________________________ FAST stands for
A Functional Application Specification Technique B Fast Application Specification Technique C Facilitated Application Specification Technique D None of the above
Answer C ___________________________________________________________________________________________ An object encapsulates A Data B Behaviour C State
D Both Data and behaviour Answer D
___________________________________________________________________________________________ Which of the following statements is true
A Abstract data types are the same as classes B Abstract data types do not allow inheritance C Classes cannot inherit from the same base class D Object have state and behavior
Answer B
___________________________________________________________________________________________ The ISO quality assurance standard that applies to software engineering is
A ISO 9000 B ISO 9001 C ISO 9002 D ISO 9003 Answer B ___________________________________________________________________________________________ The main activity of the design phase of the system life cycle is to
A Replace the old system with new one B Develop and test the new system C Understand the current system
D Propose alternatives to the current system Answer D
In the light of software engineering software consists of A In the light of software engineering software consists of B Data
C Documentation D All of the above
Answer D
___________________________________________________________________________________________ The desired level of coupling is
A No coupling B Control coupling C Common coupling D Data coupling Answer D ___________________________________________________________________________________________ The problem that threatens the success of a project but which has not yet happened is a
A Bug B Error C Risk D Failure Answer C ___________________________________________________________________________________________ The tools that support different stages of software development life cycle are called
A CASE tools B CAME tools C CAQE tools D CARE tools Answer A ___________________________________________________________________________________________ The incremental model of software development is
A A reasonable approach when requirements are well defined
B A good approach when a working core product is required quickly C The best approach to use for projects with large development teams D A revolutionary model that is not used for commercial products
Answer B ___________________________________________________________________________________________ Waterfall model is a A Linear model B Iterative model C Rapid model D Interactive model Answer A ___________________________________________________________________________________________
Which leads to blocking states in which some project team members must wait for the other members of the team to complete dependent tasks?
A Ad hoc approach of prototyping B Iterative nature of spiral model C Linear nature of classic life cycle D None of the above
Answer C
___________________________________________________________________________________________ Many causes of the software crisis can be traced to mythology based on
A Management Myths
B Customer Myths
C Practitioner Myths D All of the above
Answer D
___________________________________________________________________________________________ Prototyping is used to
A test the software as an end product B expand design details
C refine and establish requirements gathering D None of the above
Answer C
___________________________________________________________________________________________ The most important feature of spiral model is
A Requirement analysis B Risk management C Quality management D Configuration management
Answer B
Which phase is not available in software life cycle?
A Coding B Testing C Maintenance D Abstraction Answer D ___________________________________________________________________________________________ Which model is popular for students small projects ?
A Waterfall Model
B Spiral Model
C Quick and Fix model D Prototyping Model
Answer A
Which is the most important feature of spiral model? A Quality management B Risk management C Performance management D Efficiency management Answer B ___________________________________________________________________________________________ Evolutionary software process models
A Are iterative in nature
B Can easily accommodate product requirements changes C Do not generally produce throw away systems
D All of the above Answer D
___________________________________________________________________________________________ Waterfall model is also called
A Classical Life Cycle model B Customer model
C RAD
D Spiral model Answer A
___________________________________________________________________________________________ To which phase of SDLC, in file conversion related?
A System design B System development C System analysis D System implementation Answer D ___________________________________________________________________________________________ The model in which the requirements are implemented by category is
A Evolutionary Development Model B Waterfall Model
C Prototyping
D Iterative Enhancement Model Answer A
___________________________________________________________________________________________ For a data entry project for office staff who have never used computers before (user interface and user-friendliness are extremely important), one will use
A Spiral model
B Component based model C Prototyping
D Waterfall model Answer C
What is an incremental software process model that emphasize an extremely short development cycle? A RAD B Prototyping C Spiral D None of these Answer A ___________________________________________________________________________________________ Which of these terms is a level name in the Capability Maturity Model?
A Ad hoc
B Repeatable
C Reusable
D Organized
Answer C
For a well understood data processing application it is best to use A The waterfall model
B Prototyping model C The evolutionary model D The spiral model
Answer A
___________________________________________________________________________________________ A major defect in waterfall model in software development is that
A The documentation is difficult
B A blunder at ant stage can be disastrous
C A trial version is available at the end of the project D The maintenance of the software is difficult
Answer C
___________________________________________________________________________________________ A COCOMO model is
A Common Cost Estimation Model B Constructive Cost Estimation Model C Complete Cost Estimation Model D Comprehensive Cost Estimation Model
Answer B
___________________________________________________________________________________________ The model remains operative until the software is retired
A Waterfall B Incremental C Spiral D None of these Answer C ___________________________________________________________________________________________
Spiral model begins with A Design B Risk analysis C Coding D Customer communication Answer D ___________________________________________________________________________________________ Which model is simplest model in Software Development ?
A Waterfall model B Prototyping C Iterative D None of these Answer A ___________________________________________________________________________________________ Prototyping is preferred by A Customer B Developer C No one D Both Answer B ___________________________________________________________________________________________ Process models are described as agile because they
A Eliminate the need for cumbersome documentation B Emphasize maneuverability and adaptability
C Do not waste development time on planning activities D Make extensive use of prototype creation
Answer B
___________________________________________________________________________________________ Waterfall model is not suitable for ?
A Small Projects B Complex Projects C Accommodating change D None of Above Answer C ___________________________________________________________________________________________ The formal methods model of software development makes use of mathematical methods to
A Define the specification for computer based systems B Develop defect free computer based systems
C Verify the correctness of computer based systems D All of the above
In the spiral model ‘risk analysis’ is performed A In the first loop
B In the first and second loop C In every loop
D Before using spiral model Answer C
___________________________________________________________________________________________ An SRS
A establishes the basis for agreement between client and the supplier.
B provides a reference for validation of the final product C is a prerequisite to high quality software
D all of the above. Answer D
___________________________________________________________________________________________ The prototyping model of software development is
A A reasonable approach when requirements are well defined
B A useful approach when a customer cannot define requirements clearly C The best approach to use for projects with large development teams D A risky model that rarely produces a meaningful product
Answer B
___________________________________________________________________________________________ The model that assumes that effort and development time are functions of product size alone is
A Basic COCOMO model
B Intermediate COCOMO model C Detailed COCOMO model D All the three COCOMO models
Answer A
___________________________________________________________________________________________ The component based development model is
A Only appropriate for computer hardware design
B Not able to support the development of reusable components C Works best when object technologies are available for support D Not cost effective by known quantifiable software metrics
Answer C
___________________________________________________________________________________________ The COCOMO model was introduced in the book title “Software Engineering Economics” authored by A Abraham Silberschatz B Barry Boehm C C.J. Date D D.E. Knuth Answer B ___________________________________________________________________________________________
The spiral model of software development
A Ends with the delivery of the software product B Is more chaotic than the incremental model
C Includes project risks evaluation during each iteration D All of the above
Answer C
___________________________________________________________________________________________ Prototyping model begin with
A Test prototype
B Coding
C Requirement gathering D None of the above
Answer B
___________________________________________________________________________________________ The concurrent development model is
A Another name for the rapid application development model B Often used for the development of client/server applications C Only used for development of parallel or distributed systems D Used whenever a large number of change requests are anticipated
Answer B
___________________________________________________________________________________________ LOC measure is a
A Size oriented metrics B Function oriented metrics C Both a and b
D None of the above Answer A
Which of these are the 5 generic software engineering framework activities ? A Communication, planning, modelling, construction, deployment
B Communication, risk management, measurement, production, reviewing C Analysis, designing, programming, Debugging, maintenance
D Analysis, planning, designing, programming, testing Answer A
___________________________________________________________________________________________ Modifying the software to match changes in the ever changing environment is called
A Adaptive maintenance B Corrective maintenance C Perfective maintenance D Preventive maintenance Answer A ___________________________________________________________________________________________
Which is not a step of requirement engineering? A Requirements elicitation B Requirements analysis C Requirements design D Requirements documentation Answer C ___________________________________________________________________________________________ The Warnier diagram enables analyst
A to represent information hierarchy in a compact manner B to further identify requirement
C to estimate the total cost involved D None of the above
Answer A
___________________________________________________________________________________________ Requirements can be refined using
A The waterfall model B Prototyping model C The evolutionary model D The spiral model
Answer B
___________________________________________________________________________________________ During which phase ,the requirement analysis is performed?
A System investigation phase B System development phase C System analysis phase D None of the above
Answer C
___________________________________________________________________________________________ The system specification is the first deliverable in the computer system engineering process which does not include
A The system specification is the first deliverable in the computer system engineering process which does not include B Cost C Schedule D Technical Analysis Answer A ___________________________________________________________________________________________
SRD stands for
A Software requirements definition B Structured requirements definition C Software requirements diagram D Structured requirements diagram
Answer B
___________________________________________________________________________________________ If every requirement can be checked by a cost-effective process, then the SRS is
A Verifiable B Traceable C Modifiable D Complete Answer A ___________________________________________________________________________________________ Structured charts are a product of
A Requirements gathering B Requirements analysis C Design
D Coding Answer C
If every requirement stated in the Software Requirement Specification (SRS) has only one interpretation, SRS is said to be A Correct B Unambiguous C Consistent D Verifiable Answer B ___________________________________________________________________________________________ If a program in its functioning has not met user requirements is some way, then it is
A An error B A failure C A fault D A defect Answer D ___________________________________________________________________________________________ Capability Maturity Model is meant for
A Product
B Process
C Product and Process D None of the above
Answer B
Which design model is analogous to the detailed drawings of the access points and external utilities for a house? A Architectural design B Component-level design C Data design D Interface design Answer D ___________________________________________________________________________________________ Which of the following models can be used to represent the architectural design of a piece of software?
A Dynamic models B Functional models C Structural models D All of these Answer D ___________________________________________________________________________________________ Design phase will usually be
A top-down B bottom-up C random D centre fringing Answer A ___________________________________________________________________________________________ In a function oriented design, we
A minimize cohesion and maximize coupling B maximize cohesion and minimize coupling C maximize cohesion and maximize coupling D minimize cohesion and minimize coupling
Answer B
___________________________________________________________________________________________ Content design is conducted by
A Copywriters and graphic designer B Web engineers
C Both a and b D None of the above
Answer C
___________________________________________________________________________________________ Top-down design does not require
A step-wise refinement B loop invariants C flow charting D modularity Answer B ___________________________________________________________________________________________
Design phase will usually be A Top down B Bottom up C Random D Centre fringing Answer A
Which of the following is not a characteristics common to all design methods? A Configuration management
B Functional component C Notation quality assessment D Guidelines refinement heuristics
Answer A
___________________________________________________________________________________________ The importance of software design can be summarized in a single word
A Accuracy B Complexity C Efficiency D Quality Answer D ___________________________________________________________________________________________ In object oriented design of software , objects have
A Attributes and names only B Operations and names only C Attributes, name and operations D None of above
Answer C
___________________________________________________________________________________________ Which design is analogous to the floor plan of a house?
A Architectural design B Component-level design C Data design D Interface design Answer A ___________________________________________________________________________________________ Data structure suitable for the application is discussed in
A Data design B Architectural design C Procedural design D Interface design Answer A ___________________________________________________________________________________________
The approach to software testing is to design test cases to A Break the software
B Understand the software
C Analyze the design of sub processes in the software D Analyze the output of the software
Answer D
___________________________________________________________________________________________ Alpha and Beta Testing are forms of
A Acceptance testing B Integration testing C System Testing D Unit testing Answer A ___________________________________________________________________________________________ “Black” refers in the “Black-box” testing means
A Characters of the movie “Black” B I / O is hidden
C Design is hidden D Users are hidden
Answer C
___________________________________________________________________________________________ Regression testing is primarily related to
A Functional testing B Data flow testing C Development testing D Maintenance testing
Answer D
___________________________________________________________________________________________ White box testing, a software testing technique is sometimes called
A Basic path B Graph Testing C Dataflow
D Glass box testing Answer D
While unit testing a module, it is found that for a set of test data, maximum 90% of the code alone were tested with a probability of success 0.9. The reliability of the module is
A Atleast greater than 0.9 B Equal to 0.9
C Atmost 0.81 D Atleast 1/0.81
Answer C
What are the testing levels? A Unit testing
B Integration testing
C System testing and acceptance D All of the above
Answer D
___________________________________________________________________________________________ Function testing is known as
A Structural testing B Behavior testing C Regression testing D None of these Answer B ___________________________________________________________________________________________ The main purpose of integration testing is to find
A Design errors B Analysis errors C Procedure errors D Interface errors Answer D ___________________________________________________________________________________________ Which of the following graph theoretic concept will be useful in software testing?
A Cyclomatic number B Hamiltonian circuit C Eulerian cycle D None of the above
Answer A
___________________________________________________________________________________________ A non functional software testing done to check if the user interface is easy to use and understand
A Usability testing B Security testing
C Unit testing
D Black box testing Answer A
___________________________________________________________________________________________ One of the fault base testing techniques is
A Unit testing B Beta testing C Stress testing D Mutation testing Answer D ___________________________________________________________________________________________
OPERATING SYSTEM A fault simulation testing technique is
A Mutation testing B Stress testing C Black box testing D White box testing
Answer A
___________________________________________________________________________________________ The testing that focuses on the variables is called
A Black box testing B White box testing C Data variable testing D Data flow testing
Answer A
___________________________________________________________________________________________ Which of the following testing methods is normally used as the acceptance test for a software system? A Regression testing
B Integration testing C Unit testing D Functional testing
Multiprogramming systems
A Are easier to develop than single programming systems B Execute each job faster
C Execute more jobs in the same time period D Are used only one large mainframe computers
Answer C
___________________________________________________________________________________________ The operating system creates _____ from the physical computer
A Virtual space B Virtual computers C Virtual device D None Answer B ___________________________________________________________________________________________ The primary purpose of an operating system is
A To make the most efficient use of the computer hardware B To allow people to use the computer
C To keep systems programmers employed D To make computers easier to use
Answer A
___________________________________________________________________________________________
An operating system
A Is not required on large computers B Is always supplied with the computer C Is always supplied with the BASIC
D Consists of programs that help in the operation of computer Answer D
___________________________________________________________________________________________ Which is built directly on the hardware?
A Computer Environment B Application Software C Operating System D Database System Answer C ___________________________________________________________________________________________ Link encryption
A Is more secure than end to end encryption B Is less secure than end to end encryption C Cannot be used in a large network D Is used only detect errors
Answer B
___________________________________________________________________________________________ Overlay is
A A part of Operating System B A specific memory location
C A single contiguous memory that was used in the olden days for running large programs by swapping D Overloading the system with many user files
Answer C
An operating system
A Is not required on large computers B Is always supplied with the computer C Is always supplied with the BASIC
D Consists of programs that help in the operation of computer Answer D
___________________________________________________________________________________________ CPU does not perform the operation
A Data transfer B Logic operation C Arithmetic operation D All of the above
Answer D
________________________________________________________________ ___________________________
An example of an operating system is _______________
A Windows XP
B UNIX or LINUX
C MAC OS
D All of the above Answer D
________________________________________________________________ ___________________________
Two basic two types of record access methods are A Sequential and random
B Direct and immediate C Sequential and indexed D Online and real time
Answer A
________________________________________________________________ ___________________________
A chip having 150 gates will be classified as
A MSI B SSI C LSI D VLSI Answer A ________________________________________________________________ ___________________________
Which of the following Operating System does not implement multitasking truly? A Windows 98 B Windows NT C Windows XP D MS DOS Answer D ________________________________________________________________ ___________________________
Which of the following is an example of a spooled device?
A The terminal used to enter the input data for a program being executed. B The secondary memory device in a virtual memory system.
C A line printer used to print the output of a number of jobs. D None of the above.
Answer C
________________________________________________________________ ___________________________
Which runs on computer hardware and serve as platform for other software to run on?
A Operating System B Application Software C System Software D All Answer A ________________________________________________________________ ___________________________
Execution of two or more programs by a single CPU is known as A Multiprocessing
B Time sharing C Multiprogramming D None of the above
Answer C
________________________________________________________________ ___________________________
A bootstrap is
A A memory device
B A device to support the computer
C A small initialisation program to start up a computer D An error correction technique
Answer C
________________________________________________________________ ___________________________
Memory on your computer where data is stored temporarily is called __________. A RAM B ROM C BIOS D CPU Answer A
______ is used in operating system to separate mechanism from policy A Single level implementation
B Two level implementation C Multi level implementation
D None
Answer B
___________________________________________________________________ ________________________
Object modules generated by assembler that contains unresolved external references are resolved for two or more object module by a/an
A Operating system B Loader C Linker D Compiler Answer C ___________________________________________________________________ ________________________
Which is the first program run on a computer when the computer boots up? A System software B Operating system C System operations D None Answer B ___________________________________________________________________ ________________________
Object code is the output of ______. A Operating System B Compiler or Assembler C only Assembler D only Compiler Answer B ___________________________________________________________________ ________________________ WINDOWS is a _________ operating. A Real time B Multi-user C Preemptive D Non-preemptive Answer C ___________________________________________________________________ ________________________
The multiuser operating system, 20 requests are made to use a particular resource per hour, on an average the probability that no request are made in 45 minutes is A e-15 B e-5 C 1 – e-5 D 1 – e-10 Answer A ___________________________________________________________________ ________________________
Fence register is used for A CPU protection B Memory protection C File protection D All of the above
Answer B
___________________________________________________________________ ________________________
The operating system that reads and reacts in terms of actual time is A Batch system
B Quick response system C Real time system D Time sharing system
Answer C
___________________________________________________________________ ________________________
Dirty bit is used to show A Page with corrupted data B Wrong page in the memory
C Page that is modified after being loaded into cache memory D Page that is less frequently accessed
Answer C ___________________________________________________________________ ________________________ What is a shell ? A It is a hardware component B It is a command interpreter C It is a part in compiler
D It is a tool in CPU scheduling Answer B
Which is the layer of a computer system between the hardware and the user program A Operating environment B Operating system C System environment D None Answer B ______________________________________________________________________ _____________________
A page fault means that we referenced a page A Outside the memory boundaries
B With an incorrect I/O request C That was not in secondary storage D That was not in main memory
Answer D
______________________________________________________________________ _____________________
Protection against computer viruses A Prevention
B Practice of safe computing
C Purchasing unopened software from vendors D Avoiding free or pirated copies from public sources
Answer D
______________________________________________________________________ _____________________
A relationship between processes such that each has some part (critical section) which must not be executed while the critical section of another is being executed, is known as A Semaphore B Mutual exclusion C Multiprogramming D Message passing Answer B ______________________________________________________________________ _____________________
Which of the following information bits used by the various page replacement policies indicates if the page has been called lately?
A Locality bit B Status bit C Referenced bit D Modified bit Answer C ______________________________________________________________________ _____________________
A sequence of instructions,in a computer language to get the desired result is known as A Process B Program C Software D None of these Answer A ______________________________________________________________________ _____________________
Which is not the state of the process ?
A Blocked B Running C Ready D Privileged Answer D ______________________________________________________________________ _____________________
A process executes the code fork(); fork(); fork(); A 3 B 4 C 7 D 8 Answer C ______________________________________________________________________ _____________________
Given memory partitions of 100K, 500K, 200K, 300K and 600K (in order) and processes of 212K, 417K, 112K, and 426K (in order), using the first-fit algorithm in which partition would the process requiring 426K be placed?
A 100K B 500K C 200K D 600K Answer D ______________________________________________________________________ _____________________
The only transition that is initiated by the user process itself is
A Block
B Dispatch
C Wake up
D None of Above Answer A
Round robin scheduling is essentially the preemptive version of ________
A FIFO
B Shortest job first C Shortest remaining D Longest time first
Answer A
________________________________________________________________________ ___________________
The operating system of a computer serves as a software interface between the user and A Software B Hardware C Processor D Compiler Answer C ________________________________________________________________________ ___________________
The mechanism that bring a page into memory only when it is needed is called A Segmentation B Fragmentation C Demand Paging D Page Replacement Answer C ________________________________________________________________________ ___________________
With a four programs in memory and with 80% average I/O wait, the CPU utilization is? A 60% B 70% C 90% D 100% Answer A ________________________________________________________________________ ___________________
In time sharing operating system ,when the time slot given to a process is completed ,the process goes from running state to the
A Blocked state B Ready state C Suspended state D Terminated state Answer B ________________________________________________________________________ ___________________
Situations where two or more processes are reading or writing some shared datas and the final result depends on who runs precisely when are called
A Race conditions B Critical sections C Mutual exclusions D Message passing Answer A ________________________________________________________________________ ___________________
Switching the CPU to another Process requires to save state of the old process and loading new process state is called as
A Process Blocking B Context Switch C Time Sharing D None of the above
Answer B
________________________________________________________________________ ___________________
A page fault
A is an error specific page.
B is an access to the page not currently in memory. C occur when a page program occur in a page memory. D page used in the previous page reference.
Answer B
________________________________________________________________________ ___________________
Cooperating processes can
A Only share a logical address space directly that is, both code and data B Access concurrently to shared data may result in data consistency
C Either directly share a logical address space or be allowed to share data only through files or messages
D None of these responses are correct Answer C
________________________________________________________________________ ___________________
A program is located in the smallest available hole in the memory is _________ A best – fit B first – bit C worst – fit D buddy Answer A
A program in execution is called A Process B Instruction C Procedure D Function Answer A __________________________________________________________________________ _________________
In the blocked state
A The processes waiting for I/O are found B The process which is running is found
C The processes waiting for the processor are found D None of the above
Answer A
__________________________________________________________________________ _________________
A process executes the code fork();
fork(); fork();
The total number of child processes created is
A 3 B 4 C 7 D 8 Answer C __________________________________________________________________________ _________________
Several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called a(n) ____________________ .
A Shared memory segments B Race condition C Entry section D Process synchronization Answer B __________________________________________________________________________ _________________
A thread
A Is a lightweight process where the context switching is low B Is a lightweight process where the context switching is high C Is used to speed up paging
D None of the above Answer A
__________________________________________________________________________ _________________
Inter process communication A Is never necessary
B Allows processors to synchronize C Is required for all processes D Is usually done via disk drives
Answer B
__________________________________________________________________________ _________________
In round robin CPU scheduling as time quantum is increased the average turn around time A increases B decreases C remains constant D varies irregularly Answer D __________________________________________________________________________ _________________
Pre-emptive scheduling is the strategy of temporarily suspending a gunning process A before the CPU time slice expires
B to allow starving processes to run C when it requests I/O
D to avoid collision Answer A
__________________________________________________________________________ _________________
Cascading termination refers to termination of all child processes before the parent terminates A Normally B Abnormally C Normally or abnormally D None of these Answer C __________________________________________________________________________ _________________
A special software that is used to create a job queue is called A Drive B Spooler C Interpreter D Linkage editor Answer B
Assume N segments in memory and a page size of P bytes. The wastage on account of internal fragmentation is A NP/2 bytes B P/2 bytes C N/2 bytes D NP bytes Answer A ____________________________________________________________________________ _______________
In Round Robin cpu scheduling as the time quantum is increased ,the average turn around time A Increases B Decreases C Remains constant D Varies irregularly Answer D ____________________________________________________________________________ _______________
Consider the following transactions with data items P and Q initialized to zero: T1 :read (P); read (Q); if P = 0 then Q := Q + 1 ; write (Q). T2 : read (Q); read (P); if Q = 0 then P := P + 1 ; write (P).
Any non-serial interleaving of T1 and T2 for concurrent execution leads to A a serializable schedule
B a schedule that is not conflict serializable C a conflict serializable schedule
D a schedule for which a precedence graph cannot be drawn Answer B
____________________________________________________________________________ _______________
Mutual exclusion problem occurs between A Two disjoint processes that do not interact B Processes that share resources
C Processes that don not use the same rssources D None of these
Answer B
____________________________________________________________________________ _______________
Consider a logical address space of 8 pages of 1024 words mapped with memory of 32 frames. How many bits are there in the physical address ?
A 9 bits B 11 bits C 14 bits D 15 bits Answer D ____________________________________________________________________________ _______________
________ synchronizes critical resources to prevent dead lock
A P-operator B V-operator C Semaphore D Swapping Answer C ____________________________________________________________________________ _______________
___________ is a technique of improving the priority of process waiting in Queue for CPU allocation A Starvation B Aging C Revocation D Relocation Answer B ____________________________________________________________________________ _______________
Peterson’s solution to the critical-section problem
A Only satisfies mutual exclusion and progress requirements B Is a hardware synchronization using locks
C Is a software-based solution D All of the above
Answer C
____________________________________________________________________________ _______________
_______ is one of pre-emptive scheduling algorithm. A RR B SSN C SSF D Priority based Answer A ____________________________________________________________________________ _______________
Match the following :
(a) Disk scheduling 1. Round-robin (b) Batch processing 2. SCAN (c) Time sharing 3. LIFO (d) Interrupt processing 4. FIFO A 3 4 2 1
B 4 3 2 1 C 2 4 1 3 D 1 4 3 2 Answer C
Which of the following is scheme to deal with deadlock ?
A Time out
B Time in
C Both (A) & (B) D None of the above
Answer A
_______________________________________________________________________________ ____________
Which of the following resources can cause deadlock? A Read only files
B Shared programs C Printers D All of these Answer C _______________________________________________________________________________ ____________
A semaphore count of negative n means (s=–n) that the queue contains ________ waiting processes. A n + 1 B n C n - 1 D 0 Answer B _______________________________________________________________________________ ____________
Resources are allocated to the process on non-sharable basis is A mutual exclusion
B hold and wait C no pre-emption D circular wait
Answer A
_______________________________________________________________________________ ____________
In order to allow only one process to enter its critical section, binary semaphore are initialized to A 0 B 1 C 2 D 3 Answer B _______________________________________________________________________________ ____________
Consider the following page trace : 4,3, 2, 1, 4, 3, 5, 4, 3, 2, 1, 5. Percentage of page fault that would occur if FIFO page replacement algorithm is used with number of frames for the JOB m=4 will be A 8 B 9 C 10 D 12 Answer C _______________________________________________________________________________ ____________
A system has 3 processes sharing 4 resources.If each process needs a maximum of 2 units ,then
A Deadlock can never occur B Deadlock may occur C Deadlock has to occur D None of these
Answer A
_______________________________________________________________________________ ____________
Consider the methods used by processes P1 and P2 for accessing their critical sections. The initial values of shared Boolean variables S1 and S2 are randomly assigned,
P1 P2
while (S1 = = S2); while (S1 = = S2); critical section critical section S1 = S2; S1 = S2;
Which one of the following statements describes the properties achieved ? A Mutual exclusion but not progress
B Progress but not mutual exclusion C Neither mutual exclusion nor progress D Both mutual exclusion and progress
Answer C
_______________________________________________________________________________ ____________
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
Answer B
_______________________________________________________________________________ ____________
The simplest way to break a deadlock is to A Preempt a resource
B Rollback
C Kill one of the processes D Lock one of the processes
Answer C
A scheduler which selects processes from secondary storage device is called A Short term scheduler
B Long term scheduler C Medium term scheduler D Process scheduler
Answer C
_________________________________________________________________________________ __________
Banker s algorithm for resource allocation deals with A Deadlock prevention B Deadlock avoidance C Deadlock recovery D Mutual exclusion Answer B _________________________________________________________________________________ __________
Interval between the time of submission and completion of job is called
A Waiting time
B Turn around time
C Throughput
D Response time Answer B
_________________________________________________________________________________ __________
What problem is solved by Dijkstra’s Banker’s algorithm? A Mutual exclusion B Deadlock recovery C Deadlock avoidance D Cache coherence Answer B _________________________________________________________________________________ __________
In the process management Round-robin method is essentially the pre-emptive version of _________
A FILO
B FIFO
C SSF
D Longest time first Answer B
_________________________________________________________________________________ __________
Which of the following statement is wrong ? I. 2-phase locking protocol suffer from dead lock. II. Time stamp protocol suffer from more aborts.
III. A block hole in a DFD is a data store with only inbound flows. IV. Multivalued dependency among attribute is checked at 3 NF level. V. An entity-relationship diagram is a tool to represent event model.
A I, II, II B II, III, IV C III, IV, V D II, IV, V Answer A _________________________________________________________________________________ __________
The completion order of the 3 processes under the policies FCFS and RR2 (round robin scheduling with CPU quantum of 2 time units) are
A FCFS: P1, P2, P3 RR2: P1, P2, P3 B FCFS: P1, P3, P2 RR2: P1, P3, P2 C FCFS: P1, P2, P3 RR2: P1, P3, P2 D FCFS: P1, P3, P2 RR2: P1, P2, P3 Answer C _________________________________________________________________________________ __________
Indefinite blocking is called
A Deadlock B Starvation C Both a and b D None of these Answer B _________________________________________________________________________________ __________
A solution to the critical section problem must satisfy which requirements? A Bounded waiting, monitor and relative speed
B Semaphores, monitor and prevention of deadlock C Signal, wait and continue
D Mutual exclusion, progress and bounded waiting Answer D
_________________________________________________________________________________ __________
_____________ is one preemptive scheduling algorithm. A Shortest job first
B Round robin C Priority based D Shortest job next
It is not possible to have a deadlock involving only a single process. Why? A This holds mutual exclusion, hold-and-wait and non-preemption
B This follows directly from the hold-and-wait condition C Because single process not always in safe state
D None of the above Answer B
_________________________________________________________________________________ __________
A Dead-lock in an Operating System is A Desirable process
B Undesirable process C Definite waiting process D All of the above
Answer C
_________________________________________________________________________________ __________
Which of the following approaches do not require knowledge of the system state? A Deadlock detection
B Deadlock prevention C Deadlock avoidance D None of the above
Answer D
_________________________________________________________________________________ __________
The simplest way to break a deadlock is to A Preempt a resource
B Rollback
C Kill one of the processes D Lock one of the processes
Answer C
_________________________________________________________________________________ __________
Three concurrent processes X, Y, and Z execute three different code segments that access and update certain shared variables. Process X executes the P operation (i.e., wait) on semaphores a, b and c; process Y executes the P operation on semaphores b, c and d; process Z executes the P operation on semaphores c, d, and a before entering the respective code segments. After completing the execution of its code segment, each process invokes the V operation (i.e., signal) on its three semaphores. All semaphores are binary semaphores initialized to one. Which one of the following represents a deadlock- free order of invoking the P operations by the processes? A X : P (a ) P (b) P (c ) Y : P (b ) P (c) P (d) Z : P (c ) P (d) P (a) B X : P (b ) P (a) P (c ) Y : P (b ) P (c) P (d) Z : P (a ) P (c ) P (d) C X : P (b ) P (a) P (c ) Y : P (c ) P (b) P (d) Z : P (a ) P (c ) P (d) D X : P (a ) P (b) P (c ) Y : P (c ) P (b) P (d) Z : P (c ) P (d) P (a) Answer B _________________________________________________________________________________ __________
The purpose of a Memory Management Unit is to ___________ . A Perform run-time mapping from virtual to physical addresses B Ensure protection of the memory space allocated to every process C Both A and B are correct responses
D None of these responses is correct Answer A
___________________________________________________________________________________ ________
In virtual memory systems, Dynamic address translation A Is the hardware necessary to implement paging
B Stores pages at a specific location on disk C Is useless when swapping is used
D Is part of the operating system paging algorithm Answer A
___________________________________________________________________________________ ________
Assertion(A): Bit maps are not often used in memory management.
Reason(R): Searching a bitmap for a run of given length is a slow operation. A Both (A) and (R) are true and (R) is correct explanation for (A)
B Both(A) and (R) are true but (R) is not correct explanation for (A) C (A) is true (R) is false
D (A) is false (R) is true Answer A
___________________________________________________________________________________ ________
The performance of cache memory is frequently measured in terms of a quantity called
A Bit ratio B Nor ratio C No ratio D Hit ratio Answer D ___________________________________________________________________________________ ________
In which of the following page replacement policies Balady’s anomaly occurs?
A FIFO B LRU C LFU D NRU Answer A ___________________________________________________________________________________ ________
Suppose it takes 100 ns to access a page table and 20 ns to access associative memory with a 90% hit rate, the average access time equals:
A 20 ns B 28 ns C 90 ns D 100 ns Answer B ___________________________________________________________________________________ ________
Moving process from main memory to disk is called
A Scheduling B Catching C Swapping D Spooling Answer C ___________________________________________________________________________________ ________ Virtual memory is
A related to virtual reality B a form of ROM
C a form of RAM D None of the above
Answer C
___________________________________________________________________________________ ________
___________ is a technique of temporarily removing inactive programs from the memory of computer system. A Swapping B Spooling C Semaphore D Scheduler Answer A ___________________________________________________________________________________ ________
Fragmentation of the file system
A Occurs only if file system is used improperly B Can always be prevented
C Can be temporarily removed by compaction D Is the characteristic of all the file systems
The size of the virtual memory depends on the size of the
A Data bus
B Main memory
C Address bus
D None of the above Answer C
______________________________________________________________________________________ _____
Variable partition memory management technique with compaction results in A Reduction of fragmentation
B Minimal wastage C Segment sharing D None of the above
Answer A
______________________________________________________________________________________ _____
Loading operating system from secondary memory to primary memory is called
A Compiling B Booting C Refreshing D Reassembling Answer B ______________________________________________________________________________________ _____
Paging is a memory management scheme that ___________________. A Permits the logical address space of a process to be noncontiguous B Avoids external fragmentation and the need for compaction
C Solves the considerable problem of fitting memory chunks of fixed sizes onto the backing store D All of the above
Answer B
______________________________________________________________________________________ _____
A static partitioned memory management system has a total of six partitions. If one is allocated to the operating system, this will allow a total of
A Five user jobs B Six user jobs
C Thirty-two user jobs D Thirty-six user jobs
Answer A
______________________________________________________________________________________ _____
Consider the virtual page reference string 1, 2, 3, 2, 4, 1, 3, 2, 4, 1
on a demand paged virtual memory system running on a computer system that has main memory size of 3 page frames which are initially empty. Let LRU, FIFO and OPTIMAL denote the number of page faults under the corresponding page replacement policy. Then
A OPTIMAL < LRU < FIFO B OPTIMAL < FIFO < LRU
C OPTIMAL = LRU
D OPTIMAL = FIFO
Answer B
______________________________________________________________________________________ _____
Virtual memory can be implemented with
A Segmentation
B Paging
C None
D All of the above Answer D
______________________________________________________________________________________ _____
On a disk with 1000 cylinders (0 to 999) find the number of tracks, the disk arm must move to satisfy all the requests in the disk queue. Assume the last request service was at track 345 and the head is moving toward track 0. The queue in FIFO order contains requests for the following tracks : 123, 874, 692, 475, 105, 376
(Assume SCAN algorithm)
A 2013 B 1219 C 1967 D 1507 Answer B ______________________________________________________________________________________ _____
Memory utilization factor shall be computed as follows A Memory in use/allocated memory
B Memory in use/total memory connected C Memory allocated/total memory available D Memory committed/total memory available
Answer B
______________________________________________________________________________________ _____
File attributes are A Name
B Type C Location D All of these
Which structure prohibits the sharing of files and directories? A Tree structure
B One level structure C Two level structure D None of the these
Answer A
________________________________________________________________________________________ ___
Best method for allocation is
A Contiguous B Linked C Index D All of these Answer B ________________________________________________________________________________________ ___
Which one is best for memory allocation?
A First fit B Best fit C Worst fit D All of these Answer B ________________________________________________________________________________________ ___
The simplest directory structure is A Single level directory B Two level directory C Tree structure directory D None of these
Answer C
________________________________________________________________________________________ ___
A tree structured file directory system
A Allows easy storage and retrieval of file names B Is a much debated unnecessary feature
C Is not essential when we have millions of files D None of the above
Answer A
________________________________________________________________________________________ ___
The file structure that redefines its first record at a base of zero uses the term A Relative organization B Key fielding C Dynamic reallocation D Hashing Answer A ________________________________________________________________________________________ ___
Which of the following types of terminals is entirely dependent for all its capabilities on the computer system to which it is connected?
A Smart terminal B Dumb terminal C Micro computer D None of these Answer B ________________________________________________________________________________________ ___
File record length
A Should always be fixed B Should always be variable C Depends upon the size of the file
D Should be chosen to match the data characteristics Answer D
________________________________________________________________________________________ ___
FAT stands for
A File Accomodation Table B File Access Tape
C File Allocation Table D File Activity Table
Answer C
________________________________________________________________________________________ ___
________ is the time required by a sector to reach below read/write head.
A Seek Time
B Latency Time
C Access time
D None
Which of the following is the principal difference between a monochrome monitor and an RGB monitor? A Number of electron guns
B Resolution C Size D Cost Answer A __________________________________________________________________________________________ _
A file sometimes called a A Collection of input data B Data set
C Temporary place to store data
D Program
Answer B
__________________________________________________________________________________________ _
There are no cycles of
A General graph directory B Cyclic graph directory C One level directory D Two level directory
Answer B
__________________________________________________________________________________________ _
Solution of name collision problem is A Single level directory B Two level directory C Tree structure D All of these
Answer B
__________________________________________________________________________________________ _
When used with I\O devices the term intelligent implies A A color output capability
B Speech processing capability C High speed printing capability
D Features to support off line and online tasks Answer D
__________________________________________________________________________________________ _
Optical storage is a
A high-speed direct access storage device. B low-speed direct access storage device. C medium-speed direct access storage device. D high-speed sequential access storage device.
Answer C
__________________________________________________________________________________________ _
Memory protection is normally done by the A Processor and the associated hardware B Operating system C Compiler D User program Answer A __________________________________________________________________________________________ _
Program threats are
A Trojan horse B Trap door C Both A and B D None of these Answer C __________________________________________________________________________________________ _
Which of the following is the process by which a user’s access to physical data in the application is limited, based on his privileges ?
A Authorization B Authentication C Access Control D All of these Answer C __________________________________________________________________________________________ _
Worm was made up A One program B Two program C Three program D All of these