We also provide Past papers for Mids.
and Finals
Cross Check your answers before submitting directly from the file. We are not
responsible for 100% correction as human error exists
MCQ 1:
Question: Which of the following statement is used for output in C++?
Options:
a) cin
b) cout
c) cin >> cout
d) cout << cin
Correct Option: b) cout
MCQ 2:
Question: What is the output of the following code?
```cpp
int sum = 7;
if (sum >= 20)
cout << "You win ";
if (sum < 20)
cout << "You lose ";
cout << "the prize.";
```
Options:
a) You win the prize.
b) You lose the prize.
c) You win You lose the prize.
d) You lose You win the prize.
Correct Option: b) You lose the prize.
MCQ 3:
Question: Which of the following is correct for the incremental model?
Options:
a) Development completes in maximum four increments
b) 1st increment is the simplified version
c) All increments are created at once
d) 1st increment is the complex version
Correct Option: b) 1st increment is the simplified version.
MCQ 4:
Question: _________ is the field of engineering that deals with designing system's interfaces by
considering the humans' physical abilities.
Options:
a) Thermodynamics
b) Ergonomics
c) Genetics
d) Cognetics
Correct Option: b) Ergonomics
MCQ 5:
Question: A stronger form of cohesion is also called as __________cohesion.
Options:
a) None functional
b) Independent
c) Weak
d) Functional
Correct Option: d) Functional
MCQ 6:
Question: GOMS model is based on ________________.
Options:
a) Human behaviors
b) Software documentation
c) Machine behavior
d) Hardware architecture
Correct Option: a) Human behaviors
MCQ 7:
Question: Distinction between software engineering and other engineering disciplines is the lack of
quantitative techniques, called _________.
Options:
a) Quality
b) Calculation
c) Metrics
d) Complexity
Correct Option: c) Metrics
MCQ 8:
Question: How many relational operators are offered by C++?
Options:
a) 8
b) 4
c) 2
d) 6
Correct Option: d) 6
MCQ 9:
Question: In the case of highly standardized languages, compiler designers often provide features,
sometimes called __________.
Options:
a) Language extension
b) Language translators
c) Language symbols
d) Language code
Correct Option: a) Language extension
MCQ 10:
Question: In a Structure Chart, functions are represented by ____________.
Options:
a) Arrows
b) Rectangles
c) Triangles
d) Circles
Correct Option: b) Rectangles