0% found this document useful (0 votes)
2 views

1 and 2nd Half Module c Programming Qb

The document is a question bank for a semester II course on Principles of Programming using C, covering various topics such as the introduction to C, programming paradigms, data types, and control statements. It includes a series of questions categorized by module, each with corresponding marks and cognitive levels. The questions are designed to assess students' understanding of fundamental programming concepts and their application in C language.

Uploaded by

deekshi4815vv
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)
2 views

1 and 2nd Half Module c Programming Qb

The document is a question bank for a semester II course on Principles of Programming using C, covering various topics such as the introduction to C, programming paradigms, data types, and control statements. It includes a series of questions categorized by module, each with corresponding marks and cognitive levels. The questions are designed to assess students' understanding of fundamental programming concepts and their application in C language.

Uploaded by

deekshi4815vv
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/ 4

Question Bank

Semester: II Scheme: 2022


Subject: Principles of Programming using C Subject code: BPOPS103/203
Module-1 - Introduction to C
Q. CO Mar
Question CL
No. s ks
What is a computer? List and explain any characteristics of computer. ( 10M
1. CO1 L2
Dec-24/Jan 2025, June/July 2023, Dec-23/Jan 2024)
Draw a block diagram of a computer, explain all of its blocks such as 10M
2. CO1 L2
input, output, storage and CPU. (Dec-24/Jan 2025)
Explain the following programming paradigms: 10M

3. i)Procedural programming CO1 L2


ii)Object oriented programming (Dec-24/Jan 2025)
Explain the structure of a C program with an example. (Dec-24/Jan 10M
2025, Jan/Feb 2023) OR
Illustrate the basic structure of a C program in detail and write sample
4. program to demonstrate the components in the structure of C program. CO1 L2
OR
Explain the basic structure of a C program with a neat diagram and
sample program. (June/July 2024,Dec-23/Jan 2024, Jan/Feb 2023)
Define computer. Explain the various types of computer. (June/July 10M
5. CO1 L2
2024)
With a neat diagram explain the steps in execution of C program. (Dec- 5M
6. CO1 L2
23/Jan 2024)
Define data type. Explain primitive data types supported by C languages 6M
7. CO1 L2
with examples.
What is a token? What are the different types of tokens available in C 5M
8. CO1 L1
language? Explain.
Explain the different generations of Computers OR 6M
9. CO1 L2
Compare the generations of computer.(Nov/Dec 2023)
10. With a neat diagram explain the components of the computer. CO1 L2 6M
Explain any five input devices with advantages and disadvantages? ( 6M
11. Jan/Feb 2023,June/July 2023).OR CO1 L2
Describe any two input devices(Nov/Dec 2023)
6M
What is an identifier (variable)? What are the rules to construct
identifier (variable)? OR
CO1 L1
Classify the following as valid/invalid Identifiers.
12. i) num2 ii) $num1 iii) +add iv) a_2 v) 199_space vi) _apple vii) #12
OR L2
Explain the rules for framing identifier names. Give an example for valid
and invalid identifier (Nov/Dec 2023)
13. Describe the different phases of the software development life cycle. CO1 L1 8M
6M
Explain the following with an example for each.
14. I) Flowchart CO1 L2
II) Algorithm
List and explain the various kinds of errors which frequently occur in 6M
15. program. CO1 L2

Explain the following programming paradigms. 5M


i) Procedural Programming
16. CO1 L2
ii) Structured Programming
iii) Object oriented Programming (June/July 2023)
6M
Explain printf() and scanf() functions with their syntax. Give the
17. illustrative examples (June/July 2024, June/July 2023) (OR) CO1 L2
Explain formatted input and output statement with examples.
5M
18. Define a variable. Explain the rules for constructing variables in C CO1 L2
language. Give example for valid and invalid variable.( June/July 2024)
6M
19. Define data type. Explain primitive data types supported by C languages CO1 L2
with example. (Jan/Feb 2023)
Define the following. 6M
i. Variable and give the rules for declaring it.. (Jan/Feb 2023)
ii. Constant
20. CO1 L1
iii. Declaration.
iv. Associativity
v. Precedency
21. Explain with example, the various constants available in C language. CO1 L2 8M
5M
22. What is an assignment statement? Give the general form of an assignment CO1 L1
statement.
5M
23. Design an algorithm and program to find area of area circle.(Nov/Dec CO1 L3
2023)
5M
24. Compare between primary and secondary memory along with example. CO1 L3
(Nov/Dec 2023)
Evaluate each of the following expressions independent of 5M
25. CO1 L3
each other.
i. x = a – b/3 + c * 2 – 1 where, a=9, b=12, c=3
ii. 10! = 10 || 5 < 4 && 8
iii. 100%20 <= 20 – 5 + 100 % 10 – 20 = = 5 >=1! = 20
iv. Y=100/20<=10-5+100%10-20= =5>=1! =20
v. 2*((a%5) *(4+(b-3)/(c+2)))
5M
Illustrate the flowchart and write a C program which takes as input p,t,r
26. compute the simple interest and display result. (June/July 2024) (OR) CO1 L1
Write a C program to compute simple interest. Draw the flowchart for the
same.
8M
27. Write a C program to find the biggest of three numbers using conditional CO1 L1
operator.
28. CO1 L2 8M
Explain Files used in a C program.
29. CO1 L2 5M
Write a C program in C to find the area and perimeter of a circle.

Question Bank Module-2 - Decision control and Looping statements


Q. Question COs CL Mar
No. ks
1 Explain arithmetic and relational operators of C with an example. (Dec- CO2 L2 10M
24/Jan 2025) or Explain the various operators in C. (Dec-23/Jan 2024)
2 Develop a complete program to find the real roots of a quadratic CO2 L3 6M
equation by accepting the coefficients. (Dec-24/Jan 2025)
OR
Using built-in functions write a C program to compute the roots of a
quadratic equation by accepting the coefficients also Print appropriate
messages. (Jan/Feb 2023)
3 Explain the different forms of if statements with flowcharts. (Dec- CO2 L2 10M
23/Jan 2024) OR Explain the one-way selection statement (if) in C
language with syntax, flowchart, and example OR Explain the two-way
selection statements (if-else, nested if, cascaded if else) in C language
with syntax, flowchart, and example.
4 Explain switch statement with an example. (Dec-23/Jan 2024) CO2 L2 6M
5 Write a C program to find the largest of three numbers using nested if CO2 L3 5M
statement. (Dec-23/Jan 2024)
6 Explain two types of conversion with examples. (Jan/Feb 2023) CO2 L2 4M
7 Write a C program to check whether a given number is even or odd CO2 L2 5M
using if-else statement
8 Implement a C program to convert the given kilometers into meters and CO2 L3 5M
centimeters.
9 Write a program in C to display a vowel or a consonant using switch CO2 L2 5M
statement?
10 Write a program in C to simulate a simple calculator using a switch CO2 L2 5M
statement.
11 Write a program in C to check whether a person is eligible for voting or CO2 L2
not.
12 Write a program in C to check and display whether a given year is leap CO2 L2
year or not.

You might also like