Skip to content
VUBuddy

CS504 Quiz 4 Set 2

Software Engineering - I PDF 846 KBUpdated 23 Oct 2026
Quiz CS504 Quiz 4 Set 2 PDF 846 KB
vubuddy.com
Type
Quiz
Course
CS504 Software Engineering - I
Size
PDF 846 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 846 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 1, 2 of 2. Download the file for all 2 pages.

Q1. Constant values used in the program are called_________.

  1. Real Numbers
  2. Constant Numbers
  3. Positive Numbers
  4. Magic Numbers

Correct answer: Magic Numbers

Q2. If a function changes the value of some other accessible data object along with returning its value after execution, is called ___________.

  1. Short Circuiting
  2. Abstraction
  3. Side Effects
  4. Modularity

Correct answer: Side Effects

Q3. Identify the TRUE statement:

  1. Size of data types vary from one machine to other
  2. Portability effects security
  3. Size of control structures vary from one machine to other
  4. To write portable code, use vendor specific language extensions as much as possible

Correct answer: Size of data types vary from one machine to other

Q4. C++ header files should have the extension---- Source files can have the extension ----

  1. All of the given
  2. .c and .h
  3. .h and .cpp
  4. .cc and .h

Correct answer: .h and .cpp

Q5. which of the following statements are same in output:

1) a = a >> 2

2) a = a / 4

Q3. a = a * 2

  1. (1) and (2) only
  2. (2) and (3) only
  3. (1) and (3) only
  4. All procduce the same result

Correct answer: (1) and (2) only

Q6. The size of __________ plays a significant role in making the program easy or difficult to understand.

  1. function
  2. data type
  3. object
  4. none of the above

Correct answer: function

Q7. STL Stnads for ------------------

  1. Standard Type Link
  2. Standard Type Link
  3. Standard Tempo Line
  4. Standard Template Library

Correct answer: Standard Template Library

Q8. One of the main reasons to make functions is ________.

  1. Reliability
  2. Reusability
  3. Effeciency
  4. Maintainability

Correct answer: Reusability

Q9. if a major rework is required to translate a program written for one environment to another, it means code is not or less _________

  1. plateform dependent
  2. Secure
  3. Bug Free
  4. Portable

Correct answer: Portable

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

  1. All of the given
  2. compilation
  3. run time
  4. logical

Correct answer: compilation

All CS504 files →
CS504 Software Engineering - I All CS504 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.