Anastasiia's repositories

BlockingThreads

Create 2 classes. Implement mutual blocking of these classes.

Language:JavaStargazers:0Issues:1Issues:0

BookLambdaAnonymousClass

Create a Book class, make 3 fields and corresponding methods. To implement the closure of the anonymous class and the lambda expression.

Language:JavaStargazers:0Issues:1Issues:0

CurrencyJson

Create classes Currency, Parser, Main. Connect to the NBU API and display 3 currencies to the console

Language:JavaStargazers:0Issues:1Issues:0

ElectricApplianceWithoutDAO

Determine the hierarchy of electrical appliances. Plug some in. Calculate the power consumption. Carry out sorting of appliances in the apartment based on power. Find a device in the apartment that matches the specified range of parameters. Do not use database access and DAO.

Language:JavaStargazers:0Issues:1Issues:0

JdbcNewDBMysql

Create a database in Workbench and connect to IntelijIdea and create a test table. Populate it with data using MySQL queries in IntelijIdea. Using JDBC write an example of executing all requests.

Language:JavaStargazers:0Issues:1Issues:0

JdbsJoins

Make a selection using JDBC and JOIN's for some tasks

Language:JavaStargazers:0Issues:1Issues:0

JdbsTxtMysqlQuery

Write all requests in a text file from a new line each and use the I / O streams to read all requests from the file and execute.

Language:JavaStargazers:0Issues:1Issues:0

LambdaCalulator

Write the basic arithmetic operations of the calculator using lambda expressions

Language:JavaStargazers:0Issues:0Issues:0

LambdaStream

Create a list and fill 10 cells with random numbers, you need to output the sum of the squares of all elements of the list using map() and reduce().

Language:JavaStargazers:0Issues:1Issues:0

MySqlConditionMarred

Employee by id 1 was not married, married change the data in the third table about marital status.

Stargazers:0Issues:1Issues:0

MySqlConditionSalaryMore10000

To get the id of employees whose salary is more than 10000.

Stargazers:0Issues:1Issues:0

MySqlCreateDB

Create a database named "MyDB". In the created database (from task 2), create 3 tables: the 1st contains the names and phone numbers of employees of a certain company, The 2nd contains statements about their salary, and positions, the 3rd contains information about marital status, date of birth and place of residence.

Stargazers:0Issues:1Issues:0

MySqlFunctionCarsshop

Using the carsshop database, create a function to find the minimum age of a customer, then sample all the cars he bought.

Stargazers:0Issues:1Issues:0

MySqlIndexShopDB

Using the ShopDB database and the Customers page (delete the table if present and re-create the first time without a primary key then with a primary) and then add the indexes and parse the dataset.

Stargazers:0Issues:1Issues:0

MySqlIndexView

Set your indexes on tables and create views for some tasks

Stargazers:0Issues:1Issues:0

MySqlJoin

Make a selection using JOIN's for some tasks

Stargazers:0Issues:1Issues:0

MySqlJoinShopDB

Using JOIN's and ShopDB to get the names of buyers and names of employees whose TotalPrice of goods is more than 1000

Stargazers:0Issues:1Issues:0

MySqlNormalizationStaff

Design a database for a fictitious HR system, normalize all tables.

Stargazers:0Issues:1Issues:0

MySqlNormalizationTable

Normalize the table

Stargazers:0Issues:0Issues:0

MySqlPkFkStaff

Design a database for an HR system

Stargazers:0Issues:0Issues:0

MySqlPkFkWarehouse

Design a database for a wholesale warehouse that has suppliers of goods, staff, regular customers. Think over the fields of the tables yourself.

Stargazers:0Issues:1Issues:0

MySqlProcedure

Create functions/procedures for some tasks

Stargazers:0Issues:1Issues:0

MySqlSubqueries

Make a selection using subqueriesfor some tasks

Stargazers:0Issues:1Issues:0

MySqlSubqueriesShopDB

Using subqueries and ShopDB to get the names of buyers and names of employees whose TotalPrice of goods is more than 1000

Stargazers:0Issues:1Issues:0

MySqlTransaction

Execute a series of insert records as a transaction in a stored procedure. If there is such an employee, rollback the database.

Stargazers:0Issues:1Issues:0

MySqlTriggers

Create a trigger that will delete records from the 2nd and 3rd tables before deleting records from the employee tables (1st table) so as not to violate the integrity of the data.

Stargazers:0Issues:0Issues:0

ResolveDeadlockThread

Create 2 classes. Implement mutual blocking of these classes. Use all possible methods to solve the problem of mutual blocking.

Language:JavaStargazers:0Issues:1Issues:0

SynchronizedThreads

Create 2 classes with fields and methods. It is necessary to synchronize the methods of these classes with each other, i.e. to display values one by one (class 1, class 2, 1, 2, etc.)

Language:JavaStargazers:0Issues:1Issues:0

ThreadPriority

Create 2 classes PriorityRunner and PriorityThread. Start 3 threads with priorities (min, max, norm). With the help of the for loop, we will display values from 1 to 50 on the screen and indicate which thread is doing this operation.

Language:JavaStargazers:0Issues:1Issues:0

ThreadSleep

Create three threads, start each of these threads (for example: main, second, first), and when these threads work successfully - display a message on the screen (completion then first, second and main).

Language:JavaStargazers:0Issues:0Issues:0