Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Hello! I need help with the first problem, here are the requirements!
Please use Eclipse if possible! and showing a screenshot of the output would also be helpful. Also comments displaying what the code is doing is also very helpful so I understand it. I am asking this question for a second time because the last person did not even post the right answer :( like it was totally no related at all. Thank you so much!!!
Assignment Requirements
- Create a new Java Project in your Eclipse workspace named as before, smith3 or jones3 for example.
- Create a package with the very same name as your project name.
- In this one package, write one Java program for each exercise as required below.
- Choose descriptive variable names and identifiers in all programs
Program 2
Write a Java program that prompts the user to enter a password that matches a specific pattern. Your program must approve the user's entry.. Here is the pattern, in this order:
- 1 or more upper case letters
- two lower case letters
- 1 or 2 digits
- zero or 1 upper case letters
- any two of this group @#$%^&
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 4 steps with 4 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Assume the base package for an Eclipse project is edu.westga.cs1301.drinks and that you are writing tests for the dispense method of a DrinkMachine class. Use this information to answer the following questionWhat should you name your test class?arrow_forwardWhy do we like the event delegation paradigm and its components in GUI development? Could you provide an example of an appropriate response?arrow_forwardThere are two parts to this practice exercise! (NOT GRADED) Just for you to continue working on your skills over this weekend. Part I: Now follow the instructions to create a new class named Pizza: Open Eclipse. Create a New -> Java project. Name it Chap6-PizzaPalace and click Finish and OK. Next, create a New -> Class. Name it Pizza and DO NOT check the first checkbox under "Which method stubs would you like to create?" and click Finish. Delete the green comment text in the file "Pizza.java" Add a comment at the top // (your name) Add another comment at the top // Practice 6 Study the UML provided with this practice problem. Code class Pizza according to the UML given, be sure to include all data fields, methods, and variables as specified. (USE THE UML DIAGRAM ATTACHED TO BASE/structure of your code off of for Part 1) Part 2: Now follow the instructions to create a new class named PizzaPalace Open Eclipse. Select the project Chap6-PizzaPalace in the…arrow_forward
- Java Programming Please help me with this Java Progamming project NOT GRADED. Practice homework Please comment the code well and organize the classes so I can understand. Thank you! If solution if the one that is desirable, I will upvote! I really appreciate this, Bartleby! Waiting Times should not be negative. You sent back a solution but the waiting time was negative and that was incorrect. Please take your time and help me with this.arrow_forwardHello! Need help with this. Need to create a JavaFX Project that displays the respective colored circle and rectangle. for program 2, I need to code a drawing of an emoji as shown in the image. Both need to be under one project. Thank you!arrow_forwardI didn't understand the previous code and it didn't run to my software . can you do it again? I use intelliJ IDE to code in JAVA. Thank youarrow_forward
- Using DrawingPanel.java (from chapter 3G), draw a grid for filling in a 4 x 4 square of cell containing integers. For this part of the assignment the values are not important, but you are welcome to use the values shown in the magic square from below. Note that the values in any horizontal row, vertical column or main diagonals add up to 34, in addition to various sub-squares in the larger square also add up to the same value. Requirements: The magic square should be centered in the panel The values in each of the cells should be centered in that cell (both horizontally and vertically). You can assume the values will be <= 99 (i.e., at most 2 digits). For this part of the assignment, you can hard-code the values; you will store them in a 2-dimensional array (from chapter 7) when implementing Part B of the assignment. The title "CSC 142 Magic Square" is centered horizontally in the panel and at y = 50 You are free to choose the colors, fonts, font sizes and effects. This is what I used…arrow_forwardI was asked to add the three types of comments to this class, each consisting of the same statement (this statement is also printed once). The output/print, block comment, and single line comment has all been marked correct. The Javadoc comment, however, has not. I asked this question earlier and tried implementing that solution, however, it did not work. What should I do to make it work?arrow_forwardGenerate the Javadoc file for your project?arrow_forward
- Please write in java. Add comments but make the comments short. No need for really long comments. Please keep code very neat and simple , dont add anything unneccesary in the code if you weren't instructed to do so. If youve answered this before please dont copy and paste from a previous question! (Rewrite it in another way)..... Also be sure to read the instructions below carefully. The Instructions attached below will explain everything you'll be doing. NO THIS is not a homework assignment, it's practice work. Please type the code out so that I can copy and paste it into my IDE and see the output for my self but also still provide a screenshot of your output!arrow_forwardThere are many different types of companies out there so trying to make one class that fits them all would be a challenge. We are going to take a look at modeling out a general company with the Company class and then customize that class with the OnlineCompany subclass. The basic structure is set up for both of these classes. Your task is to complete these classes as specified in the comments of each class. Once complete, use the CompanyTester class to create a Company and OnlineCompany object, then print each out using the toString(). public class CompanyTester{public static void main(String[] args){}} public class Company {private String name;private String streetAddress;private String city;private String state; // Set missing values to nullpublic Company(String name){} public Company(String name, String streetAddress, String city, String state){} public String getName(){} /*** Example output:* 123 Main St* Springfield, OH*/public String address(){} /*** Example output:*…arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education