Question
A cone has a base radius of 6 cm and a height of 8 cm.
Find its volume and slant height (use π = 3.14).Solution
Volume of cone = (1/3)πr²h = (1/3) * 3.14 * 6² * 8 = (1/3) * 3.14 * 36 * 8 = 301.44 cm³ Slant height = √(r² + h²) = √(6² + 8²) = √(36 + 64) = √100 = 10 cm Correct Answer: a) Volume = 301.44 cm³, Slant height = 10 cm
Which of the following is a key characteristic that distinguishes a PL/SQL `FUNCTION` from a PL/SQL `PROCEDURE`?
Given a table employees(id, dept_id, salary), which query returns departments with average salary greater than overall average across the company?
What is the main function of a PL/SQL `TRIGGER`?
Which operator is used for pattern matching in SQL?
Which SQL constraint ensures a column cannot have NULL values?
Which of the following is a key characteristic that distinguishes a PL/SQL `FUNCTION` from a PL/SQL `PROCEDURE`?
Which type of trigger fires once for each row affected by the triggering DML statement?
Which SQL command is used to remove a table completely?
Which SQL function returns the number of rows in a table?
Which SQL keyword is used to remove duplicate records from a query result?