Question
In an exam, Sunil scored 46% marks and failed by 65
marks whereas Anil scored 66% marks in the same exam and scored 45 marks more than the passing marks. Find the maximum marks of the exam.Solution
ATQ; Let the maximum marks of the exam be β100xβ Marks scored by Sunil = 100x Γ 0.46 = β46xβ Marks scored by Anil = 100x Γ 0.66 = β66xβ According to question: 46x + 65 = 66x β 45 Or, 66x β 46x = 65 + 45 Or, 20x = 110 Or, x = 5.5 Therefore, maximum marks of the exam = 100x = 100 Γ 5.5 = 550
What is the primary objective of the Producer-Consumer problem in concurrent programming?
Using a bottom-up dynamic programming approach to calculate the 6th Fibonacci number (F(0)=0, F(1)=1), what are the values stored in the DP table F at i...
Which access specifier allows data to be accessed only within the class?
Which is computer object code?
Which model uses probability of word occurrence based on previous n-1 words?
In a perfectly balanced Binary Search Tree with N nodes, what is the worst-case time complexity for searching for an element?
Python's built-in dict (dictionary) data structure is typically implemented using a hash table. What is the average-case time complexity for get, set, a...
Which of the following language is used for specifying style sheets for XML documents?Β
In C++, what mechanism is primarily used to achieve runtime polymorphism?
Which of the following uses Latent Dirichlet Allocation (LDA)?