MCQOPTIONS
Saved Bookmarks
This section includes 53 Mcqs, each offering curated multiple-choice questions to sharpen your Aricent knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
Which of the following is not linked list in DSA ? |
| A. | Insertion |
| B. | Deletion |
| C. | Searching |
| D. | Comparing |
| Answer» E. | |
| 52. |
Consider the following code: int f(int k) { static int i = 100; int l; if (i == k) { printf("something"); l= f(i); return 0; } else return 0; } Which one of the following is TRUE? |
| A. | the function returns 0 when j = 1000. |
| B. | the function prints the string something for all values of j. |
| C. | the function returns 0 for all values of j. |
| D. | the function will exhaust the runtime stack or run into an infinite loop when j = 100 |
| Answer» E. | |
| 53. |
Consider two strings A = "qpqrr" and B = "pqprqrp". Let x be the length of the longest common subsequence (not necessarily contiguous) between A and B and let y be the number of such longest common subsequences between A and B. Then x +y = ___. |
| A. | 7 |
| B. | 9 |
| C. | 11 |
| D. | 13 |
| Answer» B. 9 | |