Osmania University (OU) 2009-1st Year B.E Computer Science and Engineering s - Question Paper
Code No. : 4006
FACULTY OF ENGINEERING AND INFORMATICS
B.E. I Year (Common to all Branches) (Main) Examination
May/June - 2008 PROGRAMMING IN C & C+ +
Time : 3 Hours ] [ Max. Marks : 75
Note : Answer all questions of Part - A.
Answer five questions from Part - B.
1. Explain the block diagram of computer. 2
2. What are high level languages ? Why are they preferred ? 2
3. Why do we need break statement ? 2
4. What is understood by seeing function prototype ? 2
5. What is a header file ? 2
6. Differentiate between a constructor and destructor ? 3
7. What is a structure and how it differ with a union ? 3
8. What is a access specifiers ? 3
9. What is a inline function ? 3
10. What are new and delete operators ? 3
(This paper contains 2 pages) 1 , P.T.O.
PART -B (5x10 = 50)
11. (a) Explain the evolution of operating system.
(b) Explain why algorithms are needed, with a simple example ?
12. (a) Explain all storage classes, with examples on each type.
(b) What is meant by sorting arrays ? Give an example on bubble sort.
13. Explain the concept of searching arrays, give an example on binary searching.
14. (a) Define a structure in C and give an example.
(b) What is the concept of files ? Give an example.
15. Explain the concept of function overloading, give an example.
16. Explain all types of inheritance, with simple examples.
17. What is the concept of exception handling ?
2 6,000
Code No. : 4006
FACULTY OF ENGINEERING AND INFORMATICS
B.E. I Year (Common to all Branches) (Main) Examination
May/June - 2008 PROGRAMMING IN C & C+ +
Time : 3 Hours ] [ Max. Marks : 75
Note : Answer all questions of Part - A.
Answer five questions from Part - B.
1. Explain the block diagram of computer. 2
2. What are high level languages ? Why are they preferred ? 2
3. Why do we need break statement ? 2
4. What is understood by seeing function prototype ? 2
5. What is a header file ? 2
6. Differentiate between a constructor and destructor ? 3
7. What is a structure and how it differ with a union ? 3
8. What is a access specifiers ? 3
9. What is a inline function ? 3
10. What are new and delete operators ? 3
(This paper contains 2 pages) 1 , P.T.O.
PART -B (5x10 = 50)
11. (a) Explain the evolution of operating system.
(b) Explain why algorithms are needed, with a simple example ?
12. (a) Explain all storage classes, with examples on each type.
(b) What is meant by sorting arrays ? Give an example on bubble sort.
13. Explain the concept of searching arrays, give an example on binary searching.
14. (a) Define a structure in C and give an example.
(b) What is the concept of files ? Give an example.
15. Explain the concept of function overloading, give an example.
16. Explain all types of inheritance, with simple examples.
17. What is the concept of exception handling ?
2 6,000
Attachment: |
Earning: Approval pending. |