C Programming Questions
C Programming Questions
SL
NO QUESTIONS MARKS
1 What is computer? Explain block diagram of computer system 8
2 Explain characteristics of computer. 4
3 What is input devices? Explain input devices. 8
4 What is Keyboard? Explain types of keyboards. 8
5 What is mouse? Explain types of mouse 4
6 What is Scanner? Explain types of Scanner 8
7 Explain output devices 8
8 What is printer? Explain types of printers 8
9 What is Plotters? Explain types of Plotters 8
10 What is software? Explain types of software 8
11 Short note on
1. Machine level language with merits and demerits
2. Assembly language with merits and demerits 10
3. High level programming with merits and demerits
12 Short note on
1. Assemblers
2. Compilers 10
3. Editors
SL
NO QUESTIONS MARKS
1 Define Algorithm and Flowchart. ? Explain with example 8
2 Explain basic structure of C Program with example. 8
3 Define data type? Explain c programming data types with example . 8
4 Define variable? How to declare and initialize variables in C with example 8
5 What is C tokens? Explain with example. 8
6 Define keywords? Explain keywords in c language with example 8
7 Explain identifiers in C. 4
8 Define constants? Explain types of constants in C with example 8
9 Explain formatted input and output functions with example 8
10 Explain unformatted input and output functions with example 8
11 Explain importance of C Programming language 4
12 Write an algorithm and flowchart to find sum of two numbers 8
13 Write an algorithm and flowchart to find greatest of three numbers 8
14 Write an algorithm and flowchart to find area of circle 8
SL
NO QUESTIONS MARKS
1 Define operators in C? Mention types of operators in C 4
2 Explain arithmetic operators in C with example. 4
3 Explain assignment operators in C with example.. 8
4 Explain relational operators in C with example.. 8
5 Explain logical operators in C with example. 4
6 Explain bitwise operators in C with example. 8
7 Explain conditional operators in C with example. 8
8 Explain increment and decrement operators in C with example. 8
9 Explain special operators in C with example. 8
10 Explain mathematical functions in C with example. 8 or 4
11 What id type conversion? Explain types of type conversion with example 8 or 4
12 Explain precedence of operators and associability of operators in C with 8 or 4
example.
13 Define control statements Explain types of control statements. 4
14 Define conditional and unconditional control statements. Explain with example 8
15 Difference between conditional and unconditional control statement 4
16 Explain switch statement with example. 8
17 What is looping? Explain looping statement in C with example 8
18 Define conditional and unconditional branching statements. Explain with
example
19 Short note on with example
1. if statement
2. if – else statement 10
3. nested if statement
4. nested if - else statement
5. Cascaded if-else statement or else if ladder statement
20 Short note on with example
1. goto
2. breaks 10
3. continue
SL
NO QUESTIONS MARKS
1 Define arrays in C. How to declare, initialize and access array elements. 8
2 Define arrays. Explain its types. 8
3 Define one dimensional array. Explain with example . 8
4 Define two dimensional array. Explain with example 8
5 Define multi dimensional array. Explain with example 8
6 Define strings in C. How to declare and initialize strings in C with example. 8
7 How to read from terminal and write strings to the terminal with example. 4
8 Define constants? Explain types of constants in C with example 8
9 Write a program to perform matrix addition and subtraction 8
10 Explain unformatted input and output functions with example 8
11 Explain about the following string handling functions with example 8
programs.
SL
NO QUESTIONS MARKS
1 Define function in C. Why we need functions in C? 8
2 Explain categories of function with example. 8
3 Define nested functions in C. Explain with example. 8
4 Explain structure with example. 8
5 Explain union with example 8
6 Mention advantage and disadvantages of structure and union in C 4
7 Define pointers, How to Accessing the address of variables, declaring 8
and initializing pointers and accessing a variable through its pointers
8 Write a structure for student information 8