Daily Exam Programmer (2023) 19-06-2024

Join us on Telegram


Q 1:

The java run time system automatically calls this method while garbage collection

(1) finalizer()
(2) finalize()
(3) finally()
(4) finalized()
Correct Answer: finalize()

Q 2: which of the following variable declaration would NOT compile in a java program
(1) int var;
(2) int VAR;
(3) int var_1;
(4) int 1_var;
Correct Answer: int 1_var;

Q 3: Valid C statement to allocate 20 bytes to an integer pointer P is:
(1) P=(int*) malloc (20)
(2) *P=(int*) malloc (20;)
(3) P=(int*malloc*20)
(4) &P=(int*) malloc (20)
Correct Answer: P=(int*) malloc (20)

Q 4: Data mining can be used as ..................tool.
(1) Software
(2) Process
(3) Research
(4) Hardware
Correct Answer: Research

Q 5: The most desirable form of coupling is
(1) Control
(2) Data
(3) Common
(4) Content
Correct Answer: Data

Q 6: Which relationship specifies an optional behavior
(1) A generalization
(2) An inheritance
(3) An include
(4) An extend
Correct Answer: An extend

Q 7: The charts which mark significant points in the development of a project are
(1) PERT
(2) Milestone charts
(3) Bar charts
(4) CPM
Correct Answer: Milestone charts

Q 8: The number of addresses in a class C block is.............
(1) 65534
(2) 167777216
(3) 256
(4) None
Correct Answer: 256

Q 9: IEEE 802.1d specification, defines................. criteria for a transparent bridges
(1) two
(2) three
(3) four
(4) none
Correct Answer: three

Q 10: IGMP is.............. protocol
(1) an error reporting
(2) a group management
(3) a transmission
(4) none
Correct Answer: a group management