SAMPLE PRACTICE QUIZ (AIKEN FORMAT)
1. Which of the following is NOT a web browser?
A. Chrome
B. Firefox
C. Opera
D. Git
2. What does URL stand for?
A. Uniform Resource Locator
B. Universal Routing Link
C. Unified Resource Language
D. Unique Reference Locator
3. Which of the following is NOT a valid CSS display value?
A. inline
B. block
C. flex
D. text
4. Which keyword declares a block-scoped constant in JavaScript?
A. const
B. var
C. let
D. define
5. Which method removes the last element from an array in JavaScript?
A. pop()
B. push()
C. shift()
D. splice()
6. Which object in JavaScript represents the structure of a webpage?
A. BOM
B. DOM
C. JSON
D. HTML
7. Which event in JavaScript is triggered when a key is pressed?
A. onpress
B. onkeydown
C. onkeyup
D. onkeypress
8. In HTML forms, which attribute specifies the type of input?
A. format
B. type
C. input
D. value
9. Which HTML5 element defines self-contained content like a blog post or news article?
A. <section>
B. <article>
C. <aside>
D. <main>
10. What is the main advantage of responsive web design?
A. Works offline
B. Adjusts layout to devices
C. Loads faster on desktops
D. Uses less CSS
11. Which JavaScript method executes a function once after a specified delay?
A. setTimeout()
B. setInterval()
C. runLater()
D. wait()
12. In CSS, which property controls the vertical space between lines of text?
A. line-height
B. letter-spacing
C. word-spacing
D. text-indent
13. Which of the following is used to represent a low-fidelity prototype in UX design?
A. Sitemap
B. Wireframe
C. Flowchart
D. Style guide
14. Which HTML element is used for the largest heading?
A. <h6>
B. <heading>
C. <h1>
D. <main>
15. Which of the following is a server-side scripting language?
A. JavaScript
B. PHP
C. HTML
D. CSS
16. Where should a linked JavaScript file be placed for best performance?
A. Inside <head>
B. Before </body>
C. Inside <title>
D. After <meta>
17. Which of the following best describes CSS?
A. A markup language
B. A programming language
C. A style sheet language
D. A scripting language
18. Which CSS property is used to underline text?
A. text-underline
B. text-decoration
C. font-style
D. text-effect
19. Which HTML5 element is used for content aside from the main content?
A. <extra>
B. <aside>
C. <section>
D. <footer>
20. Which JavaScript method is used to combine two arrays?
A. merge()
B. concat()
C. join()
D. append()
21. Which HTML tag is used to display tabular data?
A. <table>
B. <tab>
C. <data>
D. <chart>
22. In CSS, which property creates inner spacing within an element?
A. padding
B. margin
C. border
D. spacing
23. Which operator in JavaScript checks both value and type equality?
A. ==
B. ===
C. =
D. =>
24. Which of the following is used to style HTML elements?
A. JavaScript
B. CSS
C. SQL
D. PHP
25. Which HTML tag is used for creating a numbered list?
A. <ol>
B. <ul>
C. <dl>
D. <li>
26. Which HTML element is used to display a hyperlink?
A. <link>
B. <a>
C. <url>
D. <href>
27. Which attribute in HTML is used to provide extra information displayed when hovering
over an element?
A. alt
B. tooltip
C. title
D. hover
28. In CSS, which property is used to change the background color of an element?
A. color
B. background-color
C. bg-color
D. bgcolor
29. Which CSS property is used to make text bold?
A. font-style
B. font-weight
C. text-bold
D. bold
30. Which CSS unit is relative to the root element’s font size?
A. em
B. %
C. rem
D. px
~ END OF QUIZ ~