Monday, September 21, 2015

some impartant questions in part-1



1 a) Define Algorithm? What are the characteristics that any algorithm should satisfy?
b) Draw a flowchart for finding maximum of given three integers?
c) Differentiate between compiler and interpreter? [7+4+4]
2 a) Differentiate between if-else-if ladder and switch statement?
b) What is the implicit type conversion hierarchy that is applied while evaluating
expressions?
c) List and give examples for different bitwise operators available in ‘C’? [4+4+7]
3 a) What is the need for user-defined functions?
==================================================================================
1 a) List the activities involved in each phase of waterfall system development life
cycle model?
b) What are the different types of errors one can encounter during the program
execution? [10+5]
2 a) What is an identifier? What are the naming rules for identifiers in C?
b) List different categories of C operators based on their functionality? Give
examples?
c) Explain different types of coding constants in a C? [3+8+4]
1 a) Differentiate between application software and system software?
b) Draw a flowchart for finding the sum of ‘n’ numbers starting from 1?
c) Briefly discuss various computing environments with neat diagrams? [2+5+8]
2 a) What do you mean by operator precedence and associativity? How one can
override the precedence defined by C language? Give illustrative examples?
b) Explain the structure of a C program? [7+8]
1.a) Explain and specify the interactions between various
components that support the basic functionality of computer.
b) Draw a flowchart to check whether a given number is perfect or
not.
c) Describe various categories of computing environments.
[6+4+5]
2.a) What is type conversion? Explain briefly about implicit and
explicit type conversions?
b) An integer is divisible by 9 if the sum of its digit is also divisible by 9.Write
a C program that prompts the user to input an integer .The program
should then output the number and a message stating whether the
number is divisible by 9.