Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
30 views15 pages

Math and Dbms Quiz

Quiz

Uploaded by

gadad513
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views15 pages

Math and Dbms Quiz

Quiz

Uploaded by

gadad513
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Quiz: Numbers, Ratio, Proportion, Time, Speed,

Probability, Straight Line, Newton-Raphson, and DBMS

Instructor Name

October 7, 2024

Instructions
Answer the following multiple-choice questions. Choose the best option for each question.
The correct answers are highlighted in **bold**.

Quiz Questions
1. The sum of the first 50 natural numbers is:
(A) 1225
(B) 1275
(C) **1275**
(D) 1325
2. A and B together can complete a task in 12 days. A alone can complete it in 20 days. In
how many days can B complete it alone?
(A) 20 days
(B) 30 days
(C) **30 days**
(D) 40 days
3. A train running at 60 km/h crosses a bridge in 1 minute. If the length of the train is 100
meters, what is the length of the bridge?
(A) 400 m
(B) **900 m**
(C) 600 m

1
(D) 800 m
4. The ratio of A’s age to B’s age is 4:5. If the sum of their ages is 45, what is A’s age?
(A) 18 years
(B) 20 years
(C) **20 years**
(D) 22 years
5. What is 20% of 400?
(A) 50
(B) 60
(C) **80**
(D) 100
6. A car covers a distance of 150 km in 3 hours. What is the speed of the car?
(A) 40 km/h
(B) **50 km/h**
(C) 60 km/h
(D) 70 km/h
7. If two dice are rolled, what is the probability of getting a sum of 8?
(A) 1/6
(B) **5/36**
(C) 7/36
(D) 1/12
8. A can complete a task in 16 days, and B can do the same task in 12 days. How many
days will it take for A and B together to complete the task?
(A) **6.86 days**
(B) 7 days
(C) 6 days
(D) 8 days
9. A man buys a TV for $800 and sells it for $920. What is his profit percentage?
(A) 10%
(B) 12%

2
(C) 15%
(D) **15%**
10. Solve using the Newton-Raphson method: f (x) = x2 − 4, starting with x0 = 3.
(A) **2.333**
(B) 2.5
(C) 2.666
(D) 3
11. What is the slope of the line passing through the points (2, 3) and (5, 7)?
(A) 3/2
(B) **4/3**
(C) 2
(D) 5/4
12. If the LCM of two numbers is 60 and their HCF is 5, and one of the numbers is 15, what
is the other number?
(A) 15
(B) 20
(C) 30
(D) **20**
13. If a number is increased by 20% and then decreased by 20%, what is the net change?
(A) No change
(B) **4% decrease**
(C) 4% increase
(D) 2% decrease
14. A train 150 meters long is running at 90 km/h. How long will it take to pass a pole?
(A) 4 seconds
(B) **6 seconds**
(C) 8 seconds
(D) 10 seconds
15. What is the sum of the interior angles of a pentagon?
(A) 360 degrees

3
(B) **540 degrees**
(C) 720 degrees
(D) 900 degrees
16. A can do a piece of work in 10 days, and B can do the same work in 15 days. How many
days will it take for both of them to complete the work together?
(A) **6 days**
(B) 5 days
(C) 7 days
(D) 8 days
17. If the average speed of a car is 60 km/h, how long will it take to cover 180 km?
(A) 2 hours
(B) 3 hours
(C) **3 hours**
(D) 4 hours
18. A car’s speed decreases by 20% and then increases by 20%. What is the net change in
speed?
(A) 0%
(B) **4% decrease**
(C) 4% increase
(D) 8% increase
19. In a database, the command to delete a record is:
(A) SELECT
(B) **DELETE**
(C) INSERT
(D) UPDATE
20. What does the SQL command ‘UPDATE‘ do?
(A) Selects data
(B) **Modifies existing data**
(C) Deletes data
(D) Inserts new data
21. The ratio of 4:5 is equivalent to what percentage?

4
(A) 60%
(B) 70%
(C) **80%**
(D) 90%
22. The sum of all probabilities of a discrete random variable is always:
(A) 0
(B) **1**
(C) Between 0 and 1
(D) Greater than 1
23. In the Newton-Raphson method, the next approximation xn+1 is given by:
(A) xn − f (xn )
f (xn )
(B) **xn − f ′ (xn )
**
(C) xn + f (xn )
(D) xn × f ′ (xn )
24. Which of the following is not a DML command in SQL?
(A) INSERT
(B) DELETE
(C) SELECT
(D) **CREATE**
25. A man can row downstream at 6 km/h and upstream at 4 km/h. What is the speed of
the stream?
(A) 1 km/h
(B) **1 km/h**
(C) 2 km/h
(D) 3 km/h
26. If the probability of rain on a certain day is 0.7, what is the probability that it does not
rain?
(A) **0.3**
(B) 0.7
(C) 0.2

5
(D) 0.1
27. The area of a rectangle is 48 square units, and its length is 8 units. What is the width of
the rectangle?
(A) 4 units
(B) **6 units**
(C) 8 units
(D) 10 units
28. If the distance between two points is 20 km and the speed is 40 km/h, how much time
will it take to cover the distance?
(A) **0.5 hours**
(B) 1 hour
(C) 2 hours
(D) 4 hours
29. In a geometric sequence, if the first term is 3 and the common ratio is 2, what is the 5th
term?
(A) 12
(B) 24
(C) 48
(D) **48**
30. What is the midpoint of the line segment joining the points (2, 4) and (6, 8)?
(A) (4, 5)
(B) **(4, 6)**
(C) (5, 5)
(D) (3, 6)
31. A man spends 30% of his income on rent and saves 20%. If his income is $2000, how
much does he save?
(A) $200
(B) $400
(C) $600
(D) **$400**

6
32. A number is divisible by 3 and 5. Which of the following is that number?
(A) **15**
(B) 30
(C) 45
(D) 60
33. The area of a circle with a radius of 5 units is:
(A) 25 square units
(B) **25 square units**
(C) 50 square units
(D) 75 square units
34. A line passes through the points (0, 0) and (4, 4). What is the equation of the line?
(A) y = x
(B) **y = x**
(C) y = 2x
(D) y = x + 2
35. If 15 workers can complete a work in 12 days, how many days will it take for 20 workers
to complete the same work?
(A) 15 days
(B) 10 days
(C) 8 days
(D) **9 days**
36. A can complete a job in 24 days, while B can do it in 18 days. If they work together, how
many days will they take to complete the work?
(A) **10.29 days**
(B) 12 days
(C) 14 days
(D) 16 days
37. The population of a town increases by 5% annually. If the current population is 10,000,
what will be the population after 2 years?
(A) 11,000
(B) **11,025**

7
(C) 11,500
(D) 12,000
38. Two trains are moving in opposite directions at speeds of 60 km/h and 90 km/h. If the
length of each train is 150 meters, how long will it take for the trains to cross each other?
(A) 6 seconds
(B) **5 seconds**
(C) 8 seconds
(D) 10 seconds
39. A car travels 150 km in 3 hours. How much distance will it cover in 5 hours at the same
speed?
(A) 200 km
(B) 250 km
(C) **250 km**
(D) 300 km
40. A sum of money becomes double in 10 years at simple interest. What is the rate of
interest per annum?
(A) **10%**
(B) 15%
(C) 12%
(D) 8%
41. The probability of picking a red ball from a bag containing 3 red balls and 5 green balls
is:
(A) 3/5
(B) **3/8**
(C) 5/8
(D) 1/2
42. If the coordinates of two points are (2, 3) and (8, 9), what is the distance between them?
(A) 5
(B) **72**
(C) 8
(D) 10

8
43. A man buys a chair for $400 and sells it for $500. What is his profit percentage?
(A) 15%
(B) **25%**
(C) 20%
(D) 30%
44. The roots of the quadratic equation x2 − 5x + 6 = 0 are:
(A) 2 and 3
(B) **2 and 3**
(C) 1 and 6
(D) 3 and 6
45. What is the area of a triangle with a base of 8 units and a height of 10 units?
(A) 40 square units
(B) **40 square units**
(C) 80 square units
(D) 100 square units
46. A person invests $10,000 at an interest rate of 5% per annum. How much interest will he
earn after 2 years?
(A) $500
(B) $1,000
(C) **$1,000**
(D) $1,500
47. The total surface area of a cube with a side length of 5 units is:
(A) 125 square units
(B) **150 square units**
(C) 100 square units
(D) 200 square units
48. What is the probability of getting heads on a fair coin flip?
(A) 1/4
(B) **1/2**
(C) 1/3

9
(D) 1
49. What is the slope of a line that is parallel to the line y = 2x + 5?
(A) 5
(B) **2**
(C) 3
(D) 0
50. If a box contains 10 red balls and 5 blue balls, what is the probability of drawing a blue
ball?
(A) 5/10
(B) 2/3
(C) **1/3**
(D) 5/15
51. The equation of a straight line passing through the point (3, 2) with a slope of 4 is:
(A) y = 4x + 2
(B) y = 4x − 10
(C) **y − 2 = 4(x − 3)**
(D) y = 2x + 4
52. If 3 men can do a job in 24 days, how many days will it take for 4 men to do the same
job?
(A) 18 days
(B) 12 days
(C) **18 days**
(D) 16 days
53. A circle has a radius of 7 units. What is its circumference?
(A) 14
(B) **14**
(C) 28
(D) 21
54. The equation of a line perpendicular to the line y = −2x + 4 is:
(A) y = −2x + 5
(B) y = 21 x + 1

10
(C) **y = 12 x + 1**
(D) y = 2x − 3
55. If a number is increased by 10% and then decreased by 10%, what is the overall change?
(A) 0%
(B) **1% decrease**
(C) 2% increase
(D) 5% increase
56. If P (A) = 0.4 and P (B) = 0.5, and A and B are independent, what is P (A ∩ B)?
(A) 0.9
(B) **0.2**
(C) 0.7
(D) 0.5
57. The sum of all angles in a triangle is always:
(A) 360 degrees
(B) 90 degrees
(C) **180 degrees**
(D) 270 degrees
58. If the sum of three consecutive integers is 36, what is the largest of the three integers?
(A) 10
(B) **12**
(C) 11
(D) 9
59. A person buys a product for $600 and sells it for $720. What is the percentage profit?
(A) 15%
(B) 25%
(C) 20%
(D) **20%**
60. If a number is divided by 5, the remainder is 2. What is the number?
(A) 5
(B) 8

11
(C) **7**
(D) 6
61. What is the standard equation of a circle with center at (2, 3) and radius 4?
(A) (x − 2)2 + (y − 3)2 = 42
(B) **(x − 2)2 + (y − 3)2 = 16**
(C) (x + 2)2 + (y + 3)2 = 16
(D) (x − 3)2 + (y − 2)2 = 42
62. A train 120 meters long passes a pole in 6 seconds. What is the speed of the train?
(A) **72 km/h**
(B) 60 km/h
(C) 48 km/h
(D) 50 km/h
63. Which of the following is a DML command?
(A) CREATE
(B) DROP
(C) **UPDATE**
(D) ALTER
64. In SQL, which clause is used to filter records?
(A) **WHERE**
(B) HAVING
(C) GROUP BY
(D) ORDER BY
65. What is the primary key in a database?
(A) A unique identifier for each record
(B) **A unique identifier for each record**
(C) A foreign key in another table
(D) A key used to sort records
66. Which of the following statements is used to remove a table from a database?
(A) **DROP**
(B) DELETE

12
(C) TRUNCATE
(D) REMOVE
67. In a relational database, the rows of a table are also called:
(A) Fields
(B) Attributes
(C) **Tuples**
(D) Columns
68. Which SQL function is used to count the number of rows in a table?
(A) SUM()
(B) **COUNT()**
(C) AVG()
(D) TOTAL()
69. What is a foreign key?
(A) A unique key in a table
(B) **A key used to link two tables**
(C) A key that cannot contain NULL values
(D) A primary key in another table
70. Which normal form is achieved when a table has no multivalued attributes and all at-
tributes are functionally dependent on the primary key?
(A) First Normal Form (1NF)
(B) Second Normal Form (2NF)
(C) **Third Normal Form (3NF)**
(D) Boyce-Codd Normal Form (BCNF)
71. In SQL, which command is used to add a new column to an existing table?
(A) **ALTER**
(B) ADD
(C) MODIFY
(D) INSERT
72. What does ACID stand for in the context of a database?
(A) Accuracy, Consistency, Isolation, Durability

13
(B) Atomicity, Consistency, Isolation, Durability
(C) **Atomicity, Consistency, Isolation, Durability**
(D) Availability, Consistency, Integrity, Durability
73. Which command is used to remove all records from a table but keep the structure?
(A) **TRUNCATE**
(B) DELETE
(C) DROP
(D) REMOVE
74. A view in a database is:
(A) A stored procedure
(B) A physical table
(C) **A virtual table**
(D) A materialized table
75. What does the SQL command GRANT do?
(A) Removes a user from the database
(B) Creates a new table
(C) **Gives privileges to users**
(D) Removes privileges from users
76. Which SQL command is used to update existing data in a database?
(A) SELECT
(B) **UPDATE**
(C) INSERT
(D) DELETE
77. A transaction in a database is:
(A) A collection of queries
(B) **A unit of work performed within a database management system**
(C) A set of backup procedures
(D) A routine to clean the database
78. What is the result of the following SQL query: ‘SELECT COUNT(*) FROM employees
WHERE department = ’Sales’;‘?

14
(A) Returns all rows in the employees table
(B) **Returns the number of employees in the Sales department**
(C) Returns the average salary of employees
(D) Deletes employees from the Sales department
79. The process of organizing data to minimize redundancy is called:
(A) Data cleansing
(B) Data abstraction
(C) **Normalization**
(D) Data migration
80. In SQL, which clause is used to combine the result of two or more SELECT queries?
(A) JOIN
(B) **UNION**
(C) INTERSECT
(D) CONCAT
81. In which database model is data organized in a tree-like structure?
(A) Relational model
(B) **Hierarchical model**
(C) Network model
(D) Object-oriented model
82. What is a trigger in a database?
(A) **A set of SQL statements that automatically run when a specific event occurs**
(B) A command to execute a query
(C) A transaction that rolls back changes
(D) A function that returns results from a query

15

You might also like