Popular Posts

Friday, May 25, 2012

MODEL QUESTION PAPER COMPUTERSCIENCE +1


SET 5

1. In c++ ----------------------is used as a statement terminator. (score 1)
2. The preprocessor directive #include<iostream.h> is required if
(i) console output is used (ii) console input is used
(iii) Both console input and output is used (iv) none of the above (score 1)
3 Pick up the binary number from the following
(i) 1234 (ii)5AC (iii) 523 (iv) none of these (score 1)
4 Floppy disks are available in the size of
(i) 8” (ii) 5.25” (iii) 3.5” (iv)All of the above (score 1)
5. Pick out the output device from the following
(i) Optical scanner (ii) CRT (iii) voice recognition (iv) All of the above (score 1)
6. A computer program is (score 1)
(i) an algorithm (ii) a complete flowchart (iii) algorithm written in computer language

7.Explain the working of the following c++ statement. (score 2)
putch ( getch ( ) );

8. Computers are part of the way we live. Justify (score 3)
9. Pick up the invalid identifier from the following. Give reasons for the invalidity
(1)@rld3 (2) HNO3 (3)_noon (4) 2ab (score 2)
10. Consider your school library. List out the different data processing activities and
connect them in the context of library (score 3)
11. Write out the binary coding of the word ‘PENCIL’ in ASCII 7. How many bytes are
required for the representation. (score 2)
12. Write an algorithm to find the area and perimeter of a circle. (score 4)
13. Arrange the following in correct sequence
Documentation—Testing—Debugging—Problem Identification—Program writing—
Algorithm Development (score 3)
14 Write a c++ program to get the following output. (score 5)
*
* *
* * *
* * * *
* * * *
15. What type of network is required for each of the following situations. (score 3)
(1) A bank need to interconnect all its branches across the city
(2) All district headquarters in this state are to be connected by a network
(3) A university wants to build a computer network in the campus.
16. What is e-mail. Name any two websites that provide free e-mail services. (score 2)
17 main ( )
{ (score 1)
int p, q;
cout<<”enter the integers”;
cin>>p>>q;
if(p<q) cout<<p<<endl;
else
cout<<q<<endl;
Pick up the correct statement from the following.
(i) Program is used to find the maximum of two integers.
(ii) Program is used to find the minimum of two integers.
(iii) Program is used to ascertain the equality of two integers
(iv) Program is used to find the remainder
18. Explain different types of errors (score 3)
19. In a CD pack CDs are placed one over the other through a central axis. Assume that
there are 50 CDs in the pack. (score 5)
(i) Name the data structure that resembles with the CD pack.
(ii) Consider the CD pack as an array in c++, how will you name the position of the last
CD and what will be its value.
(iii) Write an algorithm to remove a CD from the pack and name the operations
performed
20. Write a C++ program to print Fibonacci series using recursive function (score 4)
21. What is the length of the string “MALAYALAM” . How much memory is required
to store the string. (score 2)
22. Searching for a word in a dictionary resembles with an array operation with a specific
method (score 4)
(i) Name the operation and method.
(ii) Write the algorithm to perform this.
(iii) Specify the prerequisites for this kind of search.
23. Read the following code segment (score 2)
Char name[30];
Cin>> name;
Cout<<name;
(i) If the input is “Devi Priya”, the output will be only “Devi”. Why does this
happens?
(ii) How can you make the output as “Devi Priya”.

No comments:

Post a Comment