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