NWCA Front-End Web Developer Exam, Exams of Technology

This certification exam validates foundational front-end web development skills for entry-level technology roles. It assesses knowledge of HTML, CSS, JavaScript fundamentals, responsive design, accessibility standards, basic UI/UX principles, and version control concepts. The certification confirms readiness to build, style, and maintain user-friendly web interfaces.

Typology: Exams

2025/2026

Available from 01/25/2026

shilpi-jain-2
shilpi-jain-2 🇮🇳

1

(1)

25K documents

1 / 79

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
NWCA Front-End Web Developer Exam
Question 1. Which protocol is primarily responsible for delivering web pages from a server to a
client browser?
A) FTP
B) HTTP
C) SMTP
D) SSH
Answer: B
Explanation: HTTP (Hypertext Transfer Protocol) is the foundational protocol used for fetching
web resources and delivering web pages from servers to browsers.
Question 2. What is the main function of DNS in web architecture?
A) Encrypting data
B) Assigning IP addresses to servers
C) Translating domain names to IP addresses
D) Managing database connections
Answer: C
Explanation: DNS (Domain Name System) translates readable domain names into numerical IP
addresses so browsers can load resources from the correct server.
Question 3. Which tag is used to define the root of an HTML document?
A) <body>
B) <div>
C) <html>
D) <main>
Answer: C
Explanation: The <html> tag defines the root of an HTML document, containing all other HTML
elements.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f

Partial preview of the text

Download NWCA Front-End Web Developer Exam and more Exams Technology in PDF only on Docsity!

Question 1. Which protocol is primarily responsible for delivering web pages from a server to a client browser? A) FTP B) HTTP C) SMTP D) SSH Answer: B Explanation: HTTP (Hypertext Transfer Protocol) is the foundational protocol used for fetching web resources and delivering web pages from servers to browsers. Question 2. What is the main function of DNS in web architecture? A) Encrypting data B) Assigning IP addresses to servers C) Translating domain names to IP addresses D) Managing database connections Answer: C Explanation: DNS (Domain Name System) translates readable domain names into numerical IP addresses so browsers can load resources from the correct server. Question 3. Which tag is used to define the root of an HTML document? A) B) C) D) Answer: C Explanation: The tag defines the root of an HTML document, containing all other HTML elements.

Question 4. What does the declaration do? A) Links a CSS file B) Declares the HTML version C) Starts the body content D) Specifies document encoding Answer: B Explanation: tells the browser that the document uses HTML5, ensuring proper rendering. Question 5. Which HTTP method is used to request data from a server without modifying it? A) POST B) GET C) PUT D) DELETE Answer: B Explanation: The GET method requests data from a server without causing any side effects or changes on the server. Question 6. Which element would you use to define navigation links in your page? A) B) C) D) Answer: A Explanation: The tag is intended for navigation links, making it semantically clear to users and assistive technologies.

Question 10. What is the main difference between HTTP and HTTPS? A) One uses JSON, the other XML B) HTTPS encrypts data; HTTP does not C) HTTP is for emails D) HTTPS is used only for images Answer: B Explanation: HTTPS (Hypertext Transfer Protocol Secure) encrypts data for secure communication, while HTTP does not. Question 11. Which input type is best for collecting email addresses in a form? A) text B) email C) password D) number Answer: B Explanation: The input type "email" enables validation for email address format and brings up a suitable keyboard on mobile devices. Question 12. What is the role of the attribute in an tag? A) Specifies image size B) Provides alternative text for accessibility C) Links to a different page D) Animates the image Answer: B Explanation: The alt attribute gives descriptive text for images, assisting users with screen readers and improving SEO.

Question 13. Which JavaScript keyword declares a variable whose value cannot be reassigned? A) var B) let C) const D) static Answer: C Explanation: The const keyword creates a variable with a constant value that cannot be reassigned. Question 14. What does CSS specificity determine? A) The size of elements B) Which CSS rule applies when multiple rules target the same element C) The order of JavaScript execution D) The HTML structure Answer: B Explanation: Specificity determines which CSS selector takes precedence when multiple rules could apply. Question 15. What is the default display property of elements in CSS? A) inline B) block C) flex D) grid Answer: B Explanation: elements are block-level elements by default, meaning they take up the full available width.

Question 19. What is the function of getElementById in JavaScript? A) Returns all elements in the document B) Selects an element by its class C) Returns the first element with a specific ID D) Changes the document title Answer: C Explanation: getElementById retrieves a single element by its unique ID attribute. Question 20. Which HTML element is used for the main heading of a page? A) B) C) D) <main> Answer: A Explanation: <h1> is reserved for the main heading, representing the highest-level heading on a page. Question 21. Which of the following tags would you use to define a table header cell? A) <td> B) <tr> C) <th> D) <thead> Answer: C Explanation: <th> defines a table header cell, typically displayed in bold and centered. Question 22. Which CSS rule would make all paragraphs have a font size of 18px?

A) p { font-size: 18px; } B) .p { font-size: 18px; } C) #p { font-size: 18px; } D)

{ font-size: 18px; } Answer: A Explanation: p is the correct selector for all

elements. Question 23. What does the

element represent in HTML5? A) Top section of a page B) Side navigation C) Bottom section containing copyright, links D) Main article Answer: C Explanation: is used for the bottom section of a page or section, typically including copyright and related links. Question 24. Which CSS property creates space inside an element, between the content and border? A) margin B) padding C) border-spacing D) outline Answer: B Explanation: Padding adds space inside the element, between the content area and its border. Question 25. Which input type in HTML masks the characters entered by the user? A) email

C) /* comment */ D) ## comment Answer: B Explanation: JavaScript single-line comments use //. Question 29. Which is the correct way to link a CSS file to your HTML document? A)
D) Styles input Answer: B Explanation: improves accessibility by linking descriptive text to form controls. Question 32. Which operator checks both value and type equality in JavaScript? A) == B) === C) = D) != Answer: B Explanation: === checks for both value and type equality. Question 33. Which CSS property would you use to set the background image of an element? A) image B) background-image C) img-background D) background-src Answer: B Explanation: background-image sets a background image for an element. Question 34. What does FTP stand for in the context of web hosting? A) File Transfer Protocol B) Fast Transfer Process C) File Type Provider D) File Tracking Program Answer: A

Question 38. What is the default value of the position property in CSS? A) relative B) static C) fixed D) absolute Answer: B Explanation: By default, elements have position: static in CSS. Question 39. Which tag defines an unordered list in HTML? A) B) C) D) Answer: B Explanation: is used for unordered (bulleted) lists. Question 40. Which HTTP status code means “Not Found”? A) 200 B) 301 C) 404 D) 500 Answer: C Explanation: 404 indicates that the requested resource was not found on the server. Question 41. Which JavaScript method removes the last element from an array?

A) push() B) pop() C) shift() D) splice() Answer: B Explanation: pop() removes the last element from an array. Question 42. What does the element represent in HTML5? A) The page’s main navigation B) The site footer C) The dominant content of the D) A sidebar Answer: C Explanation: contains the central content unique to the page. Question 43. Which of the following is a valid way to create a comment in CSS? A) // comment B) C) /* comment / D) ## comment ## Answer: C Explanation: CSS uses / comment */ for both single and multi-line comments. Question 44. Which HTML5 tag is used to embed a video? A) B)

Answer: B Explanation: margin: auto; centers block elements with a defined width. Question 48. Which HTML tag is used for the largest heading? A) B) C) D) Answer: B Explanation: <h1> is the largest heading tag. Question 49. Which color value format is NOT valid in CSS? A) #FF B) rgb(255, 0, 0) C) hsl(120, 100%, 50%) D) cmyk(0, 100, 100, 0) Answer: D Explanation: CSS does not support the cmyk() color format. Question 50. What does the HTML <meta charset="UTF-8"> tag specify? A) The page author B) The character encoding C) The page language D) The stylesheet Answer: B Explanation: It specifies the character encoding for the document, ensuring correct text display.

Question 51. Which CSS layout module is best for creating complex two-dimensional layouts? A) Flexbox B) Grid C) Float D) Inline Answer: B Explanation: CSS Grid is designed for two-dimensional (row and column) layouts. Question 52. Which of the following is a JavaScript data type? A) float B) double C) boolean D) character Answer: C Explanation: "boolean" is a JavaScript data type representing true or false. Question 53. What is the purpose of the element? A) Embeds navigation links B) Inserts a table C) Adds an image D) Styles text Answer: A Explanation: is used for sections containing navigation links.

A) B) C) D) Answer: A Explanation: defines a table row. Question 58. What is the purpose of the tag? A) Marks a generic container B) Represents a standalone thematic grouping of content C) Defines a table section D) Inserts a script Answer: B Explanation: is for grouping related content, often with its own heading. Question 59. Which CSS selector will select all

elements inside a

? A) div, p B) div p C) div.p D) .div p Answer: B Explanation: div p selects all

elements that are descendants of a

. Question 60. Which JavaScript keyword is used to define a function? A) method B) func

C) function D) def Answer: C Explanation: The function keyword defines a new function in JavaScript. Question 61. What is the main advantage of using external stylesheets? A) Faster load times B) Reduced code duplication C) No need for HTML D) Inline CSS is required Answer: B Explanation: External stylesheets enable code reuse and easier maintenance across multiple pages. Question 62. Which input type is used to select a file from the user’s device? A) text B) file C) select D) url Answer: B Explanation: The file input type allows users to choose a file to upload. Question 63. How do you write a multi-line comment in JavaScript? A) // comment B) C) /* comment */