Create Beautiful and Useful Infographics

Samual Sam
Updated on 21-Oct-2019 11:47:53

228 Views

We all know the old saying – A picture is worth a thousand words referring to the idea that, complex topics can be conveyed with just a single image. Since, it is widely believed that, essence and meaning of content can be explained better through visual mode in a better way. Also, it is fun to look at pleasant pictures or watching cool videos than to read normal text.In advertising and media industry, It is also a proven fact that, visual content drives more traffic and engagement than text does. Trying a cool infographic is the new trend. This article ... Read More

Add User to the Group on Linux

Samual Sam
Updated on 21-Oct-2019 11:44:54

1K+ Views

The concept of “group” may be confusing to many Linux users. Linux operating system is designed to allow more than one user to have access to the Linux system at a time. Linux/Unix operating systems provides multitasking abilities to its multi-users. In order to do this task, we need to assign a group to each Linux user. This article gives step by step process on – how to add a user to the group in Linux system.Create a New UserTo create a new user using Linux command line, use the following command –$ sudo useradd tutorialspointThe above command is used ... Read More

C Program for Subtraction of Matrices

Sunidhi Bansal
Updated on 21-Oct-2019 11:42:24

1K+ Views

Given two matrices MAT1[row][column] and MAT2[row][column] we have to find the difference between two matrices and print the result obtained after subtraction of two matrices. Subtraction of two matrices are MAT1[n][m] – MAT2[n][m].For subtraction the number of rows and columns of both matrices should be same.ExampleInput: MAT1[N][N] = { {1, 2, 3},    {4, 5, 6},    {7, 8, 9}} MAT2[N][N] = { {9, 8, 7},    {6, 5, 4},    {3, 2, 1}} Output: -8 -6 -4 -2 0 2 4 6 8Approach used below is as follows −We will iterate both matrix for every row and column and ... Read More

Limit Network Bandwidth on Linux

Samual Sam
Updated on 21-Oct-2019 11:41:34

8K+ Views

Have you ever shared network bandwidth with multiple devices? If you have ever been in a position where one application consumed all your traffic, then either you are a system admin or just a Linux user, you will need to discover how to control the upload and download speeds for applications to make sure that your bandwidth is not occupied entirely by a single application. This article gives an idea about how to limit network bandwidth on Linux.Limiting Network BandwidthOne of the easiest way to control over the network traffic is via command line tool called “trickle“. It can be ... Read More

Psensor: Graphical Hardware Temperature Monitor for Linux

Samual Sam
Updated on 21-Oct-2019 11:36:48

598 Views

Generally speaking, Linux administrators are supposed to track the performance of your computer hardware issues or faults which might occur accidentally. Sometimes, overheating issues can occur due to various software concerns such as buggy graphics card driver, mis-configured fan control program, malfunctioning CPU frequency scaling daemon, etc. If these problems are not detected early, these might become serious threats which may cause permanent damage on your hardware. Hence, keeping an eye on over heating issues should be your top priority.Psensor is considered to be one of the simplest application to monitor hardware temperature and to plot real-time analytics from raw ... Read More

Check If an Array Is Palindrome Using Recursion in C

Sunidhi Bansal
Updated on 21-Oct-2019 11:35:40

1K+ Views

Given an array arr[n] where n is some size of an array, the task is to find out that the array is palindrome or not using recursion. Palindrome is a sequence which can be read backwards and forward as same, like: MADAM, NAMAN, etc.So to check an array is palindrome or not so we can traverse an array from back and forward like −In recursion also we have to change the start and end value till they are equal or when the values as start and end are not equal then exit and return false that the given array is ... Read More

Check If a Number is Divisible by Sum of Its Digits in C

Sunidhi Bansal
Updated on 21-Oct-2019 11:28:40

2K+ Views

Given a number n we have to check whether the sum of its digits divide the number n or not. To find out we have to sum all the numbers starting from the unit place and then divide the number with the final sum.Like we have a number “521” so we have to find the sum of its digit that will be “5 + 2 + 1 = 8” but 521 is not divisible by 8 without leaving any remainder.Let’s take another example “60” where “6+0 = 6” which can divide 60 and will not leave any remainder.ExampleInput: 55 Output: ... Read More

Check If Points Are Parallel to X-Axis or Y-Axis in C

Sunidhi Bansal
Updated on 21-Oct-2019 11:24:32

547 Views

Given n number of points we have to check that whether the point is parallel to x-axis or y-axis or no axis according to a graph. A graph is a figure which is used to show a relationship between two variables each measured along with axis at right angles. Parallel are the same lines which are having same distance at all points, like railway tracks are parallel to each other.So, we have to find whether the points are parallel to x-axis or y-axis means the distance between the coordinates and the axis are same at all points.What is an axisThe ... Read More

Check If Two Strings Are Same in C

Sunidhi Bansal
Updated on 21-Oct-2019 11:18:33

10K+ Views

Given two strings str1 and str2 we have to check whether the two strings are same or not. Like we are given two stings “hello” and “hello” so they are identical and same.Identical are the strings which seems equal but are not equal like : “Hello” and “hello”, and same are the strings which are exactly same like : “World” and “World”.ExampleInput: str1[] = {“Hello”}, str2[] = {“Hello”} Output: Yes 2 strings are same Input: str1[] = {“world”}, str2[] = {“World”} Output: No, 2 strings are not sameThe approach used below is as follows −We can use strcmp(string2, string1).strcmp() string ... Read More

C Program for Replacing One Digit with Another

Sunidhi Bansal
Updated on 21-Oct-2019 11:14:31

4K+ Views

Given a number n, we have to replace a digit x from that number with another given number m. we have to look for the number whether the number is present in the given number or not, if it is present in the given number then replace that particular number x with another number m.Like we are given with a number “123” and m as 5 and the number to be replaced i.e. x as “2”, so the result should be “153”.ExampleInput: n = 983, digit = 9, replace = 6 Output: 683 Explanation: digit 9 is the first digit ... Read More

Advertisements