Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

CS504 Current Final Term Papers Fall 2010 (11~26 Feb 2011)

Please Share Your Current Paper pattern, MCQs & subjective Questions to help each other. Thanks

Views: 1068

Replies to This Discussion

Please if any one attempt the paper please share the subjective question tomorrow will be my paper
jazakullah

current paaper of cs504. 11 feb 2011

 

Q1 Define modularity

 

Q2 Define Unit testing

 

Q3 What is the syntax used for naming objects in a sequence diagrams?

 

Q4 Define these terms: Branch Coverage, Statement Coverage.

 

Q5 Bit fields do suffer from a lack of portability between platforms. Why?

 

Q6 Consider the following Use Case diagram:

Identify the system actors in given use case diagram.

 

 

Q7 Why Special characters like TAB and page break must be avoided.? Explain

 

Q8 Write down at least two (3) guideline that can avoid hazards caused by side effects.

 

Q9 Discuss five points, how a “variable “is efficiently used in a program?

 

Q10 Differentiate between Black box testing and white box testing.

 

Q 11What do we mean by ambiguous requirements. Explain with the help of a example.

 

Q12 You have learnt about Static analyzers, What are static analyzers? Give a checklist for static analysis.

 

Q1 Define modularity

Q2 Define Unit testing

Q3 What is the syntax used for naming objects in a sequence diagrams?

Q4 Define these terms: Branch Coverage, Statement Coverage.

Q5 Bit fields do suffer from a lack of portability between platforms. Why?

Q6 Consider the following Use Case diagram:

Identify the system actors in given use case diagram.

Q7 Why Special characters like TAB and page break must be avoided.? Explain

Q8 Write down at least two (3) guideline that can avoid hazards caused by side effects.

Q9 Discuss five points, how a “variable “is efficiently used in a program?

Q10 Differentiate between Black box testing and white box testing.

Q 11What do we mean by ambiguous requirements. Explain with the help of a example.

Q12 You have learnt about Static analyzers, What are static analyzers? Give a checklist for static analysis.

_________________




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

 Quantitative methods for assessing the quality of proposed architectural designs

are readily available.

       ► True

       ► False

   

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: 7    ( Marks: 1 )    - Please choose one

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

 

       ► True

 

       ► False

 

   

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

 A change becomes ------------- because of close presence of data and fucntions

 

 

 

 

 

 

       ► Localized

       ► Private

       ► Global

       ► Accessible

   

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

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

 

        definition phase

       ► development phase

       ► maintenance

 

       ► non of the above

   

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

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

 

       ► Requirements

       ► Design

       ► Coding

       ► Testing

   

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

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

 

       ► Performance

       ► Efficiency

       ► Usability

       ► non of the all

   

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

 MVC pattern was based on the --------------- pattern.

 

       ► Observer

       ► Structural

       ► Behavioral

       ► Non of them

   

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 the 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

       ► dependtly

       ► completely

   

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

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

 

       ► Uptime

       ► Downtime

       ► Currentime

       ► futuretimr

   

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

 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 Inheritence

       ► abstraction and Polymarhphism

 

       ► None of given

   

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

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

       ► Flow Graphs

       Data Flow Diagrams

       ► Activity Networks

       ► Module Dependency Diagrams

   

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

 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?

 

       ► dependability, interchangeability

       ► platform independence, interoperability

       ► reliability, dependency

       ► interoperability, reliability

   

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

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

 

       ► Class Diagram

       ► Document flow diagrams

       ► Data flow diagrams

       ► Flow charts

   

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

 Which of the following interaction style best suit the design of an interface for visually impaired users?

 

       ► direct manipulation

       ► direct manipulation

       ► natural language

       ► command line

   

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

 Which of the following testing involve purely black box testing?

 

       ► unit testing, beta testing

       ► acceptance testing, interface testing

       ► beta testing, acceptance testing

       integration testing, interface testing

   

Question No: 27    ( Marks: 2 )

  what does this mean Object Creation and Life Time”?

 

   

Question No: 28    ( Marks: 2 )

 How one can avoid hazards caused by side effects while writing code. List the two guidelines.

 

 

   

Question No: 29    ( Marks: 2 )

  What is the greatest advantage of exception handling?

 

 

   

Question No: 30    ( Marks: 2 )

 Give 2 Unit Testing Tips.

 

 

Question No: 31    ( Marks: 3 )

  Write unit testing quantitative benefits.

 

    Question No: 32    ( Marks: 3 )

 How Comments should be indented relative to their position in the code? Give an example

 

 

   

Question No: 33    ( Marks: 3 )

 Consider the following code fragment.

while a

{

while b

c

d

}

If you were to test this code, what would be the test technique to adopt?

 

 

   

Question No: 34    ( Marks: 5 )

  Narrate the manner for the organization of Class and Interface declarations

 

 

   

Question No: 35    ( Marks: 5 )

 Discus the symptoms and an example of coding error bug class.

 

 

   

Question No: 36    ( Marks: 5 )

 Why Code portability is so important ? Give out 3 ways / Guide lines  to improve the code portability with examples

(5+5)

 

total 52 questions
Testing principles....5 marks
makes floe diagram for the sort algorith given in cyclomatic complexity....5 makes
why we divide the complez statements??....5 marks
Actin-oriented approach.....5marks
why not use do..while??...3 marks
symtons or memory and resource leak....3marks
syn and asycronous messages...3marks

yaaad nahi baki....
MCQs
not so much easy some are difficult... So go with a goood preparation not as me....

Q1 Define modularity

 

Q2 Define Unit testing

 

Q3 What is the syntax used for naming objects in a sequence diagrams?

 

Q4 Define these terms: Branch Coverage, Statement Coverage.

 

Q5 Bit fields do suffer from a lack of portability between platforms. Why?

 

Q6 Consider the following Use Case diagram:

Identify the system actors in given use case diagram.

 

 

Q7 Why Special characters like TAB and page break must be avoided.? Explain

 

Q8 Write down at least two (3) guideline that can avoid hazards caused by side effects.

 

Q9 Discuss five points, how a “variable “is efficiently used in a program?

 

Q10 Differentiate between Black box testing and white box testing.

 

Q 11What do we mean by ambiguous requirements. Explain with the help of a example.

 

Q12 You have learnt about Static analyzers, What are static analyzers? Give a checklist for static analysis.

 

See the attached file please
Attachments:

CS504 current subjective

Q1 Define modularity

 Q2 Define Unit testing

 Q3 What is the syntax used for naming objects in a sequence diagrams?

 Q4 Define these terms: Branch Coverage, Statement Coverage.

 Q5 Bit fields do suffer from a lack of portability between platforms. Why?

 Q6 Consider the following Use Case diagram:

Identify the system actors in given use case diagram.

 Q7 Why Special characters like TAB and page break must be avoided.? Explain

 Q8 Write down at least two (3) guideline that can avoid hazards caused by side effects.

 Q9 Discuss five points, how a “variable “is efficiently used in a program?

 Q10 Differentiate between Black box testing and white box testing.

 Q 11What do we mean by ambiguous requirements. Explain with the help of a example.

 Q12 You have learnt about Static analyzers, What are static analyzers? Give a checklist for static analysis.

CS504 another paper

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

 Quantitative methods for assessing the quality of proposed architectural designs

are readily available.

       ► True

       ► False

 

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: 7    ( Marks: 1 )    - Please choose one

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

 

       ► True

 

       ► False

 

 

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

 A change becomes ------------- because of close presence of data and fucntions

 

 

 

 

 

 

       ► Localized

       ► Private

       ► Global

       ► Accessible

 

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

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

 

        definition phase

       ► development phase

       ► maintenance

 

       ► non of the above

 

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

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

 

       ► Requirements

       ► Design

       ► Coding

       ► Testing

 

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

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

 

       ► Performance

       ► Efficiency

       ► Usability

       ► non of the all

 

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

 MVC pattern was based on the --------------- pattern.

 

       ► Observer

       ► Structural

       ► Behavioral

       ► Non of them

 

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 the 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

       ► dependtly

       ► completely

 

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

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

 

       ► Uptime

       ► Downtime

       ► Currentime

       ► futuretimr

 

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

 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 Inheritence

       ► abstraction and Polymarhphism

 

       ► None of given

 

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

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

       ► Flow Graphs

       Data Flow Diagrams

       ► Activity Networks

       ► Module Dependency Diagrams

 

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

 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?

 

       ► dependability, interchangeability

       ► platform independence, interoperability

       ► reliability, dependency

       ► interoperability, reliability

 

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

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

 

       ► Class Diagram

       ► Document flow diagrams

       ► Data flow diagrams

       ► Flow charts

 

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

 Which of the following interaction style best suit the design of an interface for visually impaired users?

 

       ► direct manipulation

       ► direct manipulation

       ► natural language

       ► command line

 

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

 Which of the following testing involve purely black box testing?

 

       ► unit testing, beta testing

       ► acceptance testing, interface testing

       ► beta testing, acceptance testing

       integration testing, interface testing

 

Question No: 27    ( Marks: 2 )

  what does this mean Object Creation and Life Time”?

 

 

Question No: 28    ( Marks: 2 )

 How one can avoid hazards caused by side effects while writing code. List the two guidelines.

 

 

 

Question No: 29    ( Marks: 2 )

  What is the greatest advantage of exception handling?

 

 

 

Question No: 30    ( Marks: 2 )

 Give 2 Unit Testing Tips.

 

 

Question No: 31    ( Marks: 3 )

  Write unit testing quantitative benefits.

 

    Question No: 32    ( Marks: 3 )

 How Comments should be indented relative to their position in the code? Give an example

 

 

 

Question No: 33    ( Marks: 3 )

 Consider the following code fragment.

while a

{

while b

c

d

}

If you were to test this code, what would be the test technique to adopt?

 

 

 

Question No: 34    ( Marks: 5 )

  Narrate the manner for the organization of Class and Interface declarations

 

 

 

Question No: 35    ( Marks: 5 )

 Discus the symptoms and an example of coding error bug class.

 

 

 

Question No: 36    ( Marks: 5 )

 Why Code portability is so important ? Give out 3 ways / Guide lines  to improve the code portability with examples

(5+5)

40 mcqs
define unit testing(2)
GUI in srs (2)
self documenting code(2)s
statements are given true and false batana tha (2)

3 rules of split lines (3)
how software differ from other engnrings (3)
define cohesion (3)
successful testing (3)

5 objectives of testing (5)
loop eroor bugs (5)
y complex expression should be broken down (5)
difference between REQUIREMENT STATEMENTS and RQUIREMENT SPECIFICATIONS.
40 mcqs
define unit testing(2)
GUI in srs (2)
self documenting code(2)s
statements are given true and false batana tha (2)

3 rules of split lines (3)
how software differ from other engnrings (3)
define cohesion (3)
successful testing (3)

5 objectives of testing (5)
loop eroor bugs (5)
y complex expression should be broken down (5)
difference between REQUIREMENT STATEMENTS and RQUIREMENT SPECIFICATIONS.
My todays...............cs504 paper
Naming Convention 5 marks
Diff b/w test data and test cases 3 mark
Exception 3mark
software validation 2mark
Qualitativ benefit 2mark
Software engineering tools for framwork 3mark
Diff b/w software and artfactor 3mark
Collaboration diagram
Types of messages in sequence diagram 2marks
maintaing code guidline 5mark

RSS

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service