You are on page 1of 2

GROUP-B

(Fundamentals of Computer Science and


Computer Programming)
(Marks: 20)
5 Answer any two questions: 2x2-4
Define the term 'software'. Write down
a)
decimal number (178), in Binary system.
10

by Compiler and
b) What do you mean

Interpreter.
What is 'Header File' in C? What do you
mean
c)
by Algorithm?
'do-while statement' in C.
d) Explain the term

[Turn over]
159(Sc) [3]
6 Answer any one question: 6x1=6
a) Write an efficient C-program usingif-thenand
logical operators to test whether three given
lengths a, b, c can form a triangle or not.

b) Convert the decimal numbers 17 and 37 into


their binary equivalents and obtain their
product using binary arithmetic.
Answer any one question: 10x1=10
a) i) Write a program in C to find the sum of
the convergent infinite series

142(0.3) 3 (0.3) 4'(0.3 +...


2! 3! 4!
correct up to 104. 5
ii)
ii) Write a program in C to find a real root
of the equation 10x+ x - 4 0 by

Newton-Raphson method. 5
b) i) Write a program in C to evaluate

(X+dx by Simpson's 1/3rd rule


1.2

with four subintervals. 5


ii) Write a program in C to find y(1.4) using

Runge-Kutta method from


dy = y()=0. 5
dx

159(Sc) [4]

You might also like