Haryana Teachers Eligibility Test 2015
(Teachers for classes XI & XII)
Solved paper of PGT Computer Science Group held on 14 November 2015
[PART-II : 31 – 60]
Note : This exam has been cancelled now, due to paper leak on exam day.
31. The operator which takes the results of two queries and return only rows that appear in both result sets is
a) Union
b) Intersect
c) Difference
d) Projection
Ans. b) Intersect
32. Write a declaration for a pointer to a function that returns a float
a) float f( );
b) float * f( );
c) float (*f) ( );
d) float * (*f) ( );
Ans. c) float (*f) ( );
33. For accessing a structure element using a pointer, you must use which operator?
a) ‘.’
b) ‘&’
c) ‘*’
d) ‘->’
Ans. a) ‘.’
34. All keywords in C are in
a) Lowercase Letters
b) Uppercase Letters
c) Centralcase Letters
d) None
Ans. a) Lowercase Letters
35. As compared to the secondary memory, the primary memory of a computer is
a) Large
b) Fast
c) Cheap
d) Slow
Ans. b) Fast
36. When a language has the capability to produce new data type, it is said to be
a) Reprehensible
b) Encapsulated
c) Overloaded
d) Extensible
Ans. d) Extensible
37. Which of the following device is used to connect two systems, especially if the systems use different protocol?
a) Hub
b) Bridge
c) Gateway
d) Repeater
Ans. c) Gateway
38. The set of permitted values for each attribute is called its
a) Attribute set
b) Attribute range
c) Domain
d) Group
Ans. c) Domain
39. Repeater operates in which layer of the OSI model?
a) Physical layer
b) Data link layer
c) Network layer
d) Transport layer
Ans. a) Physical layer
40. The preprocessor directives always starts with the symbol
a) %
b) &
c) #
d) " "
Ans. c) #
41. How many pairs of stations can simultaneously communicate on Ethernet LAN ?
a) 1
b) 2
c) 3
d) None of the above
Ans. a) 1
42. In Boolean algebra A . A’ =
a) 0
b) 1
c) 01
d) 10
Ans. a) 0
43. Which one of the following error will be handle by the OS ?
a) Power failure
b) Lack of paper in printer
c) Connectionfailure in the Network
d) All of the above
Ans. d) All of the above
44. HTTP Refers to
a) Hyper Text Transfer Protocol
b) Hyper Text Transmission Protocol
c) Hyper Text Tie Protocol
d) None of the above
Ans. a) Hyper Text Transfer Protocol
45. Which one is the translator?
a) Compiler
b) Loader
c) Linker
d) Macroprocessor
Ans. a) Compiler
46. Telnet is a service that runs
a) Television on net
b) Remote program
c) Cable TV Network
d) Telenext
Ans. b) Remote program
47. Sparse matrix have
a) Many zero entries
b) Many non-zero entries
c) Higher dimension
d) None of the above
Ans. a) Many zero entries
48. Because of the virtual memory, the memory can be shared among
a) Processes
b) Threads
c) Instruction
d) None of the above
Ans. a) Processes
49. Precedence operator determines which
a) is evaluated first
b) is most important
c) is fastest
d) operates on the largest number
Ans. a) is evaluated first
50. The fields in a class of a C++ program are by default
a) Protected
b) Public
c) Private
d) None of the above
Ans. c) Private
51. Data structure used in Quick Sort is
a) QUEUE
b) STACK
c) GRAPH
d) TREE
Ans. b) STACK
52. Which one is Object Oriented Programming Language ?
a) C
b) Simula
c) C++
d) Both (b) and (c)
Ans. d) Both (b) and (c)
53. The feature that allows you to define new data types that are equivalent to existing data types is
a) Pointer
b) Typedef
c) Structure
d) Union
Ans. b) Typedef
54. Which of the following is correct regarding meta tag in HTML?
a) <meta> ….. </meta>
b) <meta name = " "/>
c) <metadata> </metadata>
d) <metadata name =" "/>
Ans. b) <meta name = " "/>
55. The function that an entity plays in a relationship is called that entity’s .
a) Participation
b) Position
c) Role
d) Instance
Ans. c) Role
56. puts() is an
a) Input function
b) Output function
c) Both input & output function
d) None of the above
Ans. b) Output function
57. The length of the string NEW DELHI is
a) 9
b) 10
c) 8
d) 7
Ans. a) 9
58. The data structure which is used for the expression evaluation is
a) Binary Tree
b) Queue
c) Graph
d) None of the above
Ans. a) Binary Tree
59. A memory buffer used to accommodate a speed differential is called
a) Stack pointer
b) Cache
c) Accumulator
d) Disk buffer
Ans. b) Cache
60. Which one is the third layer of the a OSI model?
a) Network
b) Transport
c) Session
d) Datalink
Ans. a) Network
0 comments:
Post a Comment