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