Question
The volume of a solid cube is 1728 m3. If
whole cube is to be painted at a rate of Rs. 6.5 per m2, then what will be the cost of painting the cube?Solution
Let the edge length of the cube = ‘a’ metres Then, volume of the cube = a3 = 1728 So, a = 1728(1/3) = 12 So, total surface area of the cube = 6a2 = 6 × 122 = 864 m2 So, cost of painting the cube = 864 × 6.5 = Rs. 5616
Which of the following is an example of a NoSQL database?
Which SQL command is used to remove a table from the database?
What will be the output of the following Python code:
a=[1,2,3,4,5,6]
print(a[-1],a[-1:],a[:-1])
When implementing a `Graph` traversal algorithm like Depth-First Search (DFS) recursively, what is the primary control flow mechanism that manages the o...
A programmer is trying to debug an issue where an `ArrayList` (or equivalent dynamic array) in their Java/Python code unexpectedly throws an `IndexOut...
Consider the following pseudo-code:Â
 ```
  function calculate(arr):
    sum = 0
    for i from 0 to l...
An SQL `VIEW` is a:
Which of the following is used to enforce referential integrity?
In a relational schema, which normal form eliminates transitive dependencies (i.e., non-prime attribute depends on another non-prime attribute)?
Consider a scenario in an OOP application where a `NullPointerException` (or equivalent) occurs when trying to access a member of an object. What is the...