David Meador has Published 171 Articles

Single-threaded and Multi-threaded Processes

David Meador

David Meador

Updated on 31-Jan-2020 10:30:07

35K+ Views

Single threaded processes contain the execution of instructions in a single sequence. In other words, one command is processes at a time.The opposite of single threaded processes are multithreaded processes. These processes allow the execution of multiple parts of a program at the same time. These are lightweight processes available ... Read More

Short-term vs medium-term vs long-term scheduling

David Meador

David Meador

Updated on 31-Jan-2020 09:47:42

6K+ Views

Process Scheduling handles the selection of a process for the processor on the basis of a scheduling algorithm and also the removal of a process from the processor. It is an important part of multiprogramming in operating system.Process scheduling involves short-term scheduling, medium-term scheduling and long-term scheduling. Details about these ... Read More

Major Activities of an Operating System with Regard to Secondary Storage Management

David Meador

David Meador

Updated on 31-Jan-2020 07:44:16

2K+ Views

Secondary storage devices are non-volatile devices where the data is stored for long-term storage. Disks are the mainly used secondary storage devices. They provide the bulk of secondary storage in operating systems today.The main activity that is performed in secondary storage management is disk scheduling. There are many disk scheduling ... Read More

How to get the children of $(this) selector?

David Meador

David Meador

Updated on 18-Dec-2019 08:28:37

57 Views

To get the children of the $(this) selector in jQuery, use the find() method with each() method. Let us first see how to add jQuery:ExampleYou can try to run the following code to get the children of the $(this) selector:Live Demo           jQuery Example     ... Read More

How do we use wildcard or regular expressions with a jQuery selector?

David Meador

David Meador

Updated on 18-Dec-2019 08:27:41

1K+ Views

Wildcard or regular expressions can also be used with jQuery selector for id of element.ExampleYou can try to run the following code to use wildcard or regular expressions with jQuery selector:Live Demo $(document).ready(function(){    $("[id^=sub]").css("background-color", "green"); }); Java HTML Ruby

How do we use jQuery selector eq:()?

David Meador

David Meador

Updated on 18-Dec-2019 07:38:02

169 Views

If you want to select an element with a specific index, then use the jQuery selector eq(). Here, set the index number to select the element.ExampleYou can try to run the following code to learn how to use jQuery selector eq():Live Demo $(document).ready(function(){    $("p:eq(1)").css("background-color", "red"); ... Read More

How to traverse Data Object Model (DOM) nodes using jQuery?

David Meador

David Meador

Updated on 18-Dec-2019 07:11:56

217 Views

jQuery traversing is used to find elements based on what is their relation twith other elements. You need to begin with one selection and move ahead till you the reach the elements you want.jQuery is a very powerful tool which provides a variety of DOM traversal methods to help us ... Read More

How to filter object array based on attributes in jQuery?

David Meador

David Meador

Updated on 18-Dec-2019 07:10:59

1K+ Views

To filter object array based on attributes in jQuery, use the map() method with JSON.ExampleYou can try to run the following code to learn how to filter object array based on attributes in jQuery, Live Demo $(document).ready(function(){    $(document).ready(function(){     var json ={"DEPARTMENT": [   ... Read More

What is the difference between jQuery.children( ) and jQuery.siblings( ) in jQuery?

David Meador

David Meador

Updated on 17-Dec-2019 10:23:52

255 Views

jQuery children() methodThe children( [selector] ) method gets a set of elements containing all of the unique immediate children of each of the matched set of elements.Here is the description of all the parameters used by this method −selector − This is an optional argument to filter out all the childrens. ... Read More

What is the difference between jQuery.map() and jQuery.grep() Functions in jQuery?

David Meador

David Meador

Updated on 17-Dec-2019 10:21:43

339 Views

The jQuery map function translates a set of elements in the jQuery object into another set of values in a jQuery array which may, or may not contain elements. The grep() function is used to find an element of an array. The difference is we use $.grep to filter an ... Read More

Advertisements