Question
In a school a total of 2,430 chocolates were
distributed among all the students in the school. The chocolates were distributed in such a way that number of chocolates received by each student were 30% of the total number of students in the school. Find the number of chocolates each student gets.Solution
Let the total number of students in the school be '10x/3'. So, the number of chocolates received by each student = 0.3 × (10x/3) = 'x' ATQ, Total number of chocolates distributed = (10x/3) × x = 2430 Or, x² = 2430 × (3 ÷ 10) = 729 Since, number of chocolates cannot be negative. So, x = 27 Therefore, the number of chocolates received by each student = x = 27
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...