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

First Unit Test Question Bank: Program: - Computer Engineering Group: CM/IF Course Title: Programming in C (PIC)

This document is a question bank for the Computer Engineering Group's Programming in C course, covering three chapters: Basics of C Programming, Control Structures, and Array and Structure. It includes various questions categorized by marks, focusing on fundamental concepts such as algorithms, flowcharts, control structures, and array manipulation. The questions are designed to assess students' understanding of C programming principles and practical coding skills.

Uploaded by

crickzealoteditz
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)
9 views2 pages

First Unit Test Question Bank: Program: - Computer Engineering Group: CM/IF Course Title: Programming in C (PIC)

This document is a question bank for the Computer Engineering Group's Programming in C course, covering three chapters: Basics of C Programming, Control Structures, and Array and Structure. It includes various questions categorized by marks, focusing on fundamental concepts such as algorithms, flowcharts, control structures, and array manipulation. The questions are designed to assess students' understanding of C programming principles and practical coding skills.

Uploaded by

crickzealoteditz
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

First Unit Test Question Bank

Program: - Computer Engineering Group

Program Code : CM/IF Course Title: Programming in c (PIC)

Semester: - II
Course Abbr & Code:-PIC (312303) Scheme: K

CHAPTER-1 Basics of C Programming (48 Marks)

Question For 2 Marks

1. Write advantages of algorithm.


2. Explain the term alogorithm.
3. Explain the term flowchart.
4. What is keyword? List any four keywords of ‘c’ ?
5. Define variable and constant with syntax and example.
6. Define term:

-Token

-Operator

-Identifier

-Data type with storage size.


Question For 4 Marks

7. Explain all flow chart symbols.


8. Write algorithm and flow chart to find area of circle/rectangle.

9. Explain algorithm analysis.

10 .Explain arithmetic and logical operator.

11 .Explain increment/decrement operator with example.


12. Explain formatted i/o and o/p statement with example.

13. Explain conditional operator with example.

14.Explain declaration and initialization of variable with example.

15.Explain relational operators supported by ‘c’. Write c program illustrating its


use.
CHAPTER-2 Control Structures

Question For 2 Marks

16.What is decision making branching?

17.What is looping?

18. Write syntax of :

-while loop.

-do-while loop.

Question For 4 Marks

19. Write a program to add two integer numbers.

20. Write a program to find whether the number is even or odd.

21. Write a program to find whether the number is positive or negative.

22.Write the syntax for nested if-else statement.

23. Write the syntax for switch statement.

24. Write a program which will print largest of three numbers.

25. 25.Differentiate between if and switch statement.

CHAPTER-3 Array and Structure.

Question for 2 Marks

26.How to declare and initialize one dimensional array? 27.What is character array?

28. What is two dimensional array? How is it declared and initialized?

Question For 4 Marks

29. Write a program for addition of two 3x3 matrices.

30. Write a program to accept ten numbers in an array. Sort array elements and
display it.

You might also like