InterviewSolution
Saved Bookmarks
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Converting a primitive type data into its corresponding wrapper class object instance is called(A) Boxing(B) Wrapping(C) Instantiation(D) Autoboxing |
| Answer» | |
| 2. |
Given two languages:L1 = {(ab) n ak | n > k, k ≥ 0}L2 = {an bm| n ≠ m}Using pumping lemma for regular language, it can be shown that(A) L1 is regular and L2 is not regular.(B) L1 is not regular and L2 is regular.(C) L1 is regular and L2 is regular.(D) L1 is not regular and L2 is not regular. |
| Answer» | |
| 3. |
Regular expression for the complement of language L = {an bm | n ≥ 4, m ≤ 3} is(A) (a + b)* ba(a + b)*(B) a* bbbbb*(C) (λ + a + aa + aaa)b* + (a + b)* ba(a + b)*(D) None of the above |
| Answer» | |
| 4. |
The behaviour of the document elements in XML can be defined by(A) Using document object(B) Registering appropriate event handlers(C) Using element object(D) All of the above |
| Answer» | |
| 5. |
What is true about UML stereotypes?(A) Stereotype is used for extending the UML language.(B) Stereotyped class must be abstract(C) The stereotype indicates that the UML element cannot be changed(D) UML profiles can be stereotyped for backward compatibility |
| Answer» | |