MCQs and Quiz on Software Engineering for Jobs, Subject Specialists, FPSC, PPSC, NWFP PSC, BPSC and all other Jobs
Software engineering primarily aims on developing
Option 1
|
cost effective software |
Option 2
|
reliable software |
Option 3
|
reliable and cost effective software |
Option 4
|
none of the these |
Which of the following is a tool in design phase?
Option 1
|
Refinement |
Option 2
|
Information hiding |
Option 3
|
Abstraction |
Option 4
|
All of these |
Option 5
|
None of the these |
Design phase includes
Option 1
|
data, architectural and procedural designs only |
Option 2
|
data, architectural and interface designs only |
Option 3
|
architectural, procedural and interface designs only |
Option 4
|
data, architectural, interface and procedural designs |
Data structure suitable for the application is discussed in
Option 1
|
architectural design |
Option 2
|
data design |
Option 3
|
procedural design |
Option 4
|
interface design |
Design phase will usually be
Option 1
|
bottom-up |
Option 2
|
random |
Option 3
|
top-down |
Option 4
|
center fringing |
Assertions are conditions which are true at the point of execution
Option 1
|
always |
Option 2
|
sometimes |
Option 3
|
many times |
Option 4
|
no time |
In a particular program, it is found that 1% of the code accounts for 50% of the execution time. To code the program in FORTRAN, it takes 100 man-days. Coding in assembly language is 10 times harder than coding FORTRAN, but runs 5 times faster. Converting an existing FORTRAN program to an assembly language program is 4 times harder.
To completely write the program in FORTRAN and rewrite the 1% code in assembly language, if a project team needs 13 days, the team consists of
Option 1
|
13 programmers |
Option 2
|
10 programmers |
Option 3
|
100/13 programmers |
Option 4
|
8 programmers |
In a particular program, it is found that 1% of the code accounts for 50% of the execution time. To code the program in FORTRAN, it takes 100 man-days. Coding in assembly language is 10 times harder than coding FORTRAN, but runs 5 times faster. Converting an existing FORTRAN program to an assembly language program is 4 times harder.
If 99% of the program is written in FORTRAN and the remaining 1% in assembly language, the percentage increase in the programming time compared to writing the entire program in FORTRAN and rewriting the 1% in assembly language is
Option 1
|
10 |
Option 2
|
5 |
Option 3
|
12 |
Option 4
|
7 |
In a particular program, it is found that 1% of the code accounts for 50% of the execution time. To code the program in FORTRAN, it takes 100 man-days. Coding in assembly language is 10 times harder than coding FORTRAN, but runs 5 times faster. Converting an existing FORTRAN program to an assembly language program is 4 times harder.
If the entire program is written in FORTRAN, the percentage increase in the execution time, compared to writing the entire program in FORTRAN and rewriting the 1% in assembly
Option 1
|
8 |
Option 2
|
0.9 |
Option 3
|
0.8 |
Option 4
|
9 |
In a particular program, it is found that 1% of the code accounts for 50% of the execution time. To code the program in FORTRAN, it takes 100 man-days. Coding in assembly language is 10 times harder than coding FORTRAN, but runs 5 times faster. Converting an existing FORTRAN program to an assembly language program is 4 times harder.
If 99% of the program is written in FORTRAN and the remaining 1% in assembly language, the percentage increase in execution time, compared to writing the entire program in FORTRAN and rewriting the 1% in assembly language is
Option 1
|
0.8 |
Option 2
|
1.1 |
Option 3
|
0.7 |
Option 4
|
0 |