Heap Sort Heaps can be used in sorting an array. In max-heaps, maximum element will always be at the root. Heap Sort uses this property of heap to sort the array. Consider an array Arr which is to be sorted using Heap Read More …
Blog
Write An Algorithm and Program accepts the following list of integers and uses heap sort to sort and print them?
Heap Sort Algorithm In this tutorial, you will learn how heap sort algorithm works. Also, you will find working examples of heap sort in C, C++, Java and Python. Heap Sort is a popular and efficient sorting algorithm in computer Read More …
Discuss the ACID Properties Of Datebase Transaction with appropriate example
ACID Properties A transaction is a single logical unit of work which accesses and possibly modifies the contents of a database. Transactions access data using read and write operations.In order to maintain consistency in a database, before and after the transaction, certain Read More …
Explain Different Operators In C++ Programming Language
C++ Operators In this tutorial, we will learn about the different types of operators in C++ with the help of examples. In programming, an operator is a symbol that operates on a value or a variable. Operators are symbols that Read More …
Write a C++ program to explain exception handling in C++
One of the advantages of C++ over C is Exception Handling. Exceptions are run-time anomalies or abnormal conditions that a program encounters during its execution. There are two types of exceptions: a)Synchronous, b)Asynchronous(Ex:which are beyond the program’s control, Disc failure Read More …
Develop SRS for Online Examination Form Submission System. SRS should be as per
IEEE standard SRS template. Make necessary assumptions.
Software Requirement Specification (SRS) for Online Examination Introduction:The following subsections of the SRS document provide an overview of the entire SRS.i) Purpose: The purpose of the project is to provide online facility to Institutes to conduct onlineexams and to Students Read More …
What Is A Kruskal’s Spanning Tree Algorithm
Kruskal’s algorithm to find the minimum cost spanning tree uses the greedy approach. This algorithm treats the graph as a forest and every node it has as an individual tree. A tree connects to another only and only if, it Read More …
What Is File Management System?
A file management system is an application that is used to store, arrange, and access files stored on a disk or other storage location. The main purpose of a file manager is to enable users to create and store new Read More …
What is DBMS?(Database Management System)
DBMS software primarily functions as an interface between the end user and the database, simultaneously managing the data, the database engine, and the database schema in order to facilitate the organization and manipulation of data. Though functions of DBMS vary Read More …
Write A C++ Program to display the table of a given number use appropriate formatting to display the table
#include <iostream> using namespace std; int main {} { int i , n; cout <“Enter any number:”; cin>>n; for i=1; <=10; ++i) cout <<“\n” <<n<<“*<<i<<“=”<<n* i; return 0; } OUTPUT 6*1=6 6*2=12 6*3=18 6*4=24 6*5=30 6*6=36 6*7=42 6*8=48 6*9=54 6*10=60