ThatQuiz Test Library Take this test now
Inform-midterm: The Perfect Reviewer Edition
Contributed by: Fernandez
  • 1. Perfect na ba? ( ˵ •̀ ᴗ •́˵)
A) YES SIR
B) PRAISE SIR BUDS
C) SALAMAT SHOPEE
D) EEYYY
E) (¬ᴗ ´¬ )
  • 2. What does HTML stand for?
A) Home Tool Markup Language
B) High Technical Modern Language
C) Hyperlinks and Text Markup Language
D) HyperText Markup Language
  • 3. What is the latest version of HTML?
A) HTML5
B) HTML4
C) HTML6
D) HTML2023
  • 4. Which tag is used to define a hyperlink?
A) <a>
B) <link>
C) <url>
D) <href>
  • 5. What is the correct way to create a line break in HTML?
A) <lb>
B) \n
C) <break>
D) <br>
  • 6. Which HTML tag is used for inserting an image?
A) <image>
B) <img>
C) <picture>
D) <src>
  • 7. How do you create a numbered list in HTML?
A) <nl>
B) <ul type="numbered">
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) <grid>
C) <table>
D) <tb>
  • 10. What does the <th> tag define in an HTML table?
A) Table horizontal
B) Table hyperlink
C) Table height
D) Table header
  • 11. What is the correct HTML tag for the largest heading?
A) <h1>
B) <h>
C) <head>
D) <heading>
  • 12. How do you create a checkbox in HTML?
A) <input type='checkbox'>
B) <checkbox>
C) <check>
D) <option type='check'>
  • 13. What is the correct way to create an email input field?
A) <field type='email'>
B) <input type='email'>
C) <input email>
D) <email>
  • 14. Which HTML tag is used to create a form?
A) <input>
B) <formfield>
C) <form>
D) <fieldset>
  • 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) <css import='style.css'>
D) <style src='style.css'>
  • 16. What is the correct HTML tag for inserting a line?
A) <break>
B) <hr>
C) <ln>
D) <line>
  • 17. Which of the following elements is not a block-level element?
A) <section>
B) <div>
C) <span>
D) <p>
  • 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 encoding
B) Character type
C) Character setting
D) Character size
  • 20. Which tag is used to define a list item?
A) <li>
B) <list>
C) <bullet>
D) <item>
  • 21. How do you define a radio button in HTML?
A) <input type='radio'>
B) <circle>
C) <radio>
D) <button type='radio'>
  • 22. Which tag is used to create a dropdown list?
A) <option>
B) <list>
C) <select>
D) <dropdown>
  • 23. What attribute is used to make a text input field required?
A) needed
B) required
C) must
D) mandatory
  • 24. Which tag is used to embed a video in HTML5?
A) <media>
B) <play>
C) <movie>
D) <video>
  • 25. Which HTML tag is used to define important text?
A) <strong>
B) <bold>
C) <em>
D) <important>
  • 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) <content>
C) <body>
D) <main>
  • 28. Which tag is used for inserting an inline frame?
A) <inframe>
B) <frame>
C) <embed>
D) <iframe>
  • 29. What is the default file extension for HTML files?
A) .html
B) .doc
C) .htm
D) .web
  • 30. Which tag is used to create a tooltip?
A) title
B) tooltip
C) hint
D) hover
  • 31. Which attribute specifies the relationship between the current document and an external resource?
A) link
B) ref
C) relationship
D) rel
  • 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) <footer>
B) <end>
C) <base>
D) <bottom>
  • 34. What does the 'placeholder' attribute do?
A) Sets input field positioning
B) Displays hint text inside an input field
C) Creates a default value
D) Reserves space for an image
  • 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) <article>
B) <div>
C) <container>
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) <em>
B) <important>
C) <highlight>
D) <i>
  • 39. Which HTML element is used to create a responsive image?
A) <responsive>
B) <picture>
C) <flex-img>
D) <adaptive>
  • 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) FETCH
B) SELECT
C) RETRIEVE
D) GET
  • 43. How do you insert data into a table?
A) ADD
B) INSERT
C) PUT
D) CREATE ROW
  • 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) ERASE
B) DELETE
C) REMOVE
D) DROP ROW
  • 46. Which command creates a new database?
A) ADD DATABASE
B) MAKE DATABASE
C) CREATE DATABASE
D) NEW 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) HAVING
B) CONDITION
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) ORDER BY
B) ARRANGE BY
C) SORT BY
D) GROUP BY
  • 51. What does the DELETE statement do?
A) Drops tables
B) Clears databases
C) Removes records
D) Removes columns
  • 52. Which SQL statement is used to add a new column to a table?
A) CHANGE TABLE
B) MODIFY TABLE
C) ALTER TABLE
D) ADD COLUMN
  • 53. What is the purpose of the LIMIT clause?
A) Sets maximum table size
B) Restricts the number of rows returned
C) Limits query execution time
D) Restricts user access
  • 54. How do you remove all records from a table but keep its structure?
A) REMOVE RECORDS
B) CLEAR TABLE
C) DELETE ALL
D) TRUNCATE TABLE
  • 55. What is the purpose of the HAVING clause?
A) Filters grouped records
B) Conditionally joins tables
C) Specifies column aliases
D) Limits returned rows
  • 56. Which SQL keyword is used to add constraints to a table?
A) LIMIT
B) RULE
C) RESTRICT
D) CONSTRAINT
  • 57. How do you check if a column allows NULL values?
A) CHECK NULL
B) VERIFY COLUMN
C) Check column definition
D) RUN NULLABLE()
  • 58. Which statement deletes a table completely?
A) ERASE TABLE
B) DROP TABLE
C) DELETE TABLE
D) REMOVE TABLE
  • 59. What is a foreign key used for?
A) Validating input
B) Speeding up queries
C) Creating relationships
D) Sorting data
  • 60. Which SQL keyword is used to group results?
A) COLLECT
B) GROUP BY
C) CLUSTER
D) ORGANIZE BY
  • 61. Which SQL command is used to remove a specific record?
A) DROP RECORD
B) REMOVE
C) DELETE
D) ERASE
  • 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) ALTER NAME
B) MODIFY TABLE
C) RENAME TABLE
D) CHANGE TABLE
  • 64. What is the default sorting order in SQL?
A) Chronological
B) Alphabetical
C) Ascending
D) Descending
  • 65. Which SQL keyword is used to specify a condition?
A) WHERE
B) IF
C) WHEN
D) CONDITION
  • 66. Which SQL statement is used to find the highest value in a column?
A) HIGHEST()
B) MAX()
C) MAXIMUM()
D) TOP()
  • 67. Which SQL command creates a backup of a table?
A) DUPLICATE TABLE
B) COPY TABLE
C) BACKUP TABLE
D) CREATE TABLE AS SELECT
  • 68. What SQL clause is used to join tables based on a common column?
A) MERGE
B) JOIN
C) RELATE
D) COMBINE
  • 69. What does the COUNT() function do in SQL?
A) Counts the number of rows
B) Measures table size
C) Counts distinct values
D) Tallies column totals
  • 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) SUM()
B) ADD()
C) CALCULATE()
D) TOTAL()
  • 72. Which SQL clause is used to filter grouped results?
A) GROUP FILTER
B) WHERE GROUP
C) FILTER GROUP
D) HAVING
  • 73. Which SQL keyword is used to prevent duplicate values in a query result?
A) UNIQUE
B) NODUPE
C) DISTINCT
D) DIFFERENT
  • 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) OUTER JOIN
B) COMPLETE JOIN
C) INNER JOIN
D) FULL JOIN
  • 76. Which SQL command creates a stored procedure?
A) MAKE PROCEDURE
B) CREATE PROCEDURE
C) NEW PROCEDURE
D) ADD PROCEDURE
  • 77. Which SQL statement is used to create a backup copy of an entire database?
A) COPY DATABASE
B) BACKUP DATABASE
C) SAVE 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) ORDER INTO
B) GROUP BY
C) CLUSTER BY
D) COLLECT BY
  • 80. Which SQL function is used to get the current date and time?
A) DATETIME()
B) NOW()
C) CURRENT()
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.