HNBGU BCA First Semester Previous Year 2011-12 Question Papers
Programming in C
Note: Attempt any five questions. All questions carry equal marks.
- (a) Write history of C programming language. Why is it known as high level language?
(b) What are header files in C? Explain with examples. - (a) What is a Data type? Write about C data types with examples.
(b) How can you add a loop? Write example of any three loops, that you can use in C - (a) What is decision making? Write about use of if and else with example.
(b) Write a C to find out leap year. - (a) What is function and how will you use functions in C?
(b) Write a C program to add five numbers using functions. - (a) Write about array in C Define with example.
(b) What is Structure in C Explain with some examples - (a) Write a C program to add and subtract a matrix.
(b) Show the use of switch and case using a good example. - (a) Write C program to find reverse of a given number.
(b) Show the use of pointers in C using a good example.
Fundamental of computers
Note: Attempt any five questions. All questions carry equal marks.
- (a) Define a computer. Draw its von Neumann architecture, briefly explaining its various components.
(b) write any five characteristics of computer. - (a) What is volatile and non volatile memory? Give example of both type.
(b) Differentiate between files and folders in Windows? write steps for creating files and folders and controlling access to them? - (a) Define flowchart. List the symbols used for flowchart.
(b) Draw a flowchart to calculate the factorial of a number. - (a) What is Operating System? Explain the various operating systems.
(b) Explain the generations of computers. - (a) What do you mean by Algorithm? Give the algorithm of addition of first ten numbers starting from 1.
(b) Explain and list any three input and three output devices. - (a) Explain the following terms:
Compiler and Assembler
Top down and Bottom up approach of programming
(b) Why do we need to test a program? What are different testing techniques? - Compare and contrast the following:
- Direct access versus random access
- Assembly language versus High level language
- DOS versus windows
- Laser Printer versus Inkjet Printer
0 Comments