Database System Concepts
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
Bartleby Related Questions Icon
Related questions
bartleby
Concept explainers
Question
Hello all!
need some help with this assignment. Need the sample output as listed in the image.
Thank you!
Transcribed Image Text:Executable Class
• create an array of Employee objects. You can copy the array you made for Chapter 20.
• create an ArrayList of Employee objects from that array.
• use an enhanced for loop to print all employees as shown in the sample output.
• create a TreeMap that uses Strings for keys and Employees as values.
• this TreeMap should map Employee ID numbers to their associated Employees.
• process the ArrayList to add elements to this map.
• print all employees in ID # order as shown, but do so using the TreeMap's forEach method and a lambda expression
Sample Output
All Employees
ID 12345: Baker, Tom, salary 200,000ドル
ID 56789:Jones, Dan, salary 130,000ドル
ID 24680: Scott, Ann, salary 90,000ドル
ID 13579:Jones, Pat, salary 80,000ドル
ID 11111:Scott, Bob, salary 65,000ドル
ID 23232: Baker, Amy, salary 100,000ドル
ID 45454: Perez, Ava, salary 105,000ドル
ID 67765:Jones, Don, salary 140,000ドル
Employees By ID #
ID 11111: Scott, Bob, salary 65,000ドル
ID 12345: Baker, Tom, salary 200,000ドル
ID 13579:Jones, Pat, salary 80,000ドル
ID 23232: Baker, Amy, salary 100,000ドル
ID 24680: Scott, Ann, salary 90,000ドル
ID 45454: Perez, Ava, salary 105,000ドル
ID 56789:Jones, Dan, salary 130,000ドル
ID 67765: Jones, Don, salary 140,000ドル
Expert Solution
Check MarkThis question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
bartleby
This is a popular solution
bartleby
Trending nowThis is a popular solution!
bartleby
Step by stepSolved in 5 steps with 2 images
Knowledge Booster
Background pattern image
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
- The progam below was created by your experts and suppose create a pattern using nested loops. Your initial needs to appear at least eight times in the pattern and pattern doesn't matter. and it was good created but i received comment saying: - this is not using nested loops. Can someone please fix it the code below by using NESTED LOOPS? import turtle # Setting background color screen = turtle.Screen()screen.bgcolor("skyblue") #drawing letter 'M' in different colors turtle.penup()turtle.pensize(9) turtle.goto(-300,50)turtle.right(90)turtle.forward(300) for i in range (1,4):turtle.color("dark blue")turtle.pendown()turtle.backward(60)turtle.left(45)turtle.forward(40)turtle.left(90)turtle.forward(40)turtle.right(135)turtle.forward(60)turtle.backward(60) for i in range (1,4):turtle.color("red")turtle.pendown()turtle.backward(60)turtle.left(45)turtle.forward(40)turtle.left(90)turtle.forward(40)turtle.right(135)turtle.forward(60)turtle.backward(60) for i in range...arrow_forwardCreate empty images for Ix, Iy, Ixx, Iyy, and Ixy (all the same dimensions as your original image) Loop through pixels of image and fill in values for Ix, Iy, Ixx, Iyy, and Ixy (ignore the edges when you set up the range of your loops) Create empty image to hold "cornerness" values Loop through pixels of image Access the a neighborhood surrounding each pixel (start with a 3x3, you can expand it later if you'd like) Sum up all the Ixx, Iyy, and Ixy values in this neighborhood Compute the determinant of the M matrix Compute the trace of the M matrix Compute the "cornerness" value for the center pixel - store in the "cornerness" image find max cornerness value in imageset threshold = 0.01(max C value) loop through pixels. if(C at pixel) > threshold: cv2.circle(image(X,Y),size(b,g,r) - 1) Do may not make use of any existing functions/code that extract features. Use opencv and python. Also don't use sobel.arrow_forwardI need to print the map size also. Any idea how to do that?arrow_forward
- Research the binary box (magic box) method. Create your own graphical representation of the binary box (preferably hand drawn). It's simple and you can reference back to it (along with your OSI model) throughout the course or on cert exams. Physically drawing/color-coding helps with memorization.arrow_forwardx = zeros(uint8(5,5)); for i = 1:5 for j = 1:5 a = 5/i; x(i,j) = 255/a; end end Which of the following best describes the black and white image x? 1. The columns of x will get lighter from left to right 2. The rows of x will get lighter from top to bottom 3. The rows of x will get darker from top to bottom 4. The columns of x will get darker from left to rightarrow_forwardno code is needed question: Find the second-order derivative of the third horizontal line from the following image [ Hint : Use Padding] 6 6 6 5 4 3 1 1 5 4 3 2 1 1 1 1 6 6 5 4 3 1 1 1 1 1 1 1 1 1 6 6 6 6 6 6 6 6 6 5 4 3 2 1 1 1 1 1 1 6 6 6 6 6 5 4 3 2 1 6 6 6 6 6arrow_forward
- Please written by computer source Create a histogram of the image. Note the dimensions are 300*300. Also equalize the histogram. DO IT ON PAPER NOT COMPUTER. SHOW ALL WORKarrow_forwardSave it in one of your MATLAB path folders 3. Create "clown1.m" that changes all red and reddish area into blue 4. Create "clown2.m" that changes the red nose only to bluearrow_forwardPlease use Matlab for the questionarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Text book imageDatabase System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationText book imageStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONText book imageDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- Text book imageC How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONText book imageDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningText book imageProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education