- Type
- Quiz
- Course
- CS504 Software Engineering - I
- Size
- PDF 446 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 1, 2, 3 of 32. Download the file for all 32 pages.
CS-504 Quiz -3 File
By Vu Topper RM
Q1. Vu-Topper RM (1 marks)
Comma is very dangerous because Compiler does not recognize it It creates linkage problem Side effects
All of the above
Q2. Vu-Topper RM (1 marks)
A self-documenting code is that explains itself without need of comments & extraneous documentation, like Flow charts UML diagram PFS diagram
All
Q3. Vu-Topper RM (1 marks)
—- & ——- r important short circuiting logical operators AND, OR,
Both
None
Q4. Vu-Topper RM (1 marks)
The number---------is the most abused symbol in programs written in C or C++.
0 Page 169
Q5. Vu-Topper RM (1 marks)
Variables should be initialized where they are ——and they should be declared in the ——scope possible.
defined and smallest declared and medium Declared and smallest Page 161
Q6. Vu-Topper RM (1 marks)
-----------was the first pure Object-Oriented language in which observer pattern was used in implementing its Model View Controller pattern
Smalltalk
PASCAL JAVA C++
Q7. Vu-Topper RM (1 marks)
Names representing methods and functions should be—-and written in mixed case starting with —–case. Noun—lower
Verb and lower
Noun —upper Noun—-upper
Q8. Vu-Topper RM (1 marks)
The size of ---------plays a significant role in making the program easy or difficult to understand. Object data type
Function Page 170
none of the above
Q9. Vu-Topper RM (1 marks)
In case of using unrelated operators in a single expression, _________ would be the best choice to prevent the logical errors.
Comments Indents
parenthesis Page 166
Short Cuts
Q10. Vu-Topper RM (1 marks)
Goto statements violate the idea of control structure
Structured code Page 164
repetition structure object-oriented code
Q11. Vu-Topper RM (1 marks)
Code should not be:
Commented
indented cryptic aligned
Q12. Vu-Topper RM (1 marks)
Complex expressions: Make the code easy to modify
Make the code difficult to modify
Make the code easy to understand Does not affect understandability
Q13. Vu-Topper RM (1 marks)
A self-documenting code is a code that explains itself without the need of comments and extraneous documentation, like _______ Flowcharts UML diagrams
Related CS504 files
All CS504 files →Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.