Evaluation of Polynomial expression using C program
Here we will see how to evaluate a polynomial using C program. The evaluation means what would be the final result of the polynomial expression. A Polynomial is a mathematical expression involving a sum of powers in one or more variables multiplied by coefficients.
How to Solve Josephus Problem using Pointer in C program
Introduction You will see how to solve Josephus problem using pointer in C program. So, I am going to use C program as well as pointer to solve Josephus problem. The Josephus problem (or Josephus permutation) is a theoretical problem related to a certain counting-out game. The problem is described as below. People are standing in a circle waiting to…
Fibonacci Series using Python
Introduction In this example we will see how to build fibonacci series using Python programming language. We will create both recursive and non-recursive function in Python programming language to build the fibonacci series. In mathematics, the Fibonacci numbers, commonly denoted Fₙ, form a sequence, called the Fibonacci sequence, such that each number is the sum of the two preceding ones,…
jQuery AJAX based Voting or Rating System using Flask and MySQL
Introduction In this post we will see how to create voting or rating system using Flask, MySQL and AJAX. We post tutorials, articles or blogs either on our own blog site or as a guest user to other sites. Sometimes we need to let user rate on our tutorials or articles or blogs so that we know how much that…
How to get ServletContext and ServletConfig object in a Spring Bean
Introduction ServletConfig is used by only single servlet to get configuration information, whereas ServletContext is used by multiple objects to get configuration information. ServletConfig object is one per servlet class and destroyed once the servlet execution is completed. ServletConfig object gets created during initialization process of the servlet and this object is public to a particular servlet only.
How to create Jenkins Pipeline for Java Project
Introduction Jenkins Pipeline (or simply “Pipeline”) is a suite of plugins which supports implementing and integrating continuous delivery pipelines into Jenkins. A continuous delivery pipeline is an automated expression of your process for getting software from version control right through to your users and customers. Jenkins Pipeline provides an extensible set of tools for modeling simple-to-complex delivery pipelines “as code”….
How to consume JAX WS SOAP Web Service that requires authentication using Python
Introduction In this tutorial I will see how to consume or call JAX WS based SOAP web service that requires authentication. I will use Python program to consume the SOAP service. In my other example I had shown how to call SOAP webservice using Python but that service did not require any authentication. I am going to use my existing…
How to consume SOAP web service using Python
Introduction In this example I will show you how to consume SOAP web service using Python. In this example mainly I will show you how to call POST request with XML or JSON as a request in the body. I will use here Python package xml.dom.minidom to create the XML request in the body. I will create HTTPS connection over…
What Are The Possible States of Docker Container
States of Docker Container In this tutorial I will tell you what are the possible states of docker containers. Here I am going to tell you about all possible states of docker container. State generally refers to any changeable conditions including the results of internal operations, interactions with other applications.
Merge Two String Arrays and Produce Unique Values using Java
Unique elements by merging arrays In this tutorial, I will show you how to merge string values from two arrays and produce the final array with unique string values. I will use Set data structure to produce the unique results in final array. When passed two arrays of strings, it will return an array containing the string values that appear…