Daily Exam Programmer 12-10-2024

Join us on Telegram


Q 1: Which of these field declarations are legal within the body of an interface?
(1) Private final static int answer = 42
(2) public static int answer-42
(3) ) final static answer =42
(4) int answer
Correct Answer: public static int answer-42

Q 2: ...............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 3:

A packet with all flags set is which type of scan?

(1) Full Open
(2) XMAS
(3) TCP connect
(4) Syn scan
Correct Answer: XMAS

Q 4:

Which of the following clause in SQL ROLLBACK statement roll back only the specified transaction?

(1) FORCE
(2) WORK
(3) COMMIT
(4) SAVEPOINT
Correct Answer: WORK

Q 5:

The following functional dependencies are given : AB->CD AF->D, DE->F, C->G, F->E, G->A Which one of the following options is false?

(1) CF+= (ACDEFG)
(2) BG+= (ABCDG)
(3) AF+ (ACDEFG)
(4) None of the above
Correct Answer: AF+ (ACDEFG)

Q 6:

Which of these can be used to fully abstract a class from its implementation?

(1) Packages
(2) Objects
(3) Interfaces
(4) None of the above
Correct Answer: Interfaces

Q 7:

How many types of polymorphisms are supported by C++?

(1) 1
(2) 2
(3) 3
(4) 4
Correct Answer: 2

Q 8:

Which one is not infrastructure software ?

(1) Operating system
(2) Database management system
(3) Compilers
(4) Result management system
Correct Answer: Result management system

Q 9:

In the digital signature technique when the whole message is signed using an asymmetric key, the receiver of the message uses signature. to verify the

(1) her or his own public key
(2) her or his own private key
(3) the sender's public key
(4) None of the above
Correct Answer: the sender's public key

Q 10:

Why is Frame Relay's throughput lower than that of ATM?

(1) Frame Relaying have error control (ARQ) functionality but not ATM.
(2) ATM does not need to have CRC checking/ generation or bit stuffing's functionality in the packets as in Frame Relay.
(3) Frame Relaying needs to do multiplexing of logical channels but not ATM
(4) Although both Frame relay and ATM have frame boundary recognition (flags), ATM doesn't have bit stuffing as in frame Relaying
Correct Answer: ATM does not need to have CRC checking/ generation or bit stuffing's functionality in the packets as in Frame Relay.