Primary 3 Exam  >  Primary 3 Tests  >  Test: HTML Plug-ins - Primary 3 MCQ

Test: HTML Plug-ins - Primary 3 MCQ


Test Description

15 Questions MCQ Test - Test: HTML Plug-ins

Test: HTML Plug-ins for Primary 3 2024 is part of Primary 3 preparation. The Test: HTML Plug-ins questions and answers have been prepared according to the Primary 3 exam syllabus.The Test: HTML Plug-ins MCQs are made for Primary 3 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: HTML Plug-ins below.
Solutions of Test: HTML Plug-ins questions in English are available as part of our course for Primary 3 & Test: HTML Plug-ins solutions in Hindi for Primary 3 course. Download more important topics, notes, lectures and mock test series for Primary 3 Exam by signing up for free. Attempt Test: HTML Plug-ins | 15 questions in 10 minutes | Mock test for Primary 3 preparation | Free important questions MCQ to study for Primary 3 Exam | Download free PDF with solutions
Test: HTML Plug-ins - Question 1

Which of the following plug-in can’t be embedded by <object> element?

Detailed Solution for Test: HTML Plug-ins - Question 1

All the browsers support <object> element. It also defines an embedded object within the HTML document. It is used for embedding plug-ins like PDF readers, Flash Players, Java applets in the web page.

Test: HTML Plug-ins - Question 2

When is the instance created, which plug-in API function is called?

Detailed Solution for Test: HTML Plug-ins - Question 2

NPP_New function is called by the browser when an instance is created. There can exist multiple instances of the same plug-in. There are two conditions for it first if there are multiple embedded objects on a single page, second if several browser windows are open.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: HTML Plug-ins - Question 3

 When the user leaves instance’s page which function is called?

Detailed Solution for Test: HTML Plug-ins - Question 3

When the user leaves instance’s page or closes its window a plug-in instance is deleted. Then Gecko calls the function NPP_Destroy to inform plug-in that the instance is being deleted. Plug-in API calls and callbacks use main Navigator thread.

Test: HTML Plug-ins - Question 4

Which of the following is not the directory in Mac OS X for plug-ins?

Detailed Solution for Test: HTML Plug-ins - Question 4

/Library/Internet Plug-Ins, ~/Library/Internet Plug-Ins, Plug-ins with the toolkit bundles, /System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources, Profile directory/plugins are some of the directories in Mac OS X for plug-ins.

Test: HTML Plug-ins - Question 5

Which of the following plug-in file type is used in MS Windows?

Detailed Solution for Test: HTML Plug-ins - Question 5

The plug-in file type depends on the platform. The file type in MS Windows is .DLL which is Dynamic Link Library files. Unix has .SO or .DSO files which are shared objects. MAC OS X has file PPC/x86/Universal loadable Mach-O bundle.

Test: HTML Plug-ins - Question 6

The plug-in DLL can’t contain ______________

Detailed Solution for Test: HTML Plug-ins - Question 6

The plug-in DLL should contain FileExtents which specifies file extensions, ProductName which is for plug-in name, Language for the language which is in use, FileDescription for the description, MIMEType for the MIME types, FileOpenName for file open template.

Test: HTML Plug-ins - Question 7

Which of the following is not a transmission mode that plug-in can select?

Detailed Solution for Test: HTML Plug-ins - Question 7

There are three transmission modes that plug-in can select. In normal mode browser sends stream data sequentially to plug-in, in Random-access mode browser allows a plug-in to request specific ranges of bytes from anywhere in the stream. In File, mode browser saves data to a local file in cache and passes the file path to plug-in.

Test: HTML Plug-ins - Question 8

Which of the following request is used for the browser to load a URL?

Detailed Solution for Test: HTML Plug-ins - Question 8

NPN_GetURL is a request for the browser to load a URL into a particular frame for display or browser window, or for delivering data of that URL to the plug-in instance in a new stream. NPN_PostURLNotify function notifies plug-in of a result when an operation completes.

Test: HTML Plug-ins - Question 9

Which method is used to display a message on the status line?

Detailed Solution for Test: HTML Plug-ins - Question 9

NPN_Status is used to display a message on the status line. It makes the user feel that the plug-in is a part of the browser user interface, plug-in can emulate browser behavior by providing status line message.

Test: HTML Plug-ins - Question 10

The plugin resource string 1 is associated with ________

Detailed Solution for Test: HTML Plug-ins - Question 10

There are plugin resources. ‘STR#’ 1 is associated with video or quicktime, MIME type is associated with str 128, aiff is associated with string 4, jpg is associated with string 6, image or jpeg is associated with string 5.

Test: HTML Plug-ins - Question 11

The browser will not call the plug-in _________

Detailed Solution for Test: HTML Plug-ins - Question 11

Browser calls various plug-in methods like NPP_Print, NPP_SetWindow, NPP_SetValue, NPP_HandleEvent, NPP_GetValue. NPP_SetValue is for setting the browser information, for delivering platform-specific event to instance browser calls NPP_HandleEvent method.

Test: HTML Plug-ins - Question 12

What is the prefix of all the browser-specific functions?

Detailed Solution for Test: HTML Plug-ins - Question 12

It is a convention that all of the browser specific functions have the prefix ‘”NPN” and all of the plug-in specific functions have the prefix “NPP”. Gecko calls plug-in API function NP_Initialize at the time when plug-in code first loaded.

Test: HTML Plug-ins - Question 13

Which function will be called when the last instance of a plug-in is deleted?

Detailed Solution for Test: HTML Plug-ins - Question 13

When the last instance of a plug-in is deleted Gecko calls the function NP_Shutdown. The plug-in code is unloaded from memory. Plug-ins consume no resources when not loaded, it only consumes a little disk space.

Test: HTML Plug-ins - Question 14

Which of the following is not the directory in Windows for plug-ins?

Detailed Solution for Test: HTML Plug-ins - Question 14

When Gecko based browser starts, it checks certain directories for plugins. Windows have MOZ_PLUGIN_PATH, Profile directory\plugins, %APPDAT%/Mozilla\plugins, Plug-ins with toolkit bundles, HKEY_CURRENT_USER\Software\MozillaPlugins\*\Path are some of the directories in windows.

Test: HTML Plug-ins - Question 15

Which of the following is not a directory in Linux for plug-ins?

Detailed Solution for Test: HTML Plug-ins - Question 15

Profile directory/plugins, /usr/lib64/Mozilla/plugins, /usr/lib/Mozilla/plugins, ~/.mozilla/plugins are some of the directories in Linux for using plug-ins. /usr/lib64/firefox/plugins is for 64-bit Firefox.

Information about Test: HTML Plug-ins Page
In this test you can find the Exam questions for Test: HTML Plug-ins solved & explained in the simplest way possible. Besides giving Questions and answers for Test: HTML Plug-ins, EduRev gives you an ample number of Online tests for practice

Top Courses for Primary 3

Download as PDF

Top Courses for Primary 3