Posted Date: 03 Aug 2012      Posted By:: sankar    Member Level: Gold  Points: 5 (Rs. 2)

# 2012 Jawaharlal Nehru Technological University, Anantapur B.Tech. Electronics and Communications Engineering Sree vidyanikethan Engineering college 1st B.Tech Problem Solving and Computer Programming Question paper Question paper

 Course: B.Tech. Electronics and Communications Engineering University/board: Jawaharlal Nehru Technological University, Anantapur

This is the Question paper of Problem solving and computer programming of Sree vidyanikethan engineering college of 1st B.Tech Question paper of the year 2012.

Sree Vidyanikethan Engineering College
Problem Solving and Computer Programming
Answer any Five Questions Max Marks:70
All Questions carry Equal Marks

1.(a) What is a computer language? What is the difference between high level programming language and low level programming language? List at least five high level programming languages.
(b) Write the difference between algorithm and flowchart. Write an algorithm to swap the content in two integer variables without using any other variable?

2.(a) Explain the rules of a valid identifier?
(b) With an example, explain the different data types of C programming language?

3.(a) Write a C program to find the largest of three numbers using Conditional Expression?
(b) Differentiate between do..while and while loops. Write the program to convert the numeric score to letter grade in which 90% or more is an A, 80-89% is B, 70-79% is C and 60-69% is F. Use switch statement to solve the problem?

4.(a) Develop an algorithm to find the factorial of a given integer?
(b) Design an algorithm to evaluate the sin(x) function as defined by infinite series expression:
Sin(x)=x/1!-x^3/3!+x^5/5!-......

5.(a) Write a C program for sorting numbers in ascending order using insertion sort?
(b) Write a C program which replaces each diagonal element A[i][j] of a given matrix. A with Maximum { A[i][j], sum of elements in ith row, sum of elements in jth column}.

6.(a) Write the difference between call-by-value and call-by-reference. What is function prototype?
(b) Write the C program to find the largest number in the array of numbers by using recursion?

7.(a) What is pointer variable? Write the advantages of pointers in C. What is the difference between malloc and calloc?
(b) Write a C program for allocating memory to two dimensional array and show how to insert elements into that array?

8.(a) Write a C program to display the contents of a file in reverse order?
(b) Write a C program for implementing linear queue operations?

### Related Question Papers:

• Switching theory and logic design

• IV B.Tech 2nd semester Regular Examination Managment science Question paper, 2009

• Managerial Economics and Financial Analysis, April/May 2012

• II Semester Managerial Economics and Financial Analysis

• Jawaharlal Nehru Technological University, Anantapur B.Tech 3rd Year Finite Element Methods Examinations, 2011

• ### Categories

Submit Previous Years University Question Papers and make money from adsense revenue sharing program

Are you preparing for a university examination? Download model question papers and practise before you write the exam.

 Join Group