Exam Details

Subject c programming
Paper
Exam / Course b.voc software development
Department
Organization Mar Ivanios College
Position
Exam Date June, 2016
City, State kerala, thiruvananthapuram


Question Paper

(Pages 1114
P.T.O.
MAR IVANIOS COLLEGE (AUTONOMOUS)
THIRUVANANTHAPURAM
Reg. No. :.………………… Name :………………….
Second Semester B.Voc. Degree Examination, June 2016
First Degree Programme under CSS
Skill Course VI: (for Software Development)
AUSD273: C Programming
Time: 3 Hours Max. Marks: 80
SECTION A
Answer ALL questions in one or two sentences.
1. Explain the significance of the arguments used in the following lines
int main int argc, char
2. What is an array
3. What is the significance of the main function
4. What is the use of "continue" statement
5. Distinguish between structure and union in C
6. What are the values of y and z after the execution of the following statements
int x y
y
z
7. What are the different unary operators used in C
8. What is a static variable
9. How will you perform formatted output in C
10. What is a binary file
(10 x 1 10 Marks)
1114
2
SECTION B
Answer any EIGHT questions, not exceeding a paragraph of 50 words.
11. What are the basic data types in C
12. Define Global and Local variables
13. What is meant by dynamic memory allocation
14. What are the different logical operators
15. How will you declare and initialize a multi dimensional array
16. Whether the following are valid variable names in C If not state the reason.
i). Temp_X ii). amount$ iii). case iv). Roll number
17. What is a "comment" in C How will you include it in your program
18. Describe "ftell" function.
19. What you meant by a storage class
20. What is the use of operators.
21. Explain the precedence of operators in C
22. What is the use of include statement
x 2 16 Marks)
SECTION C
Answer any SIX questions, in a page of 100 words.
23. Explain the basic concepts of modular programming.
24. Write a program to check whether a given point lies on the axis, axis or the origin (origin is
25. Describe the basic structure of C programs.
26. Write a program to find the transpose a matrix.
27. Write a program to display the sum of digits of an integer.
28. Write a recursive function to display the factorial of a given number
29. Show the difference between call by value and call by reference with suitable examples.
30. What are the different conditional statements used in C
31. What is the difference between "while" and "do while" loops
x 4 24 Marks)
1114
3
SECTION D
Answer any TWO questions, not exceeding four pages.
32. An electricity company has two categories of customers "industrial" and "domestic". The rate for these are as follows.
Industrial: Minimum upto 5000 units Rs.1500; above this Rs.0.5 per unit
Domestic: Minimum upto 100 units Rs.50; above this Rs. 0.4 per unit
Given the "customer number", "category", "previous meter reading" and "current reading". Write a program to calculate the electricity usage charges. Define appropriate structures to store details.
33. With suitable example explain the creation and storing of data in a file Explain various modes of opening file.
34. Explain different string manipulation functions with suitable examples.
35. Write a program to check whether a given matrix is "upper triangular", "lower triangular", "Zero matrix" or "Symmetric". Use "switch ... case" to perform the selection.
x 15 30 Marks)



Other Question Papers

Subjects

  • advanced java
  • animation softwares
  • aptitude & logical reasoning
  • business informatics
  • business statistics
  • c programming
  • computer hardware & maintenance
  • database administration
  • entrepreneurship development
  • environmental studies
  • financial accounting
  • free and open source software
  • human resource development
  • introduction to information security
  • introduction to it
  • it & society
  • listening and speaking skills
  • management information systems
  • managerial economics
  • mathematics – i
  • mathematics i
  • mathematics ii
  • mobile application development
  • network administration
  • networks & internet applications
  • networks and internet applications
  • object oriented programming
  • operating systems
  • principles of management
  • programming in java
  • programming principles
  • software engineering
  • software testing
  • system analysis and design
  • visual tools
  • web application & development
  • word processing & image editing
  • word processing and image editing
  • writing and presentation skills