Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.


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

Views: 5496

Replies to This Discussion

All of the given options

much helpful,,, thnx for all frnds,

cs504 4th quiz

Attachments:

new QUIZ

Quiz Start Time: 03:56 PM
Time Left  
sec(s)
Question # 1 of 10 ( Start time: 03:56:29 PM ) Total Marks: 1
Global variables in C++ should always be referred to by using the
Select correct option:

 ::operator

: operator

Without an operator

None of the given

 

::oprator

Charles Simonyi first discussed Hungarian Notation. He was of ------ .

Microsoft

IBM

Dell

Cisco

Microsoft

10 Mcqs Each of 1 Marks

CS504 quiz # 4 25-07-2014

In case of header files, construction is to avoid ------ errors. The construction should appear in the top of the file (beforethe file header).
compilation
runtime
logical
all

Variables should be initialized where they are ------and they should be declared in the ------scope possible.
defined and medium
declared and medium
defined and smallest
declared and smallest..

Class variables should never be declared public. Public variables violate which of the following:
Information hiding
Encapsulation
Information hiding and Encapsulation..
none

Consider the following statement: int a,b=10; Which of the following is correct:
variable "a" is initialized to 10
Variable "b" is initialized to 10 :thinking
Both variables "a" and "b" are initialized to 10
variables can not be initialized this way

When a small set of functions (which use each other) is so overwhelmingly the bottleneck, there are two alternatives:

use a better algorithm OR re-write the code
debug the code OR place assertions in code
remove the functions OR add more functions
changed programming language OR compiler at least..

Exception handling provides:
Portability mechanism
Code Usability mechanism
Error Handling mechanism..
all

Code should not be
commented..
indented
cryptic
aligned

It ensures that a class only has one instance and provides a global point of access to it.
Singleton Pattern..
Observer Pattern
real
none

Names representing methods and functions should be----and written in mixed case starting with -----case.
Noun—lower
Verb----lower..
Noun ---upper

Goto statements violate the idea of
object oriented code
structured code...
control structure 
repetition structure

The order in which bytes of one word are stored is _________ dependent
hardware..
software
language
syntax
The number __________ is the most abused symbol in programs written in C or C++
1
0..
2
3

In case of header files, construction is to avoid ------ errors. The construction should appear in the top of the file (before the file header).
compilation
runtime
logical
all

Variables should be initialized where they are ------and they should be declared in the ------scope possible.
defined and medium
declared and medium
defined and smallest
declared and smallest..

Class variables should never be declared publicPublic variables violate which of the following:
Information hiding
Encapsulation
Information hiding and Encapsulation..
none

Consider the following statement: int a,b=10; Which of the following is correct:
variable "a" is initialized to 10
Variable "b" is initialized to 10 :thinking
Both variables "a" and "b" are initialized to 10
variables can not be initialized this way

When a small set of functions (which use each other) is so overwhelmingly the bottleneck, there are two alternatives:

use a better algorithm OR re-write the code
debug the code OR place assertions in code
remove the functions OR add more functions
changed programming language OR compiler at least..

Exception handling provides:
Portability mechanism
Code Usability mechanism
Error Handling mechanism..
all

Code should not be
commented..
indented
cryptic
aligned

It ensures that a class only has one instance and provides a global point of access to it.
Singleton Pattern..
Observer Pattern
real
none

Names representing methods and functions should be----and written in mixed case starting with -----case.
Noun—lower
Verb----lower..
Noun ---upper

Goto statements violate the idea of
object oriented code
structured code...
control structure 
repetition structure

The order in which bytes of one word are stored is _________ dependent
hardware..
software
language
syntax
The number __________ is the most abused symbol in programs written in C or C++
1
0..
2
3

RSS

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service