PGT Computer Science (Level-3), (HTET Exam 2016)

Total Questions: 150

111. ................. is an entry controlled loop.

Correct Answer: A. For

112. The wrapping of data and function into a single unit is called .................. .

Correct Answer: B. Data encapsulation
Solution:

The wrapping up of data and functions into a single unit (called class) is known as encapsulation. Data encapsulation is the most striking feature of a class. The data is not accessible to the outside world, and only those functions which are wrapped in the class can access it. These functions provide the interface between the object's data and the program. This insulation of the data from direct access by the program is called data hiding or information hiding.

113. The number of 'rows' in a relation is called ................... .

Correct Answer: C. Cardinality
Solution:

Cardinality: The number of rows (tuples) in the relation is called its cardinality. Suppose, there are 10 records in the table so, the cardinality of the relation is 10.

114. Which type of charts can Excel produce?

Correct Answer: C. Bar chart, line graph and pie chart

115. ................... is an Universal gate.

Correct Answer: B. NAND
Solution:

NAND and NOR gates possess a special property: they are universal. That is, NAND or NOR gates is able to implement the operation of any other gate type. In fact, digital control systems have been designed around nothing but either NAND or NOR gates, all the necessary logic functions being derived from collections of interconnected NANDs or NORs.

116. Which feature is used to replace straight quotes with smart quotes while typing?

Correct Answer: D. Auto format

117. The type of communication in video conferencing is .................... .

Correct Answer: B. Multicast
Solution:

Multicast communications, is of three types i.e., one-to-many, many-to-many and many-to-one. In each type of communication the idea is the same; the sender directs all datagram to a single IP address once and the datagram are delivered to every member of the multicast group.
Many-to-many multicast communication occurs usually when we are dealing with group communication. Video conferencing and other conferencing services are the example of many-tomany communications. More specifically these might include online gaming and online mentoring system.

118. Each string literal is automatically added with a .................. terminating character.

Correct Answer: A. '10'

119. ................... mean unification of several otherwise distinct data files with data redundancy among those files partially or wholly eliminated.

Correct Answer: B. Integrated database
Solution:

By integrated, we mean the database can be thought of as a unification of several otherwise distinct files, with any redundancy among those files partly or wholly eliminated. For example, a given database might contain both an EMPLOYEE file, giving employee names, addresses, departments, salaries, and so on, and an ENROLLMENT file, representing the enrollment of employees in training courses.

120. By default the members of a class are ................... .

Correct Answer: B. Private
Solution:

Data members and member functions in a class are private by default. Therefore, the functions outside the class cannot access the data and functions in a class. If data or functions in class are declared to be public, other functions can access such data or functions. It is the reason why the member functions getdata () and showdata () are declared to be public in this example. Since the members in a class are private by default, the keyword private is not required.