RGU Question Paper Mathematics Semester VI 2020: Fundamentals of Computing and C Programming(Old)

 

2 0 2 0

BSc (VI Semester) Examination

MATHEMATICS

Paper : MATH–364 (Old Course)

( Fundamentals of Computing and C Programming )

Full Marks : 60

Pass Marks : 35%

Time : Two and Half Hours

Note : 1. Answer all questions.
2. The figures in the margin indicate full marks for the questions.


1. Answer any five parts : 2×5=10

(a) Describe the various types of number system. Find the binary equivalent of (14.4375)10.

(b) What do you mean by programming? Write a C program to find the square root of the positive number.

(c) What do you mean by 2’s complement? Briefly explain it.

(d) Briefly describe the concepts of MS-Word and MS-PowerPoint.

(e) Write a short note on arithmetic and logical operations.

(f) Describe library functions. What is standard library function? What is the function of math.h?

(g) What is looping? Write short notes on exit control loops and entry control loops.

2. Answer any four parts : 5×4=20

(a) Draw the block diagram of a computer. Explain each unit with their function. How does a micro-computer differ from a minicomputer? What are supercomputers?

(b) Describe the octal and hexadecimal number systems. Find the octal equivalent of (590)10. Give an example of hexadecimal to octal conversion.

(c) What do you mean by an algorithm? Write an algorithm to find the sum of first n positive integers.

(d) What are memory devices? Write down the characteristics of various memories. Describe RAM and ROM briefly.

(e) Write the following statements into shorthand assignment statements :

(f) What do you mean by constants? How do they differ from variables? When we declare a variable as constant? What do you mean by overflow and underflow?

(g) Write short notes on the following :
(i) Machine language
(ii) Assembly language
(iii) High-level language
(iv) Fourth-generation language

(h) Write a C program to find the roots of a quadratic equation.

3. Answer any three parts : 10×3=30

(a) A set of two linear equations with two unknowns x1 and x2 is given below :
ax1+bx2=m
cx1+dx2=n
The set has a unique solution given by
x1=md-nbad-cb, x2=na-mcad-cb
provided the denominator ad-bc0. Write a program that will read the values of constants a, b, c, d, m, n and compute x1 and x2.

(b) (i) What is flowchart? Briefly discuss the different steps with symbols that are used in flowchart. What is the significance of flowchart?

(ii) Draw a flowchart to find the greatest among the three integers.

(c) (i) Define size and range of datatypes with suitable examples.

(ii) Explain the logical difference between float and double.

(d) (i) How are data represented in memory? Discuss the representation schemes for numerical and alphanumerical data.

(ii) What is the role of an output unit? Discuss various types of output devices along with their working mechanisms.

(e) (i) Describe binary addition and binary subtraction briefly. Subtract 1000100·1 from 1010101·01.

(ii) What are the different types of memories? Write the differences between primary and auxiliary memory.

(f) (i) Write notes on the following : 6
(1) Switch
(2) go to

(ii) Write a C program to find the sum of two integers. 4

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.