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