Posts

Showing posts with the label Multiple Choice Question (MCQ)

Solved Objective Questions on jQuery Library set-1

1) Which of the following statements about the features of jQuery are True. i) jQuery has an expressive syntax for referring to elements in the document. ii) jQuery has an efficient query method for finding the set of document elements that match a CSS selector. iii) jQuery has a useful set of methods for manipulating selected elements. A. i, ii and iii only B. i, ii and iv only C. i, iii and iv only D. All i, ii, iii and iv 2) If you are using $ in your own code, or are using another library, such as prototype, that uses $, you can call .......... to restore $ to its original value. A. jQuery.noConflict() B. jQuery.removeConflict() C. jQuery.restoreDefault() D. jQuery.restoreFunction() 3) Which of the following is/are the sources of Content Distribution Network(CDN) for jQuery. A. jQuery CDN B. Microsoft CDN C. Google CDN D. All of the above 4) Which of the following are the different ways of invoking jQuery() function. i) invoke $() is to pass a CSS selector to it ii) invoke $() is t...

Solved MCQ on Handling Events in Client Side JavaScript set-8

1) ........... include legacy event types such as "mousedown", "mousemove", "mouseup", "keydown", "keypress","keyup","touchmove" and "gesturechange" events. A. Device dependent input events B. Device independent input events C. User interface events D. State change events 2) ............ are not triggered directly by user activity, but by network or browser activity, and indicate some kind of lifecycle. A. Device dependent input events B. Device independent input events C. User interface events D. State change events 3) ............ include the focus event, the change event when the user changes the value and the submit event when the user clicks a submit button. A. Device dependent input events B. Device independent input events C. User interface events D. State change events 4) ........... allows the same event handler function to be registered more than once. When an event of the specified type occurs, t...

MCQ on Scripting Documents in Client Side JavaScript set-7

1) .......... method of the window object takes the X and Y coordinates of a point in document coordinates and sets these as the scroll bar offsets. A. scrollTo() B. scrollLeft() C. scrollTop() D. scrollFor() 2) We can compute the position of the element with ..........., converts that position to document coordinates and then use the scrollTo() method. A. getBoundingClient() B. getBounding() C. getBoundingClientRect() D. getBoundingRect() 3) The read-only .......... properties of any HTML element return its on screen size, in CSS pixels. A. offsetWidth() B. offsetHeight() C. Both A and B D. None of the above 4) ......... are like offesetWidth and offesetHeight except that they do not include the border size, only content area and its padding. A. offesetLeft and offesetTop B. clientWidth and clientHeight C. clientLeft and clientTop D. scrollWidth and scrollHeight 5) ............. properties return the horizontal and vertical distance between the outside of an element's padding and ...

MCQ on Scripting Documents in Client Side JavaScript set-6

1) ........ method allows you to insert a string of arbitrary HTML markup "adjacent" to the specified element. A. insertAdjacentHTML() B. insertBeforeHTML() C. insertAfterHTML() D. insertAfterendHTML() 2) ..........property is used to insert plain text into a document without having to escape the angle brackets and ampersands used in HTML markup. A. insertText B. plainContent C. textContent D. plainText 3) ........... is similar to textContent property introduced by Microsoft for Internet Explorer browser. A. insertText B. plainContent C. textContent D. innerText 4) ........ does not return the content of <script> elements, also omits extraneous white-space and attempts to preserve table formatting. A. insertText B. innerText C. textContent D. plainContent 5) State whether the following statements about inserting element content as plain text are True or False. i) The textContent and innerText properties are similar enough that we can usually use them interchangeably. i...

Solved MCQ on Scripting Documents in JavaScript set-5

1) The DOM defines a number of ways to select elements, by using which of the following methods we can query a document for an element or elements. i) with a specified id attribute ii) with a specified name attribute iii) with the specified tag name iv) with the specified CSS class or classes A. i, ii and iii only B. i, ii and iv only C. i, iii and iv only D. All i, ii, iii and iv 2) We can select an element based on unique ID with the ........... method of the document object. A. getElementById() B. getElementsById() C. selectElementById() D. selectElementsById() 3) The ......... attribute is only valid on a handful or HTML elements, including forms, form elements, <iframe> and <img> elements. A. id B. name C. tag D. class 4) .......... return NodeList objects and properties like document.images and document.forms are HTML Collection objects. A. getElementsByName() and getElementsById() B. getElementsById() and getElementsByTagName() C. getElementsByName() and getElements...

Solved MCQ on Basic Client Side JavaScript set-3

1. JavaScript can help to increase the user experience with which of the following method for a web page. A. By creating animation and other effects to guide a user and help with page navigation. B. By sorting the columns of a table to make it easier for searching on table. C. By hiding certain content and revealing details progressively as the user "drills down" into that content. D. All of the above. 2. Which of the following are the ways to embed Client side JavaScript code within HTML documents. i) Inline, between a pair of <script> and </script> tags. ii) From an external file specified by the src attribute of a <script> tag iii) In an HTML event handler attribute, such as on-click or mouse over. iv) In a URL that uses the special JavaScript protocol. A. i, ii and iii only B. ii, iii and iv only C. i, ii and iv only D. All i, ii, iii and iv 3. State Whether the following Statement about src attribute on JavaScript. i) It simplifies the HTML files by all...

Objective Questions on CSS Syntax and Property set-6

1) ....... media type is used for use with printed material and documents viewed onscreen in print preview mode. A. Print B. Projection C. Aural D. Screen 2) In CSS length measurement unit ....... defines a measurement in picas. A. pi B. pc C. pt D. px 3) In CSS length measurement unit ......defines a measurement in screen pixel. A. pi B. pc C. pt D. px 4) ........ defines a measurement relative to a font's x-height. The x-height is determined by the height of the font's lowercase letter x. A. cm B. em C. ex D. hx 5) Which of the following is the correct CSS code to set the background color of all h1, h2 and h3 elements to orange. A. h1.h2.h3{background-color:orange;} B. h1, h2, h3{background-color:orange;} C. h1 h2 h3{background-color:orange;} D. h1, h2, h3{set-background:orange;} 6) The CSS selector E>F selects ... A. direct decedents B. adjacent siblings C. preceding siblings D. all elements 7) The CSS selector E-F selects ..... A. direct decedents B. adjacent siblings C....

Solved Multiple Choice Questions on Basic CSS set-5

1) All of the following statement about CSS styles are True Except. A. External style sheets can set and update styles for many documents at once. B. In inline style, it can be easily control style to a single character instance. C. In some cases @import is used in inline styles D. There is no additional network requests required to retrieve style information. 2) ............. requires extra download round-trip for t he style sheet, which might delay page rendering, particularly when multiple files are in use. A. External Style Sheets B. Document Wide Style C. Inline Style D. All of the above 3) For .............., it needs to reapply style information throughout the document and outside documents. A. External Style Sheets B. Document Wide Style C. Inline Style D. All of the above 4) Which of the following is the correct example of document wide style in CSS. A. <h1 style="color:red;"> I am red !</h1> B. <h1 color="red"> I am red ! </h1> C. ...

Solved MCQ on Core Operating System Principle set-13

1) In memory management, a technique called as paging, the physical memory is broken into fixed sized blocks called ......... A. pages B. frames C. blocks D. segments 2) Which method is used to recover from deadlock? A. Process termination B. Resource preemption C. Resource non-preemption D. Process termination and Resource preemption 3) Saving the state of the old process and loading the saved state of the new process is called .... A. context switch B. static C. multi programming D. none of the above 4) The degree of Multiprogramming is controlled by ...... A. CPU scheduler B. context switching C. long term scheduler D. medium term scheduler 5) Input transfers are done in advance and output transfers are done after sometimes in which of these technique? A. Spooling B. Buffering C. Swapping D. Paging 6) A binary semaphore ......... A. has the values one or zero B. is essential to binary computers C. is used only for synchronization D. is used only for mutual exclusion 7) A scheduling ...

Objective Questions on Core Operating System set-12

1) An optimal scheduling algorithm in terms of minimizing the average waiting time of a given set of process is ... A. FCFS scheduling B. Round robin scheduling algorithm C. Shortest job first scheduling algorithm D. Priority scheduling algorithm 2) The hardware mechanism that enables a device to notify the CPU is called ....... A. polling B. interrupt C. system call D. none of the above 3) In the running state ........ A. only the process which has control of the processor is found B. all the process waiting for I/O to be completed are found C. all the processes waiting for the processor are found D. none of the above 4) Which technique was introduced because a single job could keep both the CPU and the I/O devices busy? A. Time sharing B. Spooling C. Preemptive scheduling D. Multiprogramming 5) RMA works on static priorities while EDF algorithm works on ........ A. starvation B. dynamic priorities C. RR scheduling D. FIFO scheduling 6) In the ........... method of data transfer, the ...

Interview Questions on Operating System Basis set-11

1) Which of the following is crucial time while accessing data on the disk? A. Seek time B. Rotational time C. Transmission time D. Waiting time 2) What is the primary job of the operating system is a computer? A. Command resources B. Manage resources C. Provide utilities D. Be user friendly 3) The ......... is a user process that initiates a remote procedure call. A. client B. server C. network D. operating system 4) Which of the following memory allocation scheme suffers from external fragmentation? A. Segmentation B. Pure demand paging C. Swapping D. Paging 5) Which of the following is used to removal of process from active contention of CPU and reintroduce them into memory later? A. Interrupt B. Swapping C. Signal D. Thread 6) The operating system manages ..... A. memory B. processor C. disk and I/O devices D. all of the above 7) Information about a process is maintained in a ......... A. stack B. translation look a side buffer C. process control block D. program control block 8) P...