InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
Which of the following is not a method of AJAX?(a) get()(b) getJSON()(c) post()(d) stop()This question was addressed to me during an internship interview.The question is from Essential JavaScript and jQuery topic in portion HTML Tables, Javascript & Jquery Basics of HTML |
|
Answer» Right choice is (d) STOP() |
|
| 52. |
Which method is not for traversing DOM tree sideways?(a) parent()(b) siblings()(c) prev()(d) nextAll()The question was asked in an interview for job.The origin of the question is Essential JavaScript and jQuery topic in portion HTML Tables, Javascript & Jquery Basics of HTML |
|
Answer» The correct option is (a) parent() |
|
| 53. |
typeof “null” in JavaScript is _______(a) number(b) string(c) object(d) undefinedThis question was posed to me during an online exam.The question is from Essential JavaScript and jQuery in section HTML Tables, Javascript & Jquery Basics of HTML |
|
Answer» CORRECT answer is (c) OBJECT For EXPLANATION: TYPEOF “null” in JavaScript is an object. Basically null INDICATES nothing like it is a thing that does not exist. It is like a bug in JavaScript that its typeof comes to be an object. For emptying an object we can set it to null. |
|
| 54. |
Which attribute defines numbers of columns in a group?(a) width=multi-length[CN].(b) span=number[CN].(c) scope=scope-name[CN].(d) headers=idrefs[CS].This question was posed to me during an interview.My question is taken from Working with Tables topic in chapter HTML Tables, Javascript & Jquery Basics of HTML |
|
Answer» Right choice is (b) span=NUMBER[CN]. |
|
| 55. |
border-spacing is given in _____________(a) pixels(b) cm(c) mm(d) inchI had been asked this question in a job interview.The origin of the question is Working with Tables in section HTML Tables, Javascript & Jquery Basics of HTML |
|
Answer» RIGHT answer is (a) pixels The best I can explain: border-spacing and border-collapse are the two properties by which one can set the border and its styling in a table. We GIVE its value in pixels. |
|
| 56. |
Which of the following element is not associated with a class attribute?(a) Row(b) (c) Column cell(d) RowsThis question was posed to me in an interview for job.My doubt stems from Working with Tables topic in chapter HTML Tables, Javascript & Jquery Basics of HTML |
|
Answer» Right answer is (b) |
|
| 57. |
Which is not the property of location object?(a) origin(b) port(c) host(d) geolocationI have been asked this question in a job interview.This is a very interesting question from Essential JavaScript and jQuery topic in section HTML Tables, Javascript & Jquery Basics of HTML |
|
Answer» Right ANSWER is (d) geolocation |
|
| 58. |
Which of the following is not the jQuery method for manipulation?(a) stop()(b) html()(c) text()(d) val()I have been asked this question in unit test.I want to ask this question from Essential JavaScript and jQuery in division HTML Tables, Javascript & Jquery Basics of HTML |
|
Answer» The correct choice is (a) stop() |
|
| 59. |
For displaying data in JavaScript, we can’t use ____________(a) document.write()(b) console.log()(c) innerHTML(d) document.getElementById()I have been asked this question in unit test.Enquiry is from Essential JavaScript and jQuery topic in section HTML Tables, Javascript & Jquery Basics of HTML |
|
Answer» Correct choice is (d) document.getElementById() |
|
| 60. |
Which of the following does not specify a column width?(a) Fixed(b) Percentage(c) Proportional(d) PixelsI have been asked this question in unit test.The doubt is from Working with Tables in division HTML Tables, Javascript & Jquery Basics of HTML |
|
Answer» The correct OPTION is (d) PIXELS |
|