Computer
Computer
/ functions intc a
12 The wrapping up of data and operation
(2) Modularity,
(1) Encapsulation,
COMPUTER SCIENCE (3) Abstraction, (4) None of these.
Ans.(1)
The lirt commercial computer delivered to a business (1) Execule, (2) Result,
client is- (4) None of these. Ans.(3)
(3) Print,
(1) UNIVAC, (2) ENIAC, 16 The ASCII valuce of "d' is-
(3) EISAC, (4) None of these. Ans.(1) (1) 68, (2) 99,
Magrvctic tapes, floPpy disks, optical disk, flash memory (3) 100, (4) None of these. Ans.(3)
and hand disks are examples of- 17 REEMA\n" has size-
(1) Prinnary memory, (2) Auxiliury memory, (1) 8, (2) 7,
(3) Cuche memory. (4) Fiash memory. Ans.(2) (4) None of thesc. Ans.(2)
(3) 9,
3 A coin puter language is / are 18 . . . are used for generic programming.
(1 Miachine language, (1) Virtual Functions, (2) Inheritance,
(2) As sembly language, (3) Templates, (4) None of thesc. Ans.(3)
(3) Higgh-level language. 19 Where does the execution of the program start ?
(4) All of these. Ans.(1) (1) Main function, (2) User-defined function,
4 The sy mbol that is represented using rectangle in a (3) Void function, (4) None of these. Ans.(1)
flowch: art is- 20 Syntax error comes when-
(1) Ter minal, (2) Decision, (1) rules of a programming language are violated,
(3) Activity / Process, (4) Input /Output. Ans.(3) (2) when program statements are not meaningful,
S I n C++ programming strcmp () function is used for-
(3) when program is not saved,
(1) con vierting String to Char, (4) None of thesc. Ans.(1)
(2) cop1yi ng two strings, 21 The && and || operators-
(3) comp aring two strings, (1) combine two boolean values,
(4) Non: of these., Ans.(3) (2) compare two boolean values,
6 In C++ programming 'la' is used for (3) combine two numeric values,
(1) Fom1 feed, (2) Line Brake, (4) compare two numeric values.
Ans.(3)
(3) Seleci All, (4) Alarm. Ans.(4) 22 Operator that takes two operands is
the of' variable ?
called
Which f the following is not type (1) Binary operator, (2) Ternary operator,
(1) Ex teern, (2) Register, (3) Unary operator, (4) None of these.
(4) None of these. Ans.(4) 23 A set of Relational
Ans.(1)
(3) Global Operators is-
8 T14 in coctal is . . . . in decimal. (1)+, - . *, 7, 8 (2) ==, !=, <, >,
(1) 460, (2) 406, (3) &&, I|. (4) None of these.
Ans.(2)
(4) 506. Ans.(1) 24 A relational operator
(3) 560,
9 TASE" ir1 Hexadecimal is .. in decimal. (1) Logically combines two
operands,
(2) 7650, (2) Compares two operands,
(1) 6750,
(4) 5067. Ans.(1) (3) Yields a Boolean
(3) 567, (logical) result,
use on punched cards is- (4) Assign one operand to another.
The cocce that is casier to
(2) EBCDIC, 25 UTF refers to Ans.(4)
(1) ASCI1,
(4) BCD. Ans.(1) (1) Union Translation Format.
(3) Excess-3,
in a single instruction- (2) Unicode Transformation Format.
T h e nunmber of bits processed
(2) Bandwidth, (3) Unicode Transformation
(1) Cloc:k speed, Format.
(4) All of these. Ans.(2) (4) Union Transformation
(3) Instt uction set, Format.
Ans.(2)
[178] CoMPUTER ScIENcE h r m a T e d a y CHAPTER WIsE CLASS - XI (SCI ENCE)
(2) Bubble sorting technique,. (3) Compile error, (4) (1) and (3) both. Ans.(4)
(3) Lincar way to scarch, 39 Aggregate data type built using data of other types is called
as
(4) None of these.
Ans.(1) (1) Structure, (2) Pointer,
20 ASCil value of A is-
(3) Element, (4) Function. Ans.(1)
(1) 64, (2) 65. (3) 96, (4) 97. Ans.(2)
21 Which operator is used to string 40 How many types of macros are there in C++?
together several (3) 2, (4) 1. Ans.(3)
expressions ? ( ) 4, (2) 3,
(1) Comma operator, (2) Arithmetic operator,
(3) Relational operator. (4) Conditional operator. Ans.(1)
22 How many relational operator are offered by C++? SET- III
(1) 6, (2) 5, (3) 4, (4)2. Ans.(1) COMPUTER SCIENCE
23 A set of Arithmetic Operators is-
Time: 1 Hour| IFull Marks- 40
(1) - *,, 3 (2) ==, =, <, >=, K=
(3)&&, ||. (4) None of these. Ans.(1) For General Instruction see SETL
24 How many logical operators provide C++ lo combine
existing expression ? IFirst generation computers-
(1) 4, (1) Stored programs in the memory of the computer,
(2) 3, (3) 2, (4) 1. Ans.(2)
25 What is the range of unsigned char ? (2) Were built in 19th century.
(3) Used vacuum tubes instead of switches and relays.
(1) 127 to 127, (2) 0 to 255,
(3) I to 255, (4) 128 to 127. Ans.(2) (4) All of these. Ans.(3)
26 Who gives the instruction to the computer to perform any 2 The brain of the computer is the
kind of action ? (1) Control Unit, (2) ALU,
(1) Iteration, (2) Selection, (3) CPU, (4) All of thesc. Ans.(3)
(3) Sequence, (4) Statement. Ans.(4) Raw facts and figures are called
27 Destination specified by a label within statement is called (1) information, (2) loop,
(1) For each loop, (2) For loop, (3) data, (4) None of these. Ans.(3)
(3) Go to statement, (4) While loop Ans.(3) 4 Cray X-MP-14 is a-
28 Break statement is used in- (1) Super computer, (2) Mainframe computer,
(1) For each loop, (2) Switch statement, (3) Mini computer, (4) Micro computer. Ans.(1)
(3) For loop, (4) None of these. Ans.(2) Which of the following is an operating system software ?
29 How many choices are poss ible when using a single (1) MS-DOS, (2) UNIX,
if-else statement ? * (3) (1) and (2) both, (4) None of these. Ans.(3)
(1) 4, (2)3, (3) 2 (4) 1. Ans.(3) 6 Which one of these is a Hardware ?
30 jump statement(s) is/are- (1) Integrated circuit, (2) Procedure for inputting data,
(1) go to, (2) continue,
(3) Compiler, (4) Fortran. Ans.(1)
(3) break, (4) All of these. Ans.(1) The complete sequence of binary numbers-
31 1f an array is declared as int A [6] [6] then how may
100, 101, 110, .
documents can it store ?
(1) 111, 101, (2) 111, 001
(1) 0, (2) 6, (3) 36, (4) 12. Ans.(3)
(3) 7, 8, (4) 111, 1000. Ans.(4)
32 What are mandatory parts in the function declaration ?
8 A nibble is a group of . . . bits.
(1) returm type, function namne,
(1) 2, (2)4, (3)8, (4) 16. Ans.(2)
(2) parameters, function name,
9 EPROM stands for-
(3) return type, function name, parameters,
(1) External Programmable Read Only Memory
(4) None of these. Ans.(1)
(2) Erasable Programmable Read Only Memory.
33 Which header file belongs to the function isupper ()? (3) Electronic Programmable Read Only Memory,
(1) math.h, (2) string.h,
(4) conio.h. Ans.(3) (4) None of these. Ans.(2)
(3) ctype.h, 10 Which device permanently stores memory ?
34 Which function is known as standard library function?
(1) RAM, (2) Static RAM,
(1) Void, (2) Sqrt,
(4) Maths. Ans.(3) (3) ROM. (4) None of these. Ans.(3)
(3) Main,
[180] CoMPUTER SCIENCE rmaD1eday CHAPTER Wise CLAss XI (SCIENCE)
28 What is the starting point of C program execution 7
11 Which one is an output device?
(2) Microphone, (1) void main() (2) Opening curly braces '
(1) Monitors,
(3) Mouse, (4) Keyboard. Ans.(1) (3) #include (4) Nonc of these. Ans.(1)
29 In C++, array index always starts from-
12 refers to the act of representing essential features
without including the background detail or explanation. (4) 3. Ans.(1)
(1) 0, (2) 1, (3) 2,
(1) Encapsulation, (2) Modulacity, 30 Sequence of objects that have the same type is called-
(1) 90, (2) 145, (3) 8, (4) 1024. Ans.(4) (2) Subtract operator-
(3) Simple assignment operator
=
(1) 32, (2) 64, (3) 128, (4) 256. Ans.(3) (1) Input,' (2) Storage Unit,
6 Which of the following is default location of saving and (3) Logic Unit, (4) Control Unit. Ans.(4)
opening file ? 21 The section of the CPU that selects, interprets and sees to
(1) My Computer, (2) My document, the execution of program instructions is-
(3) Desktop, (4) All of these. Ans.(2) (1) Memory, (2) Register Unit,
7 Which of 1he key is used to close the active windows? (3) Control Unit, (4) ALU. Ans.(3)
(1) Cirl+ F5, (2) Alt+ F6, 22 Example of open source operating system is
(3) Ctrl+F4, (4) None of these. Ans.(3) (1D UNIX, (2) LINUX,
window is the It (3) WINDOWS,
The topmost bar in any applicalion . . .
8
displaythe name of the document o r application. 23 Which operator has highest precedence ?
(1) C4+ (2) CPP (3) CP (4) C. Ans.(2) (4) Declares a utility function. Ans.(4)
16 All header files cnd with- 34 Which of the following is not a math functiomm ?
(1) Derived types, (2) Fundamental type, (1) Debugging, (2) Test,
(3) (1) and (2) both. (4) None of thesc. Ans.(3) (3) Testing, (4) None of these. Ans.(3)
20 The data type that is not composed of other data types is 38 The error when ru!es of a programming language are
known as- misused
(1) Derived data types, (1) Logical error, (2) Syntax error,
(2) Composed data types, (3) Semantics error, (4) None of these. Ans.(2)
39 The data elements in structure are also known as-
(3) Fundamental data types,
(4) None of these. Ans.(3) (1) Members,. (2) Object,
21 How many types are there in increment/decrement operators ? (3) Data, (4) None of these. Ans.(1)
(3) 2, (4) 1. Ans.(3) 40 Which header file belongs to the function islower ()?
(1) 4, (2) 3,
22 Logical operator AND is denoted by- (1) math.h, (2) string.h,
(1) (2) (3) & (4) && Ans.(4) (3) ctype.h, (4) conio.h. Ans.(3)
23 Which operator has lowest precedence?
(1) (2) (3) ? (4)+ Ans.(2)
24 Which operator is having the highest precedence ? OTHER IMPORTANT QUESTIONS
(1) Equality, (2) Shift,
(4) Postfix. Ans(4) 1 Which ofthe following is not a mode in starting windows ?
(3) Unary,
25 What is the range of signed (one's complement) integral ? (1) Turbo mode, (2) Normal mode,
(1) 32767 to 32867, (2) 32767 to 32867, (3) Safe mode, (4) Command prornpt. Ans.(1)
(3) -32768 to 32767, (4) - 32767 to 32767. Ans.(4) 2 Which of the following uses only arithmetic e xpressions?
26 Which test can not be handled by switch statement ? (2) a b + c- i
(1) j8k
(1) Character test, (2) Floating point test, (3) ch=40 (4) i+j-k Ans.(4)
(3) Integer test, (4) None of these. Ans.(2) 3 What will be used when terminating a struct.ure ?
27 A loop containing another loop in its loop-body is called (1) (2) (3) (4) Ans.(2)
(1) Nested loop, (2) Combine loop, 4 Which symbol is used to declare the preprocessor
(3) Loop ladder, (4) All of these. Ans.(1) directives ?
28 Label in go to statement is same like- (1) (2) *
(3) $ (4) # Ans.(4)
(1) Initialization in for loop, Which symbol is used to denote condiiional operator ?
(2) Case in switch statement, (1) (2)? (3) ? (4) Ans.(3)
(3) Continuation condition in for loop, 6 92 in hexadecimal is . . . in decimal.
(4) All of these. Ans.(2) (1) 146, (2) 5C,
29 do-while is a/an- (3) 148, (4) None of thes . Ans.(1)
(1) Exist controlled loop, 7 x =++y + 2y evaluates to ( i f y = 6)
(1) Integer value, (2) A string literal, (1) Nanme constant, (2) Char constar1t,
(4) None of these. Ans.(2) (3) Symbolic constant, (4) None of these:. Ans.(3)
(3) Floats value,
erma'PTeday CHAPTER WIsE CLASS -
XI
(SCIENCE)
CoMPUTER ScIENCE [185]
1l Which keyword is uscd to define the
macros in C++? 29 The Binary number system has base-
(1) Define, (2) # Define,
(3) Macro,
(1) 2 (2)8
(4) Nonc of the method. Ans.(2) (3) 10 None of these. Ans.(1)
12 C++ is a/an . (4)
language. 30 The Octal number system has base
(1) machine (2) assembly (1) 2 (2)8
(3) high-level (4) None of thesc. Ang.( 2)
Ans.(3) (3) 10 (4) None of these.
13 Every C++ program must have...... function. 31 The Decimal number system has base
(1) main () (3) pow () (1) 2 (2) 8
(2) getch ) (4) None of thesc. (4) None of thesec. Ans.( 3)
Ans.(1) (3) 10
14 Multiple use
of input/ output operators in
is called-
a single statcment 32 207 in decimal i s . . . . . in octal.
(1) 1000010 (2) 317
(1) initialization (2) declaration Ans.(2)
(3) 207 (4) None of these.
(3) cascading (4) Nonc of these. Ans.(3) 33 'A is an cxamplc of-
15 Information is
(1) integer literal (2) character literal
(1) Input data (2) Raw fact and figure, (4) bool literal. Ans.(2)
(3) real literal
(3) Meaningful data (4) Nonc of thesc. Ans.(3) 34 In C++ programming ' \ t ' is used for-
16 What is the full form of CPU ?
(1) Line change (2) Horizontal tab
(1) Chip Process Unit (2) Connected Processing Unit (4) None of these. Ans.(2)
(3) Vertical tab
(3) Chat Process Unit (4) None of these. Ans.(4) 35 In C+t+ programming '\v is used for-
17 Memory is mcasured in which unit ?
(1) Form fecd, (2) Line brake,
(1) kilogram (2) metre (3) Vertical tab, (4) Alarm. Ans.(3)
(3) bytes (4) Nence of these. Ans.(3) 36 Data items that never change their value during program
18 The Third generation computer used for intcrnal
.. run are called-
operations. (1) Keywords (2) Identifiers
(1) Vacuun tubes (2) Transistors (4) None of these. Ans.(3)
(3) Literals
(3) Integrated circuit (4) None of thesse. Ans.(3) 37 Identify the correct statement
19 Analog computers take input in the form o f
(1) Keywords are the user defincd names.
(1) digits 0 and 1 (2) Volts, Ampere, Celsius etc. (2) Keywords are the reserved words.
(3) Electrons (4) None of these. Ans.(1) (3) Keywords may be written in upper case also.
20 Which of the following is not a system software ?
(4) None of these. Ans.(2)
(1) Operating system (2) Language processor 38 Main memory of computer system is known to be-
(3) Word processing (4) None of these. Ans.(3) (1) Non-volatile, (2) Volatile
21 Windows Vista is a
operating system.
. . . . .
(i) Englisn program (2) Prewritten program (1) (2) v (3) << (4) >> Ans.(3)
(3) Live ware (4) None of these. Ans.(2) 43 Which of the following is extraction operator in C++?
25 The evolution of computer starled with the first computing (1) (2) v (3) << (4) >» Ans.(4)
machine called- 44 Which of the following is not valid relational
a
operator?
(1) Abacus (2) Mark-I (1)== (2) => (3) > (4) Ans.(2)
(3) Microcprocessor (4) None of these. Ans.(1) 45 Which of the following is an operating system software?
26 s a pictorial representation ofstep-by-step solution (1) MS-DOs (2) UNIX
of a problem. (3) Both (1) and (2) (4) None of these. Ans.(3)
(1) Flowchart (2) Algorithm 46 Run-time error occurs during the-
(3) Eror (4) None of these. Ans.(1) (1) compilation of a program
27 Rhombus symbol is used in flowchart to indicate- (2) execution of a program
(1) Input (2) Process (3) writing of a program
(3) Decision (4) None of these. Ans.(3) (4) None of these. Ans.(2)
28 Compile-Time error is/are 47 PDP-I1, VAX, 7500 MAGNUM are
1) Syntax error (2) Semantics error
(1) Micro-computer (2) Mainframe computers
(3) Both (1) and (2) (4) None of these. Ans.(3) (3) Mini-computers (4) Super computers. Ans.(3)
[186] CoMPUTER ScIENCE o r m a ' P Today CHAPTER W1sE CLASS - XI (SCIENCE)
48 To develop a good program, which of the following numbers is called-
0 organized way of representing
An
guidelines should we follow ? Ans. Number system
(1) Modular approach to programming 70 Mouse was invented in-
(2) Meaningful names for identificrs Ans. 1963
(3) Usc comment and indentation receive a byte (8 bit) at a time ?
Which ports scnd or
7 can