Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Programming Articles - Page 579 of 3363
323 Views
In this article, we will understand how to find the area of a parallelogram. The area of a parallelogram is calculated using the formula by − base * height Below is a demonstration of the same − Suppose our input is − Base: 6 Height: 8 The desired output would be − Area of parallelogram is: 48 Algorithm Step 1 − START. Step 2 − Declare three values namely base, height and myResult. Step 3 − Define the values. Step 4 − Calculate the area using the formula by base * height and store the result. Step ... Read More
515 Views
In this article, we will understand how to find the perimeter of a circle. The perimeter of a circle is calculated using the formula. (2*22*radius)/7 You can also write the above as − 2ℼr The value of ℼ is 22/7 or 3.14. Suppose our input is − Radius of the circle : 5 The desired output would be − Perimeter of Circle is: 31.428571428571427 Algorithm Step 1 − START. Step 2 − Declare 2 double values namely radius and myResult. Step 3 − Define the values. Step 4 − Calculate the perimeter using the formula ... Read More
272 Views
In this article, we will understand how to find the area of a trapezium. The area of a trapezium is calculated using the formula. (height/2 * (side1 + side2)) Below is a demonstration of the same − Suppose our input is − side1 = 5 side2 = 6 height = 6 The desired output would be − Area of trapezium is: 33.0 Algorithm Step 1 − START. Step 2 − Declare four integer values namely side1, side2, height and myResult. Step 3 − Define the values. Step 4 − Calculate the area of the trapezium using ... Read More
804 Views
In this article, we will understand how to find the Area of a Square. The area of a square is calculated using the formula. side*side Below is a demonstration of the same − Suppose our input is − Length of the side : 4 The desired output would be − Area of the square : 16 Algorithm Step 1 − START. Step 2 − Declare 2 integer values namely sideValue and myResult. Step 3 − Define the values. Step 4 − Calculate the area of the square using the formula side*side and store the result. Step ... Read More
677 Views
In this article, we will understand how to calculate the power of a number. The calculate the power of a number is calculated using a loop and multiplying it by itself multiple times. Below is a demonstration of the same − Suppose our input is − Number : 4 Exponent value : 5 The desired output would be − The result is 1024 Algorithm Step 1 − START Step 2 − Declare three integer values namely baseValue, exponentValue and and myResult Step 3 − Define the values Step 4 − Using a while loop, multiply the input ... Read More
2K+ Views
In this article, we will understand how to print an integer in Kotlin. The reverse of a number is computed using a loop and arithmetic operator % and /. Below is a demonstration of the same − Suppose our input is − The number : 123456 The desired output would be − The result is 654321 Algorithm Step 1 − START Step 2 − Declare two integer values namely myInput and reversed. Step 3 − Define the values Step 4 − Run a while loop Step 5 − Use modulus of 10 and get remainder for ‘myTemp’ ... Read More
804 Views
In this article, we will understand how to count the number of digits in an integer. The digits in an integer are counted using a loop and a counter. Below is a demonstration of the same − Suppose our input is − Number : 15161718 The desired output would be − The result is : 8 Algorithm Step 1 − START Step 2 − Declare two integer values namely count and myInput. Step 3 − Define the values Step 4 − Using a while loop, divide the input value by 10 until the number is reduced to ... Read More
3K+ Views
In this article, we will understand how to find even sum of Fibonacci series till number N. A Fibonacci series is sequence of numbers formed by the sum of its two previous integers. An even Fibonacci series is all the even numbers of the Fibonacci series. A Fibonacci series till number N i.e., 10 can look like this − 0 1 1 2 3 5 8 13 21 34 Below is a demonstration of the same − Suppose our input is − The input : 15 The desired output would be − The Fibonacci series till 15 terms: 0 ... Read More
385 Views
Tensorflow is an open-source Machine learning framework that helps develop models, train pre-trained models by providing high level APIs. TensorFlow is an end-to-end platform to easily build and deploy Machine Learning models. TensorFlow makes it easy for novices and experts to create machine learning models for cloud, desktop, mobile, and web. Features of TensorFlow Let us now see the features of TensorFlow that also explains why it is widely popular Build and Train models easily TensorFlow offers multiple levels of abstraction to make it quick for you to choose the correct one. Build and train models by using the high-level ... Read More
546 Views
TensorFlow Lite is a mobile library designed to deploy models on mobile, microcontrollers and edge devices. It comes with tools that enable on-device machine learning on mobile devices using 5 aspects − latency, privacy, connectivity, size, and power consumption. It provides support on Android, iOS, embedded Linux and microcontrollers. Supports multiple languages such as Java, Swift, Objective C, C++, and Python. Also provides hardware acceleration and model optimization. The documentation provides end-to-end examples for machine learning projects such as image classification, object detection, question answering, pose estimation, text classification, and many more on different platforms. There are two aspects to ... Read More