wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

M2 R5 Test 14

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

CSS का पूरा रूप क्या है?

a)

Cascading Style Sheets

b)

Colorful Style Sheets

c)

Computer Style Sheets

d)

Creative Style Sheets

2.

CSS में 'border' के लिए किन तीन प्रॉपर्टीज़ का उपयोग किया जाता है?

a)

border-style, border-width, border-color

b)

border-width, border-type, border-color

c)

border-style, border-radius, border-width

d)

border-type, border-radius, border-style

3.

JavaScript में एक array के कितने प्रकार होते हैं?

a)

One

b)

Two

c)

Three

d)

Four

4.

JavaScript में 'document.getElementById()' का कार्य क्या है?

a)

It adds an element to the page

b)

It retrieves an element by its ID

c)

It sets the page title

d)

It removes an element from the page

5.

CSS में 'position' प्रॉपर्टी का क्या कार्य है?

a)

It sets the background color

b)

It controls the stacking order of elements

c)

It sets the position of an element relative to its normal position

d)

It controls the layout of elements

6.

JavaScript में 'undefined' का मतलब क्या है?

a)

A value is not defined

b)

A variable is defined but not assigned

c)

An object is not available

d)

A function is not yet defined

7.

CSS में 'display: flex;' का क्या मतलब है?

a)

It makes the element invisible

b)

It makes the element a flex container

c)

It applies a grid layout to the element

d)

It adds a border to the element

8.

JavaScript में 'localStorage' और 'sessionStorage' के बीच क्या अंतर है?

a)

'localStorage' is for the current session, while 'sessionStorage' is persistent across sessions

b)

'localStorage' persists data across sessions, while 'sessionStorage' is for the current session only

c)

Both store data for one session

d)

There is no difference

9.

CSS में 'z-index' प्रॉपर्टी का क्या कार्य है?

a)

It specifies the size of the element

b)

It controls the stacking order of positioned elements

c)

It sets the visibility of an element

d)

It defines the margin of an element

10.

JavaScript में एक फ़ंक्शन को कैसे घोषित किया जाता है?

a)

function myFunction() {}

b)

function = myFunction() {}

c)

declare function myFunction() {}

d)

def myFunction() {}