You are on page 1of 2

Vidya Jyothi Institute of Technology (Autonomous)

(Accredited by NBA & NAAC Approved By A.I.C.T.E., New Delhi, Permanently Affiliated to JNTU, Hyd)
Aziz Nagar, C.B.Post, Hyderabad -500075

Department of Humanities and Sciences

PPS-I Question Bank


MID-I
A.Y:2019-2020

UNIT-1:

Short Answer Questions:

1) What is a flowchart? Explain with one example.


2) What is an Algorithm? Explain with Example.
3) Define Program.
4) Define Software.
5) Define Pseudo code? Write Pseudo code for addition of two numbers.
6) Define translator? Explain types of translators?
7) Difference between compiler and interpreter.
8) Write short notes on History of C language.
9) Define Identifier? What are the rules to create an Identifier?
10) List out the applications of C languages
11) Write a program to find area of circle
12) Write a program to find addition of two numbers
13) Explain types of languages
14) Write algorithm and draw a flowchart for average of three subject marks
15) Draw a flowchart to find area of circle
16) Write a program to find the simple interest
17) Write algorithm and draw a flowchart to find simple interest
18) Define Token? List out types of tokens in C
19) Write short note on Definition Section with example
20) Write a program to print ASCII value.

Long Answer Questions.

1) Define Computer? Draw a Block diagram of computer and explain major components of
Computer
2) Define Flowchart .Give different symbols. Give any example.
3) Explain about the basic data types in c language with example
4) Explain Input and Output Statements with a syntax and example programs
5) Explain Structure of a C Program?
6) Explain Salient Features of C language.
7) Write a program to find the average of three subject marks
8) Write a program to perform arithmetic operations
9) Write a program to swap 2 numbers using 3rd variable
10) Write a program to swap 2 numbers without using 3rd variable

UNIT-2

Short Answer Questions

1) Give the format for conditional operator. When it is used?


2) Explain about type conversions. Why there is a need to have them? Explain with suitable
Example.
3) What are variables and constants? What are the rules for declaring the variables?
4) What is the value of the ‘C’ expression: 9 – 9 / 5 * 5 % 3 > 9 % 5 % 3?
5) Write the importance of precedence and associativity ?
6) Write a ‘C’ program to find the largest among two numbers
7) Write a ‘C’ program to find the largest among three numbers.
8) Write a ‘C’ program to find whether a given number is even or odd .
9) Explain Type conversion and Typecasting with Examples.
10) Evaluate the following expression x=3*((4*5)/2)?
11) Write a C Program to Shift inputted data by 2 bits to the left.
12) Write a C Program to Shift inputted data by 2 bits to the right.
13) Explain sizeof() operator with example program.
14) write a c program to print reverse of a given 3 digits number
15) write a c program to find sum of individual digits of a given 3 digit number
16) write a c program to find sqare of a given number
17) write a c program to find cube of a given number
18) write a c program to find whether given number is +ve or –ve
19) write a c program to find whether a person is eligible to vote or not
20) Explain increment and decrement operators with example program

Long Answer Questions

1) What are the relational operators? Explain with examples.


2) How is data type promotion done in an expression with example?
3) Describe the various types of operators available in ‘C’.
4) Explain about different bit-wise operators with examples
5) What do you mean by operator precedence and associativity ? Give illustrative examples.
6) Explain about unary operators with examples
7) Explain binary operators with examples.

HOD-H&S

You might also like