![]() |
|
#1
|
||||
|
||||
|
My Paper help on 21 Feb 2011
Give 2 Unit Testing Tips. Why Special characters like TAB and page break must be avoided.? Explain Which approach is adopted in design E commerce website. How lines are split 3 Mks ( from handout 3 pts ) Define modularity 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) Classes should be declared in individual header files with the file name matching the Collaboration diagram Difference between testing and inspection ( What can be / can not be in inspection) ---------- name.(► class) 10. Differentiate between Black box testing and white box testing. 11. Self documenting code : in MCQ ( if ( Allian==0) { } 1) Describe the the concept of cyclomatic complexity priefly (5) 2) Give examples (atleast two) of business requirements (5) 3) Write principles of unit testing (5) 4) 5 general naming conventions in Java or C++ (5) 5) Difference between testing and inspection (3) 6) Successful testing 7) Validation 8) 3 rules for avoiding common mistakes 9) The following statement depicts which requirement engineering process? “Constraints on the service function offered by the system such as timing constraints, constraints on the development process, standard etc” 10) How comments should be intended related to their position in code (example) 11) What is meant by software debugging? MY PAPER: 40 MCQS Marks 3 if u r going to desighn E commmerace website,wht will u do? inspection preconditions three coverage schemes related to white box testing avoid spiting line rules Marks 2 unit testing alignment of CPP text syntax naming in sequence diagram importance of size of a function marks 5 SRS plays central role prove with arguments how variables efficiently use diff b.w white box and black box testing Define unit testing. Write unit testing principles. Write names of basic code structure. Explain about 3 coverage schemes in white box testing. How can we write code that is self-documenting? How comments should be intended relative to their position in the code? Complex expressions should be broken down into multiple ones. Explain why? Explain Software testing Objective? Also define Successful test. You have learnt about static analyzers,You are required to give a checklist of static analyzers 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 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. 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 aming 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 ) Describe the the concept of cyclomatic complexity priefly (5) 2) Give examples (atleast two) of business requirements (5) 3) Write principles of unit testing (5) 4) 5 general naming conventions in Java or C++ (5) 5) Difference between testing and inspection (3) 6) Successful testing 7) Validation 8) 3 rules for avoiding common mistakes 9) The following statement depicts which requirement engineering process? “Constraints on the service function offered by the system such as timing constraints, constraints on the development process, standard etc” 10) How comments should be intended related to their position in code (example) 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. 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) 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) |
|
#2
|
||||
|
||||
|
Cheers dude
|
![]() |
















Linear Mode


