PROMOTE MY BLOG: JUST CLICK BELOW BUTTON

Search Any Paper On This Blog

Tuesday, July 26, 2011

CS403 Complete Solved Final Term Paper 8


CS403 FINALTERM PAPER
Question No: 1           
 UML (unified modeling language) analysis modeling focuses on the _________________ .
       behavioral model and environment model.
       behavioral model and implementation model.
       user model and environmental model
       user model and structural model
   
Question No: 2           
 What makes requirements elicitation difficult?

       bounding scope
       understanding user needs
       requirements volatility

       all of the above

   
Question No: 3           
 In the architecture trade off analysis method the architectural style should be described using the
        module view
       process view
       all of the given
       data flow view
   
Question No: 4           
 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.
       True
       False
   
Question No: 5           
 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: 6           
 Variable names must be in mixed case starting with upper case.
       True
       False
   
Question No: 7           
  Which of these are objectives for software testing?

       determine the productivity of programmers

       eliminate the need for future program maintenance

       eliminate every error prior to release

        uncover software errors


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

       True

       False

   
Question No: 9           
  In software quality assurance work there is no difference between software
verification and software validation
       True

       False

   
Question No: 10            
 Top down integration testing has as it's major advantage(s) that

       low level modules never need testing

       major decision points are tested early

       no stubs need to be written

        none of the given

   
Question No: 11           
 Rooko mut jane do depicts one of risks associated with inadequate requriements gathering, the name of that risk is                      

       Ambiguous requirements

       Creeping Requirements
       Minimal Specification        
       Non of the above
   
Question No: 12           
 Interaction Diagrams depict the               Behavior of the system
       Static
       Dynamic
       Active
       Non of the above
 
Question No: 13           
 In Sequence Diagrams events are organized in a          time line

       Vertical
       Horizontal
       Vertical & Horizontal
       Non of the above
   
Question No: 14           
 the development view describes the            organization of the software in its development environment,

       Static
       Dynamic
       Still
       Static & Dynamic
   
Question No: 15           
 Every view is potentially Hierarchical in this regard which of the view are Hierarchical ?


       Functioanl View

       Development View
       Concurrency view

       All of given
   
Question No: 16           
 object oriented framework that is a set of cooperative classes that make up reusable            of a system

       Code
       Design
       Analysis
       non of the all
   
Question No: 17           
 When planning for performance, one should always remember the            rule

       80/20
       20/80
       80/22
       80/90
   
Question No: 18           
 In order to make a code more portable,  Instead of using vendor specific language extensions, use              as much as possible

       STL
       ANSI
       ISO
       CMMI
   
Question No: 19           
 Performance & Usability are examples of                        requirements
       Business
       Functioanl
       Non Functioanl
       User
   
Question No: 20           
 Static analyzers are software tools for                 processing.

       analysis text
       source text
       design text
       non of the given
   
Question No: 21           
 Software Bugs have multiple names, Which one of the belw is not the name of Software Bugs              
       Bugs
       Defects
       Errors
       Mistakes
    
Question No: 22           
 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

       20 %
       25 %
       30%
       35%
   
Question No: 23           
 Bugs that won't "                 " (almost random) are the most difficult to deal with.

       stand still
       dynamic
       running
       stand tall
   
Question No: 24           
 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: 25            
 if you are initializing a variable at the time of declaration, do not declare another             in the same statement.
       variable
       object
       class
       None of given
   
Question No: 26           
 During Requirement Engineering process which of the following is/are document(s) used for fact finding?

       Company’s employee list
       Samples of the company databases
       The company’s mission statement and plan
       All of given
   
Question No: 27    ( Marks: 2 )
  what is called self documenting code.
Ans:
A self documenting code is a code that explains itself without the need of comments and extraneous documentation, like
·        Flow charts,
·        UML diagrams,
·        Process flow state

Question No: 28    ( Marks: 2 )
 What are the six elements that are present in every computer based system?
Ans:
  1. Hardware
  2. Software
  3. Data
  4. Procedures
  5. Elements
  6. network

   
Question No: 29    ( Marks: 2 )
 Differentiate between Architectural Design and System Architecture in a single line.

Ans:
Architectural design basically establishes the overall structure of a software system.while System Architecture is the highest level decomposition of the system.
   
Question No: 30    ( Marks: 2 )
 What are the true statements with respect to equivalence partitioning?

(a) Input data and output results often fall into different classes where all members of a class are
related.
(b) It is a method to partition the requirements into equivalent classes during the requirement
analysis process.
(c) Test cases should be chosen to be representative of each equivalence partition.
(d) It is recommended that only boundaries are checked in each partition.
(e) It is recommended that boundaries as well as mid points are checked in each partition.

    Ans:
A ,b ,c,d are the true statements with respect to equivalence partitioning.




Question No: 31    ( Marks: 3 )
 Write unit testing principleas.

Unit Testing Principles:
·        In unit testing, developers test their own code units (modules, classes) during implementation.
·        Normal and boundary inputs against expected results are tested.
·        unit testing is a great way to test an API.
   
Question No: 32    ( Marks: 3 )
 Why Special characters like TAB and page break must be avoided.? Explain
Ans:
Because these characters  are bound to cause problem for editors, printers, terminal emulators or debuggers when used in a multi programmer, multi platform environment.


   
Question No: 33    ( Marks: 3 )
 Explain the different phases of Testing with the help of a Diagram. You are required to only draw the diagram.





   
Question No: 34    ( Marks: 5 )
  What are the Software testing objective? Also  define a successful test.

Ans:
Software testing objective
  1. The correct approach to testing a scientific theory is not to try  to verify it, but to seek to refute the theory. That is to prove that it has errors. (Popper 1965)
  2. A software tester tries to break the system. The objective is to show the presence of a defect not the absence of it.
  3. Testing cannot show the absence of a defect. It only increases your confidence in the software.

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

  1. exhaustive  testing of  software  is  not possible –  it  is  simply  too expansive and needs virtually infinite resources.


Successful Test
From the following sayings, a successful test can be defined
  1. “If you think your task is to find problems then you will look harder for them than if you think your task is to verify that the program has none” – Myers 1979.
  2. “A test is said to be successful if it discovers an error” – doctor’s analogy.


The success of a test depends upon the ability to discover a bug not in the ability to prove that  the  software  does  not  have  one.  As, it  is  impossible  to  check  all  the  different scenarios of a software application, however, we can apply techniques  that can discover potential  bugs  from  the  application. 

Thus  a  test  that  helps  in  discovering  a  bug  is  a successful  test.  In  software  testing phase, our  emphasis  is on discovering  all  the major
bugs  that can be  identified by running certain  test scenarios.


   
Question No: 35    ( Marks: 5 )
 Discus the symptoms and an example of coding error bug class.

Symptoms:
  1. Compiler warnings.
  2. Unexpected errors in black box testing.
  3. The errors that unexpectedly occur are usually caused by coding errors.
  4. Coding errors are usually caused by lack of attention to details.


Example
In the following example, a function accepts an input integer and converts it into a string
that contains that integer in its word representation.
void convertToString(int InInteger,
       char* OutString, int* OutLength)
{
   switch(InInteger){
      case 1: OutString = "One";OutLength = 3;
                  break;
      case 2: OutString = "Two";OutLength = 3;
                  break;
      case 3: OutString = "Three";OutLength = 5;
                  break;
      case 4: OutString = "Four";OutLength = 4;
                  break;
      case 5: OutString = "Five";OutLength = 4;
                  break;
      case 6: OutString = "Six";OutLength = 3;
                  break;
      case 7: OutString = "Seven";OutLength = 5;
                  break;
      case 8: OutString = "Eight";OutLength = 5;
                  break;
      case 9: OutString = "Nine";OutLength = 4;
                  break;
      }
}

   
Question No: 36    ( Marks: 5 )
 Write at leas 5 General Naming conventions for C++ or Java






What does the abbreviation DBMS stand for?

            Digital Base Mapping System.
            Data Borrowing and Movement Software.
            Database Management System.
            Database Manipulation Software.

The advantages of Standard Query Language (SQL) include which of the following in relation to GIS databases?

            It is simple and easy to understand.
            It is widely used.
            It is good at handling geographical concepts.
            It uses a pseudo English style of questioning.

Which of the following are characteristics of an RDBMS?

            1. It cannot use SQL.
            2.Tables are linked by common data known as keys.
            3.Keys may be unique or have multiple occurrences in the database.
            4.Data are organized in a series of two dimensional tables each of which contains
records for one entity.
            5.Queries are possible on individual or groups of tables.

                                   
What is a 'tuple'?

            An attribute attached to a record.
            A row or record in a database table.
            Another name for the key linking different tables in a database.
            Another name for a table in an RDBMS.

                                               
Which of the following are issues to be considered by users of large corporate GIS databases?

            The need for manual transfer of records to paper.
The need for multiple copies of the same data and subsequent merging after separate updates.
            The need to manage long transactions.
            The need for concurrent access and multi user update.
            The need for multiple views or different windows into the same databases.
                                   
Which of the following are features of the object oriented approach to databases?


 The ability to develop database models based on location rather than state and behaviour.
            The ability to represent the world in a non geometric way.
            The need to split objects into their component parts.
            The ability to develop more realistic models of the real world.
            The ability to develop databases using natural language approaches.

           
Redundancy is minimised with a computer based database approach.

  True
 False
           
The relational database model is based on concepts proposed in the 1960s and 1970s.

  True
 False
           
A row in a database can also be called a domain.

  True
 False
           
A first step in database creation should be needs analysis.

  True
 False
           
In entity attribute modelling a many to many relationship is represented by M:M.

  True
 False
           
In a networked web based GIS all communications must go through an internet map server.

  True
 False
In an OO database approach 'object = attributes + behaviour'.

  True
 False
In an OO database objects may inherit some or all of the characteristics of other objects.

  True
 False

By : ADEEL ABBAS 
www.allvupastpapers.blogspot.com 
AdeelAbbasbk@gmail.com

No comments:

Post a Comment

PLEASE COMMENT ABOUT YOUR VISIT AND MY SITE

Note: Only a member of this blog may post a comment.