Paper Tayyari

Final Term PreparationFinal term ki tayyari

Questions from past final papers.Pichhle final papers ke sawal.

131 MCQs · 78 short · 57 long questions · 131 MCQs from past papers131 MCQs · 78 short · 57 long sawal · 131 MCQs past papers se

Start mock testMock test shuru karein
DoneHal kiye 0/131
– correctsahi
1.
★ Final term Fall 2008Lecture 8

The states shown in a state transition diagram do not necessarily correspond to the processes shown in a control flow diagram for the same system.

  1. ATrue
  2. BFalse

States describe behaviour modes and need not map one-to-one to processes in a flow diagram.

2.
★ Final term Spring 2010Lecture 20

In sequence Diagrams objects are organized in a ----------line

  1. Ahorizontal
  2. Bvertical
  3. Chorizontal and vertical
  4. Dnon of the above

In a sequence diagram the objects are laid out along a horizontal line and time runs vertically.

3.
★ Final term Spring 2010Lecture 23

Every view is potentially Hierarchical in this regard which of the view are Hierarchical ?

  1. AFunctional View
  2. BDevelopment View
  3. CConcurrency view
  4. DAll of given

Every architectural view can be decomposed hierarchically, so all of them are hierarchical.

4.
★ Final term Spring 2010Lecture 23

the development view describes the -----------organization of the software in its development environment,

  1. AStatic
  2. BDynamic
  3. CStill
  4. DStatic & Dynamic

The development view shows the static organization of software modules in the development environment.

5.
★ Final term Spring 2010Lecture 24

Like analysis models, many different kinds of -----------models are developed

  1. AArchitectural
  2. BSystem
  3. CDesign
  4. DLogical

Many different kinds of architectural models are developed, just as with analysis models.

6.
★ Final term Spring 2010Lecture 24

In the N-Tier Architecture the idea is to enhance scalability and -------------- by distributing both the data and the application using multiple server machines.

  1. APerformance
  2. BEfficiency
  3. CUsability
  4. Dnone of the all

Spreading data and application logic over several servers improves scalability and performance.

7.
★ Final term Spring 2010Lecture 25

idea behind zero install architecture is to develop a system where no installation on the ---------- is needed.

  1. AClient side
  2. BServer Side
  3. CClient & Server Side
  4. DNon of the all

Zero install architecture removes the need to install anything on the client machine.

8.
★ Final term Spring 2010Lecture 27

-------------- being the first pure Object Oriented language in which observer pattern was used in implementing its Model View Controller

  1. ASmalltalk
  2. BPASCAL
  3. CJAVA
  4. DC++

Smalltalk first used the observer pattern to implement MVC.

9.
★ Final term Spring 2010Lecture 29

Source files can have the extension ---------------------

  1. Ac++ .
  2. B.C
  3. C.cpp
  4. Dall of the given

C++ source files may use .c++, .C or .cpp extensions.

10.
★ Final term Spring 2010Lecture 29

Classes should be declared in individual header files with the file name matching the ---------- name.

  1. Aclass
  2. Bmethod
  3. Cobject
  4. Dnon of the all

Each class goes in its own header file named after the class.

11.
★ Final term Spring 2010Lecture 30

All comments should be written in-----------

  1. AEnglish
  2. BFrench
  3. CC++
  4. DJAVA

The guideline is that all comments are written in English.

12.
★ Final term past paperLecture 32

Modularity is a tool that can help us in increasing the size of individual functions, making them less readable .

  1. ATrue
  2. BFalse

Modularity reduces the size of individual functions and makes them more readable.

13.
★ Final term Spring 2010Lecture 33

One of the Guidelines to avoid common mistakes is to never use --------- except for declaration

  1. A,
  2. B;
  3. C=
  4. D||

The comma operator should not be used except in declarations because it hides side effects.

14.
★ Final term Fall 2008Lecture 34

One of the causes of the portability issues is the order of ----------- varies from one implementation to other.

  1. AEvaluation
  2. Bnumbers
  3. Cvariables
  4. Dsymbols

The order of evaluation of operands differs between implementations.

15.
★ Final term Spring 2010Lecture 35

A number of invisible execution paths can exist in simple code in a language that allows --------------

  1. Aexceptions
  2. Bdefects
  3. Cerrors
  4. Dall of them

Exceptions create hidden execution paths in otherwise simple code.

16.
★ Final term Fall 2008Lecture 35

------------- is a powerful technique that separates error-handling code from normal code.

  1. AException handling
  2. BCode handling
  3. Cvariable handling
  4. Dpointer handling

Exception handling separates error-handling code from the normal code.

17.
★ Final term Spring 2010Lecture 36

Verification and validation are the processes in which we check a product against its --------- and the --------------- of the users who will be using it

  1. Aspecifications, expectations
  2. Bstatements, expectations
  3. Cspecifications , arguments
  4. Dstatements, arguments

Verification checks the product against its specification and validation against user expectations.

18.
★ Final term Spring 2010Lecture 36

In software quality assurance work there is no difference between software verification and software validation

  1. ATrue
  2. BFalse

Verification checks against the specification, validation against user expectations, so they differ.

19.
★ Final term Spring 2010Lecture 38

Two tests are considered to be equivalent if it is believed that: if one discovers a defect, the other probably will too, and if one does not discover a defect, ---------------------------------.

  1. Athe other probably may
  2. Bnon of them
  3. Cthe other probably won’t either
  4. Dthe other probably will

Equivalent tests behave alike: if one misses a defect the other probably misses it too.

20.
★ Final term Fall 2006Lecture 39

The testing technique that requires devising test cases to exercise the internal logic of a software module is called

  1. Abehavioral testing
  2. Bblack-box testing
  3. Cgrey-box testing
  4. Dwhite-box testing

Tests designed from a module's internal logic are white-box tests.

21.
★ Final term Spring 2010Lecture 40

Unit testing is roughly equivalent to ---------- testing for hardware in which each chip is tested thoroughly after manufacturing

  1. ACircuit level
  2. BChip Level
  3. Ccomponent level
  4. Dsystem level

Unit testing is compared to chip-level testing of hardware.

22.
★ Final term Spring 2010Lecture 40

Software should be tested more like hardware, with Built-in self testing: such that each unit can be tested -------------

  1. Afreely
  2. Bindependently
  3. Cdependtly
  4. Dcompletely

Built-in self testing lets each unit be tested independently.

23.
★ Final term Spring 2010Lecture 42

First hand accounts of the problem are always useful in Debugging process.

  1. ATrue
  2. BFalse

Accounts from people who saw the failure give the debugger direct evidence of the symptoms.

24.
★ Final term Spring 2010Lecture 42

In the debugging process a stack trace is a very useful tool.

  1. ATrue
  2. BFalse

A stack trace shows the sequence of calls that led to the failure, which helps locate the bug.

25.
★ Final term Spring 2010Lecture 43

Which one of the given below is not a symptom of memory overrun?

  1. AProgram crashes quite regularly after a given routine is called, that routine should be examined for a possible overrun condition.
  2. BIf the routine in question does not appear to have any such problem the most likely cause is that another routine, called in the prior sequence, has already trashed variables or memory blocks.
  3. CChecking the trace log of the called routines leading up to one with the problem will often show up the error.
  4. DCompiler warnings.

Memory overruns show up at run time; compiler warnings are not one of the listed symptoms.

26.
★ Final term Fall 2008Lecture 44

Holistic medicine, concerns itself with the state of the body as a whole, not the ----------- that is currently attacking it.

  1. Areason
  2. Bdisease
  3. Csource
  4. Dnon of the given

Holistic medicine treats the whole body rather than only the disease attacking it.

27.
★ Final term Spring 2010

The first step in any OOA process model is to____________________

  1. Abuild an object-relationship model
  2. Bdefine collaborations between objects
  3. Celicit customer requirements
  4. Dselect a representation language

Object-oriented analysis starts by gathering the customer requirements before any modelling is done.

28.
★ Final term Spring 2010

A necessary supplement to transform or transaction mapping needed to create a complete architectural design is __________________________.

  1. Aentity relationship diagrams
  2. Bthe data dictionary
  3. Cprocessing narratives for each module
  4. Dtest cases for each module

The program structure from mapping must be supplemented by a processing narrative for each module.

29.
★ Final term Spring 2010

What types of errors are missed by black-box testing and can be uncovered by white-box testing?

  1. Abehavioral errors
  2. Bsubtle logic errors
  3. Cperformance errors
  4. Dinput error

White-box testing exercises internal paths, so it finds logic errors that are invisible from the interface.

30.
★ Final term Spring 2010

Which test criteria should be applied in a phase of testing?

  1. Afunctional validity
  2. Binterface integrity
  3. Ccorrectness
  4. Dall of the given

Each testing phase checks functional validity, interface integrity and correctness.

31.
★ Final term Spring 2010

The order in which bytes of one word are stored is ----------- dependent

  1. AHardware
  2. BSoftware
  3. Clanguage
  4. Dsystem

Byte order (endianness) is decided by the hardware architecture.

32.
★ Final term Spring 2010

It was lady named ----------------- who actually coin the term “bug" for the first time.

  1. AElisay Chistopher
  2. BAdmiral Grace Hopper
  3. CAna Nicholson
  4. DJane Hopper

Grace Hopper popularised the term bug after a moth was found in the Mark II.

33.
★ Final term Spring 2010

The first “bug” was actually a moth, which flew through an open window and into one of the Mark --------- 's relays.

  1. AII
  2. BI
  3. CIII
  4. DIV

The moth was found in a relay of the Harvard Mark II computer.

34.
★ Final term Spring 2010

Software architecture elements are further divided into categories which in total are -----------

  1. A2
  2. B3
  3. C4
  4. D5

Architectural elements are data, processing and connecting elements: three categories.

35.
★ Final term Spring 2010

Be very careful when you use functions with side effects – functions that change the values of the -------------

  1. Aparameters
  2. Bvariables
  3. Cconstants
  4. DNone of given

A function with side effects is one that changes the values of its parameters.

36.
★ Final term Spring 2010

Which of the following is not a characteristic of software?

  1. ASoftware is tangible
  2. BA change to a piece of code may implicitly affect the functions of the rest of the code.
  3. CSoftware is configurable.
  4. DSoftware does not wear and tear.

Software is intangible, so being tangible is not one of its characteristics.

37.
★ Final term Spring 2010

The two main documents produced during this phase are Requirement Statement and Requirement Specification. They are also called Requirement Definition and ----------

  1. AFunctional Specification
  2. BMathematical specification
  3. CSystem Specification
  4. DNone of the given

Requirement Statement and Specification are also called Requirement Definition and Functional Specification.

38.
★ Final term Spring 2010

A decision table should be used

  1. ATo document all conditional statements
  2. BTo guide the development of the project management plan
  3. COnly when building an expert system
  4. Dwhen a complex set of conditions and actions appears in a component

Decision tables are meant for components with a complex combination of conditions and actions.

39.
★ Final term Spring 2010

Which of the following is a/are tool used in requirement analysis?

  1. AFlow Graphs
  2. BData Flow Diagrams
  3. CActivity Networks
  4. DModule Dependency Diagrams

Data flow diagrams model how data moves through the system during requirement analysis.

40.
★ Final term Spring 2010

MVC stands for ---------------

  1. AModel View Controller
  2. BModern View Center
  3. CModel View Center
  4. DModern View Controller

MVC is the Model View Controller pattern.

41.
★ Final term Spring 2010

A --------------- is a code that explains itself without the need of comments and extraneous documentation

  1. ASelf documenting code
  2. BSelf telling Code
  3. CSelf Documenting Design
  4. DNon of the above

Code that explains itself without comments is called self-documenting code.

42.
★ Final term Spring 2010

Bugs that won't "stand still" (almost random) are the --------- to deal with.

  1. Aleast difficult
  2. Bmost difficult
  3. Cvery easy
  4. Deasy

Bugs that cannot be reproduced reliably are the hardest to find and fix.

43.
★ Final term Spring 2010

In refining the DFD during transaction mapping it is unnecessary to create a PSPEC since only the CSPEC is relevant to this type of architectural style.

  1. ATrue
  2. BFalse

Process specifications are still needed when refining a DFD for transaction mapping.

44.
★ Final term Spring 2010

Association is a type of relation

  1. AWeak
  2. BStronger
  3. CNormal
  4. DNone of above

Association is a weak relationship compared with aggregation and composition.

45.
★ Final term Spring 2010

Variable names must be in mixed case starting with upper case.

  1. ATrue
  2. BFalse

Variable names use mixed case starting with lower case; upper case starts type names.

46.
★ Final term Spring 2010

CRUD include following:-

  1. ACreate
  2. BUpdate
  3. CRead
  4. DAll of above

CRUD stands for Create, Read, Update and Delete.

47.
★ Final term Spring 2010

Bugs Finding is done by which of the teams in Software Development lifecycle?

  1. ADevelopment Team
  2. BTesting Team
  3. CAnalysis & Design Team
  4. DProcess Team

The testing team finds bugs; the development team fixes them.

48.
★ Final term Spring 2010

Software Bugs have multiple names, which one of the below is not the name of Software Bugs --------------

  1. ABugs
  2. BDefects
  3. CErrors
  4. DMistakes

Bugs are also called defects, errors or faults; "mistakes" is not one of the listed names.

49.
★ Final term Spring 2010

Project --------------- defines the concept and range of the proposed solution, and limitations identify certain capabilities that the product will not include

  1. AScope
  2. BAgreement
  3. CPlan
  4. DNone of the given

Project scope defines the concept and range of the solution, while limitations say what is excluded.

50.
★ Final term Spring 2010

In the N-Tire Architecture the idea is to enhance scalability and --------------- by distributing both the data and the application using multiple server machines.

  1. APerformance
  2. BEfficiency
  3. CUsability
  4. Dnon of the all

N-tier architecture distributes data and application over servers to improve scalability and performance.

51.
★ Final term Spring 2010

The cyclomatic complexity metric provides the designer with information regarding the number of

  1. ACycles in the program
  2. BErrors in the program
  3. CIndependent logic paths in the program
  4. DStatements in the program

Cyclomatic complexity counts the independent paths through the program's flow graph.

52.
★ Final term Spring 2010

Which of the followings is not a testing type?

  1. ASubsystem testing
  2. BAlpha testing
  3. CBeta Testing
  4. DGamma Testing

Subsystem, alpha and beta testing exist; there is no gamma testing type.

53.
★ Final term Spring 2010

Which piece of code is self-documented?

  1. Aif (x == 0) // this is the case when we are allocating a new number
  2. Bif (AllocFlag == 0)
  3. CIf (AllocFlag == NEW_NUMBER)
  4. DNone of the given

Meaningful variable and constant names make the condition clear without a comment.

54.
★ Final term past paper

If(!(block < activeBlock)) is equvivalent to .

  1. AIf ((block < activeBlock))
  2. BIf ((block == activeBlock))
  3. CIf ((block >= activeBlock))
  4. DNone of the given

Not (block < activeBlock) is the same as block >= activeBlock.

55.
★ Final term past paper

Bit fields allow the packing of data in a structure. Using Bit fields we can .

  1. ARead 9 bit integers
  2. BAvoid memory leakages
  3. CAvoid memory overflow
  4. DAvoid syntax errors

Bit fields let a program read non-standard formats such as 9-bit integers.

56.
★ Final term past paper

Complex expressions .

  1. AMake the code easy to modify
  2. BMake the code difficult to modify
  3. CMake the code easy to understand
  4. DDoes not effect understandability

Complex expressions are hard to read and therefore hard to modify safely.

57.
★ Final term past paper

x = 0; // x is floating pt Which rewritten form of above line of code is more in line with the self-documentation philosophy than the code above .

  1. Ax = false
  2. Bx = NULL
  3. Cx = 0.0;
  4. Dx = '\0'

Writing 0.0 shows directly that x is a floating-point variable.

58.
★ Final term past paper

using proper paranthesis normally makes the code .

  1. Aeasy to read
  2. Beasy to understand
  3. Cless ambiguous
  4. DAll of the given options

Parentheses make expressions easier to read and understand and remove ambiguity.

59.
★ Final term past paper

The use of comments should be minimized by making the code self-documenting by appropriate name choices and an explicit logical structure .

  1. ATrue
  2. BFalse

Good names and clear structure reduce the need for comments.

60.
★ Final term past paper

80/20 rule states that:

  1. Ayou spend 80 percent of your time in 20 percent of the code
  2. Byou spend 20 percent of your time in 80 percent of the code
  3. CWe should try to optimized 80 percent or at least 20 percent of the code
  4. DNone of the given options.

Most execution time is spent in a small part of the code, so optimise that part.

61.
★ Final term past paper

Be very careful when you use functions with side effects – functions that change the values of the ________ .

  1. AObjects
  2. BClasses
  3. CStructures
  4. DVariables

Side-effect functions change the values of variables (their parameters) as well as returning a result.

62.
★ Final term past paper

The C/C++ language has not specified whether ____ is arithmetic or logical .

  1. ARight shift >>
  2. BRight shift
  3. C&&
  4. D||

Whether >> on signed values fills with the sign bit (arithmetic) or zero (logical) is implementation defined.

63.
★ Final term past paper

When a small set of functions (which use each other) is so overwhelmingly the bottleneck, there are two alternatives:

  1. Ause a better algorithm OR re-write the code
  2. Bdebug the code OR place assertions in code
  3. Cremove the functions OR add more functions
  4. Dchanged programming language OR compiler at least

For a dominating bottleneck, either choose a better algorithm or rewrite that code.

64.
★ Final term past paper

Some bit field members are stored: I) left to right II) right to left III) in circular array .

  1. Aonly (I) is true
  2. BOnly (II) is true
  3. CBoth (I) and (II) are true
  4. DAll of the options (I, II and III) are true

Depending on the implementation, bit fields are stored left to right or right to left.

65.
★ Final term past paper

A test case involves

  1. AInput/output specification plus a statement of the function under test
  2. BSteps to perform the function
  3. CExpected results that the software application produces
  4. DAll of the given options

A test case states the inputs/outputs and function, the steps and the expected results.

66.
★ Final term past paper

A __________ is a variance from a desired product attribute .

  1. AException
  2. BError
  3. CMistake
  4. DDefect

A defect is defined as a variance from a desired product attribute.

67.
★ Final term past paper

The C/C++ language does not define the alignment of items within .

  1. AStructures
  2. Bclasses
  3. Cunions
  4. DAll of the given options

Alignment inside structures, classes and unions is left to the implementation.

68.
★ Final term past paper

Consider the following statement: int a,b=10; Which of the following is correct:

  1. Avariable "a" is initialized to 10
  2. BVariable "b" is initialized to 10
  3. CBoth variables "a" and "b" are initialized to 10
  4. Dvariables can not be initialized this way

Only b gets the initializer; a is declared without a value.

69.
★ Final term Spring 2010

Quantitative methods for assessing the quality of proposed architectural designs are readily available.

  1. ATrue
  2. BFalse

Quantitative methods for assessing architectural design quality are not yet readily available.

70.
★ Final term Spring 2010

Test cases should be designed long before testing begins.

  1. ATrue
  2. BFalse

Tests should be planned and designed long before testing begins, from the requirements.

71.
★ Final term Spring 2010

Which of the following are characteristics of testable software?

  1. Aobservability
  2. Bsimplicity
  3. Cstability
  4. Dall of the given

Observability, simplicity and stability all make software easier to test.

72.
★ Final term Spring 2010

Comparison testing is typically done to test two competing products as part of customer market analysis prior to product release.

  1. ATrue
  2. BFalse

Comparison (back-to-back) testing runs independent versions of the same software, not competing products.

73.
★ Final term Spring 2010

By collecting software metrics and making use of existing software reliability models it is possible to develop meaningful guidelines for determining when software testing is done.

  1. ATrue
  2. BFalse

Metrics and reliability models give a statistical basis for deciding when testing is complete.

74.
★ Final term Spring 2010

Configuration reviews are not needed if regression testing has been rigorously applied during software integration.

  1. ATrue
  2. BFalse

Configuration reviews check that all configuration items are complete; regression testing does not replace them.

75.
★ Final term Spring 2010

Requirement engineering mainly deals with the -------------- of the system

  1. Adefinition phase
  2. Bdevelopment phase
  3. Cmaintenance
  4. Dnon of the above

Requirement engineering belongs to the definition phase of the system.

76.
★ Final term Spring 2010

40-60% of all defects found in software projects can be traced back to poor -----------

  1. ARequirements
  2. BDesign
  3. CCoding
  4. DTesting

Studies show 40-60% of defects come from poor requirements.

77.
★ Final term Spring 2010

A system ------------- is the period in which tremendous pressure is on developers end to fix the problem and make the system running again

  1. AUptime
  2. BDowntime
  3. CCurrentime
  4. Dfuturetimr

During downtime the system is not working, so developers are under pressure to fix it.

78.
★ Final term Spring 2010

Three tier architecture contains ------------- layers

  1. APresentation
  2. BApplication
  3. CDatabase
  4. DAll of the above

Three-tier architecture has presentation, application and database tiers.

79.
★ Final term Spring 2010

1. Variables should be initialized where they are declared and they should be declared in the -------------- scope possible.

  1. ASmallest
  2. Blargest
  3. Cmedium
  4. DNone of the given

Variables should be declared in the smallest possible scope.

80.
★ Final term Spring 2010

------------------ are two important tools that can help in managing and mastering the complexity of a program.

  1. Aabstraction and encapsulation
  2. Babstraction and Inheritence
  3. Cabstraction and Polymorphism
  4. DNone of given

Abstraction and encapsulation help manage the complexity of a program.

81.
★ Final term Spring 2010

Consider the following comment. “The software which I bought won’t run on windows and when it runs I can’t use WORD at the same time”. Which of the following do you think are violated by the newly bought software?

  1. Adependability, interchangeability
  2. Bplatform independence, interoperability
  3. Creliability, dependency
  4. Dinteroperability, reliability

Not running on Windows violates platform independence; not working alongside Word violates interoperability.

82.
★ Final term Spring 2010

……………… is a diagramming technique used to identify the types of objects in the system and the static relationships that exist among them?

  1. AClass Diagram
  2. BDocument flow diagrams
  3. CData flow diagrams
  4. DFlow charts

A class diagram shows object types and the static relationships among them.

83.
★ Final term Spring 2010

Which of the following testing involve purely black box testing?

  1. Aunit testing, beta testing
  2. Bacceptance testing, interface testing
  3. Cbeta testing, acceptance testing
  4. Dintegration testing, interface testing

Beta and acceptance testing are done by users who see only the external behaviour.

84.
★ Final term Spring 2010

In the context of requirements analysis, partitioning results in the elaboration of data, function, or behavior.

  1. ATrue
  2. BFalse

Partitioning a problem decomposes and elaborates its data, function or behaviour.

85.
★ Final term Spring 2010

Class variables should be declared public. This concept violates which of the following.

  1. AInformation hiding
  2. BEncapsulation
  3. CInformation hiding and Encapsulation
  4. DNone of given

Public class variables break both information hiding and encapsulation.

86.
★ Final term Spring 2010

Real-time applications add a new and potentially difficult element to the testing mix

  1. Aperformance
  2. Breliability
  3. Csecurity
  4. Dtime

Real-time systems add time (timing constraints) as a new element to test.

87.
★ Final term Spring 2010

Top-down integration testing has as it's major advantage(s) that

  1. Alow level modules never need testing
  2. Bmajor decision points are tested early
  3. Cno stubs need to be written
  4. Dnone of the given

Top-down integration tests the high-level control and decision modules first.

88.
★ Final term Spring 2010

isAuthorized, assess Performance,get item for UPC, get cashier for number, are the examples of

  1. AServices
  2. BAttributes
  3. CLinks
  4. DNon of the above

These are operations objects provide, i.e. services in the Coad object model.

89.
★ Final term Spring 2010

Hungarian Notation was first discussed by Charles Simonyi of------------------

  1. AMicrosoft.
  2. BOracle
  3. CApple Macintosh
  4. DNon of the all

Charles Simonyi, who introduced Hungarian notation, worked at Microsoft.

90.
★ Final term Spring 2010

The language does not specify whether ------------- is signed or unsigned.

  1. Achar
  2. Binteger
  3. Cdouble
  4. Dconstant

C/C++ leave the signedness of plain char to the implementation.

91.
★ Final term Spring 2010

Bugs Fixing is done by which of the teams in Software Development lifecycle?

  1. ADevelopment Team
  2. BTesting Team
  3. CAnalysis & Design Team
  4. DProcess Team

The development team fixes bugs; the testing team finds them.

92.
★ Final term Spring 2010

Stakeholders are different people who would be interested in the -----------

  1. ASoftware
  2. BSystem
  3. CProduct
  4. DAll of the given

Stakeholders are the people who have an interest in the software being built.

93.
★ Final term Spring 2010

Which of the following is an/are advantage(s) of object oriented analysis & design over structured system analysis & design?

  1. AEase of modeling real world events
  2. BReusability
  3. CMaintainability
  4. DAll of given

OOAD models real-world entities naturally and improves reuse and maintainability.

94.
★ Final term Spring 2010

UML (unified modeling language) analysis modeling focuses on the _________________ .

  1. Abehavioral model and environment model.
  2. Bbehavioral model and implementation model.
  3. Cuser model and environmental model
  4. Duser model and structural model

UML analysis modelling focuses on the user model view and the structural model view.

95.
★ Final term Spring 2010

In the architecture trade-off analysis method the architectural style should be described using the

  1. Amodule view
  2. Bprocess view
  3. Call of the given
  4. Ddata flow view

ATAM describes the style using module, process and data flow views.

96.
★ Final term Spring 2010

Which of these are objectives for software testing?

  1. Adetermine the productivity of programmers
  2. Beliminate the need for future program maintenance
  3. Celiminate every error prior to release
  4. Duncover software errors

The objective of testing is to uncover errors in the software.

97.
★ Final term Spring 2010

Rooko mut jane do depicts one of risks associated with inadequate requriements gathering, the name of that risk is ----------------------

  1. AAmbiguous requirements
  2. BCreeping Requirements
  3. CMinimal Specification
  4. DNon of the above

The phrase can be read with opposite meanings, so it illustrates ambiguous requirements.

98.
★ Final term Spring 2010

object-oriented framework that is a set of cooperative classes that make up reusable ---------- of a system

  1. ACode
  2. BDesign
  3. CAnalysis
  4. Dnon of the all

A framework is a set of cooperating classes that make up a reusable design.

99.
★ Final term Spring 2010

When planning for performance, one should always remember the ---------- rule

  1. A80/20
  2. B20/80
  3. C80/22
  4. D80/90

The 80/20 rule: most time is spent in a small part of the code.

100.
★ Final term Spring 2010

Performance & Usability are examples of ---------------------- requirements

  1. ABusiness
  2. BFunctional
  3. CNon-Functional
  4. DUser

Performance and usability describe qualities of the system, so they are non-functional.

101.
★ Final term Spring 2010

Static analyzers are software tools for --------------- processing.

  1. Aanalysis text
  2. Bsource text
  3. Cdesign text
  4. Dnon of the given

Static analyzers process the program source text without executing it.

102.
★ Final term Spring 2010

According to a survey, when a software application is in the maintenance phase, --------- of its lifecycle cost is attributed towards the defects which are found in the software application after installation

  1. A20 %
  2. B25 %
  3. C30%
  4. D35%

The survey figure is that about 20% of lifecycle cost goes to defects found after installation.

103.
★ Final term Spring 2010

Bugs that won't "-----------------" (almost random) are the most difficult to deal with.

  1. Astand still
  2. Bdynamic
  3. Crunning
  4. Dstand tall

The handout phrase is bugs that won't "stand still" are the most difficult to deal with.

104.
★ Final term Spring 2010

If you are initializing a variable at the time of declaration, do not declare another ----------- in the same statement.

  1. Avariable
  2. Bobject
  3. Cclass
  4. DNone of given

Declaring another variable in an initializing declaration causes confusion, e.g. int a, b = 10.

105.
★ Final term Spring 2010

During Requirement Engineering process which of the following is/are document(s) used for fact finding?

  1. ACompany’s employee list
  2. BSamples of the company databases
  3. CThe company’s mission statement and plan
  4. DAll of given

Employee lists, database samples and mission statements are all documents studied for fact finding.

106.
★ Final term Fall 2008

Object-oriented domain analysis is concerned with the identification and specification of reusable capabilities within an application domain.

  1. ATrue
  2. BFalse

Domain analysis identifies reusable classes and capabilities across an application domain.

107.
★ Final term Fall 2008

Fourth generation techniques

  1. AAllow software to be developed without any testing.
  2. BEliminate the need for costly requirements gathering activities.
  3. CCan reduce the time required to develop software.
  4. DAre best used by non-programmers to build small systems.

Fourth generation tools generate code from high-level specifications and so shorten development time.

108.
★ Final term Fall 2008

Data design actually begins during the creation of the analysis model, not the architectural model.

  1. ATrue
  2. BFalse

Data design starts with the data objects defined in the analysis model.

109.
★ Final term Fall 2008

A useful technique for evaluating the overall complexity of a proposed architecture is to look at the component

  1. Anumber and size of components
  2. Bflow dependencies and sharing dependencies
  3. Csize and cost
  4. Dnone of the given

Architectural complexity is judged by the dependencies (flow and sharing) between components.

110.
★ Final term Fall 2008

The three basic principles that guide maintainability are: simplicity, clarity, and__________________ .

  1. AGenerality
  2. BReliability
  3. CAll of the given choices
  4. DNone of the Given choices

Simplicity, clarity and generality are the principles behind maintainable code.

111.
★ Final term Fall 2008

In order to make a program self documented a number of attributes required. Which one is the attribute/s of self documented program

  1. AAll of the given choices
  2. BSize of each function
  3. CChoice of variable
  4. DModularity

Function size, choice of names and modularity all make a program self-documenting.

112.
★ Final term Fall 2008

Floating point constants should always be written with decimal point and at least

  1. Aone decimal
  2. Btwo decimal
  3. Cthree decimal
  4. Dnone of the given

Floating-point constants should have a decimal point and at least one decimal, e.g. 1.0.

113.
★ Final term Fall 2008

Graph-based testing methods can only be used for object-oriented systems

  1. ATrue
  2. BFalse

Graph-based testing applies to any software that can be modelled as a graph of objects or nodes.

114.
★ Final term Fall 2008

A class is a -------------- of objects

  1. ATemplate
  2. BStereotype
  3. CCollection
  4. DNon of the above

A class is a template from which objects are created.

115.
★ Final term Fall 2008

A public Interface provides a way for ______ with other Classes.

  1. ACommunication
  2. BAccessibility
  3. CReaching
  4. DAll of the above

The public interface is how an object communicates with other classes.

116.
★ Final term Fall 2008

Flow Charts represents

  1. Asequence Activity
  2. Brandom activity
  3. Cparallel activity
  4. Dnon of the above

Flow charts show activities in sequence and cannot express parallel activity.

117.
★ Final term Fall 2008

Software architecture defines the high level structure of the software by putting together a number of architectural ---------- in an organized fashion.

  1. AElements
  2. Bparts
  3. Ccomponents
  4. Dnon of the all

Architecture organizes architectural elements into a high-level structure.

118.
★ Final term Fall 2008

Type conversions must always be done -------------

  1. AExplicitly
  2. Bimplicitly
  3. Csimultaneously
  4. Dnon of them

Type conversions should be explicit so the reader sees them.

119.
★ Final term Fall 2008

Types that are -----------to one file only can be declared inside that file.

  1. ALocal
  2. BGlobal
  3. CPrivate
  4. DGeneral

Types used only in one file can be declared locally in that file.

120.
★ Final term Fall 2008

The use of do while loops should be -------------

  1. AAvoided
  2. Bencouraged
  3. Cpracticed
  4. Dnon of them

do-while loops put the condition at the bottom and are less readable, so they are avoided.

121.
★ Final term Fall 2008

The goal of testing is to expose ---------- defects in a software system before it is put to use.

  1. ALatent
  2. Balready present
  3. Ccurrent
  4. Druntime

Testing aims to expose latent (hidden) defects before the system is used.

122.
★ Final term Spring 2006

The component-based development model is

  1. AOnly appropriate for computer hardware design.
  2. BNot able to support the development of reusable components.
  3. CDependent on object technologies for support.
  4. DNot cost effective by known quantifiable software metrics.

Component-based development relies on object technologies to build and assemble reusable components.

123.
★ Final term Spring 2006

Use-Cases are scenarios that describe

  1. AHow software is to be used in a given situation.
  2. BHow CASE tool will be used to construct the system.
  3. CTo build plan for a software product.
  4. DThe test cases for a software product.

A use case describes how an actor uses the system in a particular situation.

124.
★ Final term Spring 2006

In which software development problem solving stage are the results delivered?

  1. AStatus quo
  2. BProblem definition
  3. CTechnical development
  4. DSolution integration

In the problem-solving loop, solution integration delivers the results to those who need them.

125.
★ Final term Spring 2010

Variables should be initialized where they are declared and they should be declared in the -------------- scope possible.

  1. ASmallest
  2. Blargest
  3. Cmedium
  4. DNone of the given

Declaring variables in the smallest possible scope limits where they can be misused.

126.
★ Final term Fall 2006

The linear sequential model of software development is also known as the

  1. AClassical life cycle model
  2. BFountain model
  3. CSpiral model
  4. DChaos model

The linear sequential (waterfall) model is also called the classic life cycle model.

127.
★ Final term Fall 2006

The object-behavior model indicates how the system

  1. Afunctions in the operating environment
  2. Bobjects collaborate with one another
  3. Cresponds to external stimuli
  4. Dresponds to internal stimuli

The object-behaviour model shows how an OO system responds to external events or stimuli.

128.
★ Final term Fall 2006

Class responsibilities are defined by

  1. Aits attributes only
  2. Bits collaborators
  3. Cits operations only
  4. Dboth its attributes and operations

A class's responsibilities are what it knows (attributes) and what it does (operations).

129.
★ Final term Fall 2006

Software risk always involves two characteristics

  1. Afire fighting and crisis management
  2. Bknown and unknown risks
  3. Cuncertainty and loss
  4. Dstaffing and budget

A risk is uncertain (may not happen) and causes loss if it does.

130.
★ Final term Fall 2006

The four layers defined for object-oriented design are the same as design layers used for conventional software design.

  1. ATrue
  2. BFalse

OO design layers (subsystem, class/object, message, responsibilities) differ from conventional design layers.

131.
★ Final term Spring 2005

Which of the followings can not be used to relate use cases with each other?

  1. AExtends
  2. BInclude
  3. CUses
  4. DExclude

Use cases are related by extends, includes and uses; there is no exclude relationship.