Month: February 2018
-
5 Steps involved in Data Analysis Process
Data science deals with large amount of data and data scientist analyse that data to extract useful information from that data. This data analysis process involve 5 steps (1). In this post we will discuss those 5 steps involved in data analysis process and further we will explore some of the challenges we face during…
-
Basic Data Types in Java Programming – Example Code
In previous post we learned how to write a very simple hello world Java program. In this simple program we will explain what are some different data types in Java. We use specific data types to define variable depending upon the nature of data we want to store in variable. [js] public class DataTypesJava {…
-
Hello World Program in Java
In this post we will discuss and explain how to write a simple hello world program in java. To write, compile and execute a java program many IDE’s are available but we will use netbeans (www.netbeans.org). Following is the simple hello world program in java programming. Step 1: Open netbeans IDE, go into File and…
-
What is Object Oriented Programming?
The ultimate goal of software development is to build a software quickly, correctly and economically. Object Oriented Programming design and implementation approach helps fulfill this goal more productively as compared with structured programming technique. Object oriented programs are often easier to understand, correct and modify. In object oriented programming we divide or organize our program…
-
Introduction To Java Programming
There’s no doubt that java programming language is one of the most powerful programming languages out there in the world. Java is not just a programming language but a technology platform with many interconnected capabilities. According to official website, more than 15 billion devices run java. Which means that an application developed using java can…
-
Introduction to Machine Learning (Notes)
Machine Learning is basically, to train machines (computers) by feeding them with huge amount of data. As a result they can predict/extract useful information based on previously available data. For example in order for a computer to recognize hand writing, we need to train that computer by feeding it with large amount of different handwriting samples.
-
Introduction to Data Science (Notes)
Data science, also known as data-driven science, is an interdisciplinary field of scientific methods, processes, algorithms and systems to extract knowledge or insights from data in various forms, either structured or unstructured, similar to data mining. Data Science is a super-set of the fields of statistics and machine learning (1). DSI (Data Science Initiative, 2015) website, gives us an idea about what…
-
Bubble Sort using Call by Reference (Pointers) C Program
In one of our previous posts we already discussed about Bubble Sort algorithm and how to implement it in C programming. In this post we will discuss about bubble sort using call by reference method. In other words we will implement the bubble sort algorithm using pointers i.e call by reference. [js] #include <stdio.h> #define…
-
Constant Pointer vs Pointer to Constant C Program
In previous post we discussed about pointers, how to define and use pointers. In this post we will learn what’s the difference between constant pointer and pointer to constant. If we define a pointer as constant then we cannot modify its memory address. For example if we assigned the memory address of a variable ‘a’…
-
Pointers in C Programming – Code Example
In previous posts we concluded the arrays topic. In next 2-3 posts we will discuss about pointers with some code examples. Pointers are used to store memory address of variables or arrays. In following simple program we created a pointer named as countPtr and a variable named as count. Then we assigned the address of the…
-
Finding Mode Value From Array C Programming
In previous posts we learned how to find mean value from array and median value from array. In this post we will learn how to find mode value from array elements. Mode value is the most repeated value from the elements. In following simple program we will create a function which will accept an array…
-
Finding Median Value From Array C Programming
In previous post we learned how to write a C program to find mean value from array elements. In this post we will learn how to find median value from array elements. Median value is the centered value in sorted (ascending order) elements. We also learned in our previous post about how to sort array…
-
Finding Mean Value From Array C Programming
In previous post we discussed about how to sort array elements using bubble sort function. In following simple program we will create a function which will accept an array as an input. Furthermore that function will return mean value of the array elements. Mean value is the average of all array elements. Mean value is calculated…
-
Sorting Array Elements Using Bubble Sort in C Programming
In previous post we discussed about how to pass an array into function. In following simple program we will create a function which will accept an array as an input. We will pass an array as input to a function called bubblesort. That function will then sort the elements of the array in ascending order. [js]…
-
Passing Arrays into Functions
In previous two posts we discussed about arrays and functions. In following simple program we will create a function which will accept an array as an input. Furthermore that function will multiply each element of the array with 20. At the and it outputs the elements of the array. It’s to be noted that when we…
-
Arrays in C Programming
Arrays in C Programming: Array is a type of variable which can store multiple items of the same data type. In following simple program we will define an array of 10 elements. After that we will multiply each element of array with 5 and then we will output the value of each element of the…