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