Exam Details

Subject Computer Programmingand Application
Paper
Exam / Course Bachelor of Technology in Mechanical Engineering (Computer Integrated Manufacturing) BTME
Department School of Engineering & Technology (SOET)
Organization indira gandhi national open university
Position
Exam Date December, 2016
City, State new delhi,


Question Paper

No. of Printed Pages: 4
IBME-009(S) I
B.Tech. MECHANICAL ENGINEERING (COMPUTER INTEGRATED MANUFACTURING)
BTCLEVVBTMEVVBTELVIlBTCSVIIBTECVI
Term-End Examination

December, 2016
BME-009(S) COMPUTER PROGRAMMING
AND APPLICATIONS
Time hours Maximum Marks: 70
Note: Attempt any five questions. All questions carry equal marks. Use of scientific calculator is permitted.

1. Find the real root of the equation

x^4

using Newton-Raphson method, correct to three decimal places. 7

Find the real root of the equation

x3-x-1=0

using Muller's method. 7

2. Use Stirling's formula to find U32 from the following table: 7

U20 14.035 U25 13.674 U30 13.257
U35 12.734 U40 12.089 U45 11.309

Using Gauss' forward formula, find the value of f(32). Given that

f(25) 0.2707, 0.3027
f(35) 0.3386, 0.3794

3. Solve the system of equations

3x1 5x2 8
-x1 2x2
3x1 ­6x2 4x3 1
using Cramer's rule. 7

Using Lin-Bairstow's method, obtain the quadratic factors of the following equation 7

x^3-2x^2

4. Find the inverse of the matrix

2 0 0
2 0
A= 0 2
0 0 2

using the Gauss-Jordan method.

Solve the given initial value problem 7
X

Find Y(0.5)
taking h 0.5 by using Runge-Kutta method of order four. 7

5. Find the inverse of the matrix

5 8 2
A 0 2 1
4 3 -1

using LU decomposition method.

Perform four iterations of the Jacobi method for solving the system of equations <img src='./qimages/8975-5b.jpg'>
with
6. Write a C program that prints the following numbers in descending order: 7

1 2 4 8 16 32 64 128

Write a C program to calculate and print the roots of the quadratic equation

ax^2 bx C O. 7

7. Write a C program which reads the values of B and C and computes the semi-perimeter and area of the triangle using the formula
S= B

Area sqrt(S(S -C))

Also print C on one line and area on the next line. 7

Explain the difference between template class and class template. 2
How can you access the memory address of a variable? 2

(iii) What is nested loop Give an example. 2

(iv) What is null object? 1

8. Write a C program to calculate the volume of a square pyramid given by the formula

volume 1/3 a^2h

where is the side of the square and is the height of the pyramid. 7
What is a derived data type Give an example. 2

(ii) What is the difference between a class and a struct 2

(iii) What is wrong in the following code 2

char c
char


Departments

  • Centre for Corporate Education, Training & Consultancy (CCETC)
  • Centre for Corporate Education, Training & Consultancy (CCETC)
  • National Centre for Disability Studies (NCDS)
  • School of Agriculture (SOA)
  • School of Computer and Information Sciences (SOCIS)
  • School of Continuing Education (SOCE)
  • School of Education (SOE)
  • School of Engineering & Technology (SOET)
  • School of Extension and Development Studies (SOEDS)
  • School of Foreign Languages (SOFL)
  • School of Gender Development Studies(SOGDS)
  • School of Health Science (SOHS)
  • School of Humanities (SOH)
  • School of Interdisciplinary and Trans-Disciplinary Studies (SOITDS)
  • School of Journalism and New Media Studies (SOJNMS)
  • School of Law (SOL)
  • School of Management Studies (SOMS)
  • School of Performing Arts and Visual Arts (SOPVA)
  • School of Performing Arts and Visual Arts(SOPVA)
  • School of Sciences (SOS)
  • School of Social Sciences (SOSS)
  • School of Social Work (SOSW)
  • School of Tourism & Hospitality Service Sectoral SOMS (SOTHSM)
  • School of Tourism &Hospitality Service Sectoral SOMS (SOTHSSM)
  • School of Translation Studies and Training (SOTST)
  • School of Vocational Education and Training (SOVET)
  • Staff Training & Research in Distance Education (STRIDE)

Subjects

  • Advanced Manufacturing Technology
  • CNC Technology
  • Computer Aided Design
  • Computer Integrated Manufacturing
  • Computer Programmingand Application
  • ComputerAided Process Planning
  • Condition Monitoringand Maintenance Engineering
  • Energy Conversion
  • Engineering Materials
  • Engineering Mathematics Il
  • Engineering Mathematics-I
  • Engineering Mechanics
  • Engineering Thermodynamics
  • Fluid Mechanics
  • Heat And Mass Transfer
  • Industrial Engineering & Operations Research
  • Kinematics & Dynamics of Mechanisms
  • Machining Technology
  • Manufacturing Systems, Integration and Control
  • Manufacturing Technology
  • Mechanical Engineering Design
  • Mechatronics
  • Metrology and Instrumentation
  • Principles of Electrical and Electronic Sciences
  • Production Management
  • Quality Engineering
  • Robotics
  • Safety Engineering
  • Soft Computing in CIM
  • Strength of Materials
  • Tool Engineering and Management