FACULTY OF SCIENCE
B.Sc. (CBCS) I Semester Examination
--- Content provided by FirstRanker.com ---
Subject: Computer Science (Programming in C)
Paper: I
Time: 3 Hours Max Marks: 80
Part - A (8x4 = 32 Marks)
(Short Answer Type)
--- Content provided by FirstRanker.com ---
Note: Answer any EIGHT of the following questions.
- Define Computer. Explain its parts.
- What is an algorithm? Write an algorithm to find the greatest of two numbers.
- Describe expression evaluation precedence and associativity with an example.
- Write about escape sequences with its purpose.
- Write a program to demonstrate the conditional operator.
- Explain the functions from ctype.h.
- Write a program to implement CALL BY REFERENCE.
- What is an Inline function in C? Write the advantages of Inline functions.
- Define a pointer. Write the advantages of pointers.
- What is a structure? How to create a structure?
- Explain various operations on files.
- What is a Binary file? Write its advantages.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Part - B (4x12 = 48 Marks)
(Essay Answer Type)
--- Content provided by FirstRanker.com ---
Note: Answer ALL the following questions.
- (a) Discuss: (i) Types of computers (ii) C variables and constants.
OR
(b) Describe different data types with examples and programs for each. - (a) Explain all iterative statements with programs and illustrations for each.
--- Content provided by FirstRanker.com ---
OR
(b) Define and represent a multidimensional Array. Write a program to add two matrices. - (a) Explain different storage classes with programs for each.
OR
(b) Explain Direct Memory Access. Describe CALLOC( ) and MALOC( ) functions with a program. - (a) What is a Union? Explain Union declaration and initialization & accessing with examples.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: OU B-Sc Last 10 Years 2010-2020 Question Papers || Osmania University