Both AI (Artificial Intelligence) and Soft Computing use data driven, flexible and nonsystematic tools to solve the problems. The most basic difference between AI and soft computer is that the AI is used to develop intelligent systems, whereas soft computing is used to solve real problems. In this article, we will discuss the important differences between AI and Soft Computing. But before that, let's start with some basics so that it becomes easier to understand the differences between them. What is AI? AI or Artificial Intelligence is a science which deals with making machine intelligence. According to John ... Read More
In software development, there are several software development life cycle (SDLC) models available. Each of these models follows a set of phases that are unique to its type to ensure the successful software development. This article is meant for explaining the two software development life cycle models that are Agile Model and Waterfall Model. In this article, we will also discuss the important differences between the agile model and the waterfall model. What is Agile Model? Agile model is the type software development life cycle model which allows the continuous interaction of the development and testing during the ... Read More
In this tutorial, we discuss writing a program to generate a multiplication table in the Haskell programming language. ExampleMultiplication table of 12 up to 10 is 12 * 1 = 12 12 * 2 = 24 12 * 3 = 36 12 * 4 = 48 12 * 5 = 60 12 * 6 = 72 12 * 7 = 84 12 * 8 = 96 12 * 9 = 108 12 * 10 = 120 In this tutorial, we see Program to generate a multiplication table of a number up to the constant range of 10. (Tail ... Read More
In this tutorial, we discuss writing a program to sort elements in lexicographical order in the Haskell programming language. Haskell is a Declarative, Strongly Typed, and Functional programming language. The computations in Haskell are mathematical functions. The lexicographical order is a dictionary order or in the order of the ASCII values of a character. In this tutorial, we see two different ways to implement a program to sort elements in lexicographical order in Haskell. Program to sort elements in lexicographical order using built-in function sort. Program to sort elements in lexicographical order using custom sorting functions. Algorithm steps ... Read More
In this tutorial, we discuss writing a program to print ASCII values in the Haskell programming language. Haskell is a Declarative, Strongly Typed, and Functional programming language. The computations in Haskell are mathematical functions. ASCII stands for American Standard Code for Information Interchange, used in electronic data transfer and communication. These ASCII values represent characters in electronic devices. These values are used to describe characters and data in digital devices. ASCII is a 7-bit number representing a character. Example: 7-bit binary “1100001” represents character ‘a’ whose ASCII value is 97. In this tutorial, we see two different ways to print ... Read More
In this tutorial, we discuss writing a program to find the largest among the three numbers Haskell programming language We are going to learn three different ways to implement programs to find the largest among three numbers in Haskell. Program to find the largest among three numbers using if-else. Program to find the largest among three numbers using function max. Program to find the largest among three numbers using function maximum. Syntax variables in functions returning IO actions can be declared and initialized instantaneously using the “let” keyword. let num=100 The above line loads an Integer value ... Read More
In this tutorial, we discuss writing a program to find the largest among the three numbers Haskell programming language. A quadratic equation is a second-degree algebraic equation. Example − a quadratic equation is of the form ax^2 + bx + c, where a, b, and c are constants and x is variable. A quadratic equation has two roots. Algorithm steps Take a quadratic equation as input. Implement the programming logic to compute the roots. Display the roots. Algorithm Logic Take input or initialize values for a, b, and c. As the quadratic expression can be constructed with ... Read More
In this tutorial, we discuss writing a program to count the number of vowels and consonants in a Sentence in the Haskell programming language. Haskell is a Declarative, Strongly Typed, and Functional programming language. The computations in Haskell are mathematical functions. Vowels are the open sound-producing letters in English literature. The list of vowels in the English alphabet is ‘a’, ’e’, ’i’, ’o’, and ’u’. The other letters are consonants. In this tutorial, we see two different ways to implement the program to count the number of vowels and consonants in Haskell. Implementing the program to count the number ... Read More
In this tutorial, we discuss writing a program to compute the quotient and remainder in Haskell programming language. Quotient and remainder are the quantities obtained as a result of dividing two quantities. Example − quotient and remainder for the division of 31/5 are 6, 1 respectively. The number can be represented as 31 (dividend) = 5(divisor) * 6(quotient) + 1(remainder). In this tutorial, we see four different ways to write a program to compute quotient and remainder. Haskell program to compute the quotient and the remainder using built-in functions div and mod Haskell program to compute the quotient and ... Read More
In this tutorial, we discuss writing a program to check if two of three Boolean variables are true in the Haskell programming language Boolean variables are the type of variable which hold the boolean value true and false. In this tutorial, we see two different ways to implement a program to check if two of the three boolean values are true Program to check if two of the three boolean values are true in an iterative method. Program to check if two of the three boolean values are true in a recursive method. Algorithm steps Declare or ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP