Browse all practice questions for the WDI General Assembly Assessment Practice Test. Search by topic, open any question and review its full explanation, then test yourself in the practice quiz.

Ace the 2026 WDI General Assembly Assessment – Ignite Your Future! course image
All questions

These questions are part of the practice quiz. Start practicing

  • Which of the following is the correct syntax for reassigning (updating) the value of the variable winner?
  • What is the primary purpose of HTML?
  • What correction would fix the syntax error in the superman object?
  • What does TDD stand for in software development?
  • If you want the text to be centered, colored blue, and in Times New Roman, what are the correct CSS properties?
  • What does JSON stand for?
  • What term describes the complete history and changes of a project in version control?
  • What is the purpose of cookies in web development?
  • What is the virtual DOM used for in React?
  • How would you call the orderPizzas function to log 'You'll need to order 6 pizzas.' to the console?
  • What can you expect from using a linter during development?
  • What is the purpose of the 'bind' method in JavaScript?
  • What can result from improper management of event handlers?
  • What command should Shakira use to rename "untitled_essay.doc" to "draft1.doc"?
  • What is the role of HTTPS in web communication?
  • What is a function expression in JavaScript?
  • How would you declare a variable called fullName that contains both John's first and last name?
  • If x is 10, where will the categorize function stop execution?
  • How does Node.js enhance the performance of web applications?
  • Which of the following is the correct syntax for a comment in JavaScript?
  • What does the "this" keyword refer to in JavaScript?
  • What role does the event queue play in managing event execution?
  • What is the purpose of version control?
  • How does CSS specificity work?
  • Is http://www.google.com an example of a domain name?
  • What does the term 'synchronous programming' refer to?
  • What do web browsers do with HTML content?
  • What is server-side rendering (SSR) primarily used for in web development?
  • When using objects, how are values accessed?
  • True or False: Never separate how your site looks from what your site says.
  • What is the difference between var, let, and const in JavaScript?
  • What is the main purpose of the 'async' and 'await' keywords in JavaScript?
  • What does the <h1> tag represent in HTML?
  • How can errors be managed in JavaScript?
  • What is denoted by the tilde symbol (~) in Unix-like systems?
  • What will be logged to the console for the age variable defined as 21?
  • What is a RESTful API?
  • What type of data is primarily handled by localStorage?
  • At the end of his session, what does Adrian's home directory contain?
  • What does an absolute path refer to?
  • In which scenario would you likely use an event handler?
  • What is the purpose of `git fetch`?
  • What is GitHub?
  • What will the following expression evaluate to: "8" + "6"?
  • What syntax is used to create a comment in JavaScript?
  • What are web components?
  • At the beginning of her terminal session, what was Ada's working directory?
  • In the add function, which usage of x would cause a scope error?
  • Which of the following is an example of a common inline tag?
  • What character typically represents a user's home directory in Unix-like systems?
  • What does separating HTML and CSS primarily provide?
  • What would the command `git status` display?
  • How can a simple web server be created with Node.js?
  • In the command line, what does the tilde (~) symbol represent?
  • What does the variable numberPizzas calculate when using the orderPizzas function?
  • What is the output of loginInfo.password before changing it?
  • Which method is used to select an element in jQuery?
  • What does the home directory in a Unix-like operating system represent for each user?
  • What is a key difference between synchronous and asynchronous JavaScript?
  • True or False: Assigning a few elements different background colors is a good way to visualize how inline and block elements interact.
  • What is the DOM in web development?
  • In a React application, what is the purpose of the 'useState' hook?
  • What does jQuery simplify in JavaScript?
  • What is the primary purpose of the 'fetch' API in JavaScript?
  • What is the significance of the 'console.log()' function in JavaScript?
  • What is the primary use of JSON objects in programming?
  • What result does the expression "this.firstName + ' ' + this.lastName" yield in the revealIdentity method?
  • Which of the following is an example of an MVC framework in JavaScript?
  • What is the primary function of HTML?
  • What will be the output if the lightOrDark function is called with an hour of 8?
  • Which command is used to clone a repository in Git?
  • Which of the following techniques is primarily used in TDD?
  • What is the use of the <form> tag in HTML?
  • How is state managed in React function components?
  • What will happen to all HTML content with the class attribute "goodstuff" according to the provided CSS rule?
  • What distinguishes a GET request from a POST request?
  • What enhances readability in asynchronous JavaScript programming?
  • Which of the following is an example of a user action that could trigger an event handler?
  • In the context of an event queue, what determines the order of handler execution?
  • What is a primary function of a content delivery network (CDN)?
  • Which of the following is required for a correct HTML document structure?
  • Which feature is primarily associated with responsive design?
  • When using the makeNoise method in the dog object, why is "this.noise" used?
  • What does the 'rm' command do in a command line environment?
  • When calling the function orderPizzas, what is the formula used to calculate the required number of pizzas?
  • According to best practices, class selectors are used to style which of the following?
  • What role does HTML5 play in web development?
  • What does the 'map' method do in JavaScript arrays?
  • Which of the following statements about event handlers is true?
  • What does the term 'responsive design' mean in web development?
  • What does the 'src' attribute in an <img> tag specify?
  • What does the numerical label associated with internet devices and websites called?
  • What is the use of JSON in web development?
  • What is a promise in JavaScript?
  • What data type do functions commonly return in JavaScript?
  • What does the <p> tag define in an HTML document?
  • What are some strategies to optimize a website's loading speed?
  • Which symbol is often used to denote a home directory in command line prompts?
  • What is a 'diff' operation used for in version control systems?
  • How can you change the value for the username key in the loginInfo object to "GA-Staff"?
  • How do you define a function in JavaScript?
  • Which CSS property is commonly used to change the text color of an element?
  • Which of the following concepts is essential for understanding how event handlers function?
  • What does CSS stand for?
  • In CSS, what does the 'padding' property do?
  • In JavaScript, what keyword is used to declare a variable?
  • What is the purpose of the 'require' function in Node.js?
  • What is AJAX and its purpose in web applications?
  • What is a benefit of using a virtual DOM?
  • What is the key advantage of server-side rendering for SEO?
  • Name one type of loop in JavaScript.
  • What is the main responsibility of a front-end developer?
  • What does npm stand for in the context of JavaScript?
  • How can a developer create a CSS grid layout?
  • What are the advantages of using a framework like Bootstrap?
  • What will happen if you try to access an undefined property in an object?
  • What is the correct syntax for an anchor tag that links to ebay.com with the text "Buy This!"?
  • What are media queries used for in CSS?
  • What files and directories does Jin's desktop contain?
  • True or False: A span tag applies meaning to content.
  • What does cross-origin resource sharing (CORS) control?
  • What is the purpose of the DOM in web development?
  • An element in the HTML document is represented by what type of object?
  • What is the primary goal of responsive web design?
  • What is the function of the Document Object Model (DOM)?
  • What does the following CSS rule do? p{ color: rgb(0,0,255); background-color: rgb(0,0,0); }
  • What is a repository?
  • What command should you use to show a list of all the commits made in a repository?
  • Which CSS property changes the opacity of text?
  • Which files does Jin's computer desktop specifically contain?
  • What is the difference between font-weight and font-size?
  • Which of the following best describes the goal of authentication in web applications?
  • What is a key benefit of using event delegation?
  • Why is version control important in software development?
  • Which of the following is a valid input for the document.querySelector() method?
  • What is the primary role of a web server?
  • Which statement does NOT accurately describe the Document Object Model (DOM)?
  • How are 'push' and 'pull' actions defined in Git?
  • What is the primary purpose of an event handler in programming?
  • What does CRUD stand for in the context of web applications?
  • Which of the following is the main function of an ID selector in CSS?
  • What is a closure in JavaScript?
  • What will be logged to the console when calling the makeNoise method on the dog object?
  • What does the staging process in Git entail?
  • True or False: Class selectors are used to style an entire HTML document.
  • What code would you use to call the scribble method for the pencil object?
  • What is the purpose of a CSS selector?
  • What is Git?
  • What is a relative path in file navigation?
  • What characteristic of events allows event handlers to be triggered at random times?
  • What attribute is used in an anchor tag to specify the link destination?
  • What is the main purpose of a server in the context of internet usage?
  • What is one of the main roles of a CDN in web applications?
  • What is the purpose of cloning a Git repository?
  • What is a single-page application (SPA)?
  • Which of the following statements about closures is true?
  • In the provided code, which of the following is an argument?
  • Why is semantic HTML important?
  • What type of address is being used in the src attribute in the following code: <img src="images/best-quiz-ever.jpg">?
  • Which CSS rule would make every letter in an h1 element capitalize?
  • What is the primary purpose of using a linter in JavaScript?
  • Which property controls the text size in CSS?
  • In the CSS code provided, is 'top' a class or an ID?
  • What is the main difference between a GET request and a POST request?
  • Which CSS property is used to change the text color of HTML elements?
  • In the dog object, what does "this" refer to within the makeNoise method?
  • How do you update your remote repository to include the changes you've committed in your local repository?
  • Why is responsive web design important for users?
  • What is the function of the 'fetch' API in JavaScript?
  • Which of the following is an example of a common block tag?
  • What will be logged to the console when the orderPizzas function is called with 9?
  • What is a task runner like Gulp or Grunt used for?
  • What is the function of the 'src' attribute in an image tag?
  • What do tags assign to content in HTML?
  • What does the acronym SQL stand for in database management?
  • Which statement about the virtual DOM is true?
  • Which HTML tag is used to create a hyperlink?
  • What will the last statement evaluate to when comparing x and y?
  • In the command line interface, what does the command 'ls' typically display?
  • What does a repository in version control contain?
  • What HTML element is used to define an internal CSS style sheet?
  • What does the property ‘font-weight: 800;’ in a CSS rule signify?
  • Which method would you use to handle state in a class component within React?
  • What typically triggers a system event?
  • How are event handler functions managed within the DOM?
  • What does a JavaScript promise represent?
  • What was Ada's working directory at the end of her terminal session?
  • Which keyword is commonly used to implement semantic HTML elements?
  • In CSS, which type of selector is generally avoided due to its specificity issues?
  • What does a remote repository refer to in the context of Git?
  • What is the purpose of JavaScript frameworks like React or Angular?
  • Which code correctly accesses the password property of the loginInfo object using dot notation?
  • What does the term "internet" signify?
  • What does HTML stand for?
  • How can we access the value of the variable favoriteMovie?
  • What does an ORM (Object-Relational Mapping) allow developers to do?
  • What does cross-site scripting (XSS) refer to?
  • What does 'minification' refer to in web development?
  • In the provided code, which of the following is a parameter?
  • What is the primary programming language taught in WDI?
  • What is the function of localStorage in web development?
  • In which scenarios would JSON be preferable to XML?
  • Which tag is missing in the HTML boilerplate provided?
  • What would the Git command `git init` do?
  • What command would be used to delete a branch locally?
  • What is a RESTful API?
  • What does the 'this' keyword refer to in JavaScript?
  • What does a 'commit' in version control signify?
  • What is the purpose of HTML in web development?
  • What is responsive web design?
  • What does the fetch API return if the request is successful?
  • What type of computers are specifically used to host website files?
  • What does CSS stand for, and what is its role in web development?
  • What benefit does try-catch offer in JavaScript?
  • What does the 'return' statement do in a function?
  • What is the purpose of the 'serve' method in Express.js?
  • How do you define a CSS variable?
  • What does "responsive design" refer to?
  • Why is data validation significant in web forms?
  • What happens to event handler functions when multiple events are triggered?
  • When multiple events occur simultaneously, how does the system determine which handler to execute first?
  • What is cross-origin resource sharing (CORS)?
  • Which protocol is commonly used for transferring files over the web?
  • What is the significance of semantic HTML?
  • What value will be returned by the lightOrDark function when called with an argument of 12?
  • What must you do to see changes in the h1 tag after editing?
  • What element of web applications does authentication most commonly protect?
  • What is the purpose of the Document Type Declaration?
  • What is an advantage of using external CSS?
  • True or False: One reason to use arrays over objects is that arrays allow easier value access without keys.
  • What is the final value of x after performing a sequence of additions starting from 0?
  • What is the goal of web accessibility?
  • Which of the following is a valid CSS selector to select all paragraphs on a page?
  • What is event delegation in JavaScript?
  • What defines a method in programming?
  • How is a method defined within an object constructor?
  • What does authentication aim to achieve in web applications?
  • What is an event listener in JavaScript?
  • What will the final value of the myNumber variable be after the following operations?
  • What is one of the main tasks of an ORM?
  • What kind of changes does a user need to stage before committing in Git?
  • What is a CSS class selector?
  • Which type of events can trigger an event handler?
  • What actions did Sanesh take in the "college" directory?
  • What is the primary purpose of Node.js?
  • What does the acronym CRUD stand for in web development?
  • Which of the following is the correct meaning of the <title> tag?
  • Why is it important to manage the event queue in programming?
  • What will the following expression evaluate to: 9 % 3?
  • Which CSS property controls the text alignment of elements?
  • What command should you use to move all your "unstaged" changes to the staging area?
  • When would you typically use a POST request in web development?
  • What is a callback function?
  • What does responsive design ensure for web applications?
  • If a variable is defined inside a function, where can it be accessed outside of that function?
  • Which method is used to select an HTML element by its ID using JavaScript?
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy