Exam Details

Subject programming in c
Paper
Exam / Course b.sc.computer science
Department
Organization alagappa university
Position
Exam Date November, 2017
City, State tamil nadu, karaikudi


Question Paper

B.Sc. DEGREE EXAMINATION, NOVEMBER 2017
First Semester
Computer Science
PROGRAMMING IN C
(CBCS 2014 onwards)
Time 3 Hours Maximum 75 Marks
Part A (10 x 2 20)
Answer all the questions.
1. What is meant by of a variable?
2. What is the use of in
3. What is the purpose of a break statement?
4. What is a subscripted variable?
5. Distinguish between actual and formal argumentes.
6. List out the various strings handling functions in
7. How does a structure differ from an array?
8. Distinguish between and
9. What is the significance of EOF?
10. Distinguish between if def and if directives.
Sub. Code
4BCE1C1
AFF-4558
2
WS6
Part B x 5 25)
Answer all questions.
11. With an example, explain the basic structure of
program.
Or
Write a program to find the biggest of two
numbers using ternary operator.
12. Explain the Switch-case statement in with an
example.
Or
Write a program to compare and print an
possible roots of a quadratic equation.
13. Write a program to generate Fibonacci series
upto 25 terms using recurssion.
(Fibonacci series . . .
Or
Write a program to find the length of the string
using string functions.
14. What is structure tag and what is its purpose? What
are the tasks associated with a structure?
Or
Write a program using pointers to check whether
the given string is polyndrome or not.
15. Explain the various functions used in file
manipulations.
Or
Write a command line arguments? Explain with
example.
AFF-4558
3
WS6
Part C 10 30)
Answer any three questions.
16. List the various operations that are used in the
language and explain their uses with examples.
17. Develop a program to find the number of and sum of
all integers greater than 100 and less than 200 that are
divisible by 7.
18. Write a program to arrange the given set of numbers
in ascending and descending order.
19. Using pointers Write a program to multiply two
matrixes.
20. Two data files LADIES and GENTS contains sorted list
of names of girls and boys in a class respectively. Write a
program to produce a third file STUDENTS which holds
the merged list of the two given files.
————————


Other Question Papers

Subjects

  • applied physics – ii
  • computer graphics
  • computer networks
  • computer organization and architecture
  • database management system
  • database management systems
  • elective : digital image processing
  • elective – web design technology
  • elective –– data mining and data warehousing
  • elective — c# .net programming
  • elective — data mining and data warehousing
  • elective — database managementsystem
  • elective — mobile communication
  • elective — multimedia technology
  • elective — visual basic
  • employability skills
  • java programming
  • object oriented programming with c++
  • operating system
  • operating systems
  • programming in c
  • programming in c and data structures
  • programming in c++ and algorithms
  • software engineering
  • visual basic
  • web design technology