Semester : S1 and S2
Subject : Computer Programming
Year : 2017
Term : DECEMBER
Branch : BIOTECHNOLOGY
Scheme : 2015 Full Time
Course Code : CS 100
Page:1
ال ا
Name:
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY SECOND SEMESTER B.TECH
DEGREE EXAMINATION, DECEMBER 2017
Course Code: CS100
Course Name: COMPUTER PROGRAMMING
Max. Marks: 100 Duration: 3 Hours
PARTA
| | Answer Any Two questions, each carries 15 marks. | Mars |
|1 | a) | Write notes Qualifiers in C. (5)
Write notes on Control statements in C. Give Examples for each.
List any five string handling functions with examples
Write a C program largest number in an Array
With the help of flow chart explain compiling and execution of a C program
b) | Write ೩ ಲೆ program to largest among two numbers using conditional operator (2.5)
| | c) | Write aC program to multiply two matrices using the concept of 2D arrays (10)
PART تا
7 8
Answer Any Two questions, each carries 15 marks.
a) | Explain the concept of Pointer in C with the help of example
∎ (5)
b 5
) pointer (5)
Write a program 17 C to store n elements in an array and print the elements us ing
(5)
Rollno,Marks
5 ) | Distinguish call by value and call by reference with the help of examples (10)
இ Explain the concept of Recursive function with the help of an example C program to find Factorial
இ Write a C program to store and display the following details of n students using structure. Name,
of a number.
Write 8 ( program to sort an Array using Pointer.
Write a C program to compute basic arithmetic operations using functions.
Answer Any Two questions, each carries 20 marks.
With the help of an example C program explain Selection sort
Write notes on any ten file handling functions with syntax
Explain the concept of Command Line Argument with the help of an example.
Discuss storage classes with the help of examples.
Write a C program to read name and marks of n number of students from user and store them in
a file. If the file previously exits, add the information of n students.