Bihar STET Computer Science – Web Technologies Practice Test-2

Questions 31-35 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 31

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 18.09.2023 (Shift-I) PYQ

Which DOM method attaches an event handler function to an element without overwriting existing handlers?

Answers for question 31

Question 32

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 18.09.2023 (Shift-I) PYQ

Which method cancels the default action associated with an event in JavaScript (e.g., preventing form submission)?

Answers for question 32

Question 33

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 15.09.2020 (Shift-I) PYQ

Which method selects the first element within the document that matches a specified CSS selector?

Answers for question 33

Question 34

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 12.06.2024 (Shift-I) PYQ

What type of data structure is returned by document.querySelectorAll() in JavaScript?

Answers for question 34

Question 35

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 18.09.2023 (Shift-II) PYQ

Which DOM property returns or sets the text content of a node and its descendants without parsing the content as HTML?

Answers for question 35
Scroll to Top