Question
In a colony, there are 20 APL families and 30 BPL
families. Each APL and BPL family got blankets equal to 30% and 60%, respectively of total number of families (APL + BPL) in the colony. Find the difference between total number of blankets received by APL and BPL families.Solution
Total number of families in the colony = 20 + 30 = 50 Number of blankets received by APL families = 20 x 0.30 x 50 = 300 Number of blankets received by BPL families = 30 x 0.60 x 50 = 900 Required difference = 900 - 300 = 600
Consider the following JSON object:
json
{
 "user": {
  "id": "u123",
  "name": "Alice",
  "age"...
Which of the following is an example of parametric polymorphism?
 Resolution of analog to digital converter is given by_____
A C function attempts to find a substring.
#include
#include
char* find_substring(char* haystack, char* needle...
What is the difference between memoization and tabulation in Dynamic Programming?
What is the best case time complexity of merge sort?
What is the primary purpose of the Banker's Algorithm in operating systems?
*-adc is which form of representation ?
What is the purpose of the fork() system call in Unix-based operating systems?
State true or false                              Â
ODBC drivers are available for Oracle, Sybase, Informix, Mic...