Semester : SEMESTER 5
Subject : Computer Programming & Numerical Methods
Year : 2020
Term : DECEMBER
Branch : MECHANICAL ENGINEERING
Scheme : 2015 Full Time
Course Code : ME 305
Page:1
Reg No.:
00000ME305121901
Pages: 2
Name:
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
Fifth Semester B.Tech Degree Regular and Supplementary Examination December 2020
Max. Marks: 100
1 ஐ
b)
2 a)
b)
3 a)
b)
4 2)
b)
5 a)
b)
6 a)
b)
7 2)
b)
8 a)
Course Code: ME305
Course Name: Computer Programming & Numerical Methods(ME)
PARTA
Answer any three full questions, each question carries 10 marks.
What is procedure oriented programming. What are its main characteristics?
Explain the conditional operators used in programming language with
examples?
Explain the difference between keyword and identifiers?
With an example explain how a function can be written with the help of
function prototype, function calling mechanism and function definition?
How the Boolean, enumeration and constant data types are implemented in
programming?
Explain the significance of continue statements used in looping structure?
Describe the function overloading mechanism employed in programming
languages?
Write a program to print all the prime numbers below 100.
PART 0
Answer any three full questions, each carries 10 marks.
Write a program to read a matrix of size m x n and display the transpose of the
matrix on the screen.
Write a function to find the biggest among 10 numbers in an array?
Write a program to swap 2 numbers using the concept of pointers?
Write a program to find the factorial of a number by recursive technique?
What are friend functions? With the aid of a suitable program explain how a
friend function can access private members of a class?
What are private, public, protected members of a class?
Explain any two types of inheritances.
Page 1 of 2
Duration: 3 Hours
Marks
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)