Exam Details
Subject | allied — programming in c | |
Paper | ||
Exam / Course | b.c.a. computer applications | |
Department | ||
Organization | alagappa university | |
Position | ||
Exam Date | April, 2018 | |
City, State | tamil nadu, karaikudi |
Question Paper
B.C.A. DEGREE EXAMINATION, APRIL 2018.
Computer Application
Allied — PROGRAMMING IN C
(CBCS 2017 onwards)
Time 3 Hours Maximum 75 Marks
Part A (10 x 2 20)
Answer all questions.
1. Write the syntax of do-while loop.
2. What are the fundamental data types available in
3. Define array.
4. How will you declare string variables? Give an example.
5. Define function.
6. How will you initialize a structure?
7. What is the difference between a pointer and variable?
8. Write the scaling factors for int and float type data.
9. Define file.
10. How will you close a file?
Sub. Code
7BCAA2
AFS-0453
2
Ws20
Part B x 5 25)
Answer all questions, choosing either or
11. Explain the switch statement with an example.
Or
Explain the various output functions in C with
example.
12. Explain the string handling functions in C with
example.
Or
Explain the arithmetic operations on characters
with example.
13. Explain function with argument and no return type
with a program.
Or
Explain the scope and lifetime of a variable with
example.
14. How will you declare and initialize a pointer?
Explain.
Or
Explain pointers and functions with an example.
15. Explain the various File opening modes.
Or
Explain Random access file.
AFS-0453
3
Ws20
Part C x 10 30)
Answer any three questions.
16. Explain the operators in C with example.
17. Write a C program to find the biggest element in an
array.
18. Explain arrays of structure with a program.
19. Write a C program to find the smallest of three numbers
using pointers.
20. Explain Command line argument with a program.
————————
Computer Application
Allied — PROGRAMMING IN C
(CBCS 2017 onwards)
Time 3 Hours Maximum 75 Marks
Part A (10 x 2 20)
Answer all questions.
1. Write the syntax of do-while loop.
2. What are the fundamental data types available in
3. Define array.
4. How will you declare string variables? Give an example.
5. Define function.
6. How will you initialize a structure?
7. What is the difference between a pointer and variable?
8. Write the scaling factors for int and float type data.
9. Define file.
10. How will you close a file?
Sub. Code
7BCAA2
AFS-0453
2
Ws20
Part B x 5 25)
Answer all questions, choosing either or
11. Explain the switch statement with an example.
Or
Explain the various output functions in C with
example.
12. Explain the string handling functions in C with
example.
Or
Explain the arithmetic operations on characters
with example.
13. Explain function with argument and no return type
with a program.
Or
Explain the scope and lifetime of a variable with
example.
14. How will you declare and initialize a pointer?
Explain.
Or
Explain pointers and functions with an example.
15. Explain the various File opening modes.
Or
Explain Random access file.
AFS-0453
3
Ws20
Part C x 10 30)
Answer any three questions.
16. Explain the operators in C with example.
17. Write a C program to find the biggest element in an
array.
18. Explain arrays of structure with a program.
19. Write a C program to find the smallest of three numbers
using pointers.
20. Explain Command line argument with a program.
————————
Other Question Papers
Subjects
- allied – data mining and warehousing
- allied – office automation
- allied — programming in c
- c and data structure
- computer networks
- computer system architecture and design
- computersystemarchitectureanddesign
- data mining and data warehousing
- database management systems
- elective –– linux programming
- elective — computer graphics
- elective: mobile communications
- java programming
- programming in c
- programming in c++
- software engineering
- visual programming
- web design technology