0% found this document useful (0 votes)
96 views5 pages

Tutorials - Software Engineering

This document contains 5 tutorials related to a Software Engineering course for MCA students. Each tutorial contains 2-3 multiple choice or short answer questions related to software engineering topics like equivalence class testing, cyclomatic complexity, function point analysis, and software project planning.

Uploaded by

NEELAM RAWAT
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
Download as doc, pdf, or txt
0% found this document useful (0 votes)
96 views5 pages

Tutorials - Software Engineering

This document contains 5 tutorials related to a Software Engineering course for MCA students. Each tutorial contains 2-3 multiple choice or short answer questions related to software engineering topics like equivalence class testing, cyclomatic complexity, function point analysis, and software project planning.

Uploaded by

NEELAM RAWAT
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1/ 5

KIET Group of Institutions

KIET/DEAN/2018/10

Department of Computer Applications


COURSE MCA, V SEM
Tutorial - 1, (2019-20) Odd Semester
Software Engineering (RCA-502)

Q. No. Questions Marks BL


Draw E-R diagram for the following situation

1. An account is a relationship between customer and bank. A 10 BL-6


customer has a name. A bank has a branch. A customer may
have several accounts of different type and balance.
Consider a program which registers students for different
programs. The students fill a form and submit it. This is sent to
2. the departments for confirmation. Once it is confirmed, the 10 BL-6
form and the fees is sent to the account section. Draw a data
flow diagram using SRD technique.
KIET Group of Institutions

KIET/DEAN/2018/10

Department of Computer Applications


COURSE MCA, V SEM,
Tutorial - 2, (2019-20) Odd Semester
Software Engineering (RCA-502)

Q. No. Questions Marks BL


Consider a program that reads a set of Data for ‘n’ no. of triangles. The
program reads three integer values as representing the sides of triangles.
The program prints for each triangle whether the triangle is isosceles or
1. 10 BL-4/5
equilateral or a simple. Develop logic and do the following:
(i) Compute cyclomatic complexity?
(ii) Design test cases for loop testing?
KIET Group of Institutions

KIET/DEAN/2018/10

Department of Computer Applications


COURSE MCA, V SEM,
Tutorial - 3, (2019-20) Odd Semester
Software Engineering (RCA-502)

Q. No. Questions Marks BL


For the program given below, calculate the values of software science
measures like η, N, V, E and λ.
1. int. sort (int x[], int n)
2. {
3. int i, j, save, im1;
4. /*This function sorts array x in ascending order*/
5. If (n<2) return 1;
6. for (i =2; i<=n;i++)
7. {
8. im1=i-1;
1. 10 BL-5
9. for (j=1;j<=im;j++)
10. if (x[i]<x[j] )
11. {
12. Save = x[i];
13. x [i]=x[j];
14. x [j]=save;
15. }
16. }
17. return 0;
18. }
Compute function point value for a project with the following domain
characteristics:
 No. of I/P = 30
 No. of O/P = 62
2.  No. of user Inquiries = 24 10 BL-5
 No. of files = 8
 No. of external interfaces = 2
Assume that all the complexity adjustment values are average. Assume
that 14 algorithms have been counted.
KIET Group of Institutions

KIET/DEAN/2018/10

Department of Computer Applications


COURSE MCA, V SEM,
Tutorial - 4, (2019-20) Odd Semester
Software Engineering (RCA-502)

Q. No. Questions Marks BL


A function named compute-electricity-bill was written to compute the
electricity bill by an electricity distribution company. The tariff depends
not only the customer type, but also on the number of units consumed. The
function compute-electricity-bill takes two parameters, the number of units
consumed by a customer and the corresponding customer type. The
customer type is an integer value in the range 1 to 5 indicating whether the
1. 10 BL-3
customer is domestic, industrial, commercial establishment, etc. The slabs
for different charges based on the units consumed are 0 to 100 units, 100 to
200 units, 200 to 500 units, and 500 units and above. How many test cases
are required for weak equivalence class test testing of the function
compute-electricity-bill?
a) 4 b) 5 c) 8 d) 10
For the function compute-electricity-bill described in question 1 above, at
least how many test cases are required for strong equivalence class testing
2. 10 BL-3
of the function?
a) 10 b) 11 c) 20 d) 21
For the function compute-electricity-bill described in question 3 above, at
least how many test cases are required for strong robust equivalence class
3. 10 BL-3
testing?
a) 25 b) 28 c) 35 d) 42
KIET Group of Institutions

KIET/DEAN/2018/10

Department of Computer Applications


COURSE MCA, V SEM,
Tutorial - 5, (2019-20) Odd Semester
Software Engineering (RCA-502)

Consider a program which computes the square root of an input integer


1. between 0 and 5000. Determine the equivalence class test cases. Determine 10 BL-3
the test cases using boundary value analysis also.
A software project is planned to cost 95PY in a period of 1 year and 9
2. months. Calculate the peak manning and average rate of software them 10 BL-6
build up.

You might also like