Monday, April 1, 2013

S P A Question Bank

1.      Explain function & its types.
2.      Explain iterative instructions and its uses
3.      Explain function & its advantages
4.      Differentiate between if-else-if  & switch-case
5.      Expalin syntax of if else Ladder & list its drawback.
6.      Explain & compare while & do while
7.      Compare break & continue statement.
8.      Write syntax for nested for loop with example.
9.      Differentiate between iteration  & recursion
10.  Explain unconditional control instruction (goto, continue & break)
11.  WAP to display.
A                                
B      A
C      B      A
D      C      B    A

12.                  1
           2    1
     3    2    1
4   3    2    1

13.            *
     ***
    *****

14.  WAP to find GCD of a number using function
15.  WAP to check whether a no is prime.
16.  WAP to find nth Fibonacci no.
17.  WAP to find factorial of a no with function
18.  WAP to find factorial of a no using recursion
19.  Write a menu driven program to implement calculator
20 Find the value of x   where x=1/2+2/3+3/4+4/5+---------+n/n+1
21.    X=  12 + 22  + 32 ---------------n2
22.  WAP  to check whether no is Armstrong or not (eg input = 153).

No comments:

Post a Comment

ECCF Question Describe the Block diagram of Operational Amplifier Draw the pin diagram of  µA 741 op-amp Draw the schematic diagram o...