C Programming Model Question Paper JNTUK (R16)
MODEL PAPER
Subject Code: R161107/R16
(b) Define implicit type casting with example.
(c) Differentiate between for loop and while loop.
(d) Differentiate between call by value and call by reference.
(e) Write program for printing identity matrix on screen.
(f) Write the importance of typedef
(g) Explain about command line arguments.
2. (a) Differentiate between procedural and object oriented languages.
(b) What are the components of computer? Explain.
(b) Write the importance of precedence and associativity? write the table for operator
precedence.
(b) Write a program to print the following series on the screen
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
(b) Write program for finding the GCD among two numbers using recursion.
(b) Write a program to find given string is palindrome or not.
(b) Write a program to pint file contents on the screen.
Subject Code: R161107/R16
I B. Tech I Semester Regular Examinations Nov. - 2016
COMPUTER PROGRAMMING
(Common to ECE, AE, AME, BioTech, ChemE, CE, CSE, IT,EIE,EEE,ME,MetalE,MinE,PCE,PE,EComE)
Time: 3 hours Max. Marks: 70
Question Paper Consists of Part-A and Part-B
Answering the question in Part-A is Compulsory,
Four Questions should be answered from Part-B
*****
PART-A
1. (a) Define Assembly language.(b) Define implicit type casting with example.
(c) Differentiate between for loop and while loop.
(d) Differentiate between call by value and call by reference.
(e) Write program for printing identity matrix on screen.
(f) Write the importance of typedef
(g) Explain about command line arguments.
[7 x 2 =14]
PART-B
(b) What are the components of computer? Explain.
[7+7]
3. (a) Explain about the basic data types in c language with example(b) Write the importance of precedence and associativity? write the table for operator
precedence.
[7+7]
4. (a) Discuss about selection statements with examples.(b) Write a program to print the following series on the screen
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
[7+7]
5. (a) What is recursion? Differentiate between recursion with iteration.(b) Write program for finding the GCD among two numbers using recursion.
[7+7]
6. (a) Explain about different string manipulation functions with examples.(b) Write a program to find given string is palindrome or not.
[7+7]
7. (a) Explain about structure and union with examples.(b) Write a program to pint file contents on the screen.
[7+7]
*****
Labels: C Programming
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home