CS-504 Final Term Exams Preparation Virtual University With Answers

image
image
image

CS-504 Final Term Exams Preparation Virtual University

Sr. # Questions Answers Choice
1 Flow Charts represents sequence Activity random activity parallel activity non of the above
2 A public Interface provides a way for with other Classes. Communication Accessibility Reaching All of the above
3 A class is a -------------- of objects Template Stereotype Collection Non of the above
4 Graph-based testing methods can only be used for object-oriented systems True False None of above
5 The code becomes self explanatory with the help of proper use of parentheses. Select the right one. leapYear = year % 4 == 0 && year % 100 != 0 || year % 400 == 0 ; leapYear = ((year % 4 == 0) && (year % 100 != 0) || ((year % 400 == 0)); leapYear = ((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0); leapYear = (year % 4 == 0) && (year % 100 != 0) || (year % 400 == 0); none of the given options
6 Floating point constants should always be written with decimal point and at least one decimal two decimal three decimal none of the given
7 In order to make a program self documented a number of attributes required. Which one is the attribute/s of self documented program All of the given choices Size of each function Choice of variable Modularity
8 The three basic principles that guide maintainability are: simplicity, clarity, and__________________ . Generality Reliability All of the given choices None of the Given choices
9 A useful technique for evaluating the overall complexity of a proposed architecture is to look at the component number and size of components flow dependencies and sharing dependencies size and cost none of the given
10 The criteria used to assess the quality of an architectural design should be based on system accessibility and reliability data and control functionality implementation details
Download This Set