wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Fourth Quarter - .NET Technology

Total questions: 130

Worksheet time: 1hrs 10mins

Name
Class
Date
1.

Which of the following functionalities does the CSS transform property facilitate for elements?

a)

Rotate, move, skew, and scale elements

b)

Resize and reshape elements

c)

Change element color

2.


Which of the following best describes transformation?

a)

An effect that modifies shape, size, and position

b)

An effect that alters color and texture

c)

A process that only changes shape

3.


Which event typically triggers transforms for an element?

a)

Mouse hover

b)

Key press

c)

Page load

4.

Which types of transformation are supported in CSS3?

a)

Both 2D and 3D transformation

b)

Only 2D transformation

c)

Only 3D transformation

5.

Which direction are composite transforms applied when using transform functions?

a)

Right to left

b)

Left to right

c)

Randomly

6.

Only transformable elements can be transformed

a)

true

b)

false

7.

Which statement accurately describes the numbering convention for CSS vendor prefixes?

a)

Numbers followed by -webkit-, -moz-, or -o- indicate the first version that supported the prefix in respective browsers.

b)

The numbers indicate the frequency of usage of the prefix across different browsers.

c)

Numbers indicate the priority level assigned to the prefix by the browser engine.

8.

Which of the following methods are available for 2D transformations using the CSS transform property? (Select all that applies)

a)

translate3D()

b)

rotateX()

c)

scaleZ()

d)

skewZ()

e)

skew()

9.

Which statement accurately describes the functionality of the translate() method in web development?

a)

translate() repositions an element according to its current position, considering X-axis and Y-axis parameters. D) The translate() me

b)

translate() shifts an element vertically and horizontally based on percentages relative to its parent container.

c)

The translate() method relocates an element based on absolute coordinates provided.

10.

Which statement accurately describes the rotate() method?

a)

Rotation according to given degree.

b)

Clockwise rotation only.

c)

Counter-clockwise rotation only

11.

Which statement accurately describes the effect of using negative values with the rotate() method?

a)

Rotates clockwise

b)

Rotates counterclockwise

c)

Rotates unpredictably

12.

What does the scale() method primarily do?

a)

Adjusts size based on parameters.

b)

Changes dimensions independently.

c)

Increases size proportionally.

13.

Which CSS behavior is observed when using values less than 1?

a)

Decreases <div> element

b)

Expands <div> element

c)

Preserves <div> element size

14.

What does the scaleX() method primarily alter?

a)

Width

b)

Height

c)

Rotation

15.

What does the scaleY() method primarily control?

a)

Height of an element.

b)

Rotation of an element.

c)

Width of an element.

16.

Which statement best describes the action of the skewX() method?

a)

Skews an element along the X-axis.

b)

Rotates an element along the X-axis.

c)

Scales an element along the X-axis.

17.

Which statement best describes the action of the skewY() method?

a)

Skews an element along the Y-axis.

b)

Rotates an element along the Y-axis.

c)

Scales an element along the Y-axis.

18.

Which statement accurately describes the skew() method?

a)

Skews along X and Y-axis by given angles

b)

Translates

c)

Rotates

19.

Which method combines all 2D transform methods into one?

a)

matrix()

b)

translate()

c)

scale()

20.


Which statement best describes the matrix() method?

a)

It takes six parameters, enabling rotation, scaling, translation, and skewing of elements.

b)

It accepts four parameters, facilitating rotation, scaling, and translation of elements.

c)

It requires eight parameters, enabling precise transformation of elements.

21.

What parameters are utilized in the matrix() function?

a)

scaleX, skewY, skewX, scaleY, translateX, translateY

b)

rotateX, rotateY, scaleX, scaleY, translateX, translateY

c)

skewX, skewY, translateX, translateY

22.

CSS also supports 3D transformations..

a)

true

b)

false

23.

Which of the following are 2D transformation methods you can use with CSS transform property?

a)

rotateX()

b)

rotateX()

c)

rotateZ()

d)

rotateA()

24.

Which of the following accurately describes the behavior of the rotateX() method?

a)

Rotates an element around its X-axis.

b)

Rotates an element around its Y-axis.

c)

Rotates an element around its Z-axis.

25.

Which of the following accurately describes the behavior of the rotateY() method?

a)

Rotates an element around its X-axis.

b)

Rotates an element around its Y-axis.

c)

Rotates an element around its Z-axis.

26.

Which of the following accurately describes the behavior of the rotateZ() method?

a)

Rotates an element around its X-axis.

b)

Rotates an element around its Y-axis.

c)

Rotates an element around its Z-axis.

27.

It applies a 2D or 3D transformation to an element.

a)

transform

b)

transform-origin

c)

transform-style

28.

It allows you to change the position on transformed elements

a)

transform

b)

transform-origin

c)

transform-style

29.

It specifies how nested elements are rendered in 3D space


a)

transform

b)

transform-origin

c)

transform-style

30.

It specifies the perspective on how 3D elements are viewed


a)

perspective

b)

perspective-origin

c)

backface-visibility

31.

It specifies the bottom position of 3D elements


a)

perspective

b)

perspective-origin

c)

backface-visibility

32.

It defines whether an element should be visible when not facing screen

a)

perspective

b)

perspective-origin

c)

backface-visibility

33.

It defines a 2D transformation, using a matrix of six values.

a)

matrix(n,n,n,n,n,n)

b)

translate(x,y)

c)

translateX(n)

34.

It defines a 2D translation, moving element along the X- & Y-axis

a)

matrix(n,n,n,n,n,n)

b)

translate(x,y)

c)

translateX(n)

35.

It defines a 2D translation, moving the element along the X-axis

a)

matrix(n,n,n,n,n,n)

b)

translate(x,y)

c)

translateX(n)

36.

It defines a 2D translation, moving the element along the Y-axis

a)

translateY(n)

b)

scale(x,y)

c)

scaleX(n)

37.

It defines a 2D scale transform, changing elements width & height

a)

translateY(n)

b)

scale(x,y)

c)

scaleX(n)

38.

It defines a 2D scale transformation, changing the element's width

a)

translateY(n)

b)

scale(x,y)

c)

scaleX(n)

39.

It defines a 2D scale transformation, changing the element's height

a)

scaleY(n)

b)

rotate(angle)

c)

skew(x-angle,y-angle)

40.

It defines a 2D rotation, the angle is specified in the parameter

a)

scaleY(n)

b)

rotate(angle)

c)

skew(x-angle,y-angle)

41.

It defines a 2D skew transformation along the X- and the Y-axis

a)

scaleY(n)

b)

rotate(angle)

c)

skew(x-angle,y-angle)

42.

It defines a 2D skew transformation along the X-axis

a)

skewX(angle)

b)

rotate(angle)

c)

skew(x-angle,y-angle)

43.

It defines a 2D skew transformation along the Y-axis

a)

skewY(angle)

b)

rotate(angle)

c)

skew(x-angle,y-angle)

44.

It defines a 3D transformation, using a 4x4 matrix of 16 values

a)

matrix3d (n,n,n,n,n,n,n,n,n, n,n,n,n,n,n,n)

b)

translateX(x)

c)

translateX(y)

45.

It defines a 3D translation

a)

translate3d(x,y,z)

b)

translateX(x)

c)

translateX(y)

46.

It defines a 3D translation, using only the value for the X-axis

a)

translate3d(x,y,z)

b)

translateX(x)

c)

translateX(y)

47.

It defines a 3D translation, using only the value for the Y-axis

a)

translateX(z)

b)

translateX(x)

c)

translateX(y)

48.

It defines a 3D translation, using only the value for the Z-axis

a)

translateX(z)

b)

translateX(x)

c)

translateX(y)

49.

It defines a 3D scale transformation

a)

scale3d(x,y,z)

b)

scaleX(x)

c)

scaleY(y)

d)

scaleZ(z)

50.

It defines a 3D scale transformation by giving a value for the X-axis.

a)

scale3d(x,y,z)

b)

scaleX(x)

c)

scaleY(y)

d)

scaleZ(z)

51.

It defines a 3D scale transformation by giving a value for the Y-axis.

a)

scale3d(x,y,z)

b)

scaleX(x)

c)

scaleY(y)

d)

scaleZ(z)

52.

It defines a 3D scale transformation by giving a value for the Z-axis.

a)

scale3d(x,y,z)

b)

scaleX(x)

c)

scaleY(y)

d)

scaleZ(z)

53.

It defines a 3D rotation

a)

rotation3d(x,y,z)

b)

rotateX(angle)

c)

rotateY(angle)

d)

scaleZ(angle)

54.

It defines a 3D rotation along the X-axis

a)

rotation3d(x,y,z)

b)

rotateX(angle)

c)

rotateY(angle)

d)

rotateZ(angle)

55.

It defines a 3D rotation along the Y-axis

a)

rotation3d(x,y,z)

b)

rotateX(angle)

c)

rotateY(angle)

d)

rotateZ(angle)

56.

It defines a 3D rotation along the Z-axis

a)

rotation3d(x,y,z)

b)

rotateX(angle)

c)

rotateY(angle)

d)

rotateZ(angle)

57.

It defines a perspective view for a 3D transformed element

a)

rotation3d(x,y,z)

b)

rotateX(angle)

c)

rotateY(angle)

d)

perspective(n)

58.

Which statement accurately describes the function of CSS transitions?

a)

CSS transitions enable control over animation speed.

b)

CSS transitions manage layout changes.

c)

CSS transitions determine color schemes.

59.

What term describes animations transitioning between two states implicitly defined by the browser?

a)

Implicit transitions

b)

Explicit transitions

c)

Dynamic animations

60.


Which aspect(s) of CSS transitions can be controlled by developers?

a)

Properties, delay, duration, and timing.

b)

Properties to animate, start time, duration, and transition method.

c)

Animation list, delay, time, and method.

61.

What is required to create a transition effect in CSS?

a)

Both the CSS property and the duration

b)

Only the CSS property

c)

Only the duration

62.

If the duration part is not specified, the transition will have no effect, because the default value is 0.

a)

true

b)

false

63.

It specifies transition effect for the width property, with a duration of 2 seconds:

a)

transition: width 2s;

b)

transition: width 2sec;

c)

transition: width 2seconds;

64.

The transitions should be applied to the width.

a)

transition-property: width

b)

transition: width

c)

transition-duration: width

65.

It adds a transition effect for both the width and height property, with a duration of 2 seconds for the width and 4 seconds for the height

a)

transition: width 2s, height 4s;

b)

transition: height 4s, width 2s;

c)

transition: width 2sec, height 4sec;

66.

A shorthand property for setting the four transition properties into a single property

a)

transition

b)

transition-delay

c)

transition-duration

d)

transition-property

e)

transition-timing-function

67.

It specifies a delay (in seconds) for the transition effect

a)

transition

b)

transition-delay

c)

transition-duration

d)

transition-property

e)

transition-timing-function

68.

It specifies how many seconds or milliseconds a transition effect takes to complete

a)

transition

b)

transition-delay

c)

transition-duration

d)

transition-property

e)

transition-timing-function

69.

It specifies the property the transition effect is for

a)

transition

b)

transition-delay

c)

transition-duration

d)

transition-property

e)

transition-timing-function

70.

It specifies the speed curve of the transition effect

a)

transition

b)

transition-delay

c)

transition-duration

d)

transition-property

e)

transition-timing-function

71.

It specifies a transition effect with a slow start, then fast, then end slowly (this is default)

a)

ease

b)

linear

c)

ease-in

d)

ease-out

e)

ease-in-out

72.

It specifies a transition effect with the same speed from start to end

a)

ease

b)

linear

c)

ease-in

d)

ease-out

e)

ease-in-out

73.

It specifies a transition effect with a slow start

a)

ease

b)

linear

c)

ease-in

d)

ease-out

e)

ease-in-out

74.

It lets you define your own values in a cubic-bezier function

a)

cubic-bezier(n,n,n,n)

b)

linear

c)

ease-in

d)

ease-out

e)

ease-in-out

75.

It specifies a transition effect with a slow end

a)

ease

b)

linear

c)

ease-in

d)

ease-out

e)

ease-in-out

76.

It specifies a transition effect with a slow start and end

a)

ease

b)

linear

c)

ease-in

d)

ease-out

e)

ease-in-out

77.

The animation-fill-mode property which is default value

a)

none

b)

forwards

c)

backwards

d)

both

78.

The animation-fill-mode property in which is the element will retain the style values that is set by the last keyframe (depends on animation-direction and animation-iteration-count)

a)

none

b)

forwards

c)

backwards

d)

both

79.

The animation-fill-mode property in which the element will get the style values that is set by the first keyframe (depends on animation-direction), and retain this during the animation-delay period

a)

none

b)

forwards

c)

backwards

d)

both

80.

The animation-fill-mode property in which the animation will follow the rules for both forwards and backwards, extending the animation properties in both directions

a)

none

b)

forwards

c)

backwards

d)

both

81.

Which of the following statements accurately describes an animation?

a)

Animation transitions an element's style gradually.

b)

Animation only changes an element's style abruptly.

c)

Animation only changes an element's style abruptly.

82.

Which components constitute a CSS animation?

a)

Both CSS animation style definition and keyframes defining start and end states.

b)

Only keyframes defining start and end states.

c)

Only a collection of intermediate waypoints.

83.

What is the initial step required to utilize CSS animation?

a)

Define keyframes

b)

Apply styles

c)

Import libraries

84.

Which statement accurately describes the purpose of keyframes in CSS animation?

a)

Keyframes define element styles at different time points.

b)

Keyframes specify element styles at various time intervals.

c)

Keyframes determine element movements over time.

85.


Which of the following is NOT an advantage of CSS animations over conventional script-driven animation techniques?

a)

Requires knowledge of JavaScript for implementation.

b)

Smooth performance even under moderate device load.

c)

Simplified usage without the need for JavaScript.

d)

Improved performance and reliability through browser monitoring.

86.

It specifies the name of the keyframe you want to bind to the selector

a)

animation-name

b)

animation-duration

c)

animation-timing-function

d)

animation-delay

87.

It specifies how many seconds or milliseconds an animation takes to complete

a)

animation-name

b)

animation-duration

c)

animation-timing-function

d)

animation-delay

88.

It specifies the speed curve of the animation

a)

animation-name

b)

animation-duration

c)

animation-timing-function

d)

animation-delay

89.

It specifies a delay before the animation will start

a)

animation-name

b)

animation-duration

c)

animation-timing-function

d)

animation-delay

90.

It specifies how many times an animation should be played

a)

animation-iteration-count

b)

animation-direction

c)

animation-fill-mode

d)

animation-play-state

91.

It specifies whether or not the animation should play in reverse on alternate cycles

a)

animation-iteration-count

b)

animation-direction

c)

animation-fill-mode

d)

animation-play-state

92.

It specifies what values are applied by the animation outside the time it is executing

a)

animation-iteration-count

b)

animation-direction

c)

animation-fill-mode

d)

animation-play-state

93.

It specifies whether the animation is running or paused

a)

animation-iteration-count

b)

animation-direction

c)

animation-fill-mode

d)

animation-play-state

94.

What does a <percentage> signify in keyframes for animations?

a)

Time during animation

b)

Frame rate indicator

c)

Duration of each keyframe

95.

Which percentage represents the initial moment and final state of an animation sequence?

a)

0% for initial, 100% for final.

b)

50% for initial, 100% for final.

c)

0% for initial, 50% for final.

96.

What value can be used to make an animation continue indefinitely?

a)

infinite

b)

continuous

c)

forever

97.

The animation is played as normal (forwards). This is default

a)

normal

b)

reverse

c)

alternate

d)

alternate-reverse

98.

The animation is played in reverse direction (backwards)

a)

normal

b)

reverse

c)

alternate

d)

alternate-reverse

99.

The animation is played forwards first, then backwards

a)

normal

b)

reverse

c)

alternate

d)

alternate-reverse

100.

The animation is played backwards first, then forwards

a)

normal

b)

reverse

c)

alternate

d)

alternate-reverse

101.

Which of the following ways is the correct form of @keyframes example1?

a)

@keyframes example1 {

from {top: 0px;}

to {top: 200px; background-color: blue;}

}

b)

@keyframes example1 {

from {top: 0px;}

}

c)

None of the above

102.

What are the different values for animation-timing function?

a)

ease, ease-in, ease-out, ease-out-in, non-linear

b)

linear, ease, ease-in, ease-out, ease-in-out

c)

linear-in, ease-out, ease-in-out, linear-out, linear

d)

ease, ease-in,ease-out, ease-in-out, ease-linear

103.

John wants to start his animation after a few seconds. Recommend an appropriate property to him?

a)

delay-time

b)

animation-delay

c)

animation-time

d)

delay-animation

104.

John wants to set the animation-direction as alternate-reverse, what value can he give for the property animation-iteration-count ?

a)

50

b)

10

c)

Both a & b

d)

None of the above

105.

John wants his animation to run forever, which property with its value will you suggest to him?

a)

animation-iteration-count:infinite

b)

animation-duration:forever

c)

animation-duration:infinite

d)

animation-iteration-count:forever

106.

The property which is binded with @keyframes is?

a)

animation

b)

animation-duration

c)

animation-name

d)

element-name

107.

Q. Which of the following is an invalid value for animation duration?

a)

2.6ms

b)

5s

c)

1000ms

d)

1m

108.

How can you define a CSS animation using keyframes?

(a)   {

}

109.
Which of the following is the correct way to write the @keyframes rule?
a)
keyframes example1 {from {top:0px;}to {top: 200px;background-color: blue;}}
b)
@keyframes example1 {from {top:0px;}to {top: 200px;background-color: blue;}
c)
None of the above
d)
@keyframes example1 {from {top: 0px;}}
110.
You want to move an element 150 pixels from the left and 100 pixels from the top. Which code snippets is correct?
a)
transform: translate(150px,100px)
b)
translate: transform(100px,150px)
c)
translate: transform(150px,100px)
d)
transform: translate(100px,150px)
111.

div {  width: 100px;  height: 100px;  position: relative;  background-color: red;  animation-name: example;  animation-duration: 4s;  animation-iteration-count: 3;}

In the example above, the animation will repeat ___

a)

every 4 seconds

b)

every 3 seconds

c)

3 times

d)

4 times

112.

In CSS, It is the punctuation mark that we have to use at the end of every row once the property has been entered.

a)

;

b)

:

c)

.

d)

,

113.

How can you repeat an animation infinitely?

a)

animation-iteration-count: infinite

b)

animation-play: infinite

c)

animation-loop: true

d)

animation-repeat: infinite

114.

Which block that will make the animation starts slow, accelerates, and then slows down towards the end?


a)

b)

c)

d)

115.
  1. Which CSS property is used to apply animations to an element?

a)

"display"

b)

"margin"

c)

"animation"

d)

"border"

116.

How do you define the duration of an animation in CSS?

a)

"animation-time"

b)

"animation-duration"

c)

"transition-duration"

d)

"duration"

117.

What is the purpose of keyframe animations in CSS?

a)

The purpose of keyframe animations in CSS is to create smooth and dynamic animations with more control and customization.

b)

Keyframe animations in CSS are used to add text effects to web pages.

c)

Keyframe animations in CSS are used to create static and unchanging animations.

d)

Keyframe animations in CSS are used to make web pages load faster.

118.

What is the purpose of transition animations in CSS?

a)

The purpose of transition animations in CSS is to organize and structure the HTML code.

b)

The purpose of transition animations in CSS is to improve website loading speed.

c)

The purpose of transition animations in CSS is to make elements disappear and reappear.

d)

The purpose of transition animations in CSS is to enhance the user experience and add visual effects to elements.

119.

Which CSS property is used to apply a 2D or 3D transformation to an element?

a)

position

b)

animation

c)

transition

d)

transform

120.

What are some common CSS animation properties?

a)

animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, animation-fill-mode

b)

animation-name, animation-duration, animation-timing-function, animation-iteration-count, animation-direction, animation-fill-mode, animation-play-state

c)

animation-duration, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, animation-fill-mode, animation-play-state

d)

animation-play-state, animation-fill-mode, animation-iteration-count, animation-direction, animation-timing-function, animation-delay, animation-name

121.
You want to move an element 150 pixels from the left and 100 pixels from the top. Which code snippets is correct?
a)
transform: translate(150px,100px)
b)
translate: transform(100px,150px)
c)
translate: transform(150px,100px)
d)
transform: translate(100px,150px)
122.
In the following code, how does the method scale(3,6) affect the element to which it is applied?transform: scale(3,6)
a)
transforms the width to be 3 times and the height 6 times its original size
b)
transforms the height to be 3 times and the width 6 times its original size
c)
moves the element 33 units from the top and 6 units from the right
d)
transforms the height to be 3 times and the width 6 times its original size
123.

Which on is the right property for moving box 300px from top to bottom side ?

a)

from {top:0px;}
to {top:300px;}

b)

from {left:0px;}
to {left:300px;}

c)

from {right:0px;}
to {right:300px;}

124.

Which on is the right property for moving box 300px from left to right side ?

a)

from {left:0px;} to {left:300px;}

b)

from {left:300px;} to {left:0px;}

c)

from {right:0px;} to {right:300px;}

125.

Which property can help me if I want to start my animation after few seconds?

a)

animation-delay:3s;

b)

delay: 3s;

c)

animation: 3s;

126.

Which one is the correct Property for giving time duration of the animation ?

a)

animation-duration:3s;

b)

animation: 3s;

c)

duration: 3s;

127.

How to rotate objects using CSS3?

a)

object-rotation: 30deg;

b)

transform: rotate(30deg);

c)

rotate-object: 30deg;

128.

Which prefix do you need to get CSS3 properties to work on older Mozilla Firefox browsers?

a)

-webkit-

b)

-moz-

c)

-gecko-

129.

In the following code, what effect does the ease value have on the animation?

div { animation-duration: 3s;

animation-delay: 0s;

animation-timing-function: ease; }

div:hover { animation-name: fadeout; }

a)

starts slow then increases the speed of the animation and then slows it down toward the end

b)

decreases the speed of the animation and then speeds it up toward the end

c)

starts the animation at a slow speed and then maintains a steady speed for the duration of the animation

130.

You want to turn an element 30 degrees in the 2D plane. What code do you use?

a)

transform: rotate(30deg)

b)

transform: skewX(30deg)

c)

transform: translate(30deg,30deg)