0% found this document useful (0 votes)
237 views1 page

PPS - I Mid Term-SET-1

The document is a mid-term examination for a programming course. It contains 3 parts with multiple choice and numerical questions. Part A contains 5 multiple choice questions about programming concepts like flowcharts, loops, operators. Part B contains a numerical question to write a program to print patterns. Part C contains 2 questions - one to write a program to calculate student grades based on marks and another to explain arrays and write a program to find the minimum element in an array with a flowchart.

Uploaded by

EE Arnav
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)
237 views1 page

PPS - I Mid Term-SET-1

The document is a mid-term examination for a programming course. It contains 3 parts with multiple choice and numerical questions. Part A contains 5 multiple choice questions about programming concepts like flowcharts, loops, operators. Part B contains a numerical question to write a program to print patterns. Part C contains 2 questions - one to write a program to calculate student grades based on marks and another to explain arrays and write a program to find the minimum element in an array with a flowchart.

Uploaded by

EE Arnav
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

POORNIMA INSTITUTE OF ENGINEERING & TECHNOLOGY, JAIPUR

I B.TECH. (II Sem.) Roll No. __________________


FIRST MID TERM EXAMINATION 2020-21
Code: 2FY3-06 Category: ESC Subject Name–PROGRAMMING FOR PROBLEM SOLVING
(BRANCH – COMMON TO ALL)

Max. Time: 2 hrs. (Including written & copy submission work)


Max. Marks: 50
SET-1
NOTE:- Read the guidelines given with each part carefully.
CO statement:
1. To translate the flowchart to programs (in C language).
2. To execute the programs and correct syntax and logical errors.
3. Apply and analyze problem related conditional branching, iteration
PO Key Words:
1. Apply
2. Analyze

PART - A: (All questions are compulsory) Max. Marks (10)


CO PO
Q.1 3 1,2 Define the ASCII range of lower case letter, uppercase letter, and digit of character (2)
Q.2 2 1,2 Differentiate between entry control loop and exit control loop. (2)
Q.3 2 1,2 Differentiate between break and continue. (2)
Q.4 3 1,2 Define unary operators, binary operators and ternary operators (2)
Q.5 1 1 What is a Flow Chart? Explain with Example (2)
PART - B: (Numerical Compulsory) Max. Marks (10)
Q.6 2/3 1,2 Write a program to Draw following pattern :. (10)
(i) A (ii) *****
AB ****
ABC ***
ABC **
*

PART - C: (Both the questions are compulsory) Max. Marks (30)


Q.7 2/3 1,2 Write a program to take marks of a student as input and calculate the grade (15)
according to the following rules.
Marks Range Grade

>85 ‘S’

>75-<84 ‘A’

>65-<74 ‘B’

>55-<64 ‘C’

>50-<54 ‘D’

<50 ‘F’
Q.8 1/2/3 1,2 Explain Array in detail. Also WAP that checks and searches for elements in an (15)
array . Draw the flowchart to find the minimum element in the array.

You might also like