21. What is the default behavior of React rendering?
- React will only render the component and not any children associated with it.
- React will recursively re-render all of a component’s children when the component renders depending on props and context.
- React only renders child components associated with the parent component.
- React will recursively re-render all of a component’s children when the component renders.
22. Which one of the following is true about naming custom hooks?
- It must at most be 12 characters long.
- It must have a name that begins with use.
- It must have a name that begins with an underscore.
- It must have a name that ends with Log.
23. Using CSS, which one of the following is the correct way to place some text in the center of the enclosing HTML element?
- alignment: center;
- text-align: center;
- text: center;
- text: middle;
24. Which one of the following is true about block elements?
- They only occupy the width and height of their content.
- They do not appear on a new line.
- They only occupy the height of their content.
- They occupy the full width and height of the parent element.
25. Which one of the following internet protocols allows you to securely list, send, receive and delete files on a server?
- Post Office Protocol (POP)
- Simple Mail Transfer Protocol (SMTP)
- File Transfer Protocol (FTP)
- SSH File Transfer Protocol (SFTP)
26. One of the design element principles is direction, what is this principle concerned with?
- The space between elements that forms its own shape.
- Adding depth and effects to a design.
- Using color to create moods and atmosphere.
- Guiding the users gaze to different parts of the page.
27. Fill in the blank: A ______ contains both tangible and intangible elements like patterns, components, guidelines, and other designer and developer tools.
- design system
- development system
- design board
- marketing system
28. Fill in the blank: React components return JSX expressions. In these expressions, the content between an opening and closing tag is passed as a unique prop called ______.
- element
- children
- component
- parents
29. What happens if a script fails during the Continuous Integration (CI) process?
- The process will retry a finite amount of times until it crashes.
- The process continues until a developer intervenes.
- The failing script is skipped and the process continues.
- A report is sent to developers and the process stops.
30. Which one of the following describes a valid use of a hook?
- Using a conditional statement inside a hook.
- Using a hook in a JavaScript function.
- Using a state hook inside a conditional statement.
- Using a hook inside a conditional statement.