Software Engineering


CS504- Software Engineering - I

 

Question No: 1 ( Marks: 1 ) - Please choose one

The first step in any OOA process model is to____________________

  build an object-relationship model

  define collaborations between objects

  elicit customer requirements

  select a representation language

 

Question No: 2 ( Marks: 1 ) - Please choose one

A necessary supplement to transform or transaction mapping needed to create a complete architectural

design is ________.

  entity-relationship diagrams

  the data dictionary

  processing narratives for each module

  test cases for each module

 

Question No: 3 ( Marks: 1 ) - Please choose one

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

  behavioral errors

  subtle logic errors

  performance errors

  input error

 

Question No: 4 ( Marks: 1 ) - Please choose one

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

  functional validity

  interface integrity

  correctness

  all of the given

 

Question No: 5 ( Marks: 1 ) - Please choose one

The hardest single part of building a software system is deciding precisely ----------- to build.

  what

  How

  When

  Why

 

Question No: 6 ( Marks: 1 ) - Please choose one

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

  horizontal

  vertical

  horizontal and vertical

  non of the above

 

Question No: 7 ( Marks: 1 ) - Please choose one

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

  Functional View

  Development View

  Concurrency view

  All of given

 

Question No: 8 ( Marks: 1 ) - Please choose one

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

  Architectural

  System

  Design

  Logical

 

Question No: 9 ( Marks: 1 ) - Please choose one

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

needed.

  Client-side

  Server Side

  Client & Server-Side

  None of them all

 

Question No: 10 ( Marks: 1 ) - Please choose one

The construction is used to avoid ---------------- errors.

  compilation

  runtime

  design time

  non of them

 

Question No: 11 ( Marks: 1 ) - Please choose one

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

  English

  French

  C++

  JAVA

 

Question No: 12 ( Marks: 1 ) - Please choose one

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

  ,

  ;

  =

  ||

 

Question No: 13 ( Marks: 1 ) - Please choose one

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

  Hardware

  Software

  language

  system

 

Question No: 14 ( Marks: 1 ) - Please choose one

Verification and validation are the processes in which we check a product against its --------- and the ----

----------- of the users who will be using it

  specifications, expectations

  statements, expectations

  specifications, arguments

  statements, arguments

 

Question No: 15 ( Marks: 1 ) - Please choose one

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, ---------------------------------.

  the other probably may

  non of them

  the other probably wont either

  the other probably will

 

Question No: 16 ( Marks: 1 ) - Please choose one

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

  Elisa Christopher

  Admiral Grace Hopper

  Ana Nicholson

  Jane Hopper

 

Question No: 17 ( Marks: 1 ) - Please choose one

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

--’s relays.

  II

  I

  III

  IV

 

Question No: 18 ( Marks: 1 ) - Please choose one

Symptoms of logical errors are ------------------------------

  code is misbehaving

  The program doesn't crash, but the flow of the program takes odd branches through the code.

  Results are the opposite

  The output looks strange,

  all of the given

 

Question No: 19 ( Marks: 1 ) - Please choose one

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

  True

  False

Question No: 20 ( Marks: 1 ) - Please choose one

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

  2

  3

  4

  5

 

Question No: 21 ( Marks: 1 ) - Please choose one

Establishing responsibilities for objects includes

  Generalization Relationships

  Specialization Relationships

  all of the above

  identifying Association relationships

 

Question No: 2 ( Marks: 1 ) - Please choose one

A decision table should be used_______________________

  to document all conditional statements

  to guide the development of the project management plan

  only when building an expert system

  when a complex set of conditions and actions appears in a component

 

Question No: 3 ( Marks: 1 ) - Please choose one

Test cases should be designed long before testing begins.

  True

  False

 

Question No: 4 ( Marks: 1 ) - Please choose one

Which of the following are characteristics of testable software?

  observability

  simplicity

  stability

  all of the given

 

Question No: 5 ( Marks: 1 ) - Please choose one

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

prior to product release.

  True

  False

 

Question No: 6 ( Marks: 1 ) - Please choose one

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.

  True

  False

 

Question No: 13 ( Marks: 1 ) - Please choose one

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

  class

  method

  object

  non of them all

 

Question No: 14 ( Marks: 1 ) - Please choose one

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

thoroughly after manufacturing

  Circuit level

  Chip Level

  component level

  system level

 

Question No: 15 ( Marks: 1 ) - Please choose one

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

tested -------------

  freely

  independently

  dependently

  completely

 

Question No: 16 ( Marks: 1 ) - Please choose one

A system ------------- is the period in which tremendous pressure is on the developer end to fix the problem

and make the system running again

  Uptime

  Downtime

  Current time

  future time

 

Question No: 17 ( Marks: 1 ) - Please choose one

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

  Program crashes quite regularly after a given routine is called, that routine should be examined for a

possible overrun condition.

  If 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.

  Checking the trace log of the called routines leading up to one with the problem will often show up the

error.

  Compiler warnings.

 

Question No: 18 ( Marks: 1 ) - Please choose one

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

  2

  3

  4

  5

 

Question No: 19 ( Marks: 1 ) - Please choose one

The three-tier architecture contains ------------- layers

  Presentation

  Application

  Database

  All of the above

 

Question No: 20 ( Marks: 1 ) - Please choose one

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

scope possible.

  Smallest

  largest

  medium

  None of the given

 

Question No: 21 ( Marks: 1 ) - Please choose one

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

program.

  abstraction and encapsulation

  abstraction and Inheritance

  abstraction and Polymorphism

  None of given