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) YES SIR
C) EEYYY
D) (¬ᴗ ´¬ )
E) SALAMAT SHOPEE
  • 2. What does HTML stand for?
A) HyperText Markup Language
B) Hyperlinks and Text Markup Language
C) High Technical Modern Language
D) Home Tool Markup Language
  • 3. What is the latest version of HTML?
A) HTML6
B) HTML2023
C) HTML4
D) HTML5
  • 4. Which tag is used to define a hyperlink?
A) <href>
B) <a>
C) <link>
D) <url>
  • 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) <image>
B) <picture>
C) <img>
D) <src>
  • 7. How do you create a numbered list in HTML?
A) <nl>
B) <ul type="numbered">
C) <list type="number">
D) <ol>
  • 8. What attribute specifies the URL of an image in HTML?
A) link
B) url
C) src
D) href
  • 9. What tag is used to create a table in HTML?
A) <tb>
B) <table>
C) <tabular>
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) <h1>
C) <h>
D) <head>
  • 12. How do you create a checkbox in HTML?
A) <input type='checkbox'>
B) <checkbox>
C) <option type='check'>
D) <check>
  • 13. What is the correct way to create an email input field?
A) <field type='email'>
B) <input type='email'>
C) <email>
D) <input email>
  • 14. Which HTML tag is used to create a form?
A) <formfield>
B) <input>
C) <form>
D) <fieldset>
  • 15. What is the correct way to link an external CSS file?
A) <link rel='stylesheet' href='style.css'>
B) <css import='style.css'>
C) <style src='style.css'>
D) <stylesheet>style.css</stylesheet>
  • 16. What is the correct HTML tag for inserting a line?
A) <break>
B) <ln>
C) <hr>
D) <line>
  • 17. Which of the following elements is not a block-level element?
A) <div>
B) <span>
C) <section>
D) <p>
  • 18. What does the 'alt' attribute in <img> tag specify?
A) Altitude
B) Alignment text
C) Alternative 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) <bullet>
C) <item>
D) <li>
  • 21. How do you define a radio button in HTML?
A) <radio>
B) <circle>
C) <button type='radio'>
D) <input type='radio'>
  • 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) mandatory
B) must
C) needed
D) required
  • 24. Which tag is used to embed a video in HTML5?
A) <movie>
B) <video>
C) <play>
D) <media>
  • 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) Where to send form data
B) When to submit the form
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) <content>
C) <body>
D) <doc>
  • 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) hint
B) hover
C) title
D) tooltip
  • 31. Which attribute specifies the relationship between the current document and an external resource?
A) rel
B) ref
C) link
D) relationship
  • 32. Which HTML attribute is used to define inline styles?
A) format
B) css
C) style
D) design
  • 33. Which HTML element is used for the footer of a document?
A) <end>
B) <base>
C) <bottom>
D) <footer>
  • 34. What does the 'placeholder' attribute do?
A) Sets input field positioning
B) Creates a default value
C) Displays hint text inside an input field
D) Reserves space for an image
  • 35. Which HTML tag is used to display a progress bar?
A) <progress>
B) <bar>
C) <meter>
D) <loading>
  • 36. Which tag represents a self-contained piece of content?
A) <div>
B) <section>
C) <article>
D) <container>
  • 37. Which HTML element defines navigation links?
A) <nav>
B) <links>
C) <navigation>
D) <menu>
  • 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) <flex-img>
B) <adaptive>
C) <responsive>
D) <picture>
  • 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 Read Update Delete
B) Connect Read Upload Download
C) Create Restore Update Delete
D) Current Record User Data
  • 42. What SQL statement is used to retrieve data?
A) GET
B) FETCH
C) SELECT
D) RETRIEVE
  • 43. How do you insert data into a table?
A) PUT
B) ADD
C) INSERT
D) CREATE ROW
  • 44. How do you update data in a table?
A) UPDATE
B) ALTER ROW
C) MODIFY
D) CHANGE
  • 45. How do you remove a record from a table?
A) DROP ROW
B) ERASE
C) DELETE
D) REMOVE
  • 46. Which command creates a new database?
A) NEW DATABASE
B) CREATE DATABASE
C) MAKE DATABASE
D) ADD DATABASE
  • 47. What is the primary key used for?
A) Encrypting data
B) Creating indexes
C) Joining tables
D) Uniquely identifying records
  • 48. Which SQL clause filters records?
A) CONDITION
B) WHERE
C) FILTER
D) HAVING
  • 49. What keyword is used to change existing records?
A) UPDATE
B) CHANGE
C) MODIFY
D) ALTER
  • 50. Which clause is used to sort query results?
A) ARRANGE BY
B) ORDER BY
C) GROUP BY
D) SORT BY
  • 51. What does the DELETE statement do?
A) Clears databases
B) Drops tables
C) Removes columns
D) Removes records
  • 52. Which SQL statement is used to add a new column to a table?
A) ALTER TABLE
B) MODIFY TABLE
C) CHANGE TABLE
D) ADD COLUMN
  • 53. What is the purpose of the LIMIT clause?
A) Limits query execution time
B) Restricts user access
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) REMOVE RECORDS
B) DELETE ALL
C) CLEAR TABLE
D) TRUNCATE TABLE
  • 55. What is the purpose of the HAVING clause?
A) Filters grouped records
B) Specifies column aliases
C) Conditionally joins tables
D) Limits returned rows
  • 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) VERIFY COLUMN
B) Check column definition
C) RUN NULLABLE()
D) CHECK NULL
  • 58. Which statement deletes a table completely?
A) ERASE TABLE
B) DELETE TABLE
C) REMOVE TABLE
D) DROP TABLE
  • 59. What is a foreign key used for?
A) Sorting data
B) Creating relationships
C) Speeding up queries
D) Validating input
  • 60. Which SQL keyword is used to group results?
A) GROUP BY
B) ORGANIZE BY
C) COLLECT
D) CLUSTER
  • 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) RESET
B) FLUSH
C) TRUNCATE
D) CLEAR
  • 63. Which SQL command is used to change the name of a table?
A) CHANGE TABLE
B) MODIFY TABLE
C) ALTER NAME
D) RENAME 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) WHEN
C) IF
D) CONDITION
  • 66. Which SQL statement is used to find the highest value in a column?
A) MAXIMUM()
B) HIGHEST()
C) TOP()
D) MAX()
  • 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) MERGE
B) JOIN
C) COMBINE
D) RELATE
  • 69. What does the COUNT() function do in SQL?
A) Counts distinct values
B) Counts the number of rows
C) Measures table size
D) Tallies column totals
  • 70. Which SQL statement removes a column from a table?
A) ALTER TABLE DROP COLUMN
B) REMOVE COLUMN
C) DELETE COLUMN
D) DROP COLUMN
  • 71. Which SQL function returns the total sum of a numeric column?
A) ADD()
B) TOTAL()
C) SUM()
D) CALCULATE()
  • 72. Which SQL clause is used to filter grouped results?
A) GROUP FILTER
B) HAVING
C) WHERE GROUP
D) FILTER GROUP
  • 73. Which SQL keyword is used to prevent duplicate values in a query result?
A) NODUPE
B) DIFFERENT
C) DISTINCT
D) UNIQUE
  • 74. What is the main purpose of an index in SQL?
A) Organizing data storage
B) Validating data integrity
C) Preventing duplicate records
D) Improving query performance
  • 75. Which type of JOIN returns all records from both tables when a match exists?
A) COMPLETE JOIN
B) FULL JOIN
C) INNER JOIN
D) OUTER JOIN
  • 76. Which SQL command creates a stored procedure?
A) CREATE PROCEDURE
B) NEW PROCEDURE
C) MAKE PROCEDURE
D) ADD 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) ROWS
B) TOP
C) LIMIT
D) MAX
  • 79. Which SQL clause is used to group data based on a common column?
A) COLLECT BY
B) ORDER INTO
C) GROUP BY
D) CLUSTER BY
  • 80. Which SQL function is used to get the current date and time?
A) TODAY()
B) CURRENT()
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.