Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles by David Meador
Page 3 of 12
Different types of system calls
The interface between a process and an operating system is provided by system calls. In general, system calls are available as assembly language instructions. They are also included in the manuals used by the assembly level programmers. System calls are usually made when a process in user mode requires access to a resource. Then it requests the kernel to provide the resource via a system call. Types of System Calls There are mainly five types of system calls. These are explained in detail as follows − Types of System Calls ...
Read MoreLayered Operating System
A Layered Operating System is an architectural approach where the operating system is divided into multiple hierarchical layers, each with specific functionalities. This design was developed as an improvement over early monolithic systems, providing better organization, maintainability, and modularity. Why Layering in Operating System? Layering provides distinct advantages in operating system design. Each layer can be defined separately and interact with adjacent layers as required. This approach makes it easier to create, maintain, and update the system since changes in one layer specification do not affect other layers. The layered structure also enhances debugging and testing capabilities, as ...
Read MoreStorage Device Hierarchy
Computer storage has components that store computer data. The storage device hierarchy organizes these components based on speed, cost, and capacity. The hierarchy follows a trade-off principle: faster storage is more expensive and has lower capacity, while slower storage is cheaper with higher capacity. Storage Device Hierarchy CPU Registers Cache Memory Primary Storage (RAM) ...
Read MoreVarious Types of Keys in DBMS
The different types of keys in DBMS are − Candidate Key − The candidate keys in a table are defined as the set of keys that is minimal and can uniquely identify any data row in the table. Primary Key − The primary key is selected from one of the candidate keys and becomes the identifying key of a table. It can uniquely identify any data row of the table. ...
Read MoreReferential Integrity Rule in RDBMS
The Referential Integrity Rule in RDBMS is based on the relationship between Primary Keys and Foreign Keys. The rule states that a foreign key in one table must have a matching valid primary key in the referenced table, ensuring that references between tables are always valid. Referential Integrity Rule Referential integrity ensures that relationships between tables remain consistent. Specifically − A foreign key value must either match an existing primary key value in the referenced table, or be NULL. You cannot insert a foreign key value that does not exist in the referenced table. You cannot ...
Read MoreHow to set HTML content of an element using jQuery?
To set the HTML content of an element, use the html() method. This method allows you to replace the existing HTML content inside a selected element with new HTML markup. Syntax The basic syntax for setting HTML content is − $(selector).html(content) Where content is the HTML string you want to insert into the element. Example You can try to run the following code to set HTML content of an element using jQuery − ...
Read MoreHow to insert element as a first child using jQuery?
To insert element as a first child using jQuery, use the prepend() method. The prepend(content) method prepends content to the inside of every matched element, positioning it as the first child. The prepend() method is particularly useful when you need to add new content at the beginning of an element's children, rather than at the end like append() does. Syntax The basic syntax for the prepend method is − $(selector).prepend(content) Where content can be HTML strings, DOM elements, text nodes, or jQuery objects. Example You can try to run the following ...
Read MoreHow to wrap tables with div element using jQuery?
To wrap tables with div element, use the wrap() method. The wrap() method wraps each selected element with the specified HTML structure. This is particularly useful for styling purposes or when you need to add container elements around existing tables for responsive design or visual enhancement. Syntax The basic syntax of the wrap() method is − $(selector).wrap(wrappingElement) Where wrappingElement is the HTML element that will wrap around each selected element. Example You can try to run the following code to wrap tables with div element using jQuery − ...
Read MoreHow can I show and hide div on mouse click using jQuery?
To show and hide div on mouse click using jQuery, use the toggle() method. On mouse click, the div is visible and on again clicking the div, it hides. The toggle() method is a convenient jQuery function that automatically switches between showing and hiding elements. When an element is visible, toggle() will hide it, and when it's hidden, toggle() will show it. Example Here's a complete example that demonstrates how to show and hide a div on mouse click − ...
Read MoreHow animate(), hide and show elements using jQuery?
jQuery provides powerful methods to animate, hide and show elements with smooth visual effects. You can use the animate() method combined with hide() and show() methods to create dynamic animations that enhance user experience. animate() Method The animate() method allows you to create custom animations by gradually changing CSS properties. When combined with hide() and show() methods as callback functions, you can create smooth transition effects. Syntax $(selector).animate({properties}, speed, callback); Example Here's a complete example showing how to animate elements before hiding and showing them − ...
Read More