You are on page 1of 3

Reema Thareja Computer Fundamentals and Programming in C, 2e

MODEL TEST PAPER I

Answer ALL Quesons

PART A (5 4 = 20)
1. State the characteristics of computers. 4. Explain the two common techniques of passing
2. Differentiate between application software and system parameters to a function. Give advantages and
software. disadvantages of both. Also state the condition in which
3. Write a function in C that swaps two variables. one is preferred over the other.
4. Explain the organization of a computer with the help of 5. Explain any five input devices.
a neat block diagram. PART C (4 10 = 40)
5. What are pointers? Is array name a pointer? Justify
1. What do you understand by the term storage classes?
your answer.
Explain each of them.
PART B (5 8 = 40) 2. Explain the different types of output devices.
1. Write an essay on evolution of computers. 3. Define operating system. What are different types of
2. Write a short note on the software development stages. operating systems?
3. Write a program to print the elements of an array in 4. Give the applications of the Internet.
reverse order. Give its flowchart.

MODEL TEST PAPER II

Answer ALL Quesons

PART A (5 1 = 5)
1. _____ stores the instruction which the computer needs 4. In a ______ network all the computers are connected to
to start up. the hub.
2. A computers resolution is determined by _____. 5. _______ converts a high level language into machine
3. DOS stands for _______. level language.

Oxford University Press 2016. All rights reserved.


Reema Thareja Computer Fundamentals and Programming in C, 2e

535
PART B (5 4 = 20)
1. What are the different data types in C language? Also 4. What are the different types of operators in C? Give
give the range of data they can hold. the significance of each and explain them with relevant
2. Differentiate between: examples.
(a) An algorithm and a flowchart 5. Write a program to concatenate two strings (without
(b) Hardware and software using built-in functions).
3. How is email used to send and receive data? PART D (4 10 = 40)
4. Write a program to find whether a number is prime or 1. Define the term sorting. Write a program to sort the
composite. elements of an array. Give the flowchart and explain
5. Write a program to generate Fibonacci numbers using the underlying technique.
arrays. 2. Write a menu-driven program that uses a structure to
store the details of students in a college. Read the records
PART C (5 7 = 35)
of at least 100 students, display the records, and ask the
1. Write a short note on the following statements: if and
user to edit information that has already been recorded.
go to.
3. Differentiate between impact and non-impact printers.
2. Write a program using while loop that sums the series
Explain them in detail.
given as: 1 + x + x2 + x3 +.+ xn
4. What is network topology? Explain different topologies.
3. Write a program to multiply two matrices.

MODEL TEST PAPER III

Answer ALL Quesons

PART A (5 1 = 5) PART C (5 7 = 35)


1. _____ function is used to read a single character. 1. What is an operating system? Explain the functions of
2. Arrays is a _______ data type. an operating system.
3. A program can contain ______ number of functions. 2. Write a short note on system software.
4. Stylus is used as an input device for ______. 3. How is data stored on a hard disk?
5. Resolution is measured in terms of ______. 4. What are flash drives? Why are they so popular today?
5. Explain the role of compiler, linker, loader, and interpreter.
PART B (5 4 = 20)
1. Write a program to print Pascals triangle. PART D (4 10 = 40)
2. Write a program to print the sum of all odd numbers in 1. Write a short note on output devices.
the range 1 to n. 2. Explain the different types of networking devices.
3. What are two dimensional arrays? How are they 3. What are optical devices? Explain the optical devices
initialized? that are used to input data.
4. Differentiate between SRAM and DRAM. 4. Write a short note on the different operating systems
5. Explain the terms: www and FTP. that are widely used today.

Oxford University Press 2016. All rights reserved.


Reema Thareja Computer Fundamentals and Programming in C, 2e

536
MODEL TEST PAPER IV

Answer ALL Quesons

PART A (5 1 = 5)

Fill in the Blanks 6. Explain getch(), gets(), getchar(), scanf(), and sscanf()
functions for reading strings.
1. _____ is an example of system software.
2. Unix is an ______. PART C (5 7 = 35)
3. _____ is used for producing a hard copy output. 1. Write a program to find the solution of a quadratic
4. ____ is a fourth generation programming language. equation.
5. abc occupies ____ bytes in memory. 2. Write a program to add the digits of an integer.
3. Write a function that adds the diagonal elements of a
PART B (6 5 = 30) matrix.
1. Draw a flowchart to find the factorial of a number. 4. Write a program to print Pascals triangle.
2. A hard disk has 10 disk plates, 2000 tracks per surface, 5. Write a program that find GCD of two numbers using
125 sectors per track, and 512 bytes of data can be recursion.
stored per sector. Using this information, calculate the
storage capacity of the disk. PART D (3 10 = 30)
3. Differentiate between structures and unions. 1. Write a short note on optical devices that are used to
4. What are enumerated data types? Explain with input data.
examples. 2. How is data stored on a CD?
5. Draw a flowchart to find the maximum of two numbers. 3. How will you classify computer systems?

MODEL TEST PAPER V

Answer ALL Quesons

PART A (5 1 = 5)

Fill in the Blanks 8. Write a program to read n elements of an array and


find the largest among them.
1. _____ statement is used to terminate a loop. 9. Write a program to find whether a given year is a leap
2. PROM is an example of _____ memory. year or not.
3. The << operator is an example of ____ operator. 10. Write a program to swap two integer values using
4. The hexadecimal equivalent of (562)10 is ________. pointers.
5. ____ is used in second generation computers.
PART C (5 9 = 45)
PART B (10 5 = 50) 1. Explain the terms: simplex, duplex, half duplex,
1. Write a short note on continue and break statements. serial communication, and parallel communication.
2. Draw a flowchart to find whether a string is a 2. Why is modularization preferred for building complex
palindrome or not. software? Write a program that uses modules to add
3. Differentiate between local and global variables. and subtract two matrices.
4. What are plotters? Explain their significance as an 3. Differentiate among mainframes, mini-frames, and
output device. micro computers. Which of them is being used in
your college?
5. Give the applications of computers in different areas.
4. Give the algorithm, flowchart, and a program to find
6. Differentiate between synchronous and asynchronous
the factorial of a number using recursion.
modes of communication.
5. Explain LAN, MAN, WAN, PAN, and CAN.
7. Write a short note on Windows as an operating system.

Oxford University Press 2016. All rights reserved.

You might also like