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

C-Programming Sessional Paper

The document is a mid-term examination for a programming in C course. It contains 4 questions, with the first question being compulsory and asking to explain high level vs low level languages, algorithms vs flowcharts, break vs continue statements, and linker vs loader. It also asks about formal vs actual arguments. The other questions ask about storage classes, recursion, call by value vs reference, operators, checking palindromes, and C data types.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

C-Programming Sessional Paper

The document is a mid-term examination for a programming in C course. It contains 4 questions, with the first question being compulsory and asking to explain high level vs low level languages, algorithms vs flowcharts, break vs continue statements, and linker vs loader. It also asks about formal vs actual arguments. The other questions ask about storage classes, recursion, call by value vs reference, operators, checking palindromes, and C data types.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

(Please Write your Roll No.

immediately) Roll No……………………………

Mid-Term Examination
B.Tech- 1st Sem Feb- March 2022

Paper Code: ES-101 Subject: Programming in ‘C’

Time: 1.5 hours Max. Marks: 30

Note: Q. No. 1 is compulsory. Attempt any two more question from the rest.

Q1. Write brief note on following:- (CO1) (2*5=10 marks)

(a.) High level Vs Low level language.


(b.) Algorithm Vs Flow chart.
(c.) Break Vs Continue statement.
(d.) Linker Vs Loader.
(e.) Formal Vs Actual Arguments.

Q2. (a) Explain all the Storage classes. What is the difference between automatic and static
Storage class. (CO2) (5 marks)
(b) Write a program to print Fibonacci series up to n number using recursion.
(CO2) (5 marks)

Q3. (a) Differentiate between call by value and call by reference parameter passing mechanism
with the help of an example. (CO2) (5 marks)

(b) Compare = (single equal) and = = (double equal) operators. What is the output of following
program: (CO2)(5 marks)
int a=8, b=10,c;
C= a++ + b + a++;
Printf(“%d”,c);
C = ++ a + b + ++ c;
Printf(“%d”,c);

Q4. (a) Write a program to check given string is palindrome or not. (CO2) (5 marks)
(b) Explain all the data types of C language with example. (CO2) (5 marks)

You might also like