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