Recursion 6. Indexers and Exception Handling This section contains MCQs on indexers and their properties and mechanisms of exception handling which includes try and catch. Introduction of Indexers Introduction of Properties Properties and its Applications Fundamentals of Exception Handling Implementation of...
d) There are chances of wastage of memory space if elements inserted in an array are lesser than the allocated size View Answer 3. Which data structure is used for implementing recursion? a) Stack b) Queue c) List d) Array View Answer ...
Answer: 4 In recursion, the type of data structure that finds its use is the Stack type of data structure. Q6 The data structure that allows the insertion, as well as the deletion from both the ends, are: String type of data structure Queue type of data structure Stack type of data ...
15. Functions can return enumeration constants in C? a) true b) false c) depends on the compiler d) depends on the standard View Answer 16. Functions in C Language are always ___ a) Internal b) External c) Both Internal and External d) External and Internal are not valid terms for ...
This set of Python Multiple Choice Questions & Answers (MCQs) focuses on “Regular Expressions”. 1. Which module in Python supports regular expressions? a) re b) regex c) pyregex d) none of the mentioned View Answer 2. Which of the following creates a pattern object?
23. Which of these are selection statements in Java? a) break b) continue c) for() d) if() View Answer24. What will be the output of the following Java program?class recursion { int func (int n) { int result; if (n == 1) return 1; result = func (n - 1); return ...