Question
The perimeter of a rectangle is 60 meters. If the length
of the rectangle is twice the width, find the area of the rectangle.Solution
Let the width of the rectangle be x meters. Length = 2x meters. Perimeter of rectangle = 2(length + width) = 60 meters. 2(2x + x) = 60 6x = 60 x = 10. So, the width is 10 meters, and the length is 20 meters. Area = length × width = 20 × 10 = 200 sq. meters. Answer: a) 200 sq. meters
Which of the following is the primary goal of a Cross-Site Scripting (XSS) attack?
In the context of page replacement algorithms, which one minimizes page faults in an ideal scenario?
Which of the following allows dynamic memory allocation?
Which OSI model layer is responsible for reliable delivery of data between devices?
Which of the following is a primary advantage of using a star schema in a data warehouse design?
In CI/CD pipelines, which of the following is NOT a key benefit of Continuous Integration (CI)?
What is the primary role of a Certificate Authority (CA) in a Public Key Infrastructure (PKI)?
Which of the following is true about triggers in a relational database?
Which data structure is used in recursion?
What is the output of the following recursive function call func(3) ?
int func ( int n) {
if (n == 0 ) return 1 ; <...