Exam Details
Subject | programming in c | |
Paper | ||
Exam / Course | b.c.a | |
Department | ||
Organization | loyola college | |
Position | ||
Exam Date | November, 2017 | |
City, State | tamil nadu, chennai |
Question Paper
1
LOYOLA COLLEGE (AUTONOMOUS), CHENNAI 600 034
B.Sc. DEGREE EXAMINATION COMPUTER SCIENCE
FIRST SEMESTER NOVEMBER 2017
CS 1503 PROGRAMMING IN C
Date: 14-11-2017 Dept. No. Max. 100 Marks
Time: 01:00-04:00
PART A
ANSWER ALL THE QUESTIONS: 10 X 2 20
1. What is an algorithm?
2. Define symbolic constants.
3. What is the use of goto statement?
4. Write short notes on ternary operator(?:) .
5. Define functions.
6. What is the function used for reading a string?
7. What is bit fields?
8. Define recursion.
9. What are the types of file streams?
10. What is the statement used for releasing used space?free
PART B
ANSWER ALL THE QUESTIONS: 5 X 8 40)
11. Explain the steps involved in computer programming.
Explain the various operators used in C.
12. What is the syntax of the while loop? Draw the control diagram of the while
loop. Is the while a top-tested or a bottom-tested loop?
Explain in detail about various if statements with an example
13 Explain String handling functions with an example..
Explain the category of functions.
2
14. Distinguish between structures and union.
Explain in detail about pointers to functions with an example.
15. Explain various File operations in C with an example.
Explain command line argument with an example.
PART C
ANSWER ANY TWO QUESTIONS: 2 X 20 40
16. Explain in detail about variables and data types with an example.
Discuss about the decision making statements in detail.
17 Explain the scope, visibility and lifetime of variable.
Write a C program to find out the largest and smallest element in an array.
18. Explain in detail about arrays of structures.
Describe about the dynamic memory allocation.
LOYOLA COLLEGE (AUTONOMOUS), CHENNAI 600 034
B.Sc. DEGREE EXAMINATION COMPUTER SCIENCE
FIRST SEMESTER NOVEMBER 2017
CS 1503 PROGRAMMING IN C
Date: 14-11-2017 Dept. No. Max. 100 Marks
Time: 01:00-04:00
PART A
ANSWER ALL THE QUESTIONS: 10 X 2 20
1. What is an algorithm?
2. Define symbolic constants.
3. What is the use of goto statement?
4. Write short notes on ternary operator(?:) .
5. Define functions.
6. What is the function used for reading a string?
7. What is bit fields?
8. Define recursion.
9. What are the types of file streams?
10. What is the statement used for releasing used space?free
PART B
ANSWER ALL THE QUESTIONS: 5 X 8 40)
11. Explain the steps involved in computer programming.
Explain the various operators used in C.
12. What is the syntax of the while loop? Draw the control diagram of the while
loop. Is the while a top-tested or a bottom-tested loop?
Explain in detail about various if statements with an example
13 Explain String handling functions with an example..
Explain the category of functions.
2
14. Distinguish between structures and union.
Explain in detail about pointers to functions with an example.
15. Explain various File operations in C with an example.
Explain command line argument with an example.
PART C
ANSWER ANY TWO QUESTIONS: 2 X 20 40
16. Explain in detail about variables and data types with an example.
Discuss about the decision making statements in detail.
17 Explain the scope, visibility and lifetime of variable.
Write a C program to find out the largest and smallest element in an array.
18. Explain in detail about arrays of structures.
Describe about the dynamic memory allocation.
Other Question Papers
Subjects
- accounts and business applications- refer the department of commerce for syllabus
- advanced java programming
- cellular and mobile computing
- computer organization and architecture
- dot net technologies (or)
- introduction to data communication
- mathematics for computer applications- refer the department of mathematics for syllabus
- object oriented analysis and design
- object oriented programming with c++
- object oriented programming with c++-lab
- operating system
- programming in c
- programming in c– lab
- project
- resource management technique
- software engineering
- statistical methods- refer the department of mathematics for syllabus
- visual programming
- visual programming and rdbms - lab
- web design
- web design - lab
- web programming with php and mysql
- web programming with php and mysql-lab