0% found this document useful (0 votes)
4 views2 pages

Programming With C

This document is an examination question paper for the F.Y.B.Sc. (CS) Programming with C course, dated April 2023. It consists of four sections with a total of 75 marks, covering topics such as data types, variables, pointers, arrays, and functions in C programming. Students are required to answer a selection of questions from each section, with specific instructions regarding language use and question format.

Uploaded by

adarshgupta.pvt
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)
4 views2 pages

Programming With C

This document is an examination question paper for the F.Y.B.Sc. (CS) Programming with C course, dated April 2023. It consists of four sections with a total of 75 marks, covering topics such as data types, variables, pointers, arrays, and functions in C programming. Students are required to answer a selection of questions from each section, with specific instructions regarding language use and question format.

Uploaded by

adarshgupta.pvt
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/ 2

F.Y.B.Sc.

(CS) (Sem-II) April-2023


Q.P.Code: 0000227
Programming with C
[Time:2.30 Hrs] [ Marks:75]
Please check whether you have got the right question paper.
N.B: 1. All question is compulsory.
2. Figures to the right indicate full marks.
3. Students answering in the regional language should refer in case of
doubt to the main text of the paper in English.

Q. 1 Answer the Following. (Any 4) (20 Marks)


a. Differentiate between Interpreter and Compiler.
b. Explain the loop structures available in C languages.Explain any one in detail
with example.
c. Explain in brief hierarchy of data type variables in C programming.
d. What is the difference between = and == symbols in C programming? Explain
with suitable example.
e. Briefly explain with example working of continue statement in C
programming.
f. Write a short note on conditional operator.

Q. 2 Answer the Following. (Any 4) (20 Marks)

a. Define local variable and global variable. Explain in brief.


b. Differentiate between array types of C with list and tuple types of Python.
c. Explain the various ways of initializing one-dimensional integer and character
arrays.
d. What is putchar? Explain with appropriate example.
e. Explain in detail function prototype.
f. Briefly explain working of strcmp function.

Q. 3 Answer the Following. (Any 4) (20 Marks)

a. Write a short note on chain of pointers.


b. Write a C program for defining pointer variable to the structure. Also
initialized structure elements pointed by pointer and print the same.
c. State and explain rules for initializing structure.
d. What does sizeof operator does? Explain with suitable example.
e. Write a C program using pointers to compute the sum of all elements stored in
an array.
f. What is Unions in C programming? How it is different from Structure

Q. 4 Answer the Following. (Any 3) (15 Marks)


a. Explain in brief structure of C program.
b. Explain working of increment and decrement operator in C programming?
Explain with example.
c. Explain the nesting of function with appropriate example.

Page 1 of 2
Q.P.Code: 0000227

d. State and explain example of a function with argument and return values.
e. Write a short note on fseek function.
f. Explain the following with declaration syntax and example
i. pointer to array
ii. array of pointers

**************

Page 2 of 2

You might also like