ThatQuiz Test Library Take this test now
Inform-midterm: The Perfect Reviewer Edition
Contributed by: Fernandez
  • 1. Perfect na ba? ( ˵ •̀ ᴗ •́˵)
A) (¬ᴗ ´¬ )
B) PRAISE SIR BUDS
C) SALAMAT SHOPEE
D) EEYYY
E) YES SIR
  • 2. What does HTML stand for?
A) HyperText Markup Language
B) Home Tool Markup Language
C) High Technical Modern Language
D) Hyperlinks and Text Markup Language
  • 3. What is the latest version of HTML?
A) HTML2023
B) HTML4
C) HTML6
D) HTML5
  • 4. Which tag is used to define a hyperlink?
A) <href>
B) <link>
C) <url>
D) <a>
  • 5. What is the correct way to create a line break in HTML?
A) \n
B) <lb>
C) <break>
D) <br>
  • 6. Which HTML tag is used for inserting an image?
A) <image>
B) <src>
C) <img>
D) <picture>
  • 7. How do you create a numbered list in HTML?
A) <ol>
B) <list type="number">
C) <ul type="numbered">
D) <nl>
  • 8. What attribute specifies the URL of an image in HTML?
A) link
B) src
C) url
D) href
  • 9. What tag is used to create a table in HTML?
A) <table>
B) <tb>
C) <tabular>
D) <grid>
  • 10. What does the <th> tag define in an HTML table?
A) Table horizontal
B) Table height
C) Table hyperlink
D) Table header
  • 11. What is the correct HTML tag for the largest heading?
A) <h>
B) <heading>
C) <head>
D) <h1>
  • 12. How do you create a checkbox in HTML?
A) <checkbox>
B) <input type='checkbox'>
C) <check>
D) <option type='check'>
  • 13. What is the correct way to create an email input field?
A) <email>
B) <input type='email'>
C) <input email>
D) <field type='email'>
  • 14. Which HTML tag is used to create a form?
A) <fieldset>
B) <formfield>
C) <input>
D) <form>
  • 15. What is the correct way to link an external CSS file?
A) <css import='style.css'>
B) <style src='style.css'>
C) <stylesheet>style.css</stylesheet>
D) <link rel='stylesheet' href='style.css'>
  • 16. What is the correct HTML tag for inserting a line?
A) <line>
B) <hr>
C) <ln>
D) <break>
  • 17. Which of the following elements is not a block-level element?
A) <span>
B) <div>
C) <section>
D) <p>
  • 18. What does the 'alt' attribute in <img> tag specify?
A) Alert type
B) Alternative text
C) Altitude
D) Alignment 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) <bullet>
B) <list>
C) <item>
D) <li>
  • 21. How do you define a radio button in HTML?
A) <button type='radio'>
B) <radio>
C) <circle>
D) <input type='radio'>
  • 22. Which tag is used to create a dropdown list?
A) <dropdown>
B) <option>
C) <list>
D) <select>
  • 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) <media>
B) <movie>
C) <play>
D) <video>
  • 25. Which HTML tag is used to define important text?
A) <important>
B) <strong>
C) <bold>
D) <em>
  • 26. What does the 'action' attribute in a form specify?
A) Where to send form data
B) How to validate the form
C) What type of form it is
D) When to submit the form
  • 27. Which HTML tag defines the document's body?
A) <doc>
B) <body>
C) <content>
D) <main>
  • 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) .htm
B) .doc
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) relationship
B) rel
C) ref
D) link
  • 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) <bottom>
B) <end>
C) <base>
D) <footer>
  • 34. What does the 'placeholder' attribute do?
A) Sets input field positioning
B) Reserves space for an image
C) Displays hint text inside an input field
D) Creates a default value
  • 35. Which HTML tag is used to display a progress bar?
A) <loading>
B) <bar>
C) <progress>
D) <meter>
  • 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) <nav>
D) <links>
  • 38. Which tag is used to mark emphasized text?
A) <highlight>
B) <em>
C) <i>
D) <important>
  • 39. Which HTML element is used to create a responsive image?
A) <picture>
B) <responsive>
C) <flex-img>
D) <adaptive>
  • 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) Current Record User Data
D) Create Read Update Delete
  • 42. What SQL statement is used to retrieve data?
A) SELECT
B) GET
C) RETRIEVE
D) FETCH
  • 43. How do you insert data into a table?
A) ADD
B) CREATE ROW
C) PUT
D) INSERT
  • 44. How do you update data in a table?
A) ALTER ROW
B) MODIFY
C) CHANGE
D) UPDATE
  • 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) CREATE DATABASE
B) NEW DATABASE
C) ADD DATABASE
D) MAKE DATABASE
  • 47. What is the primary key used for?
A) Creating indexes
B) Joining tables
C) Encrypting data
D) Uniquely identifying records
  • 48. Which SQL clause filters records?
A) HAVING
B) CONDITION
C) FILTER
D) WHERE
  • 49. What keyword is used to change existing records?
A) MODIFY
B) UPDATE
C) CHANGE
D) ALTER
  • 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) Clears databases
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) 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) Specifies column aliases
B) Conditionally joins tables
C) Limits returned rows
D) Filters grouped records
  • 56. Which SQL keyword is used to add constraints to a table?
A) LIMIT
B) CONSTRAINT
C) RULE
D) RESTRICT
  • 57. How do you check if a column allows NULL values?
A) CHECK NULL
B) RUN NULLABLE()
C) Check column definition
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) Speeding up queries
B) Creating relationships
C) Sorting data
D) Validating input
  • 60. Which SQL keyword is used to group results?
A) CLUSTER
B) COLLECT
C) GROUP BY
D) ORGANIZE BY
  • 61. Which SQL command is used to remove a specific record?
A) DELETE
B) DROP RECORD
C) ERASE
D) REMOVE
  • 62. Which command is used to remove all records but keep the table structure?
A) CLEAR
B) FLUSH
C) TRUNCATE
D) RESET
  • 63. Which SQL command is used to change the name of a table?
A) RENAME TABLE
B) MODIFY TABLE
C) ALTER NAME
D) CHANGE TABLE
  • 64. What is the default sorting order in SQL?
A) Ascending
B) Chronological
C) Descending
D) Alphabetical
  • 65. Which SQL keyword is used to specify a condition?
A) IF
B) CONDITION
C) WHERE
D) WHEN
  • 66. Which SQL statement is used to find the highest value in a column?
A) MAXIMUM()
B) TOP()
C) HIGHEST()
D) MAX()
  • 67. Which SQL command creates a backup of a table?
A) DUPLICATE TABLE
B) BACKUP TABLE
C) CREATE TABLE AS SELECT
D) COPY 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) Measures table size
B) Counts the number of rows
C) Tallies column totals
D) Counts distinct values
  • 70. Which SQL statement removes a column from a table?
A) REMOVE COLUMN
B) DROP COLUMN
C) DELETE COLUMN
D) ALTER TABLE DROP COLUMN
  • 71. Which SQL function returns the total sum of a numeric column?
A) SUM()
B) CALCULATE()
C) ADD()
D) TOTAL()
  • 72. Which SQL clause is used to filter grouped results?
A) WHERE GROUP
B) HAVING
C) GROUP FILTER
D) FILTER GROUP
  • 73. Which SQL keyword is used to prevent duplicate values in a query result?
A) NODUPE
B) DISTINCT
C) DIFFERENT
D) UNIQUE
  • 74. What is the main purpose of an index in SQL?
A) Preventing duplicate records
B) Organizing data storage
C) Validating data integrity
D) Improving query performance
  • 75. Which type of JOIN returns all records from both tables when a match exists?
A) INNER JOIN
B) COMPLETE JOIN
C) FULL JOIN
D) OUTER JOIN
  • 76. Which SQL command creates a stored procedure?
A) ADD PROCEDURE
B) MAKE PROCEDURE
C) CREATE PROCEDURE
D) NEW PROCEDURE
  • 77. Which SQL statement is used to create a backup copy of an entire database?
A) DUPLICATE DATABASE
B) COPY DATABASE
C) SAVE DATABASE
D) BACKUP 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) ORDER INTO
B) GROUP BY
C) COLLECT BY
D) CLUSTER BY
  • 80. Which SQL function is used to get the current date and time?
A) DATETIME()
B) TODAY()
C) CURRENT()
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.