Q 1: | Which of the following is correct way of implementing an interface salary by class manager? |
(1) | class manager imports salary {} |
(2) | class manager implements salary {} |
(3) | class manager extends salary {} |
(4) | None of the above |
Correct Answer: class manager implements salary {} | |
Q 2: |
Which of the following is not a type of inheritance? |
(1) | Multiple |
(2) | Distributive |
(3) | Multilevel |
(4) | Multipath |
Correct Answer: Distributive | |
Q 3: | Which of the
following concepts is used to implement late binding? |
(1) | const function |
(2) | virtual function |
(3) | static function |
(4) | operator function |
Correct Answer: virtual function | |
Q 4: |
Which one of the following options is correct about the statement given below? The compiler checks the type of reference in the object and not the type of object |
(1) | Inheritance |
(2) | Abstraction |
(3) | Polymorphism |
(4) | None of the above |
Correct Answer: Polymorphism | |
Q 5: |
Consider the following statements on global data: Global data (i) can be accessed by a number of procedures. (ii) is defined within an outer procedure and may then be shared by the inner procedure. (ii) encourages the need to pass the data from one procedure to another. (iv) causes inconsistencies when shared by procedures. Choose the incorrect statement from among the above. |
(1) | Only (i) is incorrect |
(2) | Both (1) and (ii) are incorrect |
(3) | Only (ii) is incorrect |
(4) | Only (iii) is incorrect |
Correct Answer: Only (iii) is incorrect | |
Q 6: |
COCOMO-II estimation model is based on |
(1) | Complex approach |
(2) | Algorithm approach |
(3) | Bottom up approach |
(4) | Top down approach |
Correct Answer: Algorithm approach | |
Q 7: |
In function point analysis, number of complexity adjustment factor is |
(1) | 10 |
(2) | 12 |
(3) | 14 |
(4) | 20 |
Correct Answer: 14 | |
Q 8: | A 2 km long broadcast LAN has 107 bps bandwidth and uses CSMA/CD. The signal travels along the wire at 2x 10 m/s. What is the minimum packet size that can be used on this network? |
(1) | 50 bytes |
(2) | 100 bytes |
(3) | 200 bytes |
(4) | None of the above |
Correct Answer: None of the above | |
Q 9: | ................helps to classify arguments and situations, better understand a cyber-crime and helps to determine appropriate actions. |
(1) | Cyber-ethics |
(2) | Social ethics |
(3) | Cyber-bullying |
(4) | Corporate behaviour |
Correct Answer: Cyber-ethics | |
Q 10: | There are n stations in a slotted LAN. Each station attempts to transmit with a probability p in each time slot. What is the probability that ONLY one station transmits in a given time slot? |
(1) | a |
(2) | b |
(3) | c |
(4) | d |
Correct Answer: a | |