Running Instructions in an Interactive Interpreter in Python

This article demonstrates several examples of Running Instructions in an Interactive Interpreter in Python. In order to work with a python command-line interpreter, first, you need to install python. After that launch the command prompt and enter the python command as given below. Further instructions can be given on this command-line interpreter. The following code shows the basic syntax of […]

A Login Application using JSP, Servlet, and JDBC

The following example shows A Login Application using JSP, Servlet, and JDBC. Specifically, the Login.jsp file creates a client-side form that allows users to enter their credentials. Once, the user enters data and clicks on the Submit button, the LoginServlet executes. Furthermore, the database table used here is named myusers. The following figure shows the data stored in this table. Login.jsp LoginServlet.java Since the method […]

Find a Palindrome Number in VB.NET

The following example shows how to Find a Palindrome Number in VB.NET. To begin with, let us first understand what a palindrome number is. Basically, a palindrome number is a number that is equal to the number obtained by reversing the given number. Therefore, a palindrome number remains the same when we reverse its digits. Also, it is called a numeral palindrome. Further, […]

Example of Servlet and JDBC Connectivity

This example explains Servlet and JDBC Connectivity with a MySQL database. As can be seen in the output, this example shows a list of users which it fetches from a database table. Further, we use MySQL Workbench 8.0 CE for creating our database. Creating Database Table To begin with, we create a database called d1. Further, we use the <use d1> command and to make the […]

Deep Learning Practice Exercise

The following Deep Learning Practice Exercise comprises important deep learning concepts. As a matter of fact, implementing a deep learning algorithm becomes easy with the help of certain python packages. Furthermore. TensorFlow and Keras are two such libraries that you can use in deep learning. While TensorFlow is an open-source library that offers both high-level and low-level APIs, Keras has […]

Python Practice Exercise

The following Python Practice Exercise comprises basic programming constructs, control flow, and functions in python. Also, the learner can apply the concepts of data structures like lists, tuples, sets, and dictionaries in python applications. Apart from this, it includes the use of object-oriented programming features of python to develop applications. Additionally, the following Python Practice Exercise aims to make you learn how […]

When and How to Use Servlet Annotations

In this article, I will explain When and How to Use Servlet Annotations. In fact, the Servlet version 3.0 introduces the concept of annotations. As a result, it is no longer required to use only the web.xml file for configuring the servlets. Hence, we have now annotations to configure various components of the servlet. Accordingly, IDEs like Eclipse have the support of […]

Performing Set Operations in LINQ

In this article, I will explain how to perform Set Operations in LINQ. Basically, Language Integrated Query (LINQ) has several query methods for performing set operations such as union, intersection, and set difference. Query Methods for Performing Set Operations in LINQ The following section provides a description of query methods available in LINQ. In fact, we can represent a set […]

Using Quantifiers in LINQ

In this article, I will explain how to use Quantifiers in LINQ. Basically quantifiers are operators that return a boolean value. Further, these quantifier operators return a value that indicates whether all elements in a set satisfy a particular condition or only few. Also, whether a specific element is available in the set. Accordingly, the LINQ in C# provides following […]

Creating Deployment Descriptor in a Dynamic Web Project

This article explains Creating Deployment Descriptor in a Dynamic Web Project in Eclipse JEE. Basically, a deployment descriptor is called web.xml and contains configuration information regarding a dynamic web application. However, when we create a dynamic web project in Eclipse IDE, the web.xml file is not available by default. Therefore, we need to create this file explicitly. Steps for Creating […]