Firstranker's choice
Set No. 1
--- Content provided by FirstRanker.com ---
Code No: R10105 / R10
I B.Tech I Semester Regular/Supplementary Examinations January 2012
C PROGRAMMING
(Common to all branches)
Time: 3 hours Max Marks: 75
--- Content provided by FirstRanker.com ---
Answer any FIVE Questions
All Questions carry equal marks
*********
- (a) What is an algorithm? Write an algorithm to arrange three integer elements in ascending order. [8M+7M]
(b) What are the programming development steps? Explain. - (a) Write briefly about the C Tokens with suitable examples. [7M+8M]
(b) Write a program to find largest of three numbers using conditional operator. - (a) Write briefly about bit-wise operators with suitable examples [8M+7M]
(b) Write a program to award the grade to the students, based on average marks (Use switch statement). - What are the different types of iterative statements? Explain each with suitable example. [15M]
- (a) What is an array? Describe array declaration, initialization and accessing array elements. [7M+8M]
(b) Write a program to implement matrix multiplication using two dimensional arrays. - (a) What are the different types of storage classes? Explain each with suitable example. [7M+8M]
(b) Write a program to generate Fibonacci series using recursive function. - (a) What is a pointer? Describe call by value and call by address with suitable examples [7M+8M]
--- Content provided by FirstRanker.com ---
(b) Write a program to arrange a set of strings in ascending order using pointer. - (a) List the differences between structure and union. Describe structure declaration, initialization and accessing elements. [7M+8M]
(b) Write briefly about the self referential structure and dynamic memory management functions.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Firstranker's choice
Set No. 2
--- Content provided by FirstRanker.com ---
Code No: R10105 / R10
I B.Tech I Semester Regular/Supplementary Examinations January 2012
COMPUTER PROGRAMMING
(Common to all branches)
Time: 3 hours Max Marks: 75
--- Content provided by FirstRanker.com ---
Answer any FIVE Questions
All Questions carry equal marks
*********
- (a) What are the computer languages? Explain and Draw the flow chart for finding the smallest of three numbers. [7M+8M]
(b) What are the different types of operators in C programming language? Give an example on each operator. - (a) Write briefly about the two-way and multi-way selection statements. [7M+8M]
(b) Write a program to print the given any integer number in words using switch and while statements. - (a) What are the advantages of for loop? List the differences between for loop and do while loop. Give an example on break and continue statements. [7M + 8M]
(b) Write a program to print the given format
*--- Content provided by FirstRanker.com ---
* *
* * *
* * * *
* * * * * - (a) Explain in detail about 1-Dimensional and 2- Dimensional array declaration, accessing elements, initialization with suitable examples. [8M+7M]
--- Content provided by FirstRanker.com ---
(b) Write a program to arrange characters of any given string in ascending order. - (a) Write briefly about the user defined functions and standard library functions. Give an example on parameter passing and static storage class. [8M+7M]
(b) Write a program to implement towers of Hanoi using recursive function. - (a) What is dangling pointer? Give an example on pointers to pointer and passing by address. [7M+8M]
(b) Explain about dynamic memory allocation functions and use of command line arguments. - Write short notes on [5M+5M+5M] (a) Structures and Functions, Bit -Fields
(b) Structure and union
(c) Extern, auto and register storage classes. - (a) Describe in details about file handling functions in C programming language. [8M+7M]
(b) Write a program to copy the one file data into another file.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Firstranker's choice
--- Content provided by FirstRanker.com ---
Set No. 3
Code No: R10105 / R10
I B.Tech I Semester Regular/Supplementary Examinations January 2012
COMPUTER PROGRAMMING
--- Content provided by FirstRanker.com ---
(Common to all branches)
Time: 3 hours Max Marks: 75
Answer any FIVE Questions
All Questions carry equal marks
*********
--- Content provided by FirstRanker.com ---
- (a) what is pseudo code? Draw the flow chart for finding factorial of a number. [7M+8M]
(b) List out differences between interpreter and compiler. Discuss different computer languages. - (a) Write a program to find the roots of a quadratic equation. [7M+8M]
(b) Write a program to find the reverse of a given integer using while. - (a) Explain different selection statements with their syntax [7M+8M]
--- Content provided by FirstRanker.com ---
(b) Write a program using do-while loop for the following format.
1
22
333
4444--- Content provided by FirstRanker.com ---
55555 - (a) What is an Array? Explain compile time and run time initialization with suitable examples. [7M+8M]
(b) Write a program for finding trace of a matrix using 2-dimensional arrays. - (a) What is recursion? Write a program to search an element in an array using recursive function. [7M+8M]
(b) Define function? Explain functions with return type and non-return type with suitable examples. - (a) What are command line arguments. Write a program to count the number of strings on the command line. [7M+8M]
(b) What is a pointer? Discuss call by value and call by reference with suitable examples. - (a) What is nested structure? Write a program to print the details of employees of a organization like(Name, DateOfJoin, Salary) using nested structures. [8M+7M]
(b) Give difference between structure and union. Write a program using union. - (a) What is a file? How do you declare a file? Explain different modes of operations on files with examples. [8M+7M]
--- Content provided by FirstRanker.com ---
(b) Write a program to merge the content of two files into a third file.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Firstranker's choice
Set No. 4
Code No: R10105 / R10
I B.Tech I Semester Regular/Supplementary Examinations January 2012
--- Content provided by FirstRanker.com ---
COMPUTER PROGRAMMING
(Common to all branches)
Time: 3 hours Max Marks: 75
Answer any FIVE Questions
All Questions carry equal marks
--- Content provided by FirstRanker.com ---
*********
- (a) Write an algorithm and draw the flowchart for finding the area of a circle. [7M+8M]
(b) Explain the different steps involved in creating and running programs with a neat flowchart. - (a) What are an identifiers, variables and constants? Mention the rules to construct an identifier. Give some examples. [8M+7M]
(b) Explain the structure of a C program with an example to each step. - (a) Write a program to find the largest number in an array of elements. [7M+8M]
(b) Explain different string manipulation functions with examples. - (a) What is an array? What are its advantages? Explain declaration, intialization, accessing elements in an array. [8M+7M]
(b) Write a program to display a string in the following format.
J--- Content provided by FirstRanker.com ---
IN
JN
JNT
JNTU
JNT--- Content provided by FirstRanker.com ---
JN
J - (a) What are the different storage classes? Explain with suitable examples. [7M+8M]
(b) Write a program for finding GCD of two numbers using recursive function. - (a) What is a void pointer? Explain array of pointers with an example. [7M+8M]
--- Content provided by FirstRanker.com ---
(b) What is the difference between character pointer and integer pointer? Write a program using pointer to pointer with functions. - Write short notes on [5M+5M+5M] (a) pointer to structures.
(b) difference between structure and union.
(c) bitfields. - (a) Write a program to reverse the first n characters in a file. [7M+8M]
--- Content provided by FirstRanker.com ---
(b) What is a text file, binary file? Explain formatted I/O in files.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTU Kakinada B-Pharm 1-2 last 10 year question papers 2010 -2020-All regulation