NEW
Font size
WorksheetsWebTopia Round-1 (set-2)
Total questions: 25
Worksheet time: 13mins
1.Which CSS property is used for adding a shadow effect to text?
A) text-shadow
B) box-shadow
C) shadow-effect
D) font-shadow
2.Can you use CSS comments to temporarily disable a style rule?
A) Yes
B) No
C) Only with special comment tags
D) Only in inline styles
3.How do you select an HTML element with the id "example"?
A) #example
B) .example
C) element.example
D) id(example)
4.What is the primary goal of UX design?
A) Making the interface visually appealing
B) Enhancing user satisfaction and experience
C) Focusing on technical functionalities
D) Increasing the complexity of the interface
5.What does the term "wireframe" represent in UX design?
A) A visual representation of the final product
B) A prototype with interactive features
C) A simplified layout that outlines the structure
D) The final color scheme and typography choices
6.What does HTML stand for?
A) Hyper Transfer Markup Language
B) Hyper Text Makeup Language
C) Hyper Text Markup Language
D) High-level Text Markup Language
7.In CSS, what is the symbol used to select classes?
A) #
B) .
C) @
D) $
8.Which HTML tag is used to create a hyperlink?
A) <link>
B) <a>
C) <href>
D) <hyperlink>
9.Which CSS property is used to control the space between the border and the content inside an
element?
A) margin
B) padding
C) border-spacing
D) space-between
10.What is the purpose of the <form> tag in HTML?
A) To create a container for text
B) To define a block of code
C) To create a web form
D) To add a line break in text
11.Which CSS property is used to distribute space between items in a flex container?
A) align-items
B) justify-content
C) flex-grow
D) flex-shrink
12.What is the purpose of semantic HTML elements?
A) To make the webpage visually appealing
B) To enhance search engine optimization (SEO)
C) To create responsive layouts
D) To improve website security
13.Which CSS property is used to position an element relative to its normal position in the document
flow?
A) offset
B) relative
C) position
D) absolute
14.What does the term "user interface" (UI) refer to?
A) The overall look and feel of a website
B) The way users interact with a website or application
C) The programming code behind a website
D) The speed at which a website loads
15.What is the purpose of the CSS property transition?
A) To create a smooth scrolling effect
B) To apply gradual changes to an element's style
C) To control the layout of a webpage
D) To specify the font style of text
16.In HTML, what is the purpose of the <canvas> element?
A) To display 3D graphics
B) To create interactive forms
C) To draw graphics using JavaScript
D) To embed external multimedia files
17.let x = 10;
function foo() {
let x = 20;
if (true) {
let x = 30;
}
return x;
}
What does calling foo() return?
A) 10
B) 20
C) 30
D) Error
18.How is the "this" keyword different in arrow functions compared to regular functions in JavaScript?
A) "this" in arrow functions refers to the global object
B) Arrow functions don't have a "this" keyword
C) "this" in arrow functions refers to the object the arrow function is a method of
D) Arrow functions automatically bind "this" to the containing function's "this" value
19.What does "UX Research" primarily involve in the context of user experience design?
A) Analyzing visual design elements
B) Studying user behaviors and preferences
C) Coding interactive interfaces
D) Implementing accessibility features
20.Which term is often associated with UI design and focuses on the arrangement and appearance of
elements on a screen?
A) Ergonomics
B) Aesthetics
C) Wireframing
D) Prototyping
21.What will be the output of the following code snippet?
var a = 1;
var b = 0;
while (a <= 3)
{
a++;
b += a * 2;
print(b);
}
A) 4 10 18
B) 1 2 3
C) 1 4 7
D) None of the above
22.Which of the following is NOT a valid CSS selector?
A) #myElement
B) .myClass
C) $specialElement
D) p > span
23.What does the CSS property "margin: 10px 20px;" mean?
A) Sets a margin of 10 pixels on all sides of the element.
B) Sets a margin of 20 pixels on the top and bottom, and 10 pixels on the left and right.
C) Sets a margin of 10 pixels on the top, 20 pixels on the right, 10 pixels on the bottom, and 20 pixels on
the left.
D) Invalid CSS syntax.
24.Which CSS property is used to control the flow and layout of a document's content, especially with
regard to positioning of elements?
A) display
B) font-size
C) color
D) background-image
25. How can you open a link in a new browser window?
A) < a href = "url" target = "new">
B) <a href = "url" target= "_blank">
C) <a href = "url".new>
D) <a href = "url" target ="open">
