NEW
Font size
WorksheetsInternship Quiz ZEN
Total questions: 20
Worksheet time: 30mins
What does the <section> element represent in HTML5?
A section of a document with no semantic meaning
A thematic grouping of content
A container for navigation links
A footer section
Which attribute is used to make an input field required in HTML5?
mandatory
validate
required
necessary
What does CSS specificity determine?
The loading speed of stylesheets
Which CSS rule is applied when multiple rules conflict
The order of stylesheet imports
Browser compatibility of CSS properties
What's the difference between display: none and visibility: hidden?
Both completely remove the element from document flow
display: none removes from flow, visibility: hidden hides but maintains space
visibility: hidden removes from flow, display: none hides but maintains space
There's no difference
What will be the output of console.log(0.1 + 0.2 === 0.3)?
true
false
undefined
Throws an error
What's the difference between let and var in JavaScript?
let is function-scoped, var is block-scoped
let is block-scoped, var is function-scoped
Both are function-scoped
Both are block-scoped
Which Bootstrap class creates a responsive grid column that takes 6 columns on medium screens and 12 on small?
col-md-6 col-sm-12
col-6 col-12
col-sm-6 col-md-12
col-lg-6 col-xs-12
What does the Bootstrap class d-flex do?
Creates a fixed-width container
Enables flexbox layout
Displays element as block
Adds a drop shadow
What is the purpose of event.preventDefault()?
Stops event propagation to parent elements
Prevents the default browser action for the event
Removes the event listener
Prevents memory leaks
What does the following code return: [1, 2, 3].map(num => num * 2)?
[1,2,3]
[2,4,6]
[1,4,9]
undefined
What does z-index control in CSS?
Horizontal positioning
Vertical stacking order
Animation duration
Font size scaling
What will echo "5" + "10" output in PHP?
510
15
"15"
Error
How do you start a session in PHP?
start_session()
session_start()
session_begin()
init_session()
Which SQL clause is used to filter results?
FILTER
WHERE
HAVING
LIMIT
What's the difference between INNER JOIN and LEFT JOIN?
INNER JOIN returns all records when there's a match in either table
LEFT JOIN returns all records from left table and matched from right table
INNER JOIN returns only non-matching records
LEFT JOIN returns only matching records
What's the purpose of an INDEX in SQL?
To create a backup of the table
To improve the speed of data retrieval
To enforce data types
To create relationships between tables
What is the purpose of HTTP status code 404?
Server error
Success
Not found
Access forbidden
Which HTTP method is typically used to update an existing resource?
GET
POST
PUT/PATCH
DELETE
Which SQL statement removes duplicates from result sets?
UNIQUE
DISTINCT
DIFFERENT
REMOVE DUPLICATES
What's the difference between == and === in PHP?
== checks value only, === checks value and type
=== checks value only, == checks value and type
Both are identical
== is for strings, === for numbers
