Exam Details

Subject programming in c
Paper
Exam / Course b.sc.
Department
Organization rayalaseema university
Position
Exam Date April, 2018
City, State andhra pradesh, kurnool


Question Paper

B.Sc. (Three Year) DEGREE EXAMINATION, MARCH/APRIL 2018.
(End Semester Examination)
Second Semester
(Regular/Supplementary)
Part II — Computer Science
PROGRAMMING IN C
2 C 2311
Time 3 Hours Max. Marks 70
PART — A
Answer any FIVE of the following questions. 4 20 Marks)
1. Write a short note on structured programming?
2. Explain the importance of switch statement.
3. Distinguish between the break and continue statement.
4. Give an examples for break and continue.
5. How can arrays be used for inter-function communication?
6. Differentiate between gets( and scanf
7. Give the advantages of using pointers.
8. Define the term stream. What is the work of streams?
PART — B
Answer ALL the following questions. 10 50 Marks)
UNIT I
9. Define an algorithm. What are the key features of algorithm?
Or
Give an examples for variables and constants.
UNIT II
10. What are conditional statements in languages?
Or
How many types of storage classes does the language support?

UNIT III
11. Write a program to read and display 3 3 matrix.
Or
What are the operations of strings?
UNIT IV
12. What is an array of pointers? How is it different from a pointer to an array?
Or
Write a short note on nested structures.
UNIT V
13. Write a short note on functions that are used to
Read data from a file
Write data to a file.
Or
Write a program to accept command line argument.



Other Question Papers

Subjects

  • computer science
  • database management system
  • electronic devices and circuits
  • immunology
  • nucleic acid and biochemical techniques
  • programming in c
  • software engineering