0% found this document useful (0 votes)
7 views3 pages

Programming-In-C 22

The document outlines an examination paper for a Programming in C course, specifying a total of three hours and a maximum of 80 marks. It includes a compulsory question and five questions from four units, covering topics such as data types, operators, functions, loops, and arrays. Each question carries equal marks, and students are required to select one question from each unit.

Uploaded by

anshudhiman203
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
7 views3 pages

Programming-In-C 22

The document outlines an examination paper for a Programming in C course, specifying a total of three hours and a maximum of 80 marks. It includes a compulsory question and five questions from four units, covering topics such as data types, operators, functions, loops, and arrays. Each question carries equal marks, and students are required to select one question from each unit.

Uploaded by

anshudhiman203
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 3
Roll No. Total Pages : 03 GSE/D-22 |. 1166 PROGRAMMING IN C BCA-116 Time : Three Hours] [Maximum Marks : 80 Note: Attempt Five questions in all, selecting one question from each Unit. Q. No. 1 is compulsory. All questions carry equal marks. (Compulsory Question) 1. (a) What is the role of comments ? How comments can be written in C ? (b) Differentiate between getch(), getche() and getchar(). (c) Differentiate between break ‘and continue. (d) What is recursion ? (©) Why goto statement should be avoided in a program ? (f) How arrays can be initialized ? (2) What is meant by typecasting ? (h) How can you declare a string in C ? 8x2=16 (6-00/9) L-1166 P.T.O. 2 (a (b) 3% @ (b) Unit I Explain various data types in C. 8 Explain structure of a C program using suitable example. 8 What is the difference between constants and variables ? How can we declare constants in C ? Explain using suitable examples. 8 ‘Explain various /O functions in C using suitable examples. 8 Unit If 4. Describe various operators in C along with their hierarchy , and associativity. 16. 5. (a) Write a program in C to find greatest among three numbers. 8 (b) Discuss switch statement with the help of suitable examples. Also discuss all the possible cases in switch statement. 8 Unit U1 6. (a) Write a program in C to find the sum of the digits L-1166 of the input number. 8 (b) What do you understand by function ? Explain the various benefits of using functions. 8 7. Describe various types of loops in C with the help of suitable examples. 2 16 Unit IV 8. Explain various storage classes in C in detail. 16 9. What do you mean by array ? Explain various types of arrays in detail. Write a program in C to biggest of n numbers. 16 (6-00/10) L-1166 3 3,900

You might also like