Wednesday, October 23, 2019

PPS with C IMPORTANT QUESTIONS




1) a) Briefly explain about the storage of integers and real(float) numbers with format. 
    b) Write the differences between variable and constant with example

2) a) Briefly explain about the operator precedence and associativity in C
    b) Write a c program to find the bigger number among the three numbers

3) a) Write a short notes on the following
     i) Increment and decrement operators.
     ii) Conditional operator.

    b) Write a short notes on the following
     i) if else if
     ii) global and local variable
     iii) keywords

4) a) Convert the given decimal number into Binary,Octal and Hexadecimal numbers
     i) (222)10 ,ii) (84)10 

    b) What is need of the data type and briefly explain different type of data types with            
         example.

5) a) Convert the given Binary number into Decimal,Octal and Hexadecimal numbers
     i) (00101000)2 ,ii) (01010000)

    b) What is need of the variable and briefly explain different type of rules to declare 
         variable.

6) a) Briefly explain different types of storage classes in C
    b) Write a C program to perform arithmetic operations using Switch case.

7) a) write a short notes on the following
     i) Type conversion
     ii) Type qualifiers
     iii) Type specifiers

    b) Write a C program to print even numbers upto 10.

8) a) Write a short notes on the following
     i) Logical operators
     ii) Bitwise operators

    b) Write a short notes on the following
     i) if else
     ii) while
     iii) break.

9) a) Write a short notes on the following
     i) 1’s complement
     ii) 2’s complement

     b) Write a short notes on the following
     i) nested if.
     ii) do while
     iii) goto.

PPS WITH C UNIT 1 & 2 NOTES