Programming Tutorials
63 views | +0 today

# Programming Tutorials

Curated by Albert Stevens
 Scooped by Albert Stevens

## New Features in SQL Server 2012

Microsoft Corporation released SQL Server 2012 (codenamed "Denali") on April 2012. Microsoft includes lot of new features and enhancements with SQL Server 2012
No comment yet.
 Scooped by Albert Stevens

## C or C++ Program for Case Conversion

This article discuss about case conversion in C or C++ and shows the programs that convert from uppercase to lower case in c or C++.

Albert Stevens's insight:

Case Conversion is a process to convert upper case to lower case or to convert lower case to upper case.
ASCII value of ‘A’ is 65 and  ‘a’ is 97. Difference between them is 97 – 65 = 32
So if we will add 32 in the ASCII value of ‘A’ then it will be ‘a’ and if will we subtract 32 in ASCII value of ‘a’ it will be ‘A’. It is true for all alphabets.

No comment yet.
 Scooped by Albert Stevens

## C or C++ Program to Display Fibonacci Series

This article show the program to display Fibonacci series in C/C++. C code to Display Fibonacci Series #include #include #include int
No comment yet.
 Scooped by Albert Stevens

## Program to Convert Binary to Decimal

The decimal (base ten) numeral system has ten possible values (0, 1, 2,3,4,5,6,7,8, or 9). The binary (base two) numeral system has two possible values (0 or 1). Binary system is the internal language of electronic computers. That’s why any computer programmer must need to know how to convert a decimal to binary. Follow C++ code will convert a decimal number into binary number.

No comment yet.
 Scooped by Albert Stevens

## C or C++ Program to Calculate ASCII Value of a Character

ASCII stands for American Standard Code for Information Interchange. Computers can only understand binary numbers. So an ASCII code is the numerical representation of a character such as ‘a’ is 97.

No comment yet.
 Scooped by Albert Stevens

## C or C++ Program for Bubble Sort

Bubble sort is the simplest sorting algorithm. Starting from the beginning of the list it’s compared every adjacent pair and swap their position if they are not in the right order (The latter one is smaller than the former one). This process is repeated as many times as necessary until the array is sorted. It takes O(n) time.

No comment yet.
 Scooped by Albert Stevens

## C or C++ Program to Show Sum of a Digit

This article describes about the program Sum of a digit in C/C++. Let us discuss about the digit sum or sub of a digit system. Digit sum or Sum of a
No comment yet.
 Scooped by Albert Stevens

## Program to Calculate 2nd Highest Number Form N Number

Program to Calculate 2nd Highest Number Form N Number #include #include int main(){ clrscr(); int n,i,tem,j,k,l; float x; cout<<" " This
No comment yet.
 Scooped by Albert Stevens

## C/C++ Program for Linear Search

Linear search or sequential search is a method for finding a particular value in a list by checking every one of its elements until the desired one is found. Every element is searched one at a time and in sequence. It is the simplest search algorithm. t is a special case of brute-force search.
This searching algorithm is not efficient for large number of element. For large element we can use binary search or hashing.

Searching is one of the important mechanism in computer programming. It plays a good role to make a program slow or fast based on choice appropriate searching mechanism.

No comment yet.
 Scooped by Albert Stevens

## C or C++ Program for Quick Sort

Quick Sort is a sorting technique based comparison. It was developed by Tony Hoare in 1960. It uses divide-and-conquer method for sorting. It is also known as partition-exchange sort

No comment yet.
 Scooped by Albert Stevens

## C or C++ Program for Heap Sort

Heap sort is a sorting technique based comparison.  It was invented by J. W. J. Williams in 1964. It is part of the selection sort. It is the improvement of basic selection sort and uses a logarithmic time priority queue rather than a linear time search. It takes O (n log n) times.
We can divide the heap sort algorithm into two parts.
In the first parts a heap is built out of the data. The heap is an array with the layout of a complete binary tree.

No comment yet.
 Scooped by Albert Stevens

## Advance C# Interview Questions and Answers

The C# is the most powerful and famous programming language for application development. This language is now widely used in different enterprise level application development. This article describes some advance questions and answers in C#. These C# questions will be very helpful for experience persons or experience developers.

No comment yet.
 Scooped by Albert Stevens

## SQL Server Interview Questions and Answers

MS SQL Server is a computer programs that is primarily used to store and retrieve information. This article describes some important questions with answers in Microsoft SQL Server

No comment yet.
 Scooped by Albert Stevens

## Program to Show Prime Numbers between Range

This article shows how to write a C or C++ program to show prime numbers between a Range.

Albert Stevens's insight:

In mathematics Prime Number are those number whose can be divided evenly only by 1, or itself. It must be a whole number greater than 1. For example: 5 can only be divided evenly by 1 or 5, so it is a prime number. 6 can be divided evenly by 1, 2, 3 and 6. So 6 is not a prime number. it is a composite number.

The first few prime numbers are 2, 3, 5, 7, 11, 13, 17, 19, 23. There is no largest prime number. For every prime number p there exists a prime number p’ such that p’ is greater than p. This number was demonstrated in ancient times by the Greek mathematician Euclid.

No comment yet.
 Scooped by Albert Stevens

## C or C++ Program for Binary search

This article show C/C++ Program for Binary search.

Albert Stevens's insight:

Binary search is one kind of searching algorithm.It is very important.

No comment yet.
 Scooped by Albert Stevens

## C or C++ Program to Show Leap Years between a Range

This article show the program to find all the leap years between a range in c/c++. C Code for Leap Years between a Range #include #include int main() {
No comment yet.
 Scooped by Albert Stevens

## C or C++ Program to Convert Decimal to Roman Number

The decimal (base ten) numeral system has ten possible values (0, 1, 2,3,4,5,6,7,8, or 9). The Roman Number system used the following ten symbols to represent 1-10
I, II, III, IV, V, VI, VII, VIII, IX, X.

No comment yet.
 Scooped by Albert Stevens

## C or C++ Program for Counting Sort

Counting sort is a sorting technique based on keys between specific ranges. It works by counting the number of objects having distinct key values. It performs some arithmetic operation and calculates the position of each object in the output sequence.
It works by counting the occurrences of each data value. It imagines that there are n data items in the range of 1…m (m is an integer). For each input element the algorithm can then determine, the amount of elements less than it. For example if there are 8 elements less than element x, then x belongs in the 9th data position.

No comment yet.
 Scooped by Albert Stevens

## Program to Compute Pascal Triangle

This article describes the program to generate Pascal triangle in c/c++. Let us discuss about the Pascal's triangle. What is Pascal's Triangle? In mathematics
Albert Stevens's insight:

In mathematics Pascal’s Triangle is one of the most interesting Number Patterns. It is a triangular array of the binomial coefficients.

No comment yet.
 Scooped by Albert Stevens

## C or C++ Program to Convert Decimal to Binary

This article describes about how to convert number from decimal to binary in C/C++? Let us discuss about the decimal to binary conversion system. Convert
No comment yet.
 Scooped by Albert Stevens

## C or C++ Program to Convert Digit to Text

This article describes how to convert digit into text in c/c+? Convert Digit to Text or Convert Number into Text Sometimes we need to convert a digit or
No comment yet.
 Scooped by Albert Stevens

## Program to Calculate Factorial of n Number

The factorial means to multiply a series of descending natural numbers. Its symbol is! And pronounced n factorial. But some people even say “4 shriek” or “4 bang”
In mathematics the factorial of a natural number n is the product of the positive integers less than or equal to n. It is written as n!

Albert Stevens's insight:

0! = 1
1! = 1
2! = 2×1 = 2
3! = 3×2×1 = 6
4! = 4×3×2×1 = 24
5! = 5×4×3×2×1 = 120

No comment yet.
 Scooped by Albert Stevens

## C or C++ Program for Merge Sort

Merge Sort is a sorting technique based comparison. At first it divides the list into the smallest unit (1 element). Then compare each element with the adjacent list to sort and merge the two adjacent lists. At last all the elements are sorted and merged. It is Stable and takes O (n log n) times.

Albert Stevens's insight:

Merge Sort Program

No comment yet.
 Scooped by Albert Stevens

## CRUD operations in AngularJS and Web API

AngularJS is one of the most popular client-side JavaScript frameworks on the web. It helps us to create Single-Page Application (SPA) using HTML, CSS, and JavaScript. It provides MVC structure for developing SPA applications. ASP.NET Web API is a good choice for providing data for these types of applications. This article explains how to perform CRUD operations using ASP.NET WebAPI and AngularJS.

Albert Stevens's insight:
Table CreationsCreations of ASP.NET Web APIInclude AngularJSCreate AngularJS ControllerCreate User Interface
No comment yet.
 Scooped by Albert Stevens

## Design Pattern Interview Questions and Answers

Design pattern is a guideline to find a solution for commonly occurring problems. Now a day’s design pattern and software design questions are essential part of any programming interview, especially for mid to senior level programming jobs. Day by day it is becoming more popular. This article describes some important questions and answers in asp.net design pattern

No comment yet.