Question
How many digits are required to write first 500 natural
numbers?Solution
Single digit numbers are from 1 to 9 so in that total digits used = 9. From 10 to 99 there are 90 numbers of 2 digits , so here digit used = 90 2 = 180. From 100 to 500 there are 401 numbers of 3 digits  = 3
401 = 1203 (as all are of 3 digit number). So number of digits required to first 500 natural number = 9+180+1203 = 1392
What is the output of the following recursive function call func(3) ?
int func ( int n) {Â Â Â Â Â Â Â
   if (n == 0 ) return 1 ; <...
Which feature of OOP allows hiding implementation details while showing only the necessary functionality?
Which traversal method visits the root node first in trees?
Which type of AI is primarily used for adaptive mobile applications like virtual assistants?
- Artificial Intelligence
Which of the following statements best describes the role of a reinforcement learning agent in a complex environment?
... Which of the following is a key principle of the SOLID design principles that focuses on ensuring a class has only one reason to change?
- Internet of Things (IoT)
In an IoT ecosystem, which protocol is most efficient for constrained devices communicating over lossy networks?
... In system design, what is the primary purpose of a feasibility study?
Which of the following is NOT a valid feature of IPv6 compared to IPv4?
Which type of database key is a candidate key that has not been chosen as the primary key?