Sie sind auf Seite 1von 2

Exam Project – C_ Programming

Instructions for Evaluation of C Programming Exam Project Report

Important Instructions - Total Marks - 100

1. Send the soft copy of Source code along with out put/screen shot, please do not send
binary / executable file.
2. Source Code to be send in .TXT (notepad file) & out put /screen shot to be send in .DOC
(Microsoft Word file) or .Jpeg file.
3. Please mention your Complete Registration Number and Full Name in the source file
4. Save your attachment with Subject Name & your Complete Registration Number
e.g C _Exam Pro. 200700001.
5. Send Source Code & out put /Screen shot file in one single mail.
6. Please send your Project to the following email id – pgdit3@scdl.net
7. Solve any TWO questions - one from each section.
8. Each question carries 50 marks.

Students are instructed to attempt one option each from the 2 questions given (Q1 and Q2)

Q.1 Write a C Program to display the following menu:

Menu
1. Display
2. Copy
3. Append
4. Exit

Accept the choice (1-4) from the user, and perform the following tasks:

Choice 1: Accept a file name from the user and display the file on screen

Choice 2: Accept two file names, and copy first file to the second

Choice 3: Accept two file names, and append second file to the first file

Choice 4: Terminate the program

Your program should have appropriate validations

Total Marks: 50

(OR)

Write a C Program to create a structured data file named Student.dat to store the roll no, name
and course.
Provide following functions:

1. Accept the values from the user using structure variables. Store the contents in a file.
2. Display the file.

3. The user should be able to add new records to the existing file. And display the new file.

Total Marks: 50

Q.2 Write a C Program to declare an array for 2 0 floats. Accept the values from the user
sort the two arrays in descending order. Merge the two arrays into a new array and display
the new array.

Total Marks: 50

(OR)

Accept any two numbers from the user.

Perform the following operations on it using functions:

1. Addition
2. Subtraction
3. Multiplication
4. Swap the values
5. Print both the numbers in reverse order for example (if a given number is 234, it should
be printed as 432)

Total Marks: 50

______________________________________________________________________

Das könnte Ihnen auch gefallen