Diploma Computer Science 3rd Sem Programming With 'C' April/May 2016 Question Paper
Section-I
1.(a)Fill in the blanks:(i)_____Operators are used to compare two quantities.
(ii)ASCII stands for_____.
(iii)The string function that compares two strings is_____.
(iv)_____is a collection of elements of the same data type.
(v)_____is a sequence of characters that is treated as a single data item.
(b)Explain for statement with an example.
Section-II
2.(a)Define constant.(b)Explain built-in data types in C with an example.
3.(a)Explain increment and decrement operators with an example.
(b)Define variable. List the rules for naming variable.
4.(a)Write a note on precedence rules of arithmetic operators.
(b)Explain printf() statement with an example.
5.(a)Explain switch statement with an example.
(b)Write a program to reverse a given integer.
Section-III
6.(a)Differentiate between while loop and do while loop.
(b)Explain with Syntax IF statement.
7.(a)Differentiate between break and continue statements.
(b)Define an array. Explain how to declare and initialise a single dimensional array.
8.(a)Explain different operations on array.
(b)Write a program to search a given element in an array.
9.Explain the following string functions with an example
(a)Streat()
(b)Strlen()
(c)Stremp()
(d)Strrew()
10.Write a program to add two matrices point
Section-IV
11.(a)Define structure. Write the general Syntax of structure.(b)Write a structure student with the following:
Name
Roll No.
Sem
12.(a)What is the difference between Union and structure?
(b)Write a note on assessing structure members.
13.(a)Define function.List the advantages of function.
(b)Write a program to find factorial of a given number using function.
14.(a)Write a note on function prototype.
(b)Explain call-by-value method of parameter passing.
15.(a)Write a note on Macro subsituation.
(b)Explain with an example # include preprocessor directive.
CLICK ABOVE TO DOWNLOAD KARNATAKA DIPLOMA PROGRAMMING WITH 'C' 2016 QUESTION PAPER PDF FILE
DOWNLOAD HERE
Any Further Suggestion About Page or Posts Please Comment Below Or Email Us On karnatakadiplomascorers@gmail.com
Keep Visiting Our Website For More Updates Thank You....
No comments:
Post a Comment