Question
The difference between the length and breadth of a
rectangle is 27 m. If its perimeter is 194 m, then its area isSolution
Using formula, Perimeter = 2(l + b)  Let the breadth be ‘x’ metre Length = (27 + x) metre ⇒ 2(x + 27 + x) = 194 ⇒ 4x = 194 – 54 ⇒ x = 140/4 = 35 metre Therefore, length = 35 + 27 = 62 metre Therefore, required area = 62 x 35 = 2170 m²
In a data analysis workflow, an index is created on a column with very low cardinality (e.g., a 'gender' column). What is a potential consequence of this?
Binary trees are often used to represent hierarchical data. Which of the following is NOT a direct application of binary trees?
What does it mean for an algorithm to be "in-place"?
What is the primary goal of the Matrix Chain Multiplication problem in dynamic programming?
Consider the following Java code:
public class LengthMix {
  public static void main(String[] args) {
    int[] numbers...
A function sum_matrix_elements(matrix, R, C) is designed to sum all elements of a matrix with R rows and C columns. The implementation uses nested loops...
Which is best fit for blank space 14?
Which of the following statements accurately describes Third Normal Form (3NF) in database normalization?
In a multi-homed network, BGP route flapping causes external instability. Which mechanism MOST effectively prevents repeated advertisement of unstable r...
What is the time complexity of the KMP algorithm for searching a pattern of length 'M' in a text of length 'N'?