Inform-midterm: The Perfect Reviewer Edition
  • 1. Perfect na ba? ( ˵ •̀ ᴗ •́˵)
A) EEYYY
B) SALAMAT SHOPEE
C) PRAISE SIR BUDS
D) (¬ᴗ ´¬ )
E) YES SIR
  • 2. What does HTML stand for?
A) HyperText Markup Language
B) Home Tool Markup Language
C) High Technical Modern Language
D) Hyperlinks and Text Markup Language
  • 3. What is the latest version of HTML?
A) HTML6
B) HTML5
C) HTML4
D) HTML2023
  • 4. Which tag is used to define a hyperlink?
A) <href>
B) <a>
C) <url>
D) <link>
  • 5. What is the correct way to create a line break in HTML?
A) \n
B) <br>
C) <lb>
D) <break>
  • 6. Which HTML tag is used for inserting an image?
A) <picture>
B) <src>
C) <img>
D) <image>
  • 7. How do you create a numbered list in HTML?
A) <nl>
B) <list type="number">
C) <ol>
D) <ul type="numbered">
  • 8. What attribute specifies the URL of an image in HTML?
A) href
B) src
C) link
D) url
  • 9. What tag is used to create a table in HTML?
A) <tabular>
B) <table>
C) <tb>
D) <grid>
  • 10. What does the <th> tag define in an HTML table?
A) Table header
B) Table horizontal
C) Table hyperlink
D) Table height
  • 11. What is the correct HTML tag for the largest heading?
A) <heading>
B) <head>
C) <h1>
D) <h>
  • 12. How do you create a checkbox in HTML?
A) <input type='checkbox'>
B) <checkbox>
C) <check>
D) <option type='check'>
  • 13. What is the correct way to create an email input field?
A) <input email>
B) <input type='email'>
C) <email>
D) <field type='email'>
  • 14. Which HTML tag is used to create a form?
A) <input>
B) <fieldset>
C) <form>
D) <formfield>
  • 15. What is the correct way to link an external CSS file?
A) <link rel='stylesheet' href='style.css'>
B) <style src='style.css'>
C) <css import='style.css'>
D) <stylesheet>style.css</stylesheet>
  • 16. What is the correct HTML tag for inserting a line?
A) <line>
B) <break>
C) <ln>
D) <hr>
  • 17. Which of the following elements is not a block-level element?
A) <div>
B) <span>
C) <p>
D) <section>
  • 18. What does the 'alt' attribute in <img> tag specify?
A) Alternative text
B) Altitude
C) Alignment text
D) Alert type
  • 19. What does <meta charset='UTF-8'> define?
A) Character encoding
B) Character size
C) Character type
D) Character setting
  • 20. Which tag is used to define a list item?
A) <list>
B) <item>
C) <li>
D) <bullet>
  • 21. How do you define a radio button in HTML?
A) <radio>
B) <input type='radio'>
C) <circle>
D) <button type='radio'>
  • 22. Which tag is used to create a dropdown list?
A) <dropdown>
B) <select>
C) <option>
D) <list>
  • 23. What attribute is used to make a text input field required?
A) mandatory
B) required
C) must
D) needed
  • 24. Which tag is used to embed a video in HTML5?
A) <video>
B) <movie>
C) <play>
D) <media>
  • 25. Which HTML tag is used to define important text?
A) <strong>
B) <bold>
C) <em>
D) <important>
  • 26. What does the 'action' attribute in a form specify?
A) Where to send form data
B) What type of form it is
C) How to validate the form
D) When to submit the form
  • 27. Which HTML tag defines the document's body?
A) <doc>
B) <main>
C) <content>
D) <body>
  • 28. Which tag is used for inserting an inline frame?
A) <inframe>
B) <embed>
C) <iframe>
D) <frame>
  • 29. What is the default file extension for HTML files?
A) .html
B) .web
C) .doc
D) .htm
  • 30. Which tag is used to create a tooltip?
A) title
B) tooltip
C) hover
D) hint
  • 31. Which attribute specifies the relationship between the current document and an external resource?
A) rel
B) relationship
C) ref
D) link
  • 32. Which HTML attribute is used to define inline styles?
A) style
B) css
C) design
D) format
  • 33. Which HTML element is used for the footer of a document?
A) <base>
B) <bottom>
C) <end>
D) <footer>
  • 34. What does the 'placeholder' attribute do?
A) Displays hint text inside an input field
B) Creates a default value
C) Reserves space for an image
D) Sets input field positioning
  • 35. Which HTML tag is used to display a progress bar?
A) <loading>
B) <bar>
C) <meter>
D) <progress>
  • 36. Which tag represents a self-contained piece of content?
A) <container>
B) <div>
C) <section>
D) <article>
  • 37. Which HTML element defines navigation links?
A) <nav>
B) <links>
C) <menu>
D) <navigation>
  • 38. Which tag is used to mark emphasized text?
A) <em>
B) <highlight>
C) <important>
D) <i>
  • 39. Which HTML element is used to create a responsive image?
A) <responsive>
B) <flex-img>
C) <adaptive>
D) <picture>
  • 40. What is the purpose of the <datalist> element?
A) Provides a list of predefined options for an input
B) Stores structured data
C) Formats list items
D) Creates a data table
  • 41. What does CRUD stand for?
A) Current Record User Data
B) Connect Read Upload Download
C) Create Restore Update Delete
D) Create Read Update Delete
  • 42. What SQL statement is used to retrieve data?
A) FETCH
B) SELECT
C) GET
D) RETRIEVE
  • 43. How do you insert data into a table?
A) INSERT
B) ADD
C) CREATE ROW
D) PUT
  • 44. How do you update data in a table?
A) UPDATE
B) MODIFY
C) ALTER ROW
D) CHANGE
  • 45. How do you remove a record from a table?
A) REMOVE
B) ERASE
C) DROP ROW
D) DELETE
  • 46. Which command creates a new database?
A) MAKE DATABASE
B) ADD DATABASE
C) NEW DATABASE
D) CREATE DATABASE
  • 47. What is the primary key used for?
A) Joining tables
B) Uniquely identifying records
C) Creating indexes
D) Encrypting data
  • 48. Which SQL clause filters records?
A) FILTER
B) WHERE
C) HAVING
D) CONDITION
  • 49. What keyword is used to change existing records?
A) UPDATE
B) ALTER
C) CHANGE
D) MODIFY
  • 50. Which clause is used to sort query results?
A) SORT BY
B) GROUP BY
C) ARRANGE BY
D) ORDER BY
  • 51. What does the DELETE statement do?
A) Removes columns
B) Removes records
C) Clears databases
D) Drops tables
  • 52. Which SQL statement is used to add a new column to a table?
A) MODIFY TABLE
B) CHANGE TABLE
C) ALTER TABLE
D) ADD COLUMN
  • 53. What is the purpose of the LIMIT clause?
A) Restricts the number of rows returned
B) Limits query execution time
C) Restricts user access
D) Sets maximum table size
  • 54. How do you remove all records from a table but keep its structure?
A) TRUNCATE TABLE
B) DELETE ALL
C) REMOVE RECORDS
D) CLEAR TABLE
  • 55. What is the purpose of the HAVING clause?
A) Specifies column aliases
B) Limits returned rows
C) Conditionally joins tables
D) Filters grouped records
  • 56. Which SQL keyword is used to add constraints to a table?
A) RESTRICT
B) CONSTRAINT
C) RULE
D) LIMIT
  • 57. How do you check if a column allows NULL values?
A) VERIFY COLUMN
B) RUN NULLABLE()
C) Check column definition
D) CHECK NULL
  • 58. Which statement deletes a table completely?
A) ERASE TABLE
B) REMOVE TABLE
C) DELETE TABLE
D) DROP TABLE
  • 59. What is a foreign key used for?
A) Sorting data
B) Speeding up queries
C) Validating input
D) Creating relationships
  • 60. Which SQL keyword is used to group results?
A) GROUP BY
B) CLUSTER
C) COLLECT
D) ORGANIZE BY
  • 61. Which SQL command is used to remove a specific record?
A) ERASE
B) DELETE
C) REMOVE
D) DROP RECORD
  • 62. Which command is used to remove all records but keep the table structure?
A) TRUNCATE
B) CLEAR
C) RESET
D) FLUSH
  • 63. Which SQL command is used to change the name of a table?
A) MODIFY TABLE
B) CHANGE TABLE
C) ALTER NAME
D) RENAME TABLE
  • 64. What is the default sorting order in SQL?
A) Chronological
B) Alphabetical
C) Ascending
D) Descending
  • 65. Which SQL keyword is used to specify a condition?
A) CONDITION
B) WHERE
C) WHEN
D) IF
  • 66. Which SQL statement is used to find the highest value in a column?
A) HIGHEST()
B) MAXIMUM()
C) MAX()
D) TOP()
  • 67. Which SQL command creates a backup of a table?
A) DUPLICATE TABLE
B) COPY TABLE
C) BACKUP TABLE
D) CREATE TABLE AS SELECT
  • 68. What SQL clause is used to join tables based on a common column?
A) JOIN
B) MERGE
C) RELATE
D) COMBINE
  • 69. What does the COUNT() function do in SQL?
A) Tallies column totals
B) Measures table size
C) Counts the number of rows
D) Counts distinct values
  • 70. Which SQL statement removes a column from a table?
A) ALTER TABLE DROP COLUMN
B) DROP COLUMN
C) DELETE COLUMN
D) REMOVE COLUMN
  • 71. Which SQL function returns the total sum of a numeric column?
A) CALCULATE()
B) SUM()
C) TOTAL()
D) ADD()
  • 72. Which SQL clause is used to filter grouped results?
A) WHERE GROUP
B) HAVING
C) FILTER GROUP
D) GROUP FILTER
  • 73. Which SQL keyword is used to prevent duplicate values in a query result?
A) DIFFERENT
B) DISTINCT
C) UNIQUE
D) NODUPE
  • 74. What is the main purpose of an index in SQL?
A) Preventing duplicate records
B) Improving query performance
C) Validating data integrity
D) Organizing data storage
  • 75. Which type of JOIN returns all records from both tables when a match exists?
A) COMPLETE JOIN
B) FULL JOIN
C) OUTER JOIN
D) INNER JOIN
  • 76. Which SQL command creates a stored procedure?
A) NEW PROCEDURE
B) ADD PROCEDURE
C) CREATE PROCEDURE
D) MAKE PROCEDURE
  • 77. Which SQL statement is used to create a backup copy of an entire database?
A) BACKUP DATABASE
B) COPY DATABASE
C) SAVE DATABASE
D) DUPLICATE DATABASE
  • 78. Which SQL keyword is used to limit the number of records returned by a query?
A) TOP
B) ROWS
C) LIMIT
D) MAX
  • 79. Which SQL clause is used to group data based on a common column?
A) GROUP BY
B) COLLECT BY
C) ORDER INTO
D) CLUSTER BY
  • 80. Which SQL function is used to get the current date and time?
A) CURRENT()
B) DATETIME()
C) NOW()
D) TODAY()
Students who took this test also took :

Created with That Quiz — where test making and test taking are made easy for math and other subject areas.