My CS504 Paper 2/3/14
Total Questions = 52
MCQ's = 40 (70% from Tariq Hanif file)
Subjective = 12
1) XYZ Company wants to re-deploy its architecture. They require certain guidelines for finalizing the design decision. Can you help them by writing steps that will provide them a guideline for performing architectural analysis? (5)
2) Suppose you want to write a Java program that contains declaration of an interface and a class. Class contains different static variables, instance variables, constructors and methods. Write down the exact sequence in which you will declare all these (Note: no need to write actual code, but just sequence). (5)
3) List down any three potential points(phases) in development life cycle where there are greater chances of defect inclusion into development. (5)
4) What is Infeasible path? Give an example of infeasible path. (5)
5) What will happen if defects are not discovered and fixed at the appropriate stage? Give a solid reason. (3)
6) A client sends a request to the system to perform a necessary action e.g insert data.
What do you think which architectural style it is? (3)
7) Write any three attributes of a program that contribute towards making the program self documented? (3)
8) Write one advantage and one disadvantage of using bit fields in writing the code. (3)
9) In which two ways the shift Operator (>>) can be used in C/C++? (2)
10) It is a good programming practice to modularize the code. How it helps in recursive functions? (2)
11) In the “4+1” view model, which view describes the system from a programmer’s perspective and is concerned with the organization of physical code, its main modules, and their dependencies. (2)
12) What is meant by Holistic approach? (2)
Total Questions = 52
MCQ's = 40 (70% from Tariq Hanif file)
Subjective = 12
1) XYZ Company wants to re-deploy its architecture. They require certain guidelines for finalizing the design decision. Can you help them by writing steps that will provide them a guideline for performing architectural analysis? (5)
2) Suppose you want to write a Java program that contains declaration of an interface and a class. Class contains different static variables, instance variables, constructors and methods. Write down the exact sequence in which you will declare all these (Note: no need to write actual code, but just sequence). (5)
3) List down any three potential points(phases) in development life cycle where there are greater chances of defect inclusion into development. (5)
4) What is Infeasible path? Give an example of infeasible path. (5)
5) What will happen if defects are not discovered and fixed at the appropriate stage? Give a solid reason. (3)
6) A client sends a request to the system to perform a necessary action e.g insert data.
What do you think which architectural style it is? (3)
7) Write any three attributes of a program that contribute towards making the program self documented? (3)
8) Write one advantage and one disadvantage of using bit fields in writing the code. (3)
9) In which two ways the shift Operator (>>) can be used in C/C++? (2)
10) It is a good programming practice to modularize the code. How it helps in recursive functions? (2)
11) In the “4+1” view model, which view describes the system from a programmer’s perspective and is concerned with the organization of physical code, its main modules, and their dependencies. (2)
12) What is meant by Holistic approach? (2)
Comments
Post a Comment
Please give us your feedback & help us to improve this site.