How To Exam?

a knowledge trading engine...


SRM University 2007 B.Tech Electronics and Communications Engineering SYLLABUS / BANK FOR COMPUTER PROGRAMMING - Question Paper

Wednesday, 30 January 2013 09:40Web


PART-A

1.Write the difference ranging from while and do..while.
2.What are the various forms of ‘if’ control structure.
3.Write the syntax for ‘switch’ statement.
4.Write the syntax for ‘for’ loop structure.
5.What is the use of ‘break’ in a loop structure.
6.What is the use of ‘continue’ in a loop structure.
7.What are the various forms of functions.
8.Write a program to obtain the largest of 3 numbers.
9.Explain the significance of break statement in switch-case construct.What would outcome in the absence?
10. When is the default keyword useful in a switch-case construct?
11. Write a program to generate fibonacci series.
12. Write the difference ranging from break and continue on.
13.Write the usefulness of functions.
14. What is function declaration?
15. What is function definition?
16.What is an argument/ parameter? How do you pass it over function.?
17.What are the 2 ways by which you can pass arguments?
18.When are function declaration useful?
19.What is the necessity of a ‘return’ statement?(or)When is the return statement mandatory in a function.
20.Clearly differentiate ranging from function prototype, function definition and function call.
21.Distinguish ranging from true and formal parameters.
22. Distinguish ranging from recursion and iteration.
23. describe ‘extent’ of a variable.
24. describe ‘scope’ of a variable.
25.What is the use of scope resolution operator.
26.Differentiate ranging from local and global variable.
27.What are the 4 storage classes?
28.What are auto variables?
29.When is register storage class most useful?
30.What is static storage class?
31.When is extern qualifier used?
32.Name few header files in ‘C’.
33 Name an header file and list out few functions under it.
34.List out a few activities of the preprocessor.
35.Give an example for macro substitution.
36.Give an example for array initialization.


PART-B

1.Explain all the control structures available in ‘C’.
2. discuss all the loop structures available in ‘C’.
3.Write a program to calculate sin series.

Sin(x)=x-x^3/3!+x^5/5!-x^7/7!+……x^n/n!

4.Write a program to convert binary number to decimal number.
5.Write a program to check whether the provided number is palindrome.
6.Write a program to obtain the roots of a quadratic formula using switch-case.



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER SRM University 2007 B.Tech Electronics and Communications Engineering SYLLABUS / BANK FOR COMPUTER PROGRAMMING - Question Paper