Fundamentals of Front End Development MCQs with Answers
Practice important Fundamentals of Front End Development MCQs with answers and explanations.
Chapter: 6
Q81:
Fill in the blank: In FTP, a file is split into small data ______ for transmission.
A. Packets
B. Files
C. Headers
D. Segments
Correct Answer:
A
Chapter: 6
Q82:
Fill in the blank: An FTP Client is typically ______ software.
A. Web design
B. File transfer
C. Network management
D. Database management
Correct Answer:
B
Chapter: 6
Q83:
What does the FTP server do if a data packet is correct?
A. It requests the next packet
B. It deletes the packet
C. It ignores the packet
D. It returns the packet to the client
Correct Answer:
A
Chapter: 6
Q84:
What type of network protocol is FTP?
A. Application layer
B. Network layer
C. Transport layer
D. Data link layer
Correct Answer:
A
Chapter: 6
Q85:
What ensures that data packets are received completely during FTP transfer?
A. Encryption
B. Packet verification
C. Compression
D. Error checking
Correct Answer:
B
Chapter: 7
Q86:
What does HTML stand for?
A. Hyper Text Markup Language
B. Hyper Transfer Markup Language
C. High Text Markup Language
D. Hypertext Management Language
Correct Answer:
A
Chapter: 7
Q87:
What is the purpose of HTML?
A. To create web pages
B. To style web pages
C. To add interactivity to web pages
D. To manage web servers
Correct Answer:
A
Chapter: 7
Q88:
What must all HTML documents start with?
A. <html>
B. <head>
C. <!DOCTYPE html>
D. <body>
Correct Answer:
C
Chapter: 7
Q89:
What tag defines the start and end of an HTML document?
A. <html> and </html>
B. <head> and </head>
C. <body> and </body>
D. <title> and </title>
Correct Answer:
A
Chapter: 7
Q90:
Which tag is used to define a heading in HTML?
A. <p>
B. <h1> to <h6>
C. <img>
D. <head>
Correct Answer:
B
Chapter: 7
Q91:
How many heading tags are there in HTML?
A. 3
B. 5
C. 6
D. 7
Correct Answer:
C
Chapter: 7
Q92:
How is an HTML paragraph defined?
A. <p>My Paragraph.</p>
B. <paragraph>My Paragraph</paragraph>
C. <text>My Paragraph</text>
D. <para>My Paragraph</para>
Correct Answer:
A
Chapter: 7
Q93:
Which tag is used to insert an image in an HTML document?
A. <img>
B. <picture>
C. <image>
D. <src>
Correct Answer:
A
Chapter: 7
Q94:
Fill in the blank: HTML documents must start with ______.
A. <html>
B. <head>
C. <!DOCTYPE html>
D. <body>
Correct Answer:
C
Chapter: 7
Q95:
Fill in the blank: The HTML tag that defines the visible part of the document is ______.
A. <body>
B. <head>
C. <footer>
D. <title>
Correct Answer:
A
Chapter: 7
Q96:
Fill in the blank: To define an image in HTML, use the ______ tag.
A. <img>
B. <picture>
C. <image>
D. <src>
Correct Answer:
A
Chapter: 7
Q97:
Fill in the blank: The source file for an image in HTML is specified using the ______ attribute.
A. alt
B. src
C. width
D. height
Correct Answer:
B
Chapter: 7
Q98:
What attributes are commonly used with the <img> tag?
A. src, alt, width, height
B. href, target, width, height
C. src, color, width, height
D. alt, src, size, color
Correct Answer:
A
Chapter: 7
Q99:
What is the purpose of the <!DOCTYPE html> declaration?
A. To define the document type and HTML version
B. To start the body of the document
C. To include JavaScript
D. To insert a heading
Correct Answer:
A
Chapter: 8
Q100:
What does an HTML element consist of?
A. Start tag only
B. End tag only
C. Start tag, content, and end tag
D. Only content
Correct Answer:
C