Aspire Faculty ID #18666 · Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II) · Just now
UGC NET Computer Science Dec 2022 Shift II (Paper II)

Match the List-I and List-II

 List-I

 List-II

 a. If the implementation of generated or derived classes differs only through a parameter we have
 I. to use class hierarchy
 b. If the actual types of objects used cannot be known at compile time, then we have
II. improved run-time efficiency
 
 c. If inline operations are essential and templates are used then we have
 III. to use templates
 d. To gain access to differing instances for derived classes through base we have

 IV. to use explicit casting

Choose the correct answer from the options given below:

Solution

For a:

If implementation differs only through a parameter, templates are useful.

So,

a → III

For b:

If actual object types are not known at compile time, class hierarchy and runtime polymorphism are used.

So,

b → I

For c:

Templates allow inline operations and can improve run-time efficiency.

So,

c → II

For d:

To access derived class instances through base class reference or pointer, explicit casting may be used.

So,

d → IV

Correct matching:

a-III, b-I, c-II, d-IV

Previous 10 Questions — UGC NET Computer Science Dec 2022 Shift II (Paper II)

Nearest first
1
Match List-I and List-II List-IList-II  a. Direct AddressingI. MVI A, FFH  b. Indirect address…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
2
Match the List-I and List-II List-IList-II  a. Planar GraphI. Probabilistic Model  b. Bipartit…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
3
Which Boolean operation on two variables can be represented by a single perception layer? I. X1 AND X2 II. X1 OR X2 III…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
4
Consider the following Learning algorithms.I. Logistic regression. II. Back propagation. III. Linear regression. IV. Fo…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
5
Which AI System mimics the evolutionary process to generate increasingly better solutions to a problem? I. Self organiz…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
6
The Solution to Silly Window Syndrome problem is/are: I. Nagle's Algorithm II. Clark's Algorithm III. Jacobson's Algori…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
7
Which of the following are correct on regular expressions? a. $\varphi + L = L + \varphi = L$ b. $\epsilon L = L\epsilo…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
8
Which of the following statements are correct? The first three-address instruction in the intermediate code is a lead…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
9
Consider two hosts P and Q are connected through a router R. The maximum transfer unit $MTU$ value of the link between …
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
10
Which of the following is (are) correct about the regular expression? a a* b b* c c* d d* The language for the given …
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)

Next 10 Questions — UGC NET Computer Science Dec 2022 Shift II (Paper II)

Ascending by ID
1
Match the List-I and List-II List-I List-IIa. Apache KafkaI. Platform for constructing data flows for extract…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
2
Match the List-I and List-II List-I List-IIa. IPCI. Resource Allocationb. Demand PagingII. Computational spee…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
3
Match the List-I and List-II List-I List-IIa. Product ComplexityI. System Requirements Designb. Structured Sy…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
4
Match the List-I and List-II List-I List-IIa. Dijkstra's AlgorithmI. Calculates path matrixb. Prim's Algorith…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
5
Match the following based on the language accepted by using brute force method of parsing. List-I List-IIa. $…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
6
Match List I with List II  List-I List-IIa. CDMAI. It provides mobile internet connection with faster data tr…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
7
Match List I with List II  List-I List-IIa. Text planningI. Natural language understandingb. Sentence plannin…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
8
Consider the statements: I. There does not exist a polynomial time algorithm to solve integer linear programming proble…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
9
The correct sequence in the fetch-execute cycle is ______.I. Decode II. Fetch III. Execute Choose the correct answer f…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
10
In what sequence the initialization, testing and execution of body is done while using do-while loop?I. Commenting II. …
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
Ask Your Question or Put Your Review.

loading...