Bhanu Priya has Published 1450 Articles

What are reading and writing characters in C language?

Bhanu Priya

Bhanu Priya

Updated on 20-Jun-2024 21:24:47

6K+ Views

In C programming language the reading and writing characters are as follows −The simplest of the console I/O functions are getche (), which reads a character from the keyboard, and putchar(), which prints a character to the screen.The getche () function works on until a key is pressed and then, ... Read More

How to find minimum element in an array using binary search in C language?

Bhanu Priya

Bhanu Priya

Updated on 20-Jun-2024 01:51:23

2K+ Views

C programming language provides two types of searching techniques. They are as follows − Linear search Binary search Binary Search This method can be applied only to sorted list. The given list is divided into two equal parts. ... Read More

What are memory operations in C language?

Bhanu Priya

Bhanu Priya

Updated on 20-Jun-2024 00:33:01

1K+ Views

The library #include contains the basic memory operations. Although not strictly string functions, the functions are prototyped in #include . These memory operations are as follows − void *memchr (void *s, int c, size_t ... Read More

Explain the concept of secondary index in DBMS

Bhanu Priya

Bhanu Priya

Updated on 04-May-2024 20:26:03

3K+ Views

In secondary Index (Unique value) is created for each record in a data file which is a candidate key. Secondary index is a type of dense index and also called a non clustering index.Secondary mapping size will be small as the two levels DB indexing is used.While creating the index, ... Read More

Are HTML comments inside script tags a best practice?

Bhanu Priya

Bhanu Priya

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

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

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

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

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

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

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

Previous 1 ... 3 4 5 6 7 ... 145 Next
Advertisements