B Hel Computer Science
B Hel Computer Science
com
4. The ability to modify the conceptual schema without causing any change to the application
program is known as :
(A) Physical data independence (B) Logical data independence
(C) External data independence (D) Static data
6. Relational operator that yields all values from all rows in a table is known as
(A) difference (B) product
(C) select (D) project
8. What will be suitable criteria that should be entered for a query to search for Employee
Names beginning with M ?
(A) Start with M (B) Like M
(C) Like ‘M?’ (D) Like ‘M*’
11. ______ is the protocol suite for the Internet which we use presently :
(A) TCP/IP (B) NCP
(C) UNIX (D) ACM
12. _______ switching is well suited for voice communication while______ switching is better
suited for data and other non‐voice communication.
(A) Message; circuit (B) Circuit; message
(C) Packet; circuit (D) Circuit; packet
19. A user complains that he has created a shell script ‘myuse’ that will report his usage of
disk space by a directory in UNIX, but when he executes the script he only receives the
message : myuse : cannot execute. What is the probable cause of the error described
above ?
(A) The file ‘myuse’ contains syntax errors
(B) The file ‘myuse’ cannot be located because the user has not set his PATH properly
(C) The user does not have permission to read his directory
(D) The file mode for the owner of ‘myuse’ is not executable.
20. Three players A, B, C are in a race. A is twice as likely to win as B and B is twice as likely
to win as C. Then the probability that B wins =
(A) 1/2 (B) 2/3
(C) 1/3 (D) 2/7
21. In following Java code snippet, what will be the output of following :
int var 1 = 5, var 2 = 7;
System.out.println(“Result=” + var l * var 3);
(A) Result = 35 (B) Result = 57
(C) Result = 3 (D) Error
23. The region of memory sufficiently large to hold all pixels of the display is called a
(A) Frame buffer (B) RAM
(C) ROM (D) Cache Memory
25. ………… is a process model used to show the flow of data through a system and the
work or processing performed by the system :
(A) Document Flow Diagram
(B) Data Flow Diagram
(C) Entity Relationship Diagram
(D) Use Case Diagram.
28. When you are creating a structure in C/C++, you need to use the keyword
(A) structure (B) object
(C) struct (D) record
Powered By © www.JbigDeaL.com
29. 54__7 = 5. Which arithmetic operator can replace the blank to make the statement
correct ?
(A) – (B) /
(C) % (D) *
30. What is the output of the following code in C ?
31. In C++, if a catch statement is written to catch exception objects of a base class type, it
can also catch all ______ derived from that base class.
(A) Exceptions for objects (B) Objects of classes
(C) Arguments (D) Errors
32. The design of classes in a way that hides the details of implementation from the user is
known as :
(A) Encapsulation (B) Information Hiding
(C) Data Abstraction (D) Reusability
33. Can two classes contain member functions with the same name ?
(A) No.
(B) Yes, but only if the two classes have the same name
(C) Yes, but only if the main program does not declare both kinds
(D) Yes, this is always allowed.
35. How many times will the “while” body be executed in the sampe code above ?
int ch = 10;
int ci = 15;
Powered By © www.JbigDeaL.com
36. What standard include file is needed to use the exit ( ) function ?
(A) None (B) Stdlib.h
(C) stdio.h (D) std.h
39. Boolean expression for NAND gate with two inputs x and y can be written as :
(A) x – y (B) x + y
(C) x + y (D) xy + xy
44. The output of a______gate is only 1 when all of its inputs are 1 :
(A) NOR (B) XOR
(C) AND (D) NOT
45. 110012—100012 =
(A) 10000 (B) 01000
(C) 00100 (D) 00001
48. AB + AB’ =
(A) A (B) B
(C) 1 (D) 0
49. In UNIX, which command is used to sort the lines of data in a file in reverse order
(A) sort (B) sh
(C) st (D) sort –r
50. The commonly used UNIX commands like date, ls, cat etc. are stored in
(A) /dev directory (B) /bin directory
(C) /tmp directory (D) /unix directory
1 C 2 D 3 A 4 B 5 C 6 X 7 D 8 X 9 A 10 A 11 A 12 D 13 B 14 C 15 A 16 B 17 D 18 B
19 D 20 D 21 X 22 C 23 A 24 B 25 B 26 A 27 X 28 C 29 C 30 X 31 A 32 A 33 D
34 B 35 A 36 B 37 C 38 C 39 C 40 B 41 C 42 D 43 B 44 C 45 B 46 B 47
A 48 A 49 D 50 B