B.E./B.Tech. DEGREE EXAMINATION, MAY/JUNE 2009.
First Semester
GE 2112 - FUNDAMENTALS OF COMPUTING AND PROGRAMMING
(Common to all Branches of B.E./B.Tech.>)
(Regulation 2008)
First Semester
GE 2112 - FUNDAMENTALS OF COMPUTING AND PROGRAMMING
(Common to all Branches of B.E./B.Tech.>)
(Regulation 2008)
Time : Three hours Maximum : 100 marks
Answer ALL questions.
PART A — (10 × 2 = 20 marks)
1. What are the factors needed to classify computers?
2. Write the binary and octal equivalent of hexadecimal number 7BD.
3. What is IP address?
4. List the different types of software.
5. What is pseudo code?
6. List any four office packages.
7. Distinguish between While ... Do and Do ... While statements in C.
8. Write a C program to print the number 10 ten times, the number 9 nine times
and so on.
9. Write a C function to check whether the given year is leap or not.
10. Write any two differences between structure and union.
PART B — (5 × 16 = 80 marks)
11. (a) (i) Explain different types of computers. (8)
(ii) Discuss about the evolution of computers. (8)
Or
(b) With suitable diagram, explain the basic organisation of computers.
12. (a) Explain the steps involved in software developments with suitable
example.
Or
(b) (i) Discuss the services provided by the internet.
(ii) Describe the basic Internet terminologies used.
13. (a) (i) Write an algorithm to print the Fibonacci series
(0, 1, 1, 2, 3, 5, 8, 13, ....)
(ii) Draw a flowchart to add two matrices.
Or
(b) (i) Write a pseudo code for calculating compound interest.
(ii) Write the uses of flowchart and algorithm with suitable examples.
14. (a) Explain different datatypes in ‘C’ with suitable examples.
Or
(b) (i) Write a C program to count the letters in a sequence of characters.
(ii) Write the use of switch .... Case construct with its syntax and an
example.
15. (a) (i) Write a C program to concatenate two strings.
(ii) Discuss about pointers and its use in C.
Or
(b) (i) Explain about structure declaration in C with suitable example.
(ii) Discuss about preprocessor facility in ‘C’.
———————
No comments:
Post a Comment