Question
Let A represent the sum of the two smallest prime
numbers. Let B be the average of the largest and second-largest two-digit prime numbers. Determine the value of (A + B)/2.Solution
The two smallest prime numbers are 2 and 3
So, A = 2 + 3 = 5
Largest and second largest 2 digit prime numbers are 97 and 89 respectively.
So, B = 97 + 89 = 93
So, required value = {(93 + 5)/2} = 49
Time complexity of heap sort is:
Which type of database key is a candidate key that has not been chosen as the primary key?
Which data structure uses LIFO (Last In, First Out) principle?
In a data warehousing environment, what is the primary purpose of an OLAP (Online Analytical Processing) cube?
- Which of the following is the primary characteristic of Infrastructure as a Service (IaaS) in cloud computing?
Which of the following accurately describes the role of a "foreign key" in a relational database system?
Deletion in Red-Black Trees maintains balance using:
Which SQL command is used to remove only specific rows from a table while preserving the structure and other rows?
In the dynamic programming approach for LCS, the base cases are crucial for correctly initializing the dp table.
Consider the following Python co...
RISC stands for: