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 1405
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. What will be output of the following program
include <stdio.h>
int x 40;
void main()
int x 20;
printf
2. What is an identifier
3. What is library function
4. What is recursion
5. What is an array
6. What is type conversion
7. What is meant by associativity of operators
8. Differentiate between the expressions and in C.
9. What is conditional operator
10. What is the use of gets function
(10 × 1 10 Marks)
1405
2
SECTION B
Answer any EIGHT questions, not exceeding a paragraph of 50 words.
11. Name and describe various data types in C.
12. What is a variable Summarize the rules for naming a variable.
13. List and explain the arithmetic operators in C.
14. How can comments be included in C programs Explain the advantages of using comments in the program.
15. What is elseif ladder
16. Write a C program to print first N even numbers.
17. What is a function What are advantages of using functions
18. What is pointer
19. What is meant by dynamic memory allocation How is it accomplished in C
20. What is primary advantage of using data file
21. List and explain different relational operators in C.
22. What is the use of break and continue statements in C.
× 2 16 Marks)
SECTION C
Answer any SIX questions, in a page of 100 words.
23. Differentiate between structure and union.
24. Differentiate between the parameter passing mechanisms: passing by value and passing by reference.
25. Write C program to print prime numbers in a range.
26. What is switch statement Explain with an example.
27. What is meant by storage class Describe various storage classes in C.
28. Write a C program to find factorial of a number using recursion.
29. Write a C program to check whether the given string is palindrome or not.
30. Write C program to display the Fibonacci numbers between any two given numbers.
31. Write C program to display the following output.
× 4 24 Marks)
1405
3
SECTION D
Answer any TWO questions, not exceeding four pages.
32. Write a C program to search a given number in a set of N numbers.
33. Describe various iterative control statements in C.
34. Explain any 15 library functions available in C.
35. Write a C program to display the contents of a file onto screen.
× 15 30 Marks)
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. What will be output of the following program
include <stdio.h>
int x 40;
void main()
int x 20;
printf
2. What is an identifier
3. What is library function
4. What is recursion
5. What is an array
6. What is type conversion
7. What is meant by associativity of operators
8. Differentiate between the expressions and in C.
9. What is conditional operator
10. What is the use of gets function
(10 × 1 10 Marks)
1405
2
SECTION B
Answer any EIGHT questions, not exceeding a paragraph of 50 words.
11. Name and describe various data types in C.
12. What is a variable Summarize the rules for naming a variable.
13. List and explain the arithmetic operators in C.
14. How can comments be included in C programs Explain the advantages of using comments in the program.
15. What is elseif ladder
16. Write a C program to print first N even numbers.
17. What is a function What are advantages of using functions
18. What is pointer
19. What is meant by dynamic memory allocation How is it accomplished in C
20. What is primary advantage of using data file
21. List and explain different relational operators in C.
22. What is the use of break and continue statements in C.
× 2 16 Marks)
SECTION C
Answer any SIX questions, in a page of 100 words.
23. Differentiate between structure and union.
24. Differentiate between the parameter passing mechanisms: passing by value and passing by reference.
25. Write C program to print prime numbers in a range.
26. What is switch statement Explain with an example.
27. What is meant by storage class Describe various storage classes in C.
28. Write a C program to find factorial of a number using recursion.
29. Write a C program to check whether the given string is palindrome or not.
30. Write C program to display the Fibonacci numbers between any two given numbers.
31. Write C program to display the following output.
× 4 24 Marks)
1405
3
SECTION D
Answer any TWO questions, not exceeding four pages.
32. Write a C program to search a given number in a set of N numbers.
33. Describe various iterative control statements in C.
34. Explain any 15 library functions available in C.
35. Write a C program to display the contents of a file onto screen.
× 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