Assignment-2

Report 6 Downloads 70 Views
Assignment-2 Name of Student

Sections

Register No.

Marking Scheme

Max Marks

A1.1

Difference between verification and validation

03

A1.2

Difference between top down approach and bottom up approach

03

A1.3

Tools used for software testing

04

Part A

Part-A Max Marks

Part B1

10

B1.1

Introduction and problem definition

01

B1.2

Problem solving approach

01

B1.3

Algorithm/Flow chart

01

B1.4

Implementation

02

B1.5

Results and analysis

03

B1.6

Concluding remarks (Summary, limitations, improvements)

02

First Examiner Marks

Second Examiner Marks

B.1 Max Marks

10

B2.1

Introduction and problem definition

01

B2.2

Problem solving approach

01

B2.3

Algorithm/Flow chart

01

B2.4

Implementation

02

B2.5

Results and analysis

03

B2.6

Concluding remarks (Summary, limitations, improvements)

02

B.2 Max Marks

10

Part B2

Part B3

Part B4

B3.1

Introduction and problem definition

01

B3.2

Problem solving approach

01

B3.3

Algorithm/Flow chart

01

B3.4

Implementation

02

B3.5

Results and analysis

03

B3.6

Concluding remarks (Summary, limitations, improvements)

02

B.3 Max Marks

10

B4.1

Introduction and problem definition

01

B4.2

Problem solving approach

01

B4.3

Algorithm/Flow chart

01

B4.4

Implementation

02

B4.5

Results and analysis

03

B4.6

Concluding remarks (Summary, limitations, improvements)

02

B.4 Max Marks

10

Total Assignment Marks

50

-

Part –A

(10 marks)

Preamble Testing is needed in any field of engineering process for a system with the intent of finding errors, in the field of software engineering. Write a note on testing a program and the things to keep points in mind while testing a program. a. Mention difference between verification and validation. b. Mention difference between top down approach and bottom up approach. c. Latest tools used for software testing

PART B

40 Marks

B1 Develop a C program which defines a structure representing account type having bank_branch, bank_name, acc_holder_name, acc_number, acc_holder_address, available_balance for real time banking application. Write functions to display account information, create new account, to deposit amount in an account, to withdraw amount from an account and to display available options in this application.

B2 Write an interactive C program to read mass of the vehicle, the initial and the final speed in Km/h, the duration of the change of speed in seconds. Compute kinetic energy and braking power. 𝟏

Kinetic energy = 𝟐m (v12 - v22) Breaking power =

𝐜𝐡𝐚𝐧𝐠𝐞 𝐢𝐧 𝐞𝐧𝐞𝐫𝐠𝐲 𝐭𝐢𝐦𝐞 𝐭𝐚𝐤𝐞𝐧

B3 Using pointer feature, write an interactive C program to read the size and elements of a square matrix. Compute and print the sum of individual rows, columns and diagonals. Check if the matrix is identity matrix. Compute the inverse of the matrix

B4 For a set of N data points with a normal (Gaussian) distribution the mean Xmean and standard deviation σ are defined as:

The standard deviation is used in the determination of the probability of occurrence of an event in a system that has a normal distribution. Write a C program to read n data values and compute mean of the values and standard deviation. Write functions to print values to a file and read from the file to display the data, mean and standard deviation.

   

Recommend Documents