[go: up one dir, main page]

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

FYBCS C Programming Sem - I (2021-22) Question Paper

1. The document is an internal assessment from the academic year 2021-2022 for a Class FYBCS semester 1 'C' programming subject from Padmashri Manibhai Desai Mahavidyalaya. It contains 4 questions assessing knowledge of 'C' programming concepts like operators, flowcharts, algorithms, and conditional statements. 2. Question 1 contains 6 true/false statements about 'C' programming concepts. Question 2 asks to write an algorithm and draw a flowchart to check if a number is even or odd. Question 3 contains 4 multiple choice questions about flowcharts, variable names, algorithms, and conditional statements. Question 4 analyzes the output of 2 short programs using conditional statements.

Uploaded by

Pravin Nagawade
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)
283 views2 pages

FYBCS C Programming Sem - I (2021-22) Question Paper

1. The document is an internal assessment from the academic year 2021-2022 for a Class FYBCS semester 1 'C' programming subject from Padmashri Manibhai Desai Mahavidyalaya. It contains 4 questions assessing knowledge of 'C' programming concepts like operators, flowcharts, algorithms, and conditional statements. 2. Question 1 contains 6 true/false statements about 'C' programming concepts. Question 2 asks to write an algorithm and draw a flowchart to check if a number is even or odd. Question 3 contains 4 multiple choice questions about flowcharts, variable names, algorithms, and conditional statements. Question 4 analyzes the output of 2 short programs using conditional statements.

Uploaded by

Pravin Nagawade
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

Mahatma Gandhi Sarvodaya Sangh Sanchalit,

Padmashri Manibhai Desai Mahavidyalaya,


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

Class :- FYBCS Marks : 10 Sign of Junior Supervisors


Semester :- I Time : 30 Minutes
Subject : ‘C’ Program Date : 20/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. 3
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 algorithm and draw a flowchart to read a number and check if it is even of
odd. 2
Q.3) Select correct alternative and write down correct statement. 2

a. Following is not symbol in flowchart _________


a) Flow line
b) Rectangle
c) Square
d)Dimond

b. A variable name cannot contain–


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

c. Step by step solution of given problem is called _______


a) Flowchart b) Algorithm
c) Function d) Program.

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. 3
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

****

You might also like