CSL002 Introduction to C DCS Question Paper : mvn.edu.in
Name of the College : MVN University
Subject Code/Name : CSL-002-Introduction to C
Year : Jan.2014
Degree : Diploma
Sem : II
Website : mvn.edu.in
Document Type : Model Question Paper
Download Model Question Paper : https://www.pdfquestion.in/uploads/mvn.edu.in/3188-ITC.pdf
MVN Introduction to C Question Paper
Time Allowed: 03 hours.
Maximum Marks: 100
Related : MVN University EEL002 Basics of Electrical & Electronics Engineering DEEE Question Paper : www.pdfquestion.in/3186.html
Instruction
Before answering the question paper the candidate should ensure that they have been supplied the correct question paper. Complaints in this regard, if any, shall not be entertained after the examination.
Note: Question No. 1 is Compulsory and attempt two questions from each section. All questions carry equal marks.
1(a) what is an operating system. What are the various functions performed by the operating system.
(b) Give the syntax of for, while and do-while loops. Explain with example.
(c) Define structure and give suitable example.
(d) What are the various string handling functions. Explain any five. (4*5)
SECTION – A
2(a) What do you mean by digital computer. Explain the various functional units of digital computer with diagram. (12)
(b) Explain the various operators available in C. (8)
3(a) Write a program to generate Fibonacci series using for loop. (10)
(b) What do you mean by function? Give difference between call by value and call by Reference. (10)
4(a) What is the purpose of break statement? Explain with the help of example. (10)
(b) What do you mean by decision making statement? Write a program to determine whether a given number is even or odd. (10)
SECTION – B
5(a) Define array. Write a program to find the sum of 10 numbers using array. (12)
(b) Explain malloc ( ) and calloc ( ) function with example. (8)
6(a) Define pointer. Describe the use of pointer as function arguments. (12)
(b) Define files and give its various types. Explain fopen and fclose functions with example. (8)
7(a) write a program to copy one string to another string without using the string function. (10)
(b) Define macro and explain its purpose with the help of example. (10)