Python Graphics With Turtle
The turtle module in Python is a very simple tool for creating various objects and animations. The idea behind this name is based on real life: a turtle can go forward, backward, right, or left, and when doing so it leaves a trail. It is possible to command a turtle to take up its tail, though no footprint will be visible. In fact, these two sentences explain how everything works here, so let’s see how far we can get. Continue reading
Java Web: Servlets, JSP, MySQL
In this sample, we present a program using servlets, Java Server Pages (JSPs), and a connection to the MySQL database. The database is called “Student” and has one table with the same name. The program in Java allows us to add a new student, delete an old student, and update existing ones, and shows all students that are in the database. Continue reading
Introduction to Java Web: Servlets
The Java programming language is used in such popular websites as Google, Facebook, YouTube, Amazon, and many others. This proves that Java is good for multiple purposes. In this sample I would like to pay attention to the basics of web technologies bound to the usage of Java. Continue reading
DAO Pattern in Java
In order to continue the topic of database connectivity in Java, it is necessary to look at the DAO pattern, which facilitates operation with the database.
The main idea of the Data Access Object (DAO) pattern is to hide all backend operations of the connection to the database and unite them in one main class. This may be necessary when the program consists of multiple entities interconnected with each other, and it would be very complex and of poor practice to make connection from each entity every time. Continue reading
Performing basic operations with a database in MySQL using Java
Continuing the previous guide, it is possible now to create and perform any operations using a database in MySQL. Let’s start with the simplest operation of creating a database in MySQL using Java and performing standard queries. Continue reading
Connecting MySQL to NetBeans
When learning any programming language, at some point it may be necessary to extend your skills and knowledge by learning databases and connecting one to the IDE.
In this tutorial we are going to discuss how to connect a MySQL database to NetBeans IDE to work with it using Java. Continue reading
Today, virtually all devices connect to the computer via USB port, which is a universal standard for joining different types of devices. Until 1995, each device connected to a computer using unique connectors, thus computers had many different ports for a variety of devices. This situation was completely inconvenient, so engineers started development of a new universal technology that would allow any kind of device to be connected to it. As a result, USB was born.
SQL stands for Structured Query Language, and has been specifically designed for working with relational databases. This type of database is based on the concept of primary keys and the corresponding data stored within a table. Since databases today can handle billions of rows of data and process tons of queries at the same time, a language that helps to obtain necessary pieces of information within seconds is highly required. Continue reading
Solve the following separable differential equations:
The main goal of this paper is to analyze the mechanical oscillations of a pendulum using MATLAB software. Continue reading