Semester : SEMESTER 5
Subject : Computer Programming & Numerical Methods
Year : 2019
Term : DECEMBER
Branch : MECHANICAL ENGINEERING
Scheme : 2015 Full Time
Course Code : ME 305
Page:1
Reg No.:_
FIFTH SEMESTER B.TECH DEGREE EXAMINATION(R&S), DECEMBER 2019
Course Name: COMPUTER PROGRAMMING & NUMERICAL METHODS
Max. Marks: 100
1 a)
b)
2 a)
b)
3 a)
b)
4 a)
b)
5 a)
b)
6 a)
b)
7 a)
b)
8 a)
b)
E192080 Pages:2
Name:
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
Course Code: ME305
PARTA
Answer any three full questions, each carries 10marks.
Explain any 6 data types used in C++ with its keyword size and limitations.
Differentiate between break and continue statements used in loops.
List and explain different types of operators used in C++.
Write a C++ program to find sum of first n natural numbers .
List different types of control structures used in C++.
Write a C++ program to find factorial of a number.
What is function overloading? Explain with an example
Write a C++ program to add two 4x4 matrices
PART تا
Answer any three full questions, each carries 10marks.
Write a C++ program to revive 10 numbers in an array and sort it in ascending
order.
What are pointers? Explain with examples.
Write a C++ program to print all prime numbers below an entered value.
How functions are called by reference? Explain with example.
What is single inheritance in C++? Explain with example.
Differentiate class and objects.
What are access specifies?
Differentiate data members and member functions.
PART ட
Answer any four full questions, each carries 10marks.
Solve the following system of equation using Gauss elimination method
3x+2y-z= 1
2x - 29 + 42 = -2
-2x+y-z=0
Page 1 of 2
Duration: 3 Hours
Marks
(6)
(4)
(6)
(4)
(6)
(4)
(6)
(4)
(6)
(4)
(6)
(4)
(6)
(4)
(6)
(4)
(10)