Computer Studies
(preliminary Exams Questions)
Section: “A”
Multiple choice questions marks12
Note: (i) Attempt all questions of this section
(ii) Don’t copy down the part question. Write only the answer against the
proper number of the question and its part according to the question
paper.
(iii) Each question carries equal marks.
1. Choose the correct answers.
(i) ___________ stores data in hierarchy manner.
(a) Stack (b) Queue
(c) Array (d) Tree
(ii) In binary tree, each child can have maximum:
(a) One node (b) Two nodes
(c) Three nodes (d) Four nodes
(iii) The computer language has its own set of words, that is called
(a) Command (b) Statements
(c) Functions (d) Reserved Word
(iv) A computer program is a collection of
(a) Task (b)Instructions (c)computers (d) Programmers
(v) The screen output is called:
(a) Softcopy (b) Hardcopy (c) Software (d) Hardware
(vi) Which data type occupies the most space in the memory.
(a) Character (b) Integer (c) Floating (d) Double
(vii) != operator belongs to which type of operator
(a) Relational (b) Logical (c) Arithmetic (d) None of these
viii) cout << 12 – 6 / 2 ; what will be the result on screen.
(a) 3 (b) 6 (c) 9 (d) 12
(ix) Loop with in a loop is known as:
(a) Inner (b) Outer (c) Enclosed (d) Nested (x)
Which of the following is not a programming language.
(a) Python (b) Windows (c) C++ (d) Java
(xi) break statement is used with
(a) if (b) Switch (c) For (d) While
(xii) getch() and getche() are included in the header file.
(a) conio.h (b) cstdio.h (c) stdio.h (d) stdlib.h
Section : “B”
(Short Question Answer)
marks =24
Note: Attempt any eight questions from this section. Each
question carry equal marks.
2. Define computer programming language.
3. Why we use language translator?
4. What is the main difference between For and While loop?
5. Define nested loop.
6. Write a program to generate following outputs
**
***
****
*****
7. Define the following
(a) Script (b) Sprite
8. Explain the function of inverter.
9. Differentiate between Arithmetic operator and Logical operator.
10.How many types of comment statement are used in C++?
11. Get the output of the following program. #include<iostream> using
namespace std; int main()
{
int a=27; cout <<”a is
“<< a<< endl; cout<<” a
is now”<< a++ << endl;
cout<<” a is now”<< a <<
endl; cout<<” a is now”<<
--a << endl; cout<<” a is
now”<< a << endl; return
0;
}
12. List five common high level language used and their purpose.
13. List any three advantages of IDE.
Section : “C”
(Detailed Question Answer)
marks =24
Note: Attempt any Four questions from this section. Each
question carry equal marks.
14. Explain Operators and its type.
15. Write a program to generate following series
0 , 5 ,10 , 15 , 20 , 25 , 30 , 35 , 40
16. Define the following.
(a) Increment Operator (b) Decrement Operator
(c) Preprocessor Directive
17. Explain two basic logic gates and their operation.
18. Write the purpose of following:
(a) \n (b) \t (c) \a (d) \r
19. Using the rules of naming variable, develop 10 meaningful and valid
variable names.