Docsity

HTML5 Application Development Exam Questions, Exams of Technology

Toggle sidebar
bg1
INF 306 HTML5 Application
Development Exam
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
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
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download HTML5 Application Development Exam Questions and more Exams Technology in PDF only on Docsity!

Development Exam

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

Development Exam

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

Development Exam

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)

Development Exam

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

Development Exam

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

Development Exam

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

Development Exam

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

Development Exam

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

Development Exam

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()

Development Exam

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)

Development Exam

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

Development Exam

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

Development Exam

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

Development Exam

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.