Computer Applications
Mr. Sanjay is an event manager, he plans and allots duties to each of his subordinates to handle different events. In a program, a task is divided into simple methods. Name the feature used in these contexts.
- Complexity
- Modularity
- Reusability
- Monolithic
User Defined Methods
1 Like
Answer
Modularity
Reason — Modularity refers to the practice of dividing a program into separate sub-programs or methods, each handling a specific task. In the context where Mr. Sanjay divides a task into simple methods, the feature being used is modularity.
Answered By
1 Like
Related Questions
In the bubble sort technique, during each iteration of the inner loop, two adjacent elements are …………… and …………… .
(i) compared
(ii) swapped
(iii) selected
(iv) deleted- (i) and (ii)
- (ii) and (iii)
- (iii) and (iv)
- (ii) and (iv)
What is the highest index of any array with 100 elements?
- 100
- 101
- 99
- 98
Raj was asked to accept the phone number which has 10 digits, using the appropriate method of Scanner class. Which of the following statement he must choose?
- Ob.nextInt()
- Ob.nextDouble()
- Ob.nextLong()
- Ob.next().chatAt(0)
Raj wanted to count the number of digits in a given number without using a loop. Which of the following statements is correct to perform the above?
- String.valueOf(n).length()
- Integer.parseInt(n).length()
- n.length()
- All the above