0% found this document useful (0 votes)
9 views

C - Continuous Lab Assessment Format

Uploaded by

rakshitamogha
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

C - Continuous Lab Assessment Format

Uploaded by

rakshitamogha
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

DELHI TECHNICAL CAMPUS

Greater Noida
Affiliated to GGSIPU and Approved by AICTE & COA

Department of Computer Science & Engineering


Name of the Student: Session:
Enrollment Number: Subject:
Semester: Section: Subject Code:

Date of A B C D E Total Sign of the


S.N Name of the Experiment
Conduction [20] [40] [20] [10] [10] [100] Faculty
Write a program for the multiplication of two matrices using OOP.
1
Write a program to perform addition of two complex numbers using constructor overloading. The first constructor which takes
2 no argument is used to create objects which are not initialized, second which takes one argument is used to initialize real and imag
parts to equal values and third which takes two argument is used to initialized real and imag to two different values.
3 Write a program to find the greatest of two given numbers in two different classes using friend function.
Implement a class string containing the following functions:
i. Overload + operator to carry out the concatenation of strings.
ii. Overload = operator to carry out string copy.
4 iii. Overload <= operator to carry out the comparison of strings.
iv. Function to display the length of a string.
v. Function tolower( ) to convert upper case letters to lower case.
vi. Function toupper( ) to convert lower case letters to upper case.
Create a class called LIST with two pure virtual functions store() and retrieve().To store a value call store and to retrieve call
5 retrieve function. Derive two classes stack and queue from it and override store and retrieve.

6 Write a program to define the function template for calculating the square of given numbers with different data types.
Write a program to demonstrate the use of special functions, constructor and destructor in the class template. The program is used
7 to find the bigger of two entered numbers.
Write a program to perform the deletion of white spaces such as horizontal tab, vertical tab, space ,line feed ,new line and carriage
8 return from a text file and store the contents of the file without the white spaces on another file.
Write a program to read the class object of student info such as name , age ,sex ,height and weight from the keyboard and to store
9 them on a specified file using read() and write() functions. Again the same file is opened for reading and displaying the contents
of the file on the screen.
Write a program to raise an exception if any attempt is made to refer to an element whose index is beyond the array size.
10
Max Marks [1000]

A: PROCEDURE B: CONDUCTION C: CALCULATION & RESULTS D: VIVA/ ORAL E: RECORD WRITTNG Reduce to 40

Sign of the Faculty Sign of HOD

You might also like