Bhanu Priya has Published 1251 Articles

Explain about two phase locking (2PL) protocol(DBMS)

Bhanu Priya

Bhanu Priya

Updated on 07-Nov-2023 04:51:34

63K+ Views

Locking and unlocking of the database should be done in such a way that there is no inconsistency, deadlock, and no starvation.2PL locking protocolEvery transaction will lock and unlock the data item in two different phases.Growing Phase − All the locks are issued in this phase. No locks are released, ... Read More

C Program to check whether the triangle is equilateral, isosceles or scalene

Bhanu Priya

Bhanu Priya

Updated on 07-Nov-2023 04:45:51

65K+ Views

Triangle consists of three sides and three angles. Based on the three sides, there are three types of triangle −Equilateral triangle: All three sides are equal.Isosceles triangle: All two sides are equal.Scalene triangle: No sides are equal.Follow the algorithm given below for writing the respective program.AlgorithmStep 1: Declare three sides ... Read More

What are process states?

Bhanu Priya

Bhanu Priya

Updated on 07-Nov-2023 04:14:49

71K+ Views

A process is a program in execution and it is more than a program code called as text section and this concept works under all the operating system because all the task perform by the operating system needs a process to perform the taskThe process executes when it changes the ... Read More

Convert Fahrenheit to Celsius using C Program

Bhanu Priya

Bhanu Priya

Updated on 04-Nov-2023 01:56:40

59K+ Views

The logic that we implement to convert Fahrenheit to Celsius is as follows −celsius = (fahrenheit - 32)*5/9;AlgorithmRefer to the algorithm given below to convert Fahrenheit to Celsius.Step 1: Declare two variables farh, cels Step 2: Enter Fahrenheit value at run time Step 3: Apply formula to convert     ... Read More

Explain attributes and the different types of attributes in DBMS?

Bhanu Priya

Bhanu Priya

Updated on 04-Nov-2023 00:30:34

29K+ Views

Attributes are the properties which describe an entity. Example The attributes of student entity are as follows − Roll number Name Branch ... Read More

How does the operating system act as a resource manager and extended machine?

Bhanu Priya

Bhanu Priya

Updated on 03-Nov-2023 03:12:34

38K+ Views

An operating system is the interface between the user and the machine which controls and coordinates the use of the hardware among the various application programs for the various users. Operating System as Extended Machine Let us understand how the operating system works as an ... Read More

What is hierarchical routing?

Bhanu Priya

Bhanu Priya

Updated on 01-Nov-2023 14:29:18

56K+ Views

In hierarchical routing, the routers are divided into regions. Each router has complete details about how to route packets to destinations within its own region. But it does not have any idea about the internal structure of other regions.As we know, in both LS and DV algorithms, every router needs ... Read More

What are guided and unguided transmission media?

Bhanu Priya

Bhanu Priya

Updated on 01-Nov-2023 01:39:08

54K+ Views

In transmission media is the way the systems are connected to route data signals in a network.The telecommunication links are classified into two categories −Guided media (wired)Unguided media (wireless).Both guided and unguided are used for short distance (LANs, MANs) as well as long distance (WANs) communication.Let us discuss Guided transmission ... Read More

Explain the role of the Database Administrator in DBMS?

Bhanu Priya

Bhanu Priya

Updated on 31-Oct-2023 21:47:20

61K+ Views

A database administrator (DBA) is a person or group in charge of implementing DBMS in an organization. The DBA job requires a high degree of technical expertise. DBA consists of a team of people rather than just one person.The primary role of Database administrator is as follows −Database designPerformance issuesDatabase ... Read More

What is the difference between DFA and NFA?

Bhanu Priya

Bhanu Priya

Updated on 31-Oct-2023 20:57:57

73K+ Views

DFA is the short form for the deterministic finite automata and NFA is for the Non-deterministic finite automata. Now, let us understand in detail about these two finite automata.DFAA Deterministic Finite automata is a five-tuple automata. Following is the definition of DFA −M=(Q, Σ, δ, q0, F)Where, Q : Finite ... Read More

Advertisements