EXAMINATION
TRENDS
Fundamentals of Computer Engg. and Programming in C
Paper- CSE-101-E
Que1. (a) What is CPU? What 3 sub units make up a CPU? Explain functions of each of these units.
(b) Perform following conversions:
i. (359)10 -> ( )2
ii. (214)8 -> ( )2
iii. (1011011010)2 -> ( )10
iv. (ACF)16 -> ( )8
Que2. (a) What is operating system? Explain functions of operating system.
(b) What is an assembler? How is it different from a compiler? Identity the two parts of a assembly language instruction and discuss function of each.
Que3. (a) What is the purpose of break statement in C? How continue statement differ from break statement? Explain with examples.
(b) Write a program in C that prints the following o/p on screen:
A
B B
C C C
D D D D
E E E E E
Que4. (a) Write a program in C to search an element in an array and find its position using Binary search.
(b) What is recursion? Differentiate between recursion and iteration? Write a recursive function to find greatest common divisor (GCD) of two given numbers.
Que5. (a) What is meant by enumerated data type? Explain its concept with suitable examples.
(b) Write a program that reads the name, roll no. and total marks of all students in a class. Generate the merit list of students.
Que6. (a) What are storage classes? Give the classification of storage classes.
(b) What are macros? Write macro definitions with arguments to calculate area and perimeter of a square and a circle. Use them in program to calculate area and perimeter of different squares and circles.
Que7. (a) What are files? What is a file pointer? What information is provided by it?
(b) What are the different modes in which a file can be opened?
(c) Write a program to count no. of characters, words and lines in a file.
Que8. Write short notes on:
(a) Linker and Loader.
(b) Emails
(c) Actual and formal parameters
(d) Input devices of a computer system.
Computer Application in Management
Paper-2.16,5.76,3.16