Sei sulla pagina 1di 3
B.E/B.Tech. DEGREE EXAMINATION, MAY/JUNE 2005. First Semester GE 1102 — FUNDAMENTALS OF COMPUTING (Common to All branches of Engineering and Technology except Marine Engineering) ‘Time : Three hours Maximum : 100 marks 10. Answer ALL questions. PART A — (10 x 2 = 20 marks) List out the operations performed by data processors. Differentiate between the characteristics of primary and secondary storage of a computer system. Divide 11001, by 101, Enumerate the steps involved in software development Mention the advantages of floweharting. What are the basic logic structures used in writing structured programs? Differentiate between relational and logical expressions. What is the output of the following code? # define scanf "%s is character" main() {Printfiscanf, scanf);) Differentiate between getchar and scanf functions for reading strings. Distinguish between (*m)[5] and “m [5]. 1. 12. 13. @ Gi) Git) (a) (b) (a) (b) PART B — (5 x 16 = 80 marks) With a suitable block diagram of basic organization of a computer eystem deseribe the operations performed by it. ao) Convert 135.6875, to its binary equivalent. @) Convert A2B.D4,, to its decimal equivalent. @) (i) Using binary notation, write the EBCDIC coding for the following words PROGRAM ouTPUT ) Gi) Explain how multiplication and division operations are performed within a computer by using additive approach. (8) Or (Explain the importance of system software for a computer system. Describe briefly some of the most commonly known types of system software. 8 (i) Explain the relationship among the hardware, system software, application software and users of a computer system. @) (i) Draw a flowchart for the solution of a general quadratic equation.(8) ii) What do you mean by pseudocode? Write the pseudocode to find out whether a given quadrilateral ABCD is a rectangle. 8) Or (Describe briefly some of the key features supported by modern word-processing packages. (a0) Gi) With a simple example explain the facility of relative cell addressing in creating a spreadsheet. ® 2 $302 14, 15. (b) (a) (b) @ Gi) (ii) (i) Gi) w Gi) @ Gi) Describe the purpose of the qualifiers constant and volatile. (4) Differentiate between operator and operand. Describe the various types of operators supported by C. @ Write C assignment statements to evaluate the following equations Side = Ya? +6? ~2abcos(x) Area = ar? +22rh. «@ Or Compare in terms of their functions, while and do-while. Give examples. (8) Write a program to find the number of and sum of all integers greater than 200 and less than 400 that are divisible by 6. (8) Explain the need for array variables. Describe the following with respect to arrays : Declaration of array, Two-dimensional array and Accessing an array element. (8) Write a function using pointers to multiply two matrices and to return the resultant matrix to the calling function, (8) Or Explain the role of the C preprocessor. Describe file inclusion directive, (8) Discuss the various stages involved in program design. (8) 3 $302

Potrebbero piacerti anche