




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. Which phase of the Application Lifecycle is primarily concerned with gathering requirements and establishing the scope? A) Planning B) Development C) Testing D) Deployment Answer: A Explanation: The planning phase involves collecting requirements, defining scope, and setting goals before any design or coding begins. Question 2. What is the main deliverable of the design phase in ALM? A) Test cases B) Deployment scripts
C) Wireframes and architecture diagrams D) User feedback Answer: C Explanation: The design phase produces documentation like wireframes and architecture diagrams to guide the development team. Question 3. Which error occurs when a program compiles but does not produce the expected outcome? A) Syntax error B) Runtime error C) Logical error D) Input validation error Answer: C
Question 5. What does setting a breakpoint in debugging allow you to do? A) Compile code B) Stop code execution at a specific line C) Remove errors automatically D) Format code Answer: B Explanation: Breakpoints pause execution so you can inspect variables and program state at a particular point. Question 6. Which HTML5 element is used to define navigation links? A) B)
C) D) Answer: C Explanation: The element semantically indicates a section of navigation links within a page. Question 7. What is the purpose of the HTML5 element? A) Add footers to pages B) Mark up self-contained content like images or diagrams C) Embed external scripts D) Add headers Answer: B
Question 9. What does the element provide for a form input? A) A static dropdown list B) A list of pre-defined options for an element C) File upload D) Data validation Answer: B Explanation: defines a set of options that users can choose from when typing in a related . Question 10. Which HTML attribute is used for client-side regular expression validation? A) pattern B) value
C) min D) step Answer: A Explanation: The pattern attribute allows you to specify a regular expression that the input must match. Question 11. In a form, which attribute specifies the HTTP method to use when submitting the form? A) enctype B) action C) method D) target Answer: C
Question 13. Which JavaScript method on an HTML5 video element starts playback? A) play() B) start() C) run() D) begin() Answer: A Explanation: The play() method initiates video playback. Question 14. What attribute of the element allows multiple formats for browser compatibility? A) srcset B) data
C) type D) Answer: D Explanation: Multiple elements with different formats can be nested within for compatibility. Question 15. Which of the following is NOT a valid video format for the element? A) MP B) OGG C) WAV D) WebM Answer: C
Question 17. Which API is used to animate drawings inside the canvas efficiently? A) setInterval() B) requestAnimationFrame() C) setTimeout() D) animate() Answer: B Explanation: requestAnimationFrame() synchronizes animations with the browser's refresh cycle. Question 18. Which method is used to draw a filled rectangle on a canvas context? A) fillRect()
B) drawRect() C) rectangle() D) rectFill() Answer: A Explanation: fillRect() draws a filled rectangle on the canvas. Question 19. Which element is used for defining scalable vector graphics directly in HTML? A) B) C) D)
Question 21. Which CSS property creates rounded corners on an element? A) border-radius B) corner-style C) curve-border D) round-corner Answer: A Explanation: border-radius defines the radius of the element's corners. Question 22. What CSS property is used to add a shadow to a box? A) box-shadow B) text-shadow
C) drop-shadow D) shadow-box Answer: A Explanation: box-shadow applies shadow effects to elements. Question 23. Which CSS function creates a linear background gradient? A) gradient() B) linear-gradient() C) radial-gradient() D) color-gradient() Answer: B
A) rotate B) transform: rotate() C) skew D) scale Answer: B Explanation: The transform property with rotate() function applies 2D rotation. Question 26. Which CSS feature enables smooth transitions between property values? A) animation B) transition C) hover
D) filter Answer: B Explanation: The transition property allows gradual changes to CSS properties. Question 27. What is the difference between block and inline elements? A) Block elements break the flow, inline do not B) Inline elements break the flow, block do not C) Both behave the same D) Block elements cannot contain other elements Answer: A Explanation: Block elements start on a new line and take full width, while inline elements do not.