Inform-midterm: The Perfect Reviewer Edition
  • 1. Perfect na ba? ( ˵ •̀ ᴗ •́˵)
A) EEYYY
B) PRAISE SIR BUDS
C) (¬ᴗ ´¬ )
D) YES SIR
E) SALAMAT SHOPEE
  • 2. What does HTML stand for?
A) High Technical Modern Language
B) Home Tool Markup Language
C) Hyperlinks and Text Markup Language
D) HyperText Markup Language
  • 3. What is the latest version of HTML?
A) HTML6
B) HTML2023
C) HTML5
D) HTML4
  • 4. Which tag is used to define a hyperlink?
A) <link>
B) <a>
C) <href>
D) <url>
  • 5. What is the correct way to create a line break in HTML?
A) \n
B) <br>
C) <break>
D) <lb>
  • 6. Which HTML tag is used for inserting an image?
A) <picture>
B) <img>
C) <image>
D) <src>
  • 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) link
C) href
D) src
  • 9. What tag is used to create a table in HTML?
A) <tb>
B) <tabular>
C) <table>
D) <grid>
  • 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) <option type='check'>
B) <input type='checkbox'>
C) <check>
D) <checkbox>
  • 13. What is the correct way to create an email input field?
A) <input type='email'>
B) <input email>
C) <email>
D) <field type='email'>
  • 14. Which HTML tag is used to create a form?
A) <fieldset>
B) <input>
C) <form>
D) <formfield>
  • 15. What is the correct way to link an external CSS file?
A) <stylesheet>style.css</stylesheet>
B) <css import='style.css'>
C) <style src='style.css'>
D) <link rel='stylesheet' href='style.css'>
  • 16. What is the correct HTML tag for inserting a line?
A) <break>
B) <line>
C) <ln>
D) <hr>
  • 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) Altitude
C) Alignment text
D) Alternative text
  • 19. What does <meta charset='UTF-8'> define?
A) Character size
B) Character type
C) Character setting
D) Character encoding
  • 20. Which tag is used to define a list item?
A) <item>
B) <bullet>
C) <list>
D) <li>
  • 21. How do you define a radio button in HTML?
A) <button type='radio'>
B) <circle>
C) <radio>
D) <input type='radio'>
  • 22. Which tag is used to create a dropdown list?
A) <dropdown>
B) <option>
C) <select>
D) <list>
  • 23. What attribute is used to make a text input field required?
A) needed
B) required
C) mandatory
D) must
  • 24. Which tag is used to embed a video in HTML5?
A) <movie>
B) <play>
C) <media>
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) What type of form it is
B) How to validate the form
C) Where to send form data
D) When to submit the form
  • 27. Which HTML tag defines the document's body?
A) <content>
B) <doc>
C) <main>
D) <body>
  • 28. Which tag is used for inserting an inline frame?
A) <embed>
B) <frame>
C) <iframe>
D) <inframe>
  • 29. What is the default file extension for HTML files?
A) .web
B) .doc
C) .html
D) .htm
  • 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) relationship
B) rel
C) ref
D) link
  • 32. Which HTML attribute is used to define inline styles?
A) css
B) design
C) format
D) style
  • 33. Which HTML element is used for the footer of a document?
A) <base>
B) <bottom>
C) <footer>
D) <end>
  • 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) <meter>
B) <loading>
C) <bar>
D) <progress>
  • 36. Which tag represents a self-contained piece of content?
A) <section>
B) <div>
C) <article>
D) <container>
  • 37. Which HTML element defines navigation links?
A) <menu>
B) <links>
C) <navigation>
D) <nav>
  • 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) <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) Provides a list of predefined options for an input
D) Creates a data table
  • 41. What does CRUD stand for?
A) Current Record User Data
B) Create Restore Update Delete
C) Connect Read Upload Download
D) Create Read Update Delete
  • 42. What SQL statement is used to retrieve data?
A) FETCH
B) RETRIEVE
C) GET
D) SELECT
  • 43. How do you insert data into a table?
A) ADD
B) PUT
C) INSERT
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) REMOVE
C) DROP ROW
D) DELETE
  • 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) Creating indexes
B) Encrypting data
C) Uniquely identifying records
D) Joining tables
  • 48. Which SQL clause filters records?
A) WHERE
B) HAVING
C) FILTER
D) CONDITION
  • 49. What keyword is used to change existing records?
A) MODIFY
B) ALTER
C) CHANGE
D) UPDATE
  • 50. Which clause is used to sort query results?
A) SORT BY
B) ARRANGE BY
C) ORDER BY
D) GROUP BY
  • 51. What does the DELETE statement do?
A) Removes columns
B) Drops tables
C) Clears databases
D) Removes records
  • 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) Sets maximum table size
B) Limits query execution time
C) Restricts user access
D) Restricts the number of rows returned
  • 54. How do you remove all records from a table but keep its structure?
A) TRUNCATE TABLE
B) CLEAR TABLE
C) REMOVE RECORDS
D) DELETE ALL
  • 55. What is the purpose of the HAVING clause?
A) Limits returned rows
B) Specifies column aliases
C) Conditionally joins tables
D) Filters grouped records
  • 56. Which SQL keyword is used to add constraints to a table?
A) RESTRICT
B) LIMIT
C) RULE
D) CONSTRAINT
  • 57. How do you check if a column allows NULL values?
A) VERIFY COLUMN
B) CHECK NULL
C) RUN NULLABLE()
D) Check column definition
  • 58. Which statement deletes a table completely?
A) DROP TABLE
B) DELETE TABLE
C) ERASE TABLE
D) REMOVE TABLE
  • 59. What is a foreign key used for?
A) Speeding up queries
B) Validating input
C) Sorting data
D) Creating relationships
  • 60. Which SQL keyword is used to group results?
A) CLUSTER
B) GROUP BY
C) COLLECT
D) ORGANIZE BY
  • 61. Which SQL command is used to remove a specific record?
A) ERASE
B) DELETE
C) DROP RECORD
D) REMOVE
  • 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) RENAME TABLE
C) ALTER NAME
D) MODIFY TABLE
  • 64. What is the default sorting order in SQL?
A) Chronological
B) Ascending
C) Descending
D) Alphabetical
  • 65. Which SQL keyword is used to specify a condition?
A) WHEN
B) IF
C) CONDITION
D) WHERE
  • 66. Which SQL statement is used to find the highest value in a column?
A) TOP()
B) MAXIMUM()
C) MAX()
D) HIGHEST()
  • 67. Which SQL command creates a backup of a table?
A) DUPLICATE TABLE
B) BACKUP TABLE
C) COPY TABLE
D) CREATE TABLE AS SELECT
  • 68. What SQL clause is used to join tables based on a common column?
A) RELATE
B) JOIN
C) MERGE
D) COMBINE
  • 69. What does the COUNT() function do in SQL?
A) Tallies column totals
B) Counts the number of rows
C) Counts distinct values
D) Measures table size
  • 70. Which SQL statement removes a column from a table?
A) REMOVE COLUMN
B) DROP COLUMN
C) ALTER TABLE DROP COLUMN
D) DELETE COLUMN
  • 71. Which SQL function returns the total sum of a numeric column?
A) ADD()
B) CALCULATE()
C) SUM()
D) TOTAL()
  • 72. Which SQL clause is used to filter grouped results?
A) GROUP FILTER
B) WHERE GROUP
C) HAVING
D) FILTER GROUP
  • 73. Which SQL keyword is used to prevent duplicate values in a query result?
A) NODUPE
B) UNIQUE
C) DISTINCT
D) DIFFERENT
  • 74. What is the main purpose of an index in SQL?
A) Organizing data storage
B) Validating data integrity
C) Improving query performance
D) Preventing duplicate records
  • 75. Which type of JOIN returns all records from both tables when a match exists?
A) COMPLETE JOIN
B) INNER JOIN
C) OUTER JOIN
D) FULL JOIN
  • 76. Which SQL command creates a stored procedure?
A) CREATE PROCEDURE
B) MAKE PROCEDURE
C) ADD 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) BACKUP DATABASE
D) SAVE DATABASE
  • 78. Which SQL keyword is used to limit the number of records returned by a query?
A) TOP
B) LIMIT
C) ROWS
D) MAX
  • 79. Which SQL clause is used to group data based on a common column?
A) GROUP BY
B) ORDER INTO
C) COLLECT BY
D) CLUSTER BY
  • 80. Which SQL function is used to get the current date and time?
A) TODAY()
B) NOW()
C) CURRENT()
D) DATETIME()
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.