















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This certification focuses on web development technologies including HTML, CSS, JavaScript, and frontend/backend integration. It is awarded by BeingCert. The exam assesses website design and application development skills.
Typology: Exams
1 / 55
This page cannot be seen from the preview
Don't miss anything!
















































Question 1. Which HTML5 element is most appropriate for grouping a set of navigation links? A) B) C) D) Answer: B Explanation: The element semantically defines a block of navigation links, improving accessibility and SEO. Question 2. In an HTML5 document, what is the purpose of the declaration? A) To enable CSS styling B) To set the character encoding C) To trigger standards-mode rendering in browsers D) To load external JavaScript files Answer: C Explanation: The DOCTYPE tells browsers to render the page in standards mode rather than quirks mode. Question 3. Which attribute makes an field mandatory before form submission? A) required B) validate C) mandatory D) checked Answer: A
Explanation: The required boolean attribute forces the user to fill the field before the form can be submitted. Question 4. Which of the following is a global attribute that can be used on any HTML element? A) src B) alt C) class D) href Answer: C Explanation: class is a global attribute applicable to any element for CSS styling and scripting. Question 5. Which CSS selector has the highest specificity? A) div p B) #main .item C) .article > h D) [data-type="card"] Answer: B Explanation: ID selectors (#main) have higher specificity than class, attribute, or type selectors. Question 6. In the CSS box model, which property adds space outside the border? A) padding B) margin C) border-width D) outline
D) Defines a gap of 1 fr between columns Answer: A Explanation: fr units distribute free space; 2fr makes the second column occupy twice the fraction of the first. Question 10. Which JavaScript keyword creates a block-scoped variable that cannot be reassigned? A) var B) let C) const D) static Answer: C Explanation: const declares a block-scoped constant; its binding cannot be changed after initialization. Question 11. Which data type in JavaScript represents an ordered collection of values? A) Object B) Array C) Map D Set Answer: B Explanation: An Array stores ordered elements accessible by numeric indices. Question 12. What will the following code output?
let x = 0; ## Developer Ultimate Exam for (let i = 0; i < 3; i++) { x += i; } console.log(x);A) 0 B) 3 C) 6 D) 9 Answer: B Explanation: The loop adds 0 + 1 + 2 = 3 to x. Question 13. Which statement correctly defines an arrow function that returns the square of a number? A) function(x) => x * x; B) (x) => { return x * x; } C) (x) => x * x; D) => (x) { x * x } Answer: C Explanation: (x) => x * x is the concise arrow syntax with an implicit return. Question 14. Which DOM method returns the first element that matches a CSS selector? A) getElementById() B) querySelectorAll() C) querySelector() D) getElementsByClassName()
C) All images must be served via . D) Flexbox cannot be used. Answer: B Explanation: Mobile-first approaches start with default (mobile) styles and add min-width queries for larger viewports. Question 18. Which CSS property makes an image scale proportionally while never exceeding its container’s width? A) max-height: 100%; B) width: 100%; height: auto; C) object-fit: cover; D) display: inline-block; Answer: B Explanation: Setting width: 100% and height: auto preserves aspect ratio and limits the image to the container’s width. Question 19. Which of the following is NOT a valid Flexbox value for flex- direction? A) row B) column-reverse C) stack D) row-reverse Answer: C Explanation: stack is not a Flexbox direction; valid values are row, row- reverse, column, column-reverse. Question 20. What is the primary benefit of using CSS Grid over Flexbox for layout?
A) Better support in older browsers B) Simpler one-dimensional layout C) Native handling of two-dimensional grid structures D) Automatic image optimization Answer: C Explanation: CSS Grid excels at two-dimensional (rows + columns) layout, whereas Flexbox is primarily one-dimensional. Question 21. Which testing technique helps ensure that a web page works the same across Chrome, Firefox, and Safari? A) Unit testing B) Cross-browser testing C) Load testing D) Mutation testing Answer: B Explanation: Cross-browser testing validates functionality and appearance in multiple browsers. Question 22. Which JavaScript library is commonly used for feature detection rather than browser sniffing? A) Modernizr B) jQuery C) Lodash D) Axios Answer: A Explanation: Modernizr detects support for HTML/CSS features, avoiding reliance on user-agent strings.
Question 26. Which image format provides lossless compression and supports transparency, making it ideal for icons? A) JPEG B) GIF C) WebP D) SVG Answer: D Explanation: SVG is a vector format that is lossless, scalable, and can include transparency. Question 27. Which technique reduces the amount of JavaScript that must be parsed on initial page load? A) Inlining all scripts B) Lazy loading with defer or async attributes C) Increasing the max-connections setting in the server D) Disabling caching Answer: B Explanation: defer or async allow scripts to load without blocking HTML parsing, improving perceived performance. Question 28. Which HTTP header informs the browser that a resource may be cached for 1 hour? A) Cache-Control: max-age= B) Expires: 3600 C) ETag: 3600 D) Pragma: cache-hour Answer: A
Explanation: Cache-Control: max-age=3600 specifies a freshness lifetime of 3600 seconds (1 hour). Question 29. Which of the following is a primary advantage of serving assets from a CDN? A) Guarantees zero latency B) Automatic code minification C) Geographically distributed servers reduce latency for end users D) Eliminates need for SSL/TLS Answer: C Explanation: CDNs cache content on edge servers close to users, decreasing round-trip time. Question 30. In Node.js, which core module provides utilities for creating an HTTP server? A) fs B) http C) url D) net Answer: B Explanation: The http module offers createServer() to handle HTTP requests and responses. Question 31. Which HTTP method is conventionally used to retrieve data without causing side effects? A) POST B) PUT C) GET
B) MODIFY users ADD age INT; C) UPDATE users SET age = NULL; D) INSERT INTO users (age) VALUES (NULL); Answer: A Explanation: ALTER TABLE … ADD COLUMN adds a column definition to an existing table. Question 35. In a relational database, which keyword is used to retrieve only distinct rows? A) UNIQUE B) DISTINCT C) SEPARATE D) ONLY Answer: B Explanation: SELECT DISTINCT removes duplicate rows from the result set. Question 36. Which NoSQL database model stores data as JSON-like documents? A) Key-Value Store B) Column-Family Store C) Document Store D) Graph Database Answer: C Explanation: Document stores (e.g., MongoDB) persist data in BSON/JSON structures. Question 37. Which CRUD operation corresponds to the HTTP PUT method?
A) Create B) Read C) Update D) Delete Answer: C Explanation: PUT is typically used to replace or update an existing resource. Question 38. Which of the following is a standard format for transmitting structured data over HTTP? A) CSV B) JSON C) DOCX D) PDF Answer: B Explanation: JSON is lightweight, language-agnostic, and widely used for API payloads. Question 39. Which authentication scheme involves a token signed with a secret key that the server can verify without storing session state? A) Basic Auth B) OAuth 2.0 Authorization Code C) JWT (JSON Web Token) D) API Key Answer: C Explanation: JWTs contain claims and a signature, allowing stateless verification.
Question 43. Which technique helps prevent SQL injection in server-side code? A) String concatenation of user input into queries B) Escaping special characters manually C) Using prepared statements / parameterized queries D) Disabling the database altogether Answer: C Explanation: Prepared statements separate code from data, eliminating injection vectors. Question 44. Which cryptographic protocol provides secure communication over the Internet? A) FTP B) SMTP C) TLS D) SSH Answer: C Explanation: TLS (Transport Layer Security) encrypts data in transit, commonly used with HTTPS. Question 45. When storing passwords, which method is considered best practice? A) Plain text storage B) Base64 encoding C) Salted hashing with a strong algorithm (e.g., bcrypt) D) Reversible encryption with a static key Answer: C
Explanation: Salted hashes protect against rainbow-table attacks and make brute-forcing harder. Question 46. Which Git command creates a new branch named feature/login and switches to it? A) git branch feature/login B) git checkout -b feature/login C) git switch feature/login D) git init feature/login Answer: B Explanation: git checkout -b creates and checks out the new branch in one step. Question 47. Which command stages all modified files for the next commit? A) git add. B) git commit -a C) git push origin D) git merge --all Answer: A Explanation: git add. adds all changes in the current directory to the staging area. Question 48. In Git, which command displays the commit history in a one-line-per-commit format? A) git log –oneline B) git status –short C) git diff –summary
B) Grunt C) Webpack D) Babel Answer: C Explanation: Webpack creates dependency graphs and bundles assets into files consumable by browsers. Question 52. Which of the following statements about Babel is true? A) It minifies CSS files. B) It transpiles modern JavaScript (ES6+) to older syntax for compatibility. C) It serves as a web server. D) It replaces the need for HTML. Answer: B Explanation: Babel converts newer JavaScript features into code that runs on older browsers. Question 53. In a CI/CD pipeline, which stage typically runs automated tests after code is built? A) Deploy B) Build C) Test D) Release Answer: C Explanation: The Test stage executes unit/integration tests to validate the build before deployment. Question 54. Which WCAG principle ensures that content is understandable to users?
A) Perceivable B) Operable C) Understandable D) Robust Answer: C Explanation: The Understandable principle requires readable text, predictable navigation, and clear instructions. Question 55. Which ARIA attribute indicates that an element is a button? A) role="button" B) aria-label="button" C) aria-button="true" D) data-role="button" Answer: A Explanation: role="button" explicitly defines the element’s purpose for assistive technologies. Question 56. Which HTML element provides the most semantic meaning for a block of introductory content? A) B) C) D) Answer: C Explanation: represents introductory or navigational aids for a section or page.