wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Internship Quiz ZEN

Total questions: 20

Worksheet time: 30mins

Name
Class
Date
1.

What does the <section> element represent in HTML5?

a)

A section of a document with no semantic meaning

b)

A thematic grouping of content

c)

A container for navigation links

d)

A footer section

2.

Which attribute is used to make an input field required in HTML5?

a)

mandatory

b)

validate

c)

required

d)

necessary

3.

What does CSS specificity determine?

a)

The loading speed of stylesheets

b)

Which CSS rule is applied when multiple rules conflict

c)

The order of stylesheet imports

d)

Browser compatibility of CSS properties

4.

What's the difference between display: none and visibility: hidden?

a)

Both completely remove the element from document flow

b)

display: none removes from flow, visibility: hidden hides but maintains space

c)

visibility: hidden removes from flow, display: none hides but maintains space

d)

There's no difference

5.

What will be the output of console.log(0.1 + 0.2 === 0.3)?

a)

true

b)

false

c)

undefined

d)

Throws an error

6.

What's the difference between let and var in JavaScript?

a)

let is function-scoped, var is block-scoped

b)

let is block-scoped, var is function-scoped

c)
  • Both are function-scoped

d)

Both are block-scoped

7.

Which Bootstrap class creates a responsive grid column that takes 6 columns on medium screens and 12 on small?

a)

col-md-6 col-sm-12

b)

col-6 col-12

c)

col-sm-6 col-md-12

d)

col-lg-6 col-xs-12

8.

What does the Bootstrap class d-flex do?

a)

Creates a fixed-width container

b)

Enables flexbox layout

c)

Displays element as block

d)

Adds a drop shadow

9.

What is the purpose of event.preventDefault()?

a)

Stops event propagation to parent elements

b)

Prevents the default browser action for the event

c)

Removes the event listener

d)

Prevents memory leaks

10.

What does the following code return: [1, 2, 3].map(num => num * 2)?

a)

[1,2,3]

b)

[2,4,6]

c)

[1,4,9]

d)

undefined

11.

What does z-index control in CSS?

a)

Horizontal positioning

b)

Vertical stacking order

c)

Animation duration

d)

Font size scaling

12.

What will echo "5" + "10" output in PHP?

a)

510

b)

15

c)

"15"

d)

Error

13.

How do you start a session in PHP?

a)

start_session()

b)

session_start()

c)

session_begin()

d)

init_session()

14.

Which SQL clause is used to filter results?

a)

FILTER

b)

WHERE

c)

HAVING

d)

LIMIT

15.

What's the difference between INNER JOIN and LEFT JOIN?

a)
  • INNER JOIN returns all records when there's a match in either table

b)

LEFT JOIN returns all records from left table and matched from right table

c)

INNER JOIN returns only non-matching records

d)

LEFT JOIN returns only matching records

16.

What's the purpose of an INDEX in SQL?

a)

To create a backup of the table

b)

To improve the speed of data retrieval

c)
  • To enforce data types

d)

To create relationships between tables

17.

What is the purpose of HTTP status code 404?

a)

Server error

b)

Success

c)

Not found

d)

Access forbidden

18.

Which HTTP method is typically used to update an existing resource?

a)

GET

b)

POST

c)

PUT/PATCH

d)

DELETE

19.

Which SQL statement removes duplicates from result sets?

a)

UNIQUE

b)

DISTINCT

c)

DIFFERENT

d)

REMOVE DUPLICATES

20.

What's the difference between == and === in PHP?

a)

== checks value only, === checks value and type

b)

=== checks value only, == checks value and type

c)

Both are identical

d)

== is for strings, === for numbers