w3resource logo

Tutorials, Exercises published recently

Trending Exercises / Tutorial :

Mojo Tutorial - an Introduction

Python Cyber Security

MongoDB listingsAndReviews collection

Java Object Oriented Programming

29 May, 2023

Java Thread - Exercises, Practices, Solutions

Java thread Programming - Create a Basic Thread to Print "Hello, World!"

Java thread Programming - Find and Print Even-Odd Numbers with Threads

Java thread Programming - Multithreaded Java Program: Sorting an Array of Integers

Java thread Programming - Multithreaded Java Program: Matrix Multiplication

Multithreaded Java Program: Sum of Prime Numbers

Create a react component on top of Tailwind CSS

28 May, 2023

MongoDB Exercises: Movie collection

Find Movies Released in 1893

Find movies with runtime greater than 120 minutes

Find movies with "Short" genre

Retrieving movies directed by William K.L. Dickson

Movies released in the USA

Retrieve movies with complete information and "UNRATED" rating

Retrieve movies with complete information and more than 1000 IMDb votes

Retrieve movies with complete information and IMDb rating higher than 7

Retrieve Movies with viewer rating higher than 4 on tomatoes

Retrieve movies with awards from 'movies' collection

27 May, 2023

Java Stream - Exercises, Practice, Solutions

Java Program: Calculate Average of Integers using Streams

Java Program: Convert List of Strings to Uppercase or Lowercase using Streams

Java Program: Sum of Even and Odd Numbers in a List using Streams

Java Program: Remove Duplicate Elements from List using Streams

Java Program: Count Strings Starting with Specific Letter using Streams

Java Program: Sort List of Strings in Ascending and Descending Order using Streams

Java Program: Find Maximum and Minimum Values in a List of Integers using Streams

Java Program: Find Second Smallest and Largest Elements in a List of Integers using Streams

26 May, 2023

Explore wxMaxima: Basic Operations, Equations, Calculus, Matrices, and Plotting

25 May, 2023

Find Listings with superhost and at least 2 listings in the listingsAndReviews collection

Find listings with hosts having profile picture and identity verification in the listingsAndReviews collection

Retrieve listing information with host verifications

Find listings with host verifications and size in MongoDB

Find listings with host pictures in the listingsAndReviews collection

24 May, 2023

Java Program: Sort list of objects with lambda expression

Java Program: Calculate sum of prime numbers with lambda expression

Java Program: Lambda expression for checking uppercase, lowercase, or mixedcase strings

Java Program: Lambda expression to find average string length

Java Program: Lambda expression to find largest prime factor

Java Program: Lambda expression to convert integer to binary

23 May, 2023

Java Program to count words in a sentence using lambda expression

Java program to check Palindrome string using lambda expression

Java program to calculate sum of squares of odd and even numbers using lambda expression

Java program to check if a list contains a specific word using lambda expression

Java program to find length of longest and smallest string using lambda expression

Java program to check if a number is a perfect square using lambda expression

Java Lambda Expression: Find second largest and smallest element in an Array

22 May, 2023

Retrieve listings with multiple listings by hosts

Retrieve apartments with two or more beds in the ListingsAndReviews collection

Find listings with minimum 2 bathrooms

Find listings with maximum 5 guests included

Find listings with high price and security deposit

Find listings with strict cancellation policy

Find listings with real bed and kitchen amenity

Find listings with 24-hour check-in and located in Brazil

Finding listings with reviews in the listingsAndReviews collection

Finding the number of documents with a blank medium picture url in the listingsAndReviews collection

Find listings with availability of at least availability_30 days in the istingsAndReviews collection

Find listings in Lagoa suburb in the listingsAndReviews collection

20 May, 2023

Java Lambda - Exercises, Practice, Solution

Java Lambda expression - Sum of two integers

Java Lamda expression - Check if string is empty

Convert list of strings to uppercase and lowercase using Lambda expression in Java

Filter even and odd numbers from list using Lambda expression in Java

Sort strings in alphabetical order using Lambda expression in Java

Calculate average of doubles using Lambda expression in Java

Remove duplicates from list of integers using Lambda expression in Java

Calculate factorial using Lambda expression in Java

Check prime number using Lambda expression in Java

Concatenate strings using Lambda expression in Java

Find maximum and minimum values with Lambda expression in Java

Multiply and sum elements with Lambda expression in Java

19 May, 2023

Java Abstract Classes: Exercises, Practice, Solution

Java Abstract Classes - Abstract Animal Class with Lion and Tiger Subclasses

Java Abstract Classes - Abstract Shape Class with Circle and Triangle Subclasses

Java Abstract Classes - Abstract Bank Account Class with Savings and Current Accounts

Java Abstract Classes - Abstract Animal Class with Lion, Tiger, and Deer Subclasses

18 May, 2023

MongoDB Exercises: Listings with host location in Brazil

MongoDB Exercises: Listings with availability greater than 300

MongoDB Exercises: Listings with 1 bedroom

MongoDB Exercises: Listings with non-null cleaning fee

MongoDB Exercises: Listings with price range between 600 and 900

MongoDB Exercises: Retrieve documents from the listingsAndReviews collection based on host verifications

MongoDB Exercises: Retrieve documents with listing details and amenities in MongoDB

MongoDB Exercises: Find listings with jumio-verified hosts and about section

17 May, 2023

Java Polymorphism: Exercises, Practice, Solution

Java Polymorphism Programming - Animal Class with Bird and Cat Subclasses for Specific Sounds

Java Polymorphism Programming - Vehicle Class with Car and Bicycle Subclasses for Speed Control

Java Polymorphism Programming - Shape Class with Circle, Rectangle, and Triangle Subclasses for Area Calculation

Java Polymorphism Programming - Employee Class with Manager and Programmer Subclasses for Salary Calculation

Java Polymorphism Programming - Sports Class with Football, Basketball, and Rugby Subclasses for Playing Statements

Java Polymorphism Programming - Shape Class with Circle, Rectangle, and Triangle Subclasses for Area and Perimeter Calculation

16 May, 2023

MongoDB Exercises: Retrieving documents from listingsAndReviews collection with number of reviews field equal to zero

MongoDB Exercises: Retrieve information on listings hosted by Superhosts

MongoDB Exercises: Retrieving documents with non-null coordinates

MongoDB Exercises: Retrieve documents with beds greater than or equal to 2

MongoDB Exercises: Retrieving listings with "Livia" in host Name

Update : C# Sharp Math : Exercises, Practice, Solution

Update : C# Sharp File Handling : Exercises, Practice, Solution

15 May, 2023

Update : C# Sharp STRUCTURE : Exercises, Practice, Solution

Update : C# Sharp DateTime : Exercises, Practice, Solution

MongoDB Exercises: Find the top 10 most reviewed listings

MongoDB Exercises: Find listings of "fireplace" amenity and a review rating of at least 8

MongoDB Exercises: Listings with washer amenity in Italy or Spain

MongoDB Exercises: Find listings with highest nightly prices

MongoDB Exercises: Find listings with lowest nightly prices

14 May, 2023

MongoDB Exercises: listingsAndReviews collection

MongoDB Exercises: Find the price per night of the first record

MongoDB Exercises: Find the cleaning fees of the first record

MongoDB Exercises: Retrieve host information for the first record in ListingsAndReviews collection

MongoDB Exercises: Find number of bedrooms in the first record

MongoDB Exercises: Find the number of guests are included in the first record

MongoDB Exercises: Check whether the host have a profile picture in the first record

MongoDB Exercises: Check whetherthe host's identity have been verified in the first record

MongoDB Exercises: Find how many listings does the host have in the first records

MongoDB Exercises: Find the street address of the first record

MongoDB Exercises: Find all the listings for theproperty_type field "House"

MongoDB Exercises: Find all the listings with specific columns for nightly price greater than $500

MongoDB Exercises: Return name, address, and review_scores_rating where review score rating at least 9

MongoDB Exercises: Find collection that have a "hot tub" amenity and are located in the United States

MongoDB Exercises: Find all the listings with name, amenities and price

MongoDB Exercises: Find documents that have a "Washer" amenity and are located in either Canada or Mexico

13 May, 2023

Update : C# Sharp LINQ : Exercises, Practice, Solution

Python: Cyber Security - Exercises, Practice, Solution

Python Cyber Security - Hash Password String using SHA-256 Algorithm

Python Cyber Security - Generate random passwords of specified length

Python Cyber Security - Check password strength

Python Cyber Security - Function to suggest character substitutions for stronger passwords

Python Cyber Security - Check and print valid passwords from a file

Python Cyber Security - Check if passwords in a list have been leaked in data breaches

Python Cyber Security - Check password strength and get suggestions

Python Cyber Security - Generate password from a dictionary file

Python Cyber Security - Program for simulating dictionary attack on password

Python Cyber Security - Program for a Brute-Force Attack on Passwords

12 May, 2023

Java Interface: Implement Animal interface with a method bark()

Java Interface: Implement the Flyable interface

Java Interface: Banking system classes - Bank Account, Savings Account, and Current Account

SQL avg() function with null values

Update : C# Sharp Function : Exercises, Practice, Solution

Update : C# Sharp Recursion : Exercises, Practice, Solution

Update : C# Sharp Regular Expression : Exercises, Practice, Solution

Update : Java Interface: Exercises, Practice, Solution

Update : Java Interface: Shape with the getArea() method, implement the Shape interface