Kristi Castro

Kristi Castro

73 Articles Published

Articles by Kristi Castro

Page 3 of 8

Loadable Modules Architecture of the Operating System

Kristi Castro
Kristi Castro
Updated on 17-Mar-2026 1K+ Views

Loadable kernel modules are object files containing code that extends the running kernel (also called the base kernel) of an operating system. These modules provide a flexible way to add support for new file systems, hardware drivers, system calls, and other kernel functionality without modifying the core kernel code. Loadable modules allow the operating system to dynamically load and unload kernel components as needed, making the system more modular and efficient. Loadable Modules Architecture Base Kernel Core OS Functions ...

Read More

Peer to Peer Computing

Kristi Castro
Kristi Castro
Updated on 17-Mar-2026 18K+ Views

Peer-to-Peer (P2P) Computing is a distributed network architecture where nodes (computers) act as equal participants, serving both as clients and servers. Unlike traditional client-server models, each node can request services and provide resources simultaneously, creating a decentralized system where all participants share the workload equally. Peer-to-Peer Network Architecture ...

Read More

Computer System Organisation

Kristi Castro
Kristi Castro
Updated on 17-Mar-2026 54K+ Views

The computer system is a combination of many parts such as peripheral devices, secondary memory, CPU, device controllers, and a shared memory bus. These components work together to execute programs and handle input/output operations. Computer System Organisation The following diagram shows how the CPU, memory, and I/O device controllers are connected through a common system bus − Computer System Organisation CPU Processor Memory RAM Disk Controller ...

Read More

Entity Relationship Participation in Database

Kristi Castro
Kristi Castro
Updated on 14-Mar-2026 26K+ Views

In a relationship, the Participation Constraint specifies the existence of an entity when it is related to another entity. It is also called the minimum cardinality constraint and specifies the number of instances of an entity that can participate in a relationship type. There are two types − Total Participation and Partial Participation. Total Participation In total participation, each entity in the entity set must be involved in at least one relationship instance. No entity can exist without participating in the relationship. This is also known as mandatory participation. Example − Consider two entities Employee and Department related via the ...

Read More

Binary Relationship in Database

Kristi Castro
Kristi Castro
Updated on 14-Mar-2026 10K+ Views

A Binary Relationship is a relationship between two different entities in a database. It maps the role group of one entity with the role group of another entity, establishing how data in one table relates to data in another table. There are three types of cardinalities for binary relationships − One-to-One (1:1), One-to-Many (1:N), and Many-to-Many (M:N). One-to-One (1:1) In a one-to-one relationship, one instance of the first entity is mapped with only one instance of the second entity. The primary key of one entity is available as a foreign key in the other entity. This type of relationship is ...

Read More

Ternary Relationship in Database

Kristi Castro
Kristi Castro
Updated on 14-Mar-2026 15K+ Views

In a Ternary Relationship, three different entities participate in a single relationship simultaneously. The relationship degree is 3. When determining cardinality, we consider it in the context of two entities relative to the third. Example: Mobile Manufacturing Company Consider a mobile manufacturing company with three entities − Mobile − The mobile models manufactured by the company. Part − Mobile parts which the company gets from suppliers. Supplier − Suppliers who supply mobile parts to the company. All three entities participate simultaneously in a SUPPLIES relationship ...

Read More

One-to-One Unary Relationship in DBMS

Kristi Castro
Kristi Castro
Updated on 14-Mar-2026 3K+ Views

A One-to-One Unary Relationship (also called a recursive relationship) is an association within the same entity where one instance is related to exactly one other instance of the same entity type. This type of relationship creates a loop back to the same entity, allowing instances to be connected to other instances of their own type. Understanding One-to-One Unary Relationships In a one-to-one unary relationship, we have a single entity that participates in a relationship with itself. The key characteristic is that each instance can be related to at most one other instance of the same entity, and vice ...

Read More

How to check if event exists on element in jQuery?

Kristi Castro
Kristi Castro
Updated on 13-Mar-2026 5K+ Views

To check if event exists on element in jQuery, you need to examine the existing events bound to that element. jQuery provides methods to access the event data stored internally for DOM elements. Here, I have set a div element − This is demo text. Click here! When you click the div, an alert is generated. To check if events exist on this element, we use $._data() method to access the internal event data and verify if any events are bound to the element. $("#demo").click(function() { alert("Does ...

Read More

How to enable and disable submit button using jQuery?

Kristi Castro
Kristi Castro
Updated on 13-Mar-2026 1K+ Views

To enable and disable submit button, use the jQuery prop() method. The prop() method gets or sets properties and values of the selected elements. When used with the disabled property, it can control whether a button is clickable or not. Syntax Here's the basic syntax for enabling and disabling buttons − // To disable a button $(selector).prop('disabled', true); // To enable a button $(selector).prop('disabled', false); Example You can try to run the following code to enable and disable submit button using jQuery − ...

Read More

Can I submit form with multiple submit buttons using jQuery?

Kristi Castro
Kristi Castro
Updated on 13-Mar-2026 3K+ Views

Yes, you can submit forms with multiple submit buttons using jQuery. Attach a custom click handler to all the buttons and then check which button is clicked. When working with multiple submit buttons, you need to prevent the default form submission behavior and implement custom logic to determine which button was pressed. This allows you to perform different actions based on the specific button clicked. Example The following example demonstrates how to handle multiple submit buttons using jQuery − ...

Read More
Showing 21–30 of 73 articles
« Prev 1 2 3 4 5 8 Next »
Advertisements