Exam Papers

Basic Programming Concept Using C 2019 – BSc Computer Science Part 1

Paper Code: 13506
1506
B.Sc. (Computer Science) (Part 1)
Examination, 2019
Paper No. 2.3
BASIC PROGRAMMING CONCEPTS USING C

Time: Three Hours] [Maximum Marks: 34

 

Note: Attempt five questions in all selecting at least one question from each Section.

Section-A

1. What do you mean by data types ? Explain various data types used in ‘C’.6

2. (a) What are keywords, how these differ from identifier?4

    (b) Who developed ‘C’?1

    (b) Differentiate between = & = =1

Section-B

3. (a) Write a program to illustrate if-else ladder in ‘C’.4

    (b) Differentiate between break and continue statement.3

4. (a) Compare do while and while loop.4

    (b) Write a program to add 10 no. using loops.3

Section-C

5. (a) What is function?.2

    (b) What are arrays, how they differ from string?3

    (c) Compare call by value and call by reference.3

6. What are various storage classes in ‘C’, explain them in brief.7

Section-D

7. Write a ‘C’ program to illustrate structure.7

8. Write a ‘C’ program to illustrate union.7

Section-E

9. Define pointer. How can a pointer points to a function, explain with a program.7

10. Write short notes (any two):7

       (i) File Handling in ‘C’

       (ii) Self referential structure

       (iii) Header files 

………End………

Thank You!

Lokesh Kumar

Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.