You are on page 1of 4

B.E./B.Tech.

Degree Examinations,Nov/Dec 2010 Regulations 2008 First Semester Common to all branches GE2112 Fundamentals of Computing and Programming Time: Three Hours Maximum: 100 Marks Answer ALL Questions Part A - (10 x 2 = 20 Marks) 1. What are Super computers? Give examples. 2. Find the hexadecimal and decimal equivalent of the number (1110101101)2 3. List few application software's. 4. How each computer in the internet is being identified? 5. What is the difference between program and algorithm. 6. What are the main software's in oce package. 7. What do you mean by `C' Tokens? 8. Write a C program for the following expressions. i. a = 5 <= 8&& 6 ! = 5 ii. a = b++ + ++b where b = 50 9. What is the value of b[0] in the following program? main() { int a[5]={1,3,6,7,0}; int *b; b=&a[2]; } 10. Consider the declaration:

struct { char name; int num; } student; Illustrate the application of size of operator to this structure. Part B - (5 x 16 = 80 Marks) 11. (a) (i) Illustrate the process of addition and subtraction in 1s and 2s complement system with suitable examples. (Marks 8) (ii) Explain the evolution of computers. (Marks 8) OR 11. (b) (i) Find the decimal equivalent of the number(A2B:D8)16 (Marks 3) (ii) Find the binary equivalent of the number(108:625)10 (Marks 3) (iii) Draw the block diagram to illustrate the basic organization of computer system and explain the functions of the various units. (Marks 10) 12. (a) (i) State and explain the various steps involved in development of a software. (Marks 8) (ii) Differentiate between application software and system software. (Marks 8) OR 12. (b) (i) Explain the following: WWW, URL, Internet Service Provider, Web Browser. (Marks 8)

(ii) Explain the various types of internet connection. (Marks 8) 13. (a) (i) Explain guidelines for preparing flowcharts,benefits and limitation of flowcharts. (Marks 8) (ii) Write an algorithm for finding sum and average of n numbers. Also state the properties of a good algorithm. (Marks 8) OR 13. (b) What is pseudo code? How does it differ from flowchart? write a pseudo code to add up all the even numbers between 0 and 100 and print the result. (Marks 16) 14. (a) (i) What are the different operators available in C? Explain with examples. (Marks 12) (ii) Differentiate between signed and unsigned integer. (Marks 4) OR 14. (b) (i) Write a C program to compute the following function: S = (x2 +x4 +...+ x2n)=n. Trace the program for the values x = 2 and n = 5. (Marks 12) (ii) Compare `for', `while' and `do-while' loops. (Marks 4) 15. (a) Explain, with examples, the different types of storage classes in C. (Marks 16) OR 15. (b) (i) Discuss the different forms of macro substitution in preprocessed directives. (Marks 6) (ii) Define a structure called student that would contain name, reg-no and marks of five subjects and percentage. Write a program to read the details of name, reg-no and marks of five subjects for

30 students, calculate the percentage and display the name, reg-no, marks of 30 subjects and percentage of each student. (Marks 10)

You might also like