Fourth Graded quiz of CS504 (Software Engineering -I) will be held from Thursday, July 24, 2014 To Friday, July 25, 2014.
Quiz will be from Lecture # 27 to Lecture # 35 , it will be based upon Multiple Choice Questions and opened for 48 hours.
All the instructions for solving will be there in Quiz interface. Kindly make sure, you have read the instructions before attempting Quiz.
If any student failed to attempt the quiz in given time then no re-take or offline quiz will be held.
Best of Luck
thanks for sharing...
ap logo sy aik request hai kindly apny quiz aik file main share kya karyn...!!
Bit fields allow the packing of data in a structure. This is especially useful when memory
or data storage is at a premium. Typical examples:
Packing several objects into a machine word. e.g. 1 bit flags can be compacted --
Symbol tables in compilers.
Reading external file formats -- non-standard file formats could be read in. E.g. 9
1: Switch statement is equal to…………………statement.
2: ……..provides a unified interface to a set of interfaces in a sub-system
Façade pattern (ANS)
3:- using proper parenthesis normally makes the code
All of the given options (ANS)
4: ………….was the first pure object Oriented language in which observer pattern was used in implementing its Model View Controller pattern
5:- which one is correct?
Double total=0.5; (ANS)
All of the given
6:- Exception handling is a powerful technique that separates error-handling code from …….code
7: …………..and………….are important short circuiting logical operators. a. AND, b. OR , c. NOT, d. NOR,
8: some bit field members are stored:1)Left to right 2) Right to left in the circular array.
both (1) and (2) is true (ANS)
9: One of the main reasons to make function is ……..
10: if (!(block < active Block)) is equvivalent to:
if ((block >= active Block)) (ANS)
11:- In order to make a code more portable, Instead of using vendor specific language extensions, use _______ as much as possible
12:- Constant values used in the program are called_________.
Some bit field members are stored: I) left to right II) right to left III) in circular array
Both (I) and (II) are true (ANS)
Identifier names also play a significant role in enhancing the -------- of a program.
"is" prefix should be used for------ variables and methods.
It ensures that a class only has one instance and provides a global point of access to it.
When a small set of functions (which use each other) is so overwhelmingly the bottleneck, there are two alternatives:
Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem
One of the main reasons to make functions is ________
In the switch statement, cases should always end with a statement
Str=0;// str is string which rewritten from of above line of code is more in line with the self-documentation philosophy than the code above
In case of header files,construction is to avoid…..errors. the construction should appear in the top of the file (before the file header);
The idea behind exception handling is to raise some error flag every time………………..
Something goes wrong (ANS)
The form for (;;)should be used for
Empty loop (ANS)
Bit fields allow the packing of data in a structure.using Bit fields we can:
Read 9 bit integers (ANS)
C++ header files should have the extension…….source files can have the extension……
.h and .cpp (ANS)