Bhanu Priya has Published 1660 Articles

Differentiate between int main and int main(void) function in C

Bhanu Priya

Bhanu Priya

Updated on 08-Dec-2023 14:00:41

14K+ Views

int main represents that the function returns some integer even ‘0’ at the end of the program execution. ‘0’ represents the successful execution of a program.The syntax of int main is as follows − int main(){    ---    ---    return 0; } int main(void) represents that ... Read More

How do we create an image map in HTML?

Bhanu Priya

Bhanu Priya

Updated on 24-Nov-2023 00:50:14

1K+ Views

For creating clickable areas in an image, we use image map which is defined as tag, with open and closing tags The tag defines an area inside an image-and nested inside a tag. Following are the attributes − Sr.No Attribute & Description ... Read More

How to include an option in a drop-down list in HTML?

Bhanu Priya

Bhanu Priya

Updated on 18-Nov-2023 03:19:19

1K+ Views

For creating a drop-down list in HTML, we use command, it is generally used in form for collecting user input. To refer the form data after submitting, we use name attribute. If there is no name attribute, then there will be no data from drop-down list. For associating the ... Read More

Are HTML comments inside script tags a best practice?

Bhanu Priya

Bhanu Priya

Updated on 09-Nov-2023 14:29:04

1K+ Views

Before trying to understanding whether HTML comments inside script tags is best practice or not, let us discuss about how to write comments in HTML, what are the different ways to comment in HTML? Generally, comments are helpful to understand the statement, it leaves remainders and provide explanations. It also ... Read More

What is a modem? What are different types of modem?

Bhanu Priya

Bhanu Priya

Updated on 07-Nov-2023 12:43:58

32K+ Views

Modem stands for Modulator and Demodulator. It is a device that modulates signals to encode digital information for transmission and demodulates signals to decode the transmitted information.A modem transmits data in bits per second (bps).It is necessary for communication between digital devices and Analog devices.Modem is necessary because it acts ... Read More

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

Bhanu Priya

Bhanu Priya

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

40K+ 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

42K+ 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

45K+ 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

C program to display all prime numbers between 1 to N using for loop

Bhanu Priya

Bhanu Priya

Updated on 07-Nov-2023 04:05:41

55K+ Views

ProblemWrite a C program to display all the prime numbers between 1 and n is a value given by the user at run time.SolutionC program to display all the prime numbers between 1 and n is a value given by the user at run time is explained below −AlgorithmGiven below ... Read More

What is the term serializability in DBMS?

Bhanu Priya

Bhanu Priya

Updated on 07-Nov-2023 02:56:47

53K+ Views

A schedule is serialized if it is equivalent to a serial schedule. A concurrent schedule must ensure it is the same as if executed serially means one after another. It refers to the sequence of actions such as read, write, abort, commit are performed in a serial manner.ExampleLet’s take two ... Read More

1 2 3 4 5 ... 166 Next
Advertisements