More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
CS-504 Final Term Exams Preparation Virtual University MCQs With Answers
Question # 1
In order to make a program self documented a number of attributes required. Which one is the attribute/s of self documented program
Choose an answer
All of the given choices
Size of each function
Choice of variable
Modularity
Previous
Skip
Next
Question # 2
What types of errors are missed by black-box testing and can be uncovered by white-box testing?
Choose an answer
behavioral errors
subtle logic errors
performance errors
input error
Previous
Skip
Next
Question # 3
1. Variables should be initialized where they are declared and they should be declared in the -------------- scope possible
Choose an answer
Smallest
largest
medium
None of the given
Previous
Skip
Next
Question # 4
The code becomes self explanatory with the help of proper use of parentheses. Select the right one.
Choose an answer
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
Previous
Skip
Next
Question # 5
the development view describes the -----------organization of the software in its development environment
Choose an answer
Static
Dynamic
Still
Static & Dynamic
Previous
Skip
Next
Question # 6
A -------------- is a code that explains itself without the need of comments and extraneous documentation
Choose an answer
Self documenting code
Self telling Code
Self Documenting Design
Non of the above
Previous
Skip
Next
Question # 7
In the context of requirements analysis, partitioning results in the elaboration of data, function, or behavior.
Choose an answer
True
False
None of them
Previous
Skip
Next
Question # 8
A decision table should be used_______________________
Choose an answer
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
Previous
Skip
Next
Question # 9
Which of the following is a/are tool used in requirement analysis?
Choose an answer
Flow Graphs
Data Flow Diagrams (not sure)
Activity Networks
Module Dependency Diagrams
Previous
Skip
Next
Question # 10
-------------- being the first pure Object Oriented language in which observer pattern was used in implementing its Model View Controller.
Choose an answer
Smalltalk
PASCAL
JAVA
C++
Previous
Skip
Next
Question # 11
Bugs that won't "stand still" (almost random) are the ---------- to deal with.
Choose an answer
least difficult
most difficult
very easy
easy
Previous
Skip
Next
Back