Docsity

Arizona Web Developer Certification Exam Questions, Exams of Deductive Database Systems

Toggle sidebar
bg1
ARIZONA WEB DEVELOPER CERTIFICATION
QUESTIONS AND CORRECT ANSWERS (VERIFIED
ANSWERS) Q$A 2026|INSTANT DOWNLOAD PDF
1. Which HTML element is used to define the most
important heading?
A. <head>
B. <h1>
C. <h6>
D. <title>
Correct Answer: B
Rationale: <h1> defines the main heading of a document.
Headings <h1> to <h6> indicate importance.
2. Which attribute is used to define inline styles in HTML?
A. class
B. id
C. style
D. css
Correct Answer: C
Rationale: The style attribute allows inline CSS styles for
an element.
3. Which CSS property changes the text color?
A. background-color
B. text-color
C. color
D. font-color
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

Partial preview of the text

Download Arizona Web Developer Certification Exam Questions and more Exams Deductive Database Systems in PDF only on Docsity!

ARIZONA WEB DEVELOPER CERTIFICATION

QUESTIONS AND CORRECT ANSWERS (VERIFIED

ANSWERS) Q$A 2026|INSTANT DOWNLOAD PDF

  1. Which HTML element is used to define the most important heading? A. B. C. D. Correct Answer: B Rationale: <h1> defines the main heading of a document. Headings <h1> to <h6> indicate importance.
  2. Which attribute is used to define inline styles in HTML? A. class B. id C. style D. css Correct Answer: C Rationale: The style attribute allows inline CSS styles for an element.
  3. Which CSS property changes the text color? A. background-color B. text-color C. color D. font-color

Correct Answer: C Rationale: The color property specifies the color of text.

  1. Which HTML tag is used to create a hyperlink? A. B. C. D. Correct Answer: B Rationale: The element defines a hyperlink with an href attribute for the URL.
  2. How do you include an external CSS file in HTML? A.
  3. Which HTML element defines a table row? A. B. C. D. Correct Answer: C Rationale: defines a table row. and define cells.
  4. Which CSS property controls the space between letters in text? A. letter-spacing B. text-spacing C. word-spacing D. font-spacing Correct Answer: A Rationale: letter-spacing adjusts spacing between characters.
  5. Which HTML element is used for unordered lists? A. B. C. D. Correct Answer: A Rationale: creates an unordered (bulleted) list.
  6. Which CSS property sets the background color of an element?

A. bgcolor B. color C. background-color D. background Correct Answer: C Rationale: background-color defines the background color of an element.

  1. Which HTML element is used to define emphasized text? A. B. C. D. Correct Answer: A Rationale: emphasizes text, usually rendering it in italics.
  2. Which CSS property is used to make text bold? A. text-style: bold B. font-weight: bold C. font-style: bold D. text-decoration: bold Correct Answer: B Rationale: font-weight: bold makes text bold.
  3. Which HTML attribute is used to uniquely identify an element? A. class

D. opacity: 0 Correct Answer: A Rationale: display: none removes the element from the layout flow.

  1. Which HTML element is used to define a paragraph? A.

    B. C. D. Correct Answer: A Rationale:

    defines a paragraph.

  2. Which CSS property controls the spacing between words? A. letter-spacing B. text-spacing C. word-spacing D. line-height Correct Answer: C Rationale: word-spacing adjusts space between words.
  3. Which HTML element is used to embed an image? A. B. C. D. Correct Answer: B

**Rationale:** embeds an image and requires the src attribute.
  1. Which CSS property is used to control the space inside an element’s border? A. margin B. padding C. spacing D. border-spacing Correct Answer: B Rationale: padding defines space inside the border.
  2. Which HTML element defines the footer section of a document? A. B. C. D. Correct Answer: B Rationale: defines a footer for a document or section.
  3. Which CSS property is used to float an element to the right? A. position: right B. float: right C. align: right D. right: float Correct Answer: B

Rationale: JSON.stringify() converts objects into JSON strings.

  1. Which event occurs when the user clicks on an HTML element? A. onmouseover B. onclick C. onchange D. onsubmit Correct Answer: B Rationale: onclick triggers a function when the element is clicked.
  2. Which keyword defines a constant in JavaScript? A. var B. let C. const D. fixed Correct Answer: C Rationale: const declares a constant that cannot be reassigned.
  3. How do you write a JavaScript comment? A. /* comment */ B. // comment C. D. Both A and B Correct Answer: D

Rationale: Single-line // and multi-line /* */ are valid comments in JS.

  1. Which JavaScript method selects an element by its ID? A. getElementById() B. querySelector() C. getElementsByClassName() D. getElement() Correct Answer: A Rationale: document.getElementById("id") selects a single element by ID.
  2. Which JavaScript loop is best when the number of iterations is known? A. for B. while C. do...while D. forEach Correct Answer: A Rationale: for loops are used when iterations are predetermined.
  3. Which function converts a string to an integer in JavaScript? A. parseInt() B. Number() C. toInt() D. parseFloat()

Rationale: pop() removes the last element; push() adds to the end.

  1. Which method adds one or more elements to the end of an array? A. pop() B. push() C. shift() D. unshift() Correct Answer: B Rationale: push() appends elements to the end of an array.
  2. Which method removes the first element from an array? A. pop() B. shift() C. unshift() D. splice() Correct Answer: B Rationale: shift() removes the first array element.
  3. Which method returns the length of an array? A. size B. length() C. array.length D. count() Correct Answer: C Rationale: array.length returns the number of elements.
  1. Which method finds an element in an array that meets a condition? A. filter() B. find() C. map() D. reduce() Correct Answer: B Rationale: find() returns the first element matching a condition.
  2. Which JavaScript method executes a function for each array element? A. forEach() B. map() C. filter() D. reduce() Correct Answer: A Rationale: forEach() iterates through all array elements.
  3. Which property gets the value of an input field in the DOM? A. innerHTML B. value C. textContent D. inputText Correct Answer: B Rationale: input.value gets or sets the input field content.
  1. Which method creates a new array with the results of calling a function on every element? A. forEach() B. map() C. filter() D. reduce() Correct Answer: B Rationale: map() applies a function to each element and returns a new array.
  2. Which keyword defines a block-scoped variable in JavaScript? A. var B. let C. const D. all of the above Correct Answer: B Rationale: let is block-scoped, var is function-scoped.
  3. Which method removes elements from an array at a specified index? A. splice() B. slice() C. filter() D. pop() Correct Answer: A Rationale: splice() removes or replaces elements at specified positions.
  1. Which operator is used for logical AND in JavaScript? A. && B. || C.! D. & Correct Answer: A Rationale: && represents logical AND; || represents logical OR.
  2. Which JavaScript keyword is used to exit a loop? A. stop B. exit C. break D. return Correct Answer: C Rationale: break terminates the nearest enclosing loop.
  3. Which method returns a substring of a string? A. substring() B. substr() C. slice() D. All of the above Correct Answer: D Rationale: substring(), substr(), and slice() can extract substrings, though with slightly different behaviors.
  4. Which method removes whitespace from both ends of a string? A. trim()

B. push() C. splice() D. unshift() Correct Answer: A Rationale: concat() returns a new array combining arrays or values.

  1. Which method sorts an array alphabetically in JavaScript? A. sort() B. order() C. arrange() D. sequence() Correct Answer: A Rationale: sort() sorts elements as strings in ascending order.
  2. Which method executes a reducer function on an array? A. map() B. filter() C. reduce() D. forEach() Correct Answer: C Rationale: reduce() applies a function cumulatively to array elements.
  3. Which method checks if an array includes a certain value?

A. has() B. includes() C. find() D. indexOf() Correct Answer: B Rationale: includes() returns true if the array contains the specified value.

  1. Which operator is used for logical OR in JavaScript? A. && B. || C.! D. | Correct Answer: B Rationale: || represents logical OR.
  2. Which protocol ensures secure communication over the web? A. HTTP B. HTTPS C. FTP D. SMTP Correct Answer: B Rationale: HTTPS encrypts data between client and server using SSL/TLS.
  3. Which HTTP method is used to retrieve data from a server? A. GET