This download link is referred from the post: JNTU Anantapur B-Tech 1-1 last 10 year question papers 2010 -2020 -All regulation- All branches- 1st Year 1st Sem
FirstRanker's choice
Code: 13A05101
--- Content provided by FirstRanker.com ---
B.Tech I Year (R13) Supplementary Examinations December 2019
PROBLEM SOLVING & COMPUTER PROGRAMMING
(Computer Science and Engineering)
Time: 3 hours Max. Marks: 70
PART - A
--- Content provided by FirstRanker.com ---
(Compulsory Question)
*****
Answer the following: (10 X 02 = 20 Marks)
- Illustrate bitwise shift-left operator with a neat diagram.
- What are the differences between input and output devices?
- Write differences between while loop and do-while loop
- What is a control structure? List out their types.
- Write the usage of break and continue statement with example.
- List the major differences between arrays and structures.
- Differentiate variable, array variable and pointer variable.
- Write the general format of sending a copy of a structure to the called function.
- Describe ftell() function with example.
- Define Linked list. Draw the single list representation.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
PART - B
(Answer all five units, 5 X 10 = 50 Marks)
--- Content provided by FirstRanker.com ---
UNIT - I
- Design the flowchart of ATM machine.
- Differentiate printf () and scanf () with examples.
- Explain different data types in C with example programming.
- Define algorithm. List out characteristics of algorithm.
--- Content provided by FirstRanker.com ---
UNIT - II
- Write a C program to read 'n' values from the input and print the first and second maximum and minimum values.
- Write a C program to display the traffic control signal lights based on the following:
- (i) If user entered character is R or r then print RED Light Please STOP.
- (ii) If user entered character is Y or y then print YELLOW Light Please Check and Go.
- (iii) If user entered character is G or g then print GREEN Light Please GO.
- (iv) If user entered any other character then print THERE IS NO SIGNAL POINT.
--- Content provided by FirstRanker.com ---
UNIT - III
- Write C programs that uses both recursive and non-recursive functions for the following:
- (i) Find the Nth Fibonacci number.
- (ii) Find the reverse of a number.
--- Content provided by FirstRanker.com ---
- Define array. Explain 1D and 2D arrays with example programs.
UNIT - IV
- Explain the following string handling functions with example:
- (i) strcpy()
- (ii) strcat()
- (iii) strrev()
- (iv) strcmp()
- (v) strupr()
--- Content provided by FirstRanker.com ---
- OR
- The University maintains salary details of every employee by storing their { name, department, basic pay, da, hra and cca }. Write C-program to store this information in array of structures and display the salary of each employee.
--- Content provided by FirstRanker.com ---
UNIT - V
- State the arithmetic operations which are allowed in pointers? Explain each of them with example.
- OR
- Write a C program to:
- (i) Add two numbers using pointers.
- (ii) Swap two numbers using pointers.
--- Content provided by FirstRanker.com ---
- Write a C program to read a list of N integers and sort them using pointers. [hint: use any sorting technique]
*****
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTU Anantapur B-Tech 1-1 last 10 year question papers 2010 -2020 -All regulation- All branches- 1st Year 1st Sem
--- Content provided by FirstRanker.com ---