ThatQuiz Test Library Take this test now
Inform-midterm: The Perfect Reviewer Edition - Quiz
Contributed by: Fernandez
  • 1. Perfect na ba? ( ˵ •̀ ᴗ •́˵)
A) SALAMAT SHOPEE
B) YES SIR
C) (¬ᴗ ´¬ )
D) EEYYY
E) PRAISE SIR BUDS
  • 2. What does HTML stand for?
A) Hyperlinks and Text Markup Language
B) High Technical Modern Language
C) Home Tool Markup Language
D) HyperText 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) <url>
B) <a>
C) <link>
D) <href>
  • 5. What is the correct way to create a line break in HTML?
A) <lb>
B) <break>
C) \n
D) <br>
  • 6. Which HTML tag is used for inserting an image?
A) <img>
B) <picture>
C) <src>
D) <image>
  • 7. How do you create a numbered list in HTML?
A) <list type="number">
B) <ol>
C) <ul type="numbered">
D) <nl>
  • 8. What attribute specifies the URL of an image in HTML?
A) url
B) src
C) link
D) href
  • 9. What tag is used to create a table in HTML?
A) <tb>
B) <grid>
C) <tabular>
D) <table>
  • 10. What does the <th> tag define in an HTML table?
A) Table hyperlink
B) Table height
C) Table horizontal
D) Table header
  • 11. What is the correct HTML tag for the largest heading?
A) <h>
B) <head>
C) <h1>
D) <heading>
  • 12. How do you create a checkbox in HTML?
A) <input type='checkbox'>
B) <check>
C) <checkbox>
D) <option type='check'>
  • 13. What is the correct way to create an email input field?
A) <field type='email'>
B) <input email>
C) <input type='email'>
D) <email>
  • 14. Which HTML tag is used to create a form?
A) <form>
B) <input>
C) <fieldset>
D) <formfield>
  • 15. What is the correct way to link an external CSS file?
A) <link rel='stylesheet' href='style.css'>
B) <stylesheet>style.css</stylesheet>
C) <style src='style.css'>
D) <css import='style.css'>
  • 16. What is the correct HTML tag for inserting a line?
A) <hr>
B) <break>
C) <line>
D) <ln>
  • 17. Which of the following elements is not a block-level element?
A) <p>
B) <div>
C) <span>
D) <section>
  • 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 size
C) Character type
D) Character setting
  • 20. Which tag is used to define a list item?
A) <list>
B) <li>
C) <item>
D) <bullet>
  • 21. How do you define a radio button in HTML?
A) <input type='radio'>
B) <circle>
C) <button type='radio'>
D) <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) must
B) mandatory
C) required
D) needed
  • 24. Which tag is used to embed a video in HTML5?
A) <play>
B) <movie>
C) <video>
D) <media>
  • 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) What type of form it is
B) When to submit the form
C) How to validate the form
D) Where to send form data
  • 27. Which HTML tag defines the document's body?
A) <doc>
B) <body>
C) <main>
D) <content>
  • 28. Which tag is used for inserting an inline frame?
A) <frame>
B) <inframe>
C) <iframe>
D) <embed>
  • 29. What is the default file extension for HTML files?
A) .htm
B) .html
C) .doc
D) .web
  • 30. Which tag is used to create a tooltip?
A) title
B) tooltip
C) hover
D) hint
  • 31. Which attribute specifies the relationship between the current document and an external resource?
A) relationship
B) link
C) ref
D) rel
  • 32. Which HTML attribute is used to define inline styles?
A) css
B) design
C) style
D) format
  • 33. Which HTML element is used for the footer of a document?
A) <base>
B) <footer>
C) <end>
D) <bottom>
  • 34. What does the 'placeholder' attribute do?
A) Creates a default value
B) Reserves space for an image
C) Sets input field positioning
D) Displays hint text inside an input field
  • 35. Which HTML tag is used to display a progress bar?
A) <loading>
B) <progress>
C) <meter>
D) <bar>
  • 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) <nav>
B) <navigation>
C) <links>
D) <menu>
  • 38. Which tag is used to mark emphasized text?
A) <em>
B) <highlight>
C) <important>
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) Creates a data table
B) Stores structured data
C) Formats list items
D) Provides a list of predefined options for an input
  • 41. What does CRUD stand for?
A) Create Restore Update Delete
B) Create Read Update Delete
C) Connect Read Upload Download
D) Current Record User Data
  • 42. What SQL statement is used to retrieve data?
A) RETRIEVE
B) GET
C) SELECT
D) FETCH
  • 43. How do you insert data into a table?
A) CREATE ROW
B) ADD
C) INSERT
D) PUT
  • 44. How do you update data in a table?
A) CHANGE
B) UPDATE
C) MODIFY
D) ALTER ROW
  • 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) NEW DATABASE
B) ADD DATABASE
C) MAKE DATABASE
D) CREATE DATABASE
  • 47. What is the primary key used for?
A) Joining tables
B) Encrypting data
C) Uniquely identifying records
D) Creating indexes
  • 48. Which SQL clause filters records?
A) FILTER
B) WHERE
C) HAVING
D) CONDITION
  • 49. What keyword is used to change existing records?
A) MODIFY
B) ALTER
C) UPDATE
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) Clears databases
B) Removes records
C) Drops tables
D) Removes columns
  • 52. Which SQL statement is used to add a new column to a table?
A) ALTER TABLE
B) CHANGE TABLE
C) MODIFY TABLE
D) ADD COLUMN
  • 53. What is the purpose of the LIMIT clause?
A) Limits query execution time
B) Restricts the number of rows returned
C) Restricts user access
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) TRUNCATE TABLE
D) DELETE ALL
  • 55. What is the purpose of the HAVING clause?
A) Conditionally joins tables
B) Filters grouped records
C) Limits returned rows
D) Specifies column aliases
  • 56. Which SQL keyword is used to add constraints to a table?
A) RESTRICT
B) RULE
C) LIMIT
D) CONSTRAINT
  • 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) DROP TABLE
C) REMOVE TABLE
D) DELETE TABLE
  • 59. What is a foreign key used for?
A) Creating relationships
B) Sorting data
C) Validating input
D) Speeding up queries
  • 60. Which SQL keyword is used to group results?
A) GROUP BY
B) CLUSTER
C) ORGANIZE BY
D) COLLECT
  • 61. Which SQL command is used to remove a specific record?
A) DELETE
B) DROP RECORD
C) REMOVE
D) ERASE
  • 62. Which command is used to remove all records but keep the table structure?
A) RESET
B) CLEAR
C) FLUSH
D) TRUNCATE
  • 63. Which SQL command is used to change the name of a table?
A) CHANGE TABLE
B) ALTER NAME
C) MODIFY TABLE
D) RENAME 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) CONDITION
B) WHEN
C) WHERE
D) IF
  • 66. Which SQL statement is used to find the highest value in a column?
A) TOP()
B) HIGHEST()
C) MAX()
D) MAXIMUM()
  • 67. Which SQL command creates a backup of a table?
A) BACKUP TABLE
B) CREATE TABLE AS SELECT
C) DUPLICATE TABLE
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) DELETE COLUMN
C) ALTER TABLE DROP COLUMN
D) DROP COLUMN
  • 71. Which SQL function returns the total sum of a numeric column?
A) ADD()
B) SUM()
C) TOTAL()
D) CALCULATE()
  • 72. Which SQL clause is used to filter grouped results?
A) HAVING
B) GROUP FILTER
C) FILTER GROUP
D) WHERE GROUP
  • 73. Which SQL keyword is used to prevent duplicate values in a query result?
A) DIFFERENT
B) DISTINCT
C) UNIQUE
D) NODUPE
  • 74. What is the main purpose of an index in SQL?
A) Organizing data storage
B) Preventing duplicate records
C) Validating data integrity
D) Improving query performance
  • 75. Which type of JOIN returns all records from both tables when a match exists?
A) OUTER JOIN
B) FULL JOIN
C) COMPLETE JOIN
D) INNER JOIN
  • 76. Which SQL command creates a stored procedure?
A) CREATE PROCEDURE
B) MAKE PROCEDURE
C) NEW PROCEDURE
D) ADD PROCEDURE
  • 77. Which SQL statement is used to create a backup copy of an entire database?
A) BACKUP DATABASE
B) SAVE DATABASE
C) COPY DATABASE
D) DUPLICATE DATABASE
  • 78. Which SQL keyword is used to limit the number of records returned by a query?
A) MAX
B) LIMIT
C) ROWS
D) TOP
  • 79. Which SQL clause is used to group data based on a common column?
A) CLUSTER BY
B) GROUP BY
C) ORDER INTO
D) COLLECT BY
  • 80. Which SQL function is used to get the current date and time?
A) CURRENT()
B) DATETIME()
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.