Question
In a circle with center O, two tangents PA and PB are
drawn from point P outside the circle. If PA = 24 cm, PB = 24 cm, and OP = 30 cm, find the length of chord AB.Solution
In the right triangle OPA, OA = OP = 30 cm (radius of the circle). In right triangle OPA, by Pythagoras’ theorem, PA² = OP² - OA² 24² = 30² - OA² 576 = 900 - OA² OA² = 324 OA = 18 cm. The length of chord AB = 2 × OA = 36 cm.
Which traversal of binary tree gives nodes in sorted order?
Given the IP address 192.168.10.5 and the subnet mask 255.255.255.240 , what is the range of valid host addresses in this subnet?
What will be the output of the following Java snippet?
class A {
   public void display() {
       System.out.pr...
Which of the following is a key objective of the Requirement Analysis phase in the Software Development Lifecycle (SDLC)?
Union-Find with path compression achieves nearly constant time because its complexity is:
Which of the following is a common issue that can arise from poorly designed recursive functions?
Which of the following is an effective countermeasure against Cross-Site Scripting (XSS) attacks in a web application?
Which of the following best describes the mechanism of a Cross-Site Scripting (XSS) attack?
Which tree traversal gives nodes in non-decreasing order for a BST?
Which of the following scenarios violates Boyce-Codd Normal Form (BCNF) in a relational schema?