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.
| 1. |
Which method is used to obtain the “drawing context” object?(a) getContext()(b) getObject()(c) get()(d) getDrawing()I got this question during an interview.The query is from Graphics in division Graphics and Rendering of JavaScript |
|
Answer» Correct choice is (a) GETCONTEXT() |
|
| 2. |
SpiderMonkey was developed by _____________(a) Firefox(b) Internet Explorer(c) Safari(d) OperaThe question was posed to me in final exam.I'd like to ask this question from Browser Parsing and Rendering topic in chapter Graphics and Rendering of JavaScript |
|
Answer» Right answer is (a) Firefox |
|
| 3. |
Which of the following first developed Gecko?(a) Safari(b) Netscape(c) Opera(d) Internet ExplorerThis question was posed to me in my homework.Question is taken from Browser Parsing and Rendering topic in section Graphics and Rendering of JavaScript |
|
Answer» Correct option is (B) Netscape |
|
| 4. |
What is the returning value of the getContext() method?(a) Drawing model(b) CanvasRenderingContext2D object(c) Context2D object(d) ContainerI got this question in my homework.My question comes from Graphics in division Graphics and Rendering of JavaScript |
|
Answer» Correct CHOICE is (b) CanvasRenderingContext2D object |
|
| 5. |
Why is the total size of the page important?(a) Time taken to download(b) Size of IP packet should be less than 65500(c) Size of IP packet should be less than 65535(d) Size of IP packet should be greater than 65500I have been asked this question during an interview for a job.My doubt is from Browser Parsing and Rendering topic in portion Graphics and Rendering of JavaScript |
|
Answer» Right OPTION is (c) SIZE of IP PACKET should be less than 65535 |
|
| 6. |
What is the purpose of the JavaScript Engine?(a) Compiling the JavaScript(b) Interpreting the JavaScript(c) Both Compiling & Interpreting the JavaScript(d) Parsing the javascriptThis question was addressed to me by my school teacher while I was bunking the class.My question is from Browser Parsing and Rendering topic in chapter Graphics and Rendering of JavaScript |
|
Answer» Correct choice is (B) Interpreting the JavaScript |
|
| 7. |
What is the purpose of the canvas element?(a) Creates drawing surface(b) Exposes powerful drawing API to client-side JavaScript(c) Creates drawing surface & Exposes powerful drawing API to client-side JavaScript(d) Creates a rectangular boxThis question was addressed to me in unit test.My enquiry is from Graphics topic in chapter Graphics and Rendering of JavaScript |
|
Answer» The correct choice is (c) Creates DRAWING surface & Exposes powerful drawing API to client-side JavaScript |
|
| 8. |
Which of the following render HTML?(a) Browsers(b) Email Clients(c) Web Components(d) All of the mentionedThe question was asked in final exam.This is a very interesting question from Browser Parsing and Rendering topic in portion Graphics and Rendering of JavaScript |
|
Answer» Right answer is (d) All of the mentioned |
|
| 9. |
Which is the method invoked to begin a path?(a) begin()(b) path()(c) createPath()(d) beginPath()I had been asked this question by my school teacher while I was bunking the class.Asked question is from Graphics topic in chapter Graphics and Rendering of JavaScript |
|
Answer» Correct option is (d) beginPath() |
|
| 10. |
Which layer handles top-level communication?(a) Network Access Layer(b) Internet Layer(c) Transport Layer(d) Application LayerThe question was asked in homework.My doubt is from Browser Parsing and Rendering in portion Graphics and Rendering of JavaScript |
|
Answer» Correct choice is (d) Application Layer |
|
| 11. |
Which HTML element is used to include images?(a) image(b) img(c) src(d) sourcingThe question was asked in a national level competition.Question is taken from Scripted Media topic in division Graphics and Rendering of JavaScript |
|
Answer» Right ANSWER is (b) img |
|
| 12. |
Which of the following attributes are common to both audio and video?(a) enter(b) control(c) controls(d) addI had been asked this question in semester exam.Question is from Scripted Media in division Graphics and Rendering of JavaScript |
|
Answer» The correct option is (c) CONTROLS |
|
| 13. |
Carakan is used by which of the following browsers?(a) Firefox(b) Internet Explorer(c) Safari(d) OperaThe question was asked in an interview for internship.Asked question is from Browser Parsing and Rendering in division Graphics and Rendering of JavaScript |
|
Answer» The correct ANSWER is (d) OPERA |
|
| 14. |
Which of the following browsers use Webkit?(a) Chrome(b) Internet Explorer(c) Safari(d) Both Chrome and SafariI have been asked this question in examination.This question is from Browser Parsing and Rendering in portion Graphics and Rendering of JavaScript |
|
Answer» Correct choice is (d) Both Chrome and Safari |
|
| 15. |
Which is a possible way of finding all the img elements in the document?(a) document(images)(b) document.images[](c) document(img)(d) doc(img)This question was posed to me in examination.I want to ask this question from Scripted Media in section Graphics and Rendering of JavaScript |
|
Answer» The correct ANSWER is (b) document.images[] |
|
| 16. |
What is the return type of the remote server?(a) HTTP Response(b) HTTP Request(c) Get Request(d) Post requestThe question was posed to me during a job interview.My enquiry is from Browser Parsing and Rendering topic in division Graphics and Rendering of JavaScript |
|
Answer» The correct option is (a) HTTP Response |
|
| 17. |
Which layer is used to handle the network addressing and routing?(a) Network Access Layer(b) Internet Layer(c) Transport Layer(d) Presentation LayerThis question was addressed to me by my school principal while I was bunking the class.Question is from Browser Parsing and Rendering topic in portion Graphics and Rendering of JavaScript |
|
Answer» Right choice is (b) INTERNET LAYER |
|
| 18. |
Which is the method invoked to connect the last vertex back to the first?(a) closePath()(b) close()(c) connectlast(first)(d) connect()The question was posed to me in quiz.I want to ask this question from Graphics in division Graphics and Rendering of JavaScript |
|
Answer» CORRECT choice is (a) closePath() To explain: The closePath() METHOD connects the LAST vertex back to the FIRST, thereby creating a path. It connects the last point to the first point thereby creating a closed FIGURE. |
|
| 19. |
Which of the following elements are used to include audio?(a) audio(b) video(c) svg(d) audI got this question during an online exam.I need to ask this question from Scripted Media in section Graphics and Rendering of JavaScript |
|
Answer» The CORRECT answer is (a) audio |
|
| 20. |
Which of the following uses a lot of CPU cycles?(a) GUI(b) Statically generated graphics(c) Dynamically generated graphics(d) ImagesI have been asked this question during an interview for a job.The origin of the question is Scripted Media in chapter Graphics and Rendering of JavaScript |
|
Answer» The correct option is (c) Dynamically generated graphics |
|
| 21. |
What is the advantage of the code produced graphics being smaller than the images themselves?(a) Bandwidth saving(b) Increase in bandwidth(c) Dynamic advantages(d) Static advantageThe question was asked during an interview.Question is taken from Scripted Media topic in division Graphics and Rendering of JavaScript |
|
Answer» The correct answer is (a) Bandwidth saving |
|
| 22. |
Which of the following is a property used to check how crisp or fuzzy shadows are?(a) shadowColor(b) shadowBlur(c) strokeStyle(d) strokeI had been asked this question in an interview for job.The origin of the question is Graphics topic in portion Graphics and Rendering of JavaScript |
|
Answer» Right CHOICE is (B) shadowBlur |
|
| 23. |
How does SVG describe complex shapes?(a) Path of lines(b) Path of curves(c) Path of lines and curves(d) PlanesI had been asked this question in an online quiz.The question is from Graphics topic in portion Graphics and Rendering of JavaScript |
|
Answer» The correct choice is (C) Path of lines and CURVES |
|
| 24. |
What are the various possessions in the three-way handshake by the TCP?(a) Synchronize(b) Synchronize-Acknowledge(c) Acknowledge message(d) All of the mentionedThis question was posed to me in quiz.My question is based upon Browser Parsing and Rendering topic in chapter Graphics and Rendering of JavaScript |
|
Answer» Right ANSWER is (d) All of the mentioned |
|
| 25. |
How will the HTTP GET request be sent from the browser?(a) Remote server(b) Local server(c) By itself(d) Standby ServerThe question was posed to me by my school teacher while I was bunking the class.This question is from Browser Parsing and Rendering in division Graphics and Rendering of JavaScript |
|
Answer» Right option is (a) Remote server |
|
| 26. |
The User Interface is taken care of which layer?(a) Transport Layer(b) Network Layer(c) UI Layer(d) Presentation LayerThe question was posed to me during an interview.This intriguing question comes from Browser Parsing and Rendering in portion Graphics and Rendering of JavaScript |
|
Answer» Correct answer is (c) UI Layer |
|
| 27. |
What is the purpose of a Rendering Engine?(a) Parsing objects in page(b) Drawing all objects in page(c) Both Parsing & Drawing all objects in page(d) Rendering objectI had been asked this question in examination.This intriguing question comes from Browser Parsing and Rendering topic in portion Graphics and Rendering of JavaScript |
|
Answer» Correct CHOICE is (c) Both Parsing & DRAWING all objects in page |
|
| 28. |
Which of the following are not the properties of a canvas object?(a) fillStyle(b) strokeStyle(c) lineWidth(d) lineSizeI got this question in final exam.Enquiry is from Graphics topic in chapter Graphics and Rendering of JavaScript |
|
Answer» RIGHT CHOICE is (d) lineSize The explanation: The fillStyle property sets or returns the color, GRADIENT, or PATTERN used to fill the DRAWING. The strokeStyle property sets or returns the color, gradient, or pattern used for strokes. There is no property called lineSize associated with the canvas object. |
|
| 29. |
Which layer is used to control the communication between the hardware in the network?(a) Network Access Layer(b) Internet Layer(c) Transport Layer(d) Presentation LayerThe question was posed to me during an interview for a job.I want to ask this question from Browser Parsing and Rendering in chapter Graphics and Rendering of JavaScript |
|
Answer» Right ANSWER is (a) Network Access Layer |
|
| 30. |
What are the features of an interpreter?(a) Shared with other properties(b) Embedded in other tools(c) Shared with other properties & Embedded in other tools(d) Used with htmlThis question was addressed to me at a job interview.This is a very interesting question from Browser Parsing and Rendering in portion Graphics and Rendering of JavaScript |
|
Answer» The correct choice is (c) SHARED with other PROPERTIES & EMBEDDED in other tools |
|
| 31. |
From which version of IE is canvas supported?(a) 7(b) 8(c) 9(d) 6I got this question during an internship interview.I'm obligated to ask this question of Graphics topic in division Graphics and Rendering of JavaScript |
|
Answer» Right answer is (C) 9 |
|
| 32. |
Which of the following is not the property of the video tag?(a) width(b) height(c) breadth(d) areaThe question was asked during an internship interview.My enquiry is from Scripted Media in chapter Graphics and Rendering of JavaScript |
|
Answer» Correct answer is (c) breadth |
|
| 33. |
Which layer is used to handle the HTTP requests?(a) Network Layer(b) Transport Layer(c) Application Layer(d) Presentation LayerThis question was posed to me by my school teacher while I was bunking the class.This intriguing question originated from Browser Parsing and Rendering topic in division Graphics and Rendering of JavaScript |
|
Answer» RIGHT option is (a) Network Layer The explanation: HTTP is a protocol which allows the FETCHING of RESOURCES, such as HTML documents. It is the foundation of any data EXCHANGE on the Web and a client-server protocol, which means requests are initiated by the recipient, usually the Web browser. The network layer is used to handle the HTTP requests. |
|
| 34. |
When is JavaScript called obtrusive?(a) JavaScript code is medium sized(b) JavaScript code is small(c) JavaScript code is so large(d) JavaScript code is Very smallI had been asked this question in an international level competition.Question is from Scripted Media in division Graphics and Rendering of JavaScript |
|
Answer» Correct option is (c) JavaScript code is so LARGE |
|
| 35. |
What is the purpose of image replacement?(a) To replace an image(b) To implement special effects(c) Removal of image rollovers(d) Implementation of image rolloversI had been asked this question in a national level competition.My doubt stems from Scripted Media in portion Graphics and Rendering of JavaScript |
|
Answer» Correct ANSWER is (d) Implementation of image rollovers |
|
| 36. |
The layer in which the TCP (or UDP) communication takes place is _____________(a) Network Access Layer(b) Internet Layer(c) Transport Layer(d) Presentation LayerI have been asked this question in class test.My question is taken from Browser Parsing and Rendering topic in division Graphics and Rendering of JavaScript |
|
Answer» Correct choice is (c) Transport LAYER |
|