Question
The difference between the 7th and
2nd term of an Arithmetical Progression is 20 and its third term is ‘9’. Then find the total number of terms in the series if sum of series is 120.Solution
Given, a + 2d = 9 .................(i) (a+6d) – (a + d) = 20 5d = 20 d = 4 Put the value of ‘d’ in equation (i), we get a + 8 = 9 a = 1 Now, 120 = n/2 (2+(n-1)4) 120 = n/2 (4n-2) On solving, n = 8
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: