Question
The average of 18 numbers is 75.
The average of the first nine numbers and the last six numbers is 62.5 and 82.5, respectively. The 12th number is 34.3 more than 1.8 times the 10th number, which itself is 119.5 less than the 11th number. What is the value of the 11th number?Solution
ATQ,
Let 10th number is ‘x’ So, 12th number = 1.8 × x + 34.3 And, 11th number = x + 119.5 So, x + 1.8x + 34.3 + x + 119.5 = 18 × 75 – 9 × 62.5 – 6 × 82.5 = 292.5 Or, 3.8x = 138.7 Or, x = 36.5 So, 11th number = 36.5 + 119.5 = 156
What will be the output of the following code when printList is called with a linked list containing the values 1 -> 2 -> 3?
class Node:
�...
What is the primary advantage of using a stack in recursive algorithms?
Which of the following creates a pattern object?
Data mart types
- Which of the following is NOT a valid relational algebra operation?                            ...
The primary role of an operating system (OS) is to:
In object-oriented programming, what type of polymorphism is achieved at runtime?Â
In a binary tree, how is the height of the tree defined?
- In a relational database, which key uniquely identifies tuples within a table and can never contain NULL values?
Dynamic programming is used by