Get the technologies, internet, technology news and more. You can know about technologies and you are at right place for knowing knowledge.

Wednesday, November 7, 2018

Pointers in C | C programming tutorial

Pointers in C | C programming tutorial: Here you can see about how pointers works in C programming and examples of pointers.

What is Pointers in C: Pointers are variables in C which holds address of another variable or pointers contains address of another variable. Pointers are used to access the memory and manipulate the other variable address.

Befor I start pointers, first we will know about what is memory location or memory address. In C language when we declare a variable it assigns a memory location. In memory it assigns a particular space for that variable value. It is a memory address or memory location.
Example: int a; It assigns a 2byte space for a variable.

Pointers in C | C programming tutorial

See this image normal variable has the value 50 and that address is 1001 and another variable pointer has the address of normal variable 1001.

Benefits of pointers:
1. Pointers increase execution speed.
2. Pointers are more efficient to handle the data tables.
3. They reduce the complexity and the length of program.
4. Pointers enables us to access the variable that are declared outside the function.

Example C program for using pointers:

void main()
int *ptr, c=20;


See here pointers are declared using prefix *, so I have declared pointer as *ptr. And c is a normal variable which has value 20. Iam assigning address of c variable to pointer using ptr=&c statement.
And printing the value of variable c through pointer.

I hope you have understand this article 'Pointers in C | C programming tutorial' if you have any questions, ask me in the comment box, I will answer you.

Saturday, October 27, 2018

Introduction to Networking | Types of Networking

Introduction to Networking | Types of Networking: Here you can learn about what is networking and how it works. Also what are the main types of networking.

First thing is what is network: A group of interconnected computers and other devices that are capable of sharing hardware and software resources between different users.

Here in network protocols are mainly used for communication between users. Main protocol used in communication is TCP/IP protocol (Transmission Control Protocol/Internet Protocol) that defines how the data is sent and received through network. Each network device has a IP Address (Internet Protocol) Address. Through this IP address the network device can send and receive the data.

Another one mainly used protocol is HTTP protocol (Hyper Text Transfer Protocol). HTTP uses client-server model. A client that are running browser in laptop, computer or mobile device and server which is running web host web server software. When you access some information or data  from your browser the request sends to the server through this HTTP protocol and server process that request and send the output to the clients device through HTTP protocol.

Types of Networking:

There are mainly used 3 types of networks:
1. LAN(Local Area Network).
2. MAN(Metropolitan Area Network).
3. WAN(Wide Area Network).

1. LAN(Local Area Network): Private owned networks that are small network communication like in one building, Institute or school, small offices etc. These are mainly used to connect to computers in capuses, schools or offices to share their resources and exchange information.

2. MAN(Metropolitan Area Network): It is something longer than LAN, it covers some longer geographical area network like some buildings to buildings or cities to cities. MAN can be owned by some organization, but it usually used by many organizations and individuals. 

3. WAN(Wide Area Network): WAN covers a larger geographical area networks, like a country or continents. MAN is a network that cross metropolitan, national boundaries or regions.

I hope you have understand this article 'Introduction to Networking | Types of Networking' and if you have any questions regarding this networking you can comment me I will resolve that issue.

Tuesday, October 23, 2018

C programming | Arrays in C programming

C programming | Arrays in C programming: Here you can learn about C programming arrays and pointers. And How it is used in C programming.

Arrays in C programming: Arrays defined as a collection of elements with similar datatype or It is a group of data elements with same datatype. In one variable we can store only one element or data.If you want to store 100 user marks, you want to declare 100 variables. To handle this problem array is used.

In memory array elements are start with 0th position. When we declare array in the program It creates space in the computer memory. And we can access them using its position. Diagram shown below.

Array are stored in computer memory

If you want C programming Introduction I have also created that article you can see in popular or in my website.

There are two types of arrays:
1. One-dimensional Array.
2. Multidimensional Array.

1. One-dimensional Array: One dimensional array is a collection of array elements that can be accessed individually by its single index or postion value. You want to declare the array before using it in the program. Declaration shown below.

Datatype Arrayname[array size];
Ex: Char name[20];

Where char is chararcter datatype and name is arrayname and in bracket size of array for name.

2. Multidimensional Array: C programming allows user to create multidimensional array, i.e name suggests multi dimensional more array in one array name. It indicates as a[i][j] where first array i is row and second array j is column. Declaration of multidimensional array is:

Datatype Arrayname[row_array_size][column_array_size];
Ex: int marks[5][6];

Here marks are two dimension arrary name, this array has 5 rows and 6 columns.

I hope you have understand this article 'C programming | Arrays in C programming' if you have any questions or if you want more information about arrays you can ask me in the comment box I will answer you.

Thursday, October 18, 2018

Internet of Things(IOT) Working, Management of IOT devices and IOT platforms

Internet of Things(IOT) Working, Management of IOT devices and IOT platforms: Here you can learn about How IOT works, IOT platforms and how to manage IOT devices.

How Internet of Things(IOT) Works: Internet of Things works with 4 components. Senors, Gateway, Server and Controlling device or Mobile.

How Internet of Things Works with sensors and Network
1. First we have sensors, There are different types of sensors are used in different situations. Sensors can be placed anywhere from where you want data. Sensors will collect data and send to processing device it can be a microcontroller or microprocessor that are used to process this data collected  by the sensors.

2. Second thing in IOT is local processing. It processes data received from the sensors through Framework or Gateway. Data collected from the sensors are large amount of data so it need to store in the cloud storage.

3. Next we need to setup a network or server so it can communicate with devices to process that sensors data and In this step data is processed in the cloud.

4. After that we can control the devices from mobile or laptops from anywhere in the world.

IOT Platforms
There are many number of IOT platforms where IOT works efficiently. They are:
1. Microsoft Azure.
2. Salesforce IOT Cloud.
3. IBM Watson.
4. Amazon Web Services etc.

Management of IOT devices

IOT platform can be able to connect and manage different devices. Whether you are using IOT in Wearable healthcare, or In Vehicle or Home security system you will need to configure the device and you should also able to work with IOT related softwares.

1. Authentication is the process of managing the IOT devices securely. Main thing in IOT is security you have to manage IOT devices and sensor data cloud storage securely.

2. Configuration is the way of setup a system or components in IOT devices. We have to configure and control the IOT devices.

3. Monitoring the IOT data or devices. In a system there are thousands of remote devices. Monitoring is important factor in IOT management to minimize the impact of any device.

4. Software maintanance is important to manage IOT devices, You have to configure and update the software system in real time.

Thursday, October 11, 2018

Machine learning technology and Types of Machine learning

Machine learning technology and Types of Machine learning: In this article you can know all about machine learning and how it works and types of machine learning.

Machine learning is the process of teaching a system or device to do specific task. It is like a artificial intelligence, now what is artificial intelligence. AI is a process of making machine to intelligently as like as human beings. Actually machine learning is used to build artificial intelligent machines or systems. Example is self driving cars, it runs automatically that inside machine teaches itself how to drive car. It runs based on its software.

Machine learning is like a data mining, it mainly works on data. machine learning analyze the data, it gives response and it provide complete field that it is a real system or human. Machine learning mainly focuses on development of programs or softwares.
Some uses of machine learning are:

1. Natural language processing.
2. Recognizing and finding faces in images.
3. Banking and telecommunications.
4. Image processing.
5. Handwriting to text or speech.
6. Face recognition etc.

Types of machine learning

Types of Machine Learning

1. Supervised learning: This is a teacher oriented learning. In this learning if we give a set of data and already we know what the output is, There is a relationship between input and output. Supervised learning is fast and accurate. Supervised learning is a learning where you can consider the learning is guided by the teacher.

2. Unsupervised learning: In this learning we don't know any output, Here system has to understand what output should produced for the data that has given. If once we give dataset, it has to find the patterns and relationships in the dataset.

I hope you have understand this article 'Machine learning technology and Types of Machine learning' if you have any questions regarding this article you can tell me in the comment box I will be there for you.