Vous êtes sur la page 1sur 3

HALF YEARLY EXAMINIATION 2012-13

COMPUTER SCIENCE
CLASS XI

TIME: 3 HRS MAX MARKS:70

1. a Expand ENIAC and UNIVAC. 1


b When a folder is copied to another place, do the subfolders in the folder 1
also get copied?
2. a What do you mean by the term Fragmentation? 1
b What are the functions of Assembler, Complier and Interpreter? 3
3. a Perform 2
(i) (234)10 = ( )2, = ( )8, and ( )16
(ii) (FACE)16 = ( )2, = ( )8, and ( )10
b Make a Binary Addition of 57 and 50. 2
4. a What are RAM and ROM? How are they alike? How are they different? 2
b What are the two categories of Printers? Explain them with Examples. 2
5. a What is Echo Printing? 1
b Explain the following terms: 3
(i) Prettyprinting
(ii) Free formatting
(iii) Self documenting
c What is a “Source Code”? What is an “Object Code”? 2
d What do you understand by Robustness and Guard Code? 2
e How a programmer should create a efficient and effective program? 2
6. a What is difference between Object and Class? Explain with examples. 1
b Define the following 1
i) Polymorphism
ii) Inheritance
7. a What are Literals, Keyword and Identifiers? 1
b Which of the following are valid character constants in C++: 1
‘c’ , ‘abc’ , “abc” , my , main’s , ‘ “ ‘ , ‘char, ‘\\’
c Why is it important to include iostream.h in C++ Program? 1
d Find out the errors, if any in the following C++ Statements 3
I) cout<<”Value” a;
II) m=10, n=4; o=12
III) cout<< “x”; <<x;
IV) cin>>;x>>y
V) cin>>”\n”>>z;
VI) cout>>|n “abc”;
8. a Explain the difference among 2
0 , ‘0’ , “0” and ‘\0’
b Explain the difference between a variable, reference variable, a constant 2
variable and a pointer variable.
c What are data types? What are all predefined data types in C++? 2
9. a Write the corresponding C++ expressions for the following mathematical 3
expressions
i) a2 +b2 +C2
ii) |ex-e|
iii) 2-ye2y+4y
b Evaluate a+ = a+ ++a if a =30 initally 2
c Write a statement that uses a conditional operator to set ‘grant’ to 10 if 1
speed is more than 68, and to 0 otherwise
d What do you mean by type casting? What is type cast operator? 2
10. a Write a C++ program to check whether the given number is palindrome or 4
not.
b What difference is between while and do- while loop2 2
c Write a program using nested loops to produce the following designs: 4
A
A B
A B C
A B C D
A B C D E
d Write a program to find the LCM and GCD(HCF) of two number. 4
e What is difference between Break and Continue Statements? 2
11. a Name the header file to which following built-in function belong to: 4
(i) cos()
(ii) gets()
(iii) fabs()
(iv) toupper()
b Distinguish between ‘islower()’ and ‘tolower()’ function. 2
HALF YEARLY EXAMINATION 2010-11
COMPUTER SCIENCE
CLASS XI
BLUE PRINT

MAX MARKS:70

Unit No. Unit Name 1 Marks 2 Marks 3 Marks 4 Marks Total Marks

1 Computer Overview 2 (2) 2 16

Computer Working with Operation 1(1) 1(3) 4


Fundamentals System

Data Representation 2(4) 6

Input, Output and Memory 2(4) 4


Devices

2 Programming Methodology 1(1) 3(6) 1(3) 10 10

3 General OOPs Concepts 2(2) 2 22


Introduction
to C++ Getting Started with C++ 3(3) 1(3) 6

Data Handling 3(6) 6

Operators and Expression in 1(1) 2(4) 1(3) 8


C++

4 Flow of Control 2(4) 3(12) 16 22


Programming
in C++ Standard Library Functions 1(2) 1(4) 6

Numbers in Brackets represent the Marks and Number outside the Brackets are the no. of Questions

Vous aimerez peut-être aussi