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 Architecture
and Organization
Paper- CSE-210-E
Que1. What do you mean by virtual memory? Discuss Address space and Memory space with suitable example and explain how virtual address is mapped to physical address.
Que2. Explain the whole process and draw the flowchart for the algorithm for addition and subtraction of floating point numbers.
Que3. Define instruction format with suitable example and explain:
Que4. (a) Differentiate between horizontal and vertical micro instructions.
(b) With the help of neat diagram, explain how sequencing is done in control memory?
Que5. (a) What are the types of instructions that should be supported by a general purpose machine?
(b) With suitable example explain the design process of accumulator logic.
Que6. (a) Design a 4-bit combinational circuit shifter.
(b) A digital computer has a common bus system for 16 registers of 32-bits each. The bus is constructed with multiplexers.
i. How many selection I/Ps are there in each multiplexers.
ii. What size of multiplexers are needed.
iii. How many multiplexers are there in bus.
Que7. What are the fundamental components of a digital computer? Discuss any five input devices and five output devices.
Que8. Discuss the following:
(a) Main Memory and its interfacing with system.
(b) Register transfer language.
(c) Types of interrupts.