Docsity

WOW Certified Professional Web Developer Exam, Exams of Technology

Toggle sidebar
bg1
WOW Certified Professional Web Developer Exam
Question 1. Which protocol is primarily responsible for establishing a connection between a client and
server before data transfer begins?
A) HTTP
B) TCP
C) DNS
D) HTTPS
Answer: B
Explanation: TCP (Transmission Control Protocol) establishes a reliable connection between client and
server before data transfer, ensuring ordered and error-checked delivery.
Question 2. What is the main purpose of DNS in web communication?
A) To secure data transfer
B) To resolve domain names to IP addresses
C) To route HTTP requests
D) To encrypt web traffic
Answer: B
Explanation: DNS (Domain Name System) translates human-readable domain names into IP addresses,
facilitating web navigation.
Question 3. Which HTML5 element is most appropriate for defining the main content of a webpage?
A) <header>
B) <main>
C) <section>
D) <article>
Answer: B
Explanation: <main> semantically represents the dominant content of the <body>, helping browsers and
assistive technologies identify the core content.
Question 4. Which attribute is essential for images to improve accessibility in HTML?
A) src
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

Partial preview of the text

Download WOW Certified Professional Web Developer Exam and more Exams Technology in PDF only on Docsity!

Question 1. Which protocol is primarily responsible for establishing a connection between a client and server before data transfer begins? A) HTTP B) TCP C) DNS D) HTTPS Answer: B Explanation: TCP (Transmission Control Protocol) establishes a reliable connection between client and server before data transfer, ensuring ordered and error-checked delivery. Question 2. What is the main purpose of DNS in web communication? A) To secure data transfer B) To resolve domain names to IP addresses C) To route HTTP requests D) To encrypt web traffic Answer: B Explanation: DNS (Domain Name System) translates human-readable domain names into IP addresses, facilitating web navigation. Question 3. Which HTML5 element is most appropriate for defining the main content of a webpage? A) B) C) D) Answer: B Explanation: semantically represents the dominant content of the , helping browsers and assistive technologies identify the core content. Question 4. Which attribute is essential for images to improve accessibility in HTML? A) src

B) alt C) title D) href Answer: B Explanation: The alt attribute provides alternative text for images, essential for screen readers and accessibility. Question 5. In CSS, which selector targets elements with a specific class? A) # B). C) * D) [] Answer: B Explanation: The dot (.) selector targets elements with a specified class, e.g., .classname. Question 6. Which CSS property controls the stacking order of overlapping elements? A) z-index B) position C) float D) display Answer: A Explanation: z-index specifies the stack level of elements, determining which appears on top when elements overlap. Question 7. Which HTML element is recommended for embedding a video player? A) B) C) D)

A) useEffect B) useState C) useContext D) useRef Answer: B Explanation: useState allows functional components to have state variables that can change over time. Question 12. In React, what does JSX syntax resemble? A) Traditional JavaScript functions B) HTML-like syntax within JavaScript C) CSS styles D) XML documents only Answer: B Explanation: JSX allows writing HTML-like syntax directly within JavaScript, which React transforms into JavaScript calls. Question 13. Which Node.js package manager is most commonly used for managing dependencies? A) yarn B) npm C) pip D) composer Answer: B Explanation: npm (Node Package Manager) is the default package manager for Node.js, used for managing libraries and dependencies. Question 14. Which Express.js method is used to define a route that responds to GET requests? A) app.post() B) app.get() C) app.put()

D) app.delete() Answer: B Explanation: app.get() defines a route handler for HTTP GET requests. Question 15. Which SQL command is used to retrieve data from a database? A) INSERT B) SELECT C) UPDATE D) DELETE Answer: B Explanation: SELECT queries are used to retrieve data from database tables. Question 16. Which SQL operation is used to combine rows from two or more tables based on related columns? A) UNION B) JOIN C) GROUP BY D) ORDER BY Answer: B Explanation: JOIN combines rows from multiple tables based on related columns, enabling complex queries across tables. Question 17. What does ORM stand for? A) Object-Relational Model B) Object-Relational Mapper C) Object-Relational Management D) Object-Relation Mapping Answer: B Explanation: ORM (Object-Relational Mapper) is a tool that facilitates interaction between object- oriented programming languages and relational databases.

A) git clone B) git branch C) git checkout D) git merge Answer: B Explanation: git branch creates a new branch in the repository, allowing parallel development. Question 22. Which web server software is commonly used as a reverse proxy and load balancer? A) Apache B) Nginx C) IIS D) Tomcat Answer: B Explanation: Nginx is widely used as a reverse proxy, load balancer, and web server due to its high performance. Question 23. What is the primary purpose of minification in web development? A) To improve code readability B) To reduce file size and improve load times C) To add comments to code D) To convert code to an older JavaScript version Answer: B Explanation: Minification removes unnecessary characters to reduce file size, enhancing page load speed. Question 24. Which HTTP status code indicates a successful GET request? A) 200 B) 404 C) 500

D) 301

Answer: A Explanation: 200 OK indicates that the request was successful and the server returned the requested data. Question 25. Which attribute in an HTML form element specifies the URL to send form data to? A) method B) action C) enctype D) target Answer: B Explanation: The action attribute defines the URL where form data is submitted. Question 26. In CSS, which property is used to create a flexible layout that adjusts to the viewport size? A) float B) display: block C) display: flex D) position: absolute Answer: C Explanation: display: flex activates Flexbox, enabling flexible and responsive layout arrangements. Question 27. Which JavaScript feature allows a function to be called after an asynchronous operation completes? A) callback B) promise C) async/await D) all of the above Answer: D Explanation: All listed options—callback functions, promises, and async/await—are mechanisms for handling asynchronous operations.

B) HAVING

C) GROUP BY

D) ORDER BY

Answer: A Explanation: WHERE filters rows in SQL queries based on specified conditions. Question 32. Which NoSQL database type is best suited for storing key-value pairs? A) Document B) Key-value C) Column-family D) Graph Answer: B Explanation: Key-value stores, like Redis, store data as pairs of keys and their associated values for quick lookup. Question 33. What is one benefit of using an ORM? A) Direct SQL queries without abstraction B) Simplifies database interactions with object-oriented code C) Eliminates the need for database schema design D) Provides real-time data streaming Answer: B Explanation: ORMs abstract database interactions, allowing developers to work with objects instead of raw SQL, simplifying development. Question 34. Which vulnerability involves an attacker injecting malicious scripts that execute in a victim's browser? A) SQL Injection B) XSS C) CSRF D) XXE

Answer: B Explanation: XSS attacks inject malicious scripts into trusted sites, which execute in the browser of other users. Question 35. Which header is used to prevent clickjacking attacks? A) Content-Security-Policy B) X-Frame-Options C) Access-Control-Allow-Origin D) Strict-Transport-Security Answer: B Explanation: X-Frame-Options prevents a webpage from being framed to mitigate clickjacking. Question 36. Which Git command is used to merge two branches? A) git clone B) git merge C) git rebase D) git checkout Answer: B Explanation: git merge combines the histories of two branches. Question 37. Which server configuration is essential for enabling HTTPS? A) SSL certificate installation B) Content Security Policy headers C) CORS configuration D) Enable Gzip compression Answer: A Explanation: Installing an SSL certificate is necessary for enabling secure HTTPS connections. Question 38. In CSS, which property is used to add space inside the element's border?

Answer: B Explanation: git init creates a new local repository. Question 42. Which HTTP status code indicates that a resource has been permanently moved to a new URL? A) 301 B) 302 C) 404 D) 500 Answer: A Explanation: 301 Moved Permanently indicates that the resource has a new URL, and browsers should update their bookmarks. Question 43. Which HTML attribute is used to specify alternative text for an anchor link? A) title B) href C) alt D) aria-label Answer: A Explanation: The title attribute provides additional information about the link. Question 44. Which CSS property is used to control the visibility of elements without removing them from the document flow? A) display B) visibility C) opacity D) z-index Answer: B Explanation: visibility: hidden hides the element but keeps its space in the layout; display: none removes it completely.

Question 45. Which JavaScript feature allows splitting an array into subarrays based on a separator? A) splice B) slice C) split D) reduce Answer: C Explanation: split is used to split strings, not arrays; for arrays, methods like splice and slice are used. (Note: split is for strings) Question 46. Which React hook is used to perform side effects such as data fetching? A) useState B) useEffect C) useContext D) useRef Answer: B Explanation: useEffect runs side effects after rendering, suitable for data fetching and subscriptions. Question 47. What is the main purpose of Webpack in front-end development? A) To manage dependencies B) To bundle, transpile, and optimize assets C) To serve static files D) To handle routing Answer: B Explanation: Webpack bundles JavaScript modules, transpiles code, and optimizes assets for production. Question 48. Which SQL command is used to insert new records into a table? A) SELECT B) INSERT

Answer: B Explanation: git push uploads local commits to the remote repository. Question 52. Which server software is most suitable for serving static files efficiently? A) Apache B) Nginx C) IIS D) Tomcat Answer: B Explanation: Nginx is highly efficient at serving static assets due to its event-driven architecture. Question 53. What is the purpose of the 'meta viewport' tag in HTML? A) To set character encoding B) To control layout on mobile devices C) To specify the page title D) To include external CSS files Answer: B Explanation: The meta viewport tag helps control layout and scaling on mobile devices for responsive design. Question 54. Which CSS property is used to change the font size of text? A) font-family B) font-size C) font-weight D) line-height Answer: B Explanation: font-size sets the size of the font. Question 55. Which JavaScript method is used to parse a JSON string into an object?

A) JSON.parse() B) JSON.stringify() C) eval() D) toJSON() Answer: A Explanation: JSON.parse() converts a JSON string into a JavaScript object. Question 56. Which React feature allows sharing data across multiple components without prop drilling? A) Redux B) Context API C) Hooks D) State lifting Answer: B Explanation: Context API provides a way to pass data through the component tree without prop drilling. Question 57. Which command initializes a new branch in Git? A) git branch [branch-name] B) git checkout [branch-name] C) git clone D) git merge [branch-name] Answer: A Explanation: git branch creates a new branch with the specified name. Question 58. Which HTTP status code indicates that the client must authenticate itself to get the requested response? A) 401 B) 403 C) 404 D) 500

Question 62. Which React hook is used to create a reference to DOM elements? A) useState B) useEffect C) useRef D) useContext Answer: C Explanation: useRef creates a mutable reference to DOM elements or values that persist across renders. Question 63. Which command in Git is used to download changes from a remote repository? A) git clone B) git pull C) git push D) git fetch Answer: B Explanation: git pull fetches and integrates remote changes into the current branch. Question 64. Which HTTP header is used to specify content type in a request or response? A) Content-Type B) Accept C) Authorization D) Cache-Control Answer: A Explanation: Content-Type indicates the media type of the resource being sent or received. Question 65. Which HTML element is used to group related form elements? A) B) C) D)

Answer: B Explanation: groups related controls within a form for better organization and accessibility. Question 66. Which CSS property is used to create space outside an element's border? A) padding B) margin C) border D) outline Answer: B Explanation: margin creates space outside the element’s border, separating it from neighboring elements. Question 67. Which JavaScript feature allows handling multiple asynchronous operations simultaneously? A) Promise.all() B) async/await C) setTimeout() D) both A and B Answer: D Explanation: Promise.all() handles multiple promises concurrently, and async/await simplifies async code. Question 68. Which React hook is used to manage side effects such as subscriptions or data fetching? A) useState B) useEffect C) useRef D) useReducer Answer: B Explanation: useEffect executes side effects after render, such as fetching data or subscribing to events.