0% found this document useful (0 votes)
2K views3 pages

FYBBA (CA) C Programming Sem - I (2021-22) Question Paper

1. This document is an internal assessment from the 2021-2022 academic year for a Class FYBBA(CA) semester 1 subject 'C' Programming class at Padmashri Manibhai Desai Mahavidyalaya. 2. The assessment contains 5 questions testing knowledge of basic C programming concepts like data types, operators, conditional statements, and loops. 3. Students are instructed to write their answers in the spaces provided and the document tracks their progress out of a total of 20 marks over the 1 hour assessment.

Uploaded by

Pravin Nagawade
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
2K views3 pages

FYBBA (CA) C Programming Sem - I (2021-22) Question Paper

1. This document is an internal assessment from the 2021-2022 academic year for a Class FYBBA(CA) semester 1 subject 'C' Programming class at Padmashri Manibhai Desai Mahavidyalaya. 2. The assessment contains 5 questions testing knowledge of basic C programming concepts like data types, operators, conditional statements, and loops. 3. Students are instructed to write their answers in the spaces provided and the document tracks their progress out of a total of 20 marks over the 1 hour assessment.

Uploaded by

Pravin Nagawade
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 3

Mahatma Gandhi Sarvodaya Sangh Sanchalit,

Padmashri Manibhai Desai Mahavidyalaya,


Uruli Kanchan, Tal- Haveli, Dist Pune 412202
Internal Assessment – Academic Year 2021-22

Class :- FYBBA(CA) Marks : 20 Sign of Junior Supervisors


Semester :- I Time : 1 Hour
Subject : ‘C’ Programming Date : 22/12/2021
Name of Students :............................................................................................................

Instructions:
Write down answers in the space provided. Figures on right indicate marks.
Q. 1.) State True or False and write down correct statement. 6
1. Mod(%) operator permits use of Floating Point Data Type.

2. In C language there are total 45 keywords.

3. You don’t have to declare the variables at the start of the program.

4. If Statement is used for branching or decision making.

5. Looping means repeating some statements until a given condition is true.

6. & is a logical operator.

Q. 2.) Write a program to read a number and check if it is even of odd. 3.


Q.3) Select correct alternative and write down correct statement. 4

a. What is the output of this statement "printf("%d", (a++))"?_________


a) The value of (a + 1).
b) The current value of a.
c) Error Message.
d) Garbage value.

b. A variable name cannot contain–


a) Underscore b) Uppercase Alphabet
c) Number d) Blanks

c. Which one of the following is a loop construct that will always be executed
once?_______
a) for b) while
c) switch d)do…while

d. If-Else construct is also known as _______


a) Loop b) Iteration
c) Branching d) Function

Q.4) What will be the output of following programs, explain each in 2/3 Lines. 4
1)
void main()
{
int k, num=30;
k=(num>35)?(num<10?100:200):500;
printf("%d ",k);
}

(a) 500 (b) 10 (c) 200 (d) 100

2) void main()
{
int x = 0;
if (++x>0)
{
x++;
}
printf("%d",x);
}
(a) 2 (b) 10 (c) 11 (d) error
Q. 5.) Solve any 2 of following 3
A) Explain the structure of C Program.
B) Explain Relational operator in C.
C) Explain for loop with example.

****

You might also like