Fundamentals of Front End Development MCQs with Answers
Practice important Fundamentals of Front End Development MCQs with answers and explanations.
Multiple Choice Questions
Q1541: In the SVG rectangle example, what does width="300" define?
- A: Width of the rectangle
- B: Height of the rectangle
- C: Stroke width
- D: Fill color
View Answer
A
Q1542: What attribute is used to create rounded corners in an SVG rectangle?
- A: rx and ry
- B: x and y
- C: width and height
- D: stroke-width
View Answer
A
Q1543: Fill in the blank: In SVG, the <polygon> element is used to draw ______.
- A: Rectangles
- B: Circles
- C: Polygons
- D: Lines
View Answer
C
Q1544: What is the primary difference between SVG and Canvas?
- A: SVG is resolution dependent; Canvas is resolution independent
- B: SVG supports event handlers; Canvas does not
- C: SVG graphics are drawn pixel by pixel; Canvas remembers drawn shapes
- D: Canvas graphics are resolution independent; SVG is resolution dependent
View Answer
B
Q1545: Fill in the blank: SVG is well-suited for applications with large rendering areas, such as ______.
- A: graphic-intensive games
- B: video playback
- C: web maps
- D: text rendering
View Answer
C
Q1546: What does multimedia include?
- A: Only pictures
- B: Only sound
- C: Pictures, music, sound, videos, animations
- D: Only videos
View Answer
C
Q1547: Which video format is developed by the Xiph.Org Foundation?
- A: MP4
- B: WebM
- C: Ogg
- D: AVI
View Answer
C
Q1548: What file extension is commonly used for MPEG-4 videos?
- A: .ogg
- B: .webm
- C: .mp4
- D: .wav
View Answer
C
Q1549: Which audio format is known for good compression and high quality?
- A: WAV
- B: Ogg
- C: MP3
- D: AIFF
View Answer
C
Q1550: Fill in the blank: HTML5 supports video formats including MP4, WebM, and ______.
- A: AVI
- B: FLV
- C: Ogg
- D: MOV
View Answer
C