Sudhir sharma has Published 1149 Articles

Bell Numbers - Number of ways to Partition a Set in C++

sudhir sharma

sudhir sharma

Updated on 22-Nov-2019 07:24:12

849 Views

A bell number is used to denote the number of ways a set of n elements can be partitioned into subsets that are not empty (i.e. have at least one element).In this program, we are given a set of n elements and we have to find the number of ways to ... Read More

Basic Operators in Shell Scripting

sudhir sharma

sudhir sharma

Updated on 22-Nov-2019 07:19:26

18K+ Views

Shell is an interface using which the programmer can execute command and interact directly to the operating system. Shell scripting is giving commands that a shell can execute.In shell also there are variables and operators that are used to manipulate these variables. There are 5 basic operators in shell scripting.Arithmetic ... Read More

Basic Operators in Relational Algebra

sudhir sharma

sudhir sharma

Updated on 22-Nov-2019 07:13:33

5K+ Views

Relational Algebra is a procedural query language, it is used to provide a single table / relation as output of performing operations on more than one relations. Some of the basic relations will be discussed here.In our course of learning, we will use three relations (table) −Table 1: courseCourse_idName1Computer science2Information ... Read More

Basic Graphic Programming in C++

sudhir sharma

sudhir sharma

Updated on 22-Nov-2019 07:06:43

21K+ Views

C++ programming language is a versatile programming language. Using C++ you can create low end graphics too i.e. creating basic shapes and words with stylish fonts and adding colors to them can be done using c++.Graphic programming can be done in c++ using your terminal or command prompt or you ... Read More

Bash program to check if the Number is a Prime or not

sudhir sharma

sudhir sharma

Updated on 13-Nov-2019 11:53:01

19K+ Views

Bash also known as GNU bash is a command language and unix shell script is a command line interpreter for operating system. It was designed by Brian Fox and was a free software which replaced Bourne shell. It first released in 1989 and some became go to for login shell ... Read More

bar() function in C graphics

sudhir sharma

sudhir sharma

Updated on 13-Nov-2019 11:47:23

2K+ Views

bar() function is a C graphics function that is used to draw graphics in the C programming language. The graphics.h header contains functions that work for drawing graphics. The bar() function is also defined in the header file.Syntaxvoid bar(int left, int top, int right, int bottom );The bar() function is ... Read More

Bands in Radio frequency Spectrum in C program

sudhir sharma

sudhir sharma

Updated on 13-Nov-2019 11:43:05

618 Views

Radio frequency (RF) is the oscillation of an A.C. current or an A.C. voltage or any other oscillating body in the frequency range of 20KHz to 300 GHz.Radio frequency spectrum of a device is the frequency range that the device can capture, process or repercate. Generally the frequency range is ... Read More

C++ Balanced expressions such that given positions have opening brackets

sudhir sharma

sudhir sharma

Updated on 13-Nov-2019 11:30:34

247 Views

A balanced expression of parentheses is an expression that contains pairs of all sort of parentheses together in a correct order. this means that for every opening parentheses there is a closing parentheses in proper order of parentheses i.e. { }.Expression − {([][]{})({}[]{})}Output − balancedNow, in this problem we have ... Read More

Array Representation Of Binary Heap

sudhir sharma

sudhir sharma

Updated on 13-Nov-2019 10:20:04

4K+ Views

The complete binary tree that follows the properties of heap ordering is called binary heap.Based on the ordering of binary heap, it can be of two types −min Heap is the heap in which the value of node is greater than or equal to the value of its parent node. ... Read More

To find sum of even factors of a number in C++ Program?

sudhir sharma

sudhir sharma

Updated on 30-Oct-2019 06:20:56

288 Views

This program is used to find all the even factors and calculate the sum of these even factors and display it as output.Example −Input : 30 Even dividers : 2+6+10+30 = 48 Output : 48For this, we will find all the factors. Find the even of them and find the ... Read More

Advertisements