Final Term C Programming2080
Final Term C Programming2080
a) 5 c) 6
b) 9 d) None
Symbol No.: ……............
~ THE END ~
Final EXAMINATION
2080 (2024)
PROGRAMMING PRINCIPLE & CONCEPT IN C LANGUAGE
Candidates are required to give their answers in their own words as far
as practicable.
Class: 9 “Engineering” Time: 1:45 hrs F.M.: 9 + 41
Group ‘B’ (Subjective)
Give short answer to the following questions. 5 ×5=25
1. Define Language Translator? Write differences between compiler
and interpreter.
2. Write short definition of following terms in c Programming. 5x1=5
i) Data types ii) Array iii) Structure
iv) Union v) Pointer
3. Define else if statements. Write a program to find greatest number
among three different numbers.
4. What is operator in C? Write a program in c to convert meter into
centimetre.
5. What is loop? Write a program in c find reverse of any number
given by user.
Group ‘C’
Give long answer to the following question. 2 ×8=16
1. Write a program following program using function. 2x4=8
a) To find perimeter of circle use return type with argument
function type.
b) Find volume of cylinder use no return type with no argument
function type.
2. a) Write a program in c to display 10 different numbers given by users 4
b) Write a program in C by defining the structure type struct
personal that would contain personal name, date of joining and
salary. Program will read the information of one person and display
them 4