ThatQuiz Test Library Take this test now
Inform-midterm: The Perfect Reviewer Edition
Contributed by: Fernandez
  • 1. Perfect na ba? ( ˵ •̀ ᴗ •́˵)
A) YES SIR
B) (¬ᴗ ´¬ )
C) SALAMAT SHOPEE
D) EEYYY
E) PRAISE SIR BUDS
  • 2. What does HTML stand for?
A) Hyperlinks and Text Markup Language
B) Home Tool Markup Language
C) High Technical Modern Language
D) HyperText Markup Language
  • 3. What is the latest version of HTML?
A) HTML5
B) HTML4
C) HTML2023
D) HTML6
  • 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) <break>
C) <lb>
D) <br>
  • 6. Which HTML tag is used for inserting an image?
A) <src>
B) <image>
C) <picture>
D) <img>
  • 7. How do you create a numbered list in HTML?
A) <ol>
B) <ul type="numbered">
C) <nl>
D) <list type="number">
  • 8. What attribute specifies the URL of an image in HTML?
A) src
B) href
C) link
D) url
  • 9. What tag is used to create a table in HTML?
A) <tabular>
B) <tb>
C) <grid>
D) <table>
  • 10. What does the <th> tag define in an HTML table?
A) Table hyperlink
B) Table horizontal
C) Table height
D) Table header
  • 11. What is the correct HTML tag for the largest heading?
A) <h1>
B) <heading>
C) <head>
D) <h>
  • 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) <email>
B) <field type='email'>
C) <input email>
D) <input type='email'>
  • 14. Which HTML tag is used to create a form?
A) <fieldset>
B) <form>
C) <input>
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) <css import='style.css'>
D) <style src='style.css'>
  • 16. What is the correct HTML tag for inserting a line?
A) <hr>
B) <line>
C) <break>
D) <ln>
  • 17. Which of the following elements is not a block-level element?
A) <span>
B) <div>
C) <p>
D) <section>
  • 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 size
C) Character encoding
D) Character type
  • 20. Which tag is used to define a list item?
A) <list>
B) <item>
C) <bullet>
D) <li>
  • 21. How do you define a radio button in HTML?
A) <circle>
B) <button type='radio'>
C) <radio>
D) <input type='radio'>
  • 22. Which tag is used to create a dropdown list?
A) <dropdown>
B) <list>
C) <option>
D) <select>
  • 23. What attribute is used to make a text input field required?
A) mandatory
B) needed
C) required
D) must
  • 24. Which tag is used to embed a video in HTML5?
A) <movie>
B) <video>
C) <media>
D) <play>
  • 25. Which HTML tag is used to define important text?
A) <important>
B) <bold>
C) <em>
D) <strong>
  • 26. What does the 'action' attribute in a form specify?
A) When to submit the form
B) Where to send form data
C) How to validate the form
D) What type of form it is
  • 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) <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) hint
C) tooltip
D) title
  • 31. Which attribute specifies the relationship between the current document and an external resource?
A) rel
B) ref
C) relationship
D) link
  • 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) <base>
B) <bottom>
C) <end>
D) <footer>
  • 34. What does the 'placeholder' attribute do?
A) Reserves space for an image
B) Creates a default value
C) Displays hint text inside an input field
D) Sets input field positioning
  • 35. Which HTML tag is used to display a progress bar?
A) <progress>
B) <meter>
C) <loading>
D) <bar>
  • 36. Which tag represents a self-contained piece of content?
A) <section>
B) <div>
C) <container>
D) <article>
  • 37. Which HTML element defines navigation links?
A) <nav>
B) <menu>
C) <links>
D) <navigation>
  • 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) <adaptive>
B) <responsive>
C) <flex-img>
D) <picture>
  • 40. What is the purpose of the <datalist> element?
A) Provides a list of predefined options for an input
B) Formats list items
C) Creates a data table
D) Stores structured data
  • 41. What does CRUD stand for?
A) Create Restore Update Delete
B) Connect Read Upload Download
C) Create Read Update Delete
D) Current Record User Data
  • 42. What SQL statement is used to retrieve data?
A) GET
B) SELECT
C) RETRIEVE
D) FETCH
  • 43. How do you insert data into a table?
A) ADD
B) PUT
C) CREATE ROW
D) INSERT
  • 44. How do you update data in a table?
A) MODIFY
B) CHANGE
C) UPDATE
D) ALTER ROW
  • 45. How do you remove a record from a table?
A) DROP ROW
B) DELETE
C) ERASE
D) REMOVE
  • 46. Which command creates a new database?
A) MAKE DATABASE
B) CREATE DATABASE
C) ADD DATABASE
D) NEW DATABASE
  • 47. What is the primary key used for?
A) Encrypting data
B) Creating indexes
C) Uniquely identifying records
D) Joining tables
  • 48. Which SQL clause filters records?
A) FILTER
B) HAVING
C) CONDITION
D) WHERE
  • 49. What keyword is used to change existing records?
A) UPDATE
B) MODIFY
C) ALTER
D) CHANGE
  • 50. Which clause is used to sort query results?
A) ORDER BY
B) SORT BY
C) ARRANGE BY
D) GROUP BY
  • 51. What does the DELETE statement do?
A) Removes columns
B) Clears databases
C) Drops tables
D) Removes records
  • 52. Which SQL statement is used to add a new column to a table?
A) ADD COLUMN
B) ALTER TABLE
C) MODIFY TABLE
D) CHANGE TABLE
  • 53. What is the purpose of the LIMIT clause?
A) Limits query execution time
B) Sets maximum table size
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) 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) Limits returned rows
C) Filters grouped records
D) Specifies column aliases
  • 56. Which SQL keyword is used to add constraints to a table?
A) LIMIT
B) RULE
C) CONSTRAINT
D) RESTRICT
  • 57. How do you check if a column allows NULL values?
A) Check column definition
B) RUN NULLABLE()
C) CHECK NULL
D) VERIFY COLUMN
  • 58. Which statement deletes a table completely?
A) DROP TABLE
B) ERASE TABLE
C) DELETE TABLE
D) REMOVE TABLE
  • 59. What is a foreign key used for?
A) Validating input
B) Speeding up queries
C) Sorting data
D) Creating relationships
  • 60. Which SQL keyword is used to group results?
A) CLUSTER
B) COLLECT
C) ORGANIZE BY
D) GROUP BY
  • 61. Which SQL command is used to remove a specific record?
A) ERASE
B) REMOVE
C) DROP RECORD
D) DELETE
  • 62. Which command is used to remove all records but keep the table structure?
A) RESET
B) TRUNCATE
C) CLEAR
D) FLUSH
  • 63. Which SQL command is used to change the name of a table?
A) ALTER NAME
B) CHANGE TABLE
C) MODIFY TABLE
D) RENAME TABLE
  • 64. What is the default sorting order in SQL?
A) Chronological
B) Descending
C) Alphabetical
D) Ascending
  • 65. Which SQL keyword is used to specify a condition?
A) WHEN
B) CONDITION
C) IF
D) WHERE
  • 66. Which SQL statement is used to find the highest value in a column?
A) MAXIMUM()
B) HIGHEST()
C) TOP()
D) MAX()
  • 67. Which SQL command creates a backup of a table?
A) COPY TABLE
B) BACKUP TABLE
C) CREATE TABLE AS SELECT
D) DUPLICATE TABLE
  • 68. What SQL clause is used to join tables based on a common column?
A) MERGE
B) COMBINE
C) JOIN
D) RELATE
  • 69. What does the COUNT() function do in SQL?
A) Measures table size
B) Tallies column totals
C) Counts distinct values
D) Counts the number of rows
  • 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) SUM()
B) TOTAL()
C) ADD()
D) CALCULATE()
  • 72. Which SQL clause is used to filter grouped results?
A) GROUP FILTER
B) FILTER GROUP
C) HAVING
D) WHERE GROUP
  • 73. Which SQL keyword is used to prevent duplicate values in a query result?
A) DIFFERENT
B) UNIQUE
C) DISTINCT
D) NODUPE
  • 74. What is the main purpose of an index in SQL?
A) Organizing data storage
B) Improving query performance
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) FULL JOIN
C) COMPLETE JOIN
D) INNER JOIN
  • 76. Which SQL command creates a stored procedure?
A) CREATE PROCEDURE
B) ADD PROCEDURE
C) NEW PROCEDURE
D) MAKE PROCEDURE
  • 77. Which SQL statement is used to create a backup copy of an entire database?
A) SAVE DATABASE
B) DUPLICATE DATABASE
C) COPY DATABASE
D) BACKUP DATABASE
  • 78. Which SQL keyword is used to limit the number of records returned by a query?
A) LIMIT
B) TOP
C) ROWS
D) MAX
  • 79. Which SQL clause is used to group data based on a common column?
A) CLUSTER BY
B) ORDER INTO
C) COLLECT BY
D) GROUP BY
  • 80. Which SQL function is used to get the current date and time?
A) CURRENT()
B) TODAY()
C) DATETIME()
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.