0% found this document useful (0 votes)
11 views5 pages

C Imp

The document is a question bank for the subject 'Programming in C' for a Unit Test, covering various chapters including Program Logic Development, Basics of C Programming, Control Structures, Arrays and Structures, Functions, and Pointers. It includes questions of varying marks related to concepts, definitions, programming syntax, and practical coding tasks. The structure is organized by chapter and specifies the marks allocated for each question.

Uploaded by

yj8760849
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)
11 views5 pages

C Imp

The document is a question bank for the subject 'Programming in C' for a Unit Test, covering various chapters including Program Logic Development, Basics of C Programming, Control Structures, Arrays and Structures, Functions, and Pointers. It includes questions of varying marks related to concepts, definitions, programming syntax, and practical coding tasks. The structure is organized by chapter and specifies the marks allocated for each question.

Uploaded by

yj8760849
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/ 5

Question Bank (I scheme)

Name of subject: Programming in ‘c’(PCI) Unit Test :I


Subject code:22226 Course : CM/IF
Semester: II

CHAPTER-1 Program Logic Development (18 Marks)

2 Marks
1.Write advantages of algorithm.
2.Explain the term alogorithm.
3.Explain the term flowchart.

4 Marks
4. Explain all flow chart symbols.
5. Write algorithm and flow chart to find area of circle/rectangle.
6. Explain algorithm analysis.

CHAPTER-2 Basics of C Programming(30Marks)


2 Marks

PRACTICALKIDA.COM
7.What is keyword? List any four keywords of ‘c’ ?
8.Define variable and constant with syntax and example.
9.Define term:
-Token
-Operator
-Identifier
-Data type with storage size.
4 Marks
10.Explain arithmetic and logical operator.
11.Explain increment/decrement operator with example.
12.Explainformatted i/o and o/p statement with example.
13.Explainconditional 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-3 Control Structure(34 Marks)

2 Marks
16.What is decision making and branching?
17.What is looping?
18.Write syntax of :
-while loop.
-do-while loop.
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.Differentiate between if and switch statement

PRACTICALKIDA.COM
Question Bank (I scheme)
Name of subject: Programming in ‘c’(PCI) Unit Test :II
Subject code:22226 Course : CM/IF
Semester: II

CHAPTER-4Array and Structure.(22 Marks)


2 Marks

1.What is structure?Give syntax of declaring it.


2.How to declare and initialize one dimensional array?
3.What is character array?
4.What is two dimensional array?How is it declared and initialized?
5.Declare and define a structure having member variables as emp_id,emp_name,salary.

4 Marks
6.Declare structure ‘employee’ having data members as name,street and city.Accept this data
for three employees and display accepted data.
7.State difference between array and structure.
8.What is array of structure?Explain with example.

PRACTICALKIDA.COM
CHAPTER-5Functions(22 Marks)
2 Marks

9.What is function and need of function?


10.Definerecursion with example.
11.List different categories of function.
12.Enlist storage classes in ‘c’.
13.State difference between call by value and call by reference.
4 Marks
14.Write a program to find product of two numbers using function.

15.What are string handling functions.Explain any two.

16.Write a program to calculate factorial of a number using function.

CHAPTER-6 Pointer(30 Marks)

2 Marks

17.Give meaning of declaration int *ptr.

18.State the use of & and * operator with respect to pointer.

19.Define pointer with declaration and initialization.

PRACTICALKIDA.COM
4 Marks

20.Write a program using pointer to swap two numbers.


21.What are advantage of using pointer.
22.Write a program which shows pointer arithmetic.
23.Explain array of pointer with example.
24.Explain structure using pointer with example
25.Write a program to print value and address using pointer.

PRACTICALKIDA.COM

You might also like