Blog

  • 5.11 Future Value Suppose you have a certain amount of money in a savings account that earns…

    5.11 Future Value

    Suppose you have a certain amount of money in a savings account that earns compound yearly interest (in decimal), and you want to calculate the amount that you will have after a specific number of months. The formula is as follows:

    F = P × (1 + i)t

    The terms in the formula are:

    • F is the future value of the account after the specified time period.
    • P is the present value of the account.
    • i is the yearly interest rate (in decimal).
    • t is the number of months.

    Write a program that prompts the user to enter the account’s present value, monthly interest rate, and the number of months that the money will be left in the account. The program should pass these values to a function that returns the future value of the account, after the specified number of months. The program should display the account’s future value.

    Output each floating-point value with two digits after the decimal point, which can be achieved as follows:

    print(f'{your_value:.2f}')

    Special Note:

    • Solutions that do not include a function will receive no credit.
    • Solutions that use Python features that are not discussed in class will receive no credit.
    # put your future value function here
    def main():
        # put your solution here
    main()
  • Question 6 A database that conforms to an E/R diagram can be represented by a collection of tables…

    Question 6

    A database that conforms to an E/R diagram can be represented by a collection of tables in the relational system. Let us discuss the mapping of E/R diagrams to tables in relation to the following:

    • Regular entities
    • Attributes
    • Relationships
    • Weak entities
    • Sub-types and Super-types
    1. Q.6.1 Explain the concept of a sub-type, super-type relationship.
    2. Q.6.2 Explain the concept of a weak entity.
    3. Q.6.3 Draw an Entity Relationship Diagram that illustrates subtypes and super-types.

    Question 7

    Creating a database plan gives a clear idea about the kind of database that is needed. Explain five (5) advantages of good database planning.

    Question 8

    Please draw and label a full detailed diagram of the below ERD:

    Mountain Parcel Services (MPS) deliver products on behalf of their customers all over the world. MPS has hired you to design an ER diagram. Many products are delivered to many customers on a daily basis. MPS employs full time and external drivers to deliver products. The drivers collect the products from a single warehouse that stores the products until a driver collects it for delivery.

    Draw an ER diagram to represent the above situation. Include in your answer the following:

    • Entities
    • Three (3) attributes per entity (one of which must be a primary key)
    • Relationships
  • design and create a budget for a secure, internet connected Ethernet network in a multi-story building

    For this project, you will design and create a budget for a secure, internet connected Ethernet network in a multi-story building. You will use a school as your building for this project.

    Scale used:

    • School = 91.44 meters (m) = 300 feet wide (ft) = 6.45 inches (in)
    • 1 in = 14.18 m
    • Ceiling height = 3 m = 9.84 ft

    There is one equipment room and three telecommunications closets used throughout the school with the equipment room on the first floor and one telecommunications closet on the basement level, second, and third floors respectively. All four rooms are located in the same location on all four floors so cable distances will be the same on every floor.

    Distances:

    • Furthest connection from the equipment room and telecommunications closets = 6.50 in = 92.17 m + 6 m ceiling run (up to the ceiling and down through the ceiling) = 98.17 m
    • Closest connection to equipment room and telecommunications closets = 0.375 in = 5.32 m + 6 m ceiling run = 11.32 m
    • Average cable length = 54.75 m

    One equipment room and three telecommunications closets service 74 rooms (17 rooms on the basement level, 21 rooms on the first floor, 19 rooms on the second floor, and 17 rooms on the third floor) x 2 cables per room. Be sure to include all materials needed.

    Successful projects are defined as:

    1. The equipment is sufficient to build a working network
    2. The equipment is appropriate for the needs: professional-grade (not consumer grade) and not unreasonably high-performance

    Sub-measures include:

    1. Appropriate cabling
    2. Appropriate network technology
    3. Appropriate infrastructure
    4. Appropriate security technology

    Hint: You should focus on the physical topology, cabling, and other materials needed, not hosts. You do not have to use the scale included to draw each room and the cable runs; the scale is for reference purposes.

  • Create a Python program that

    Create a Python program that:

    • Displays a GUI window. In the window create:
      • A textbox to collect an employee’s first name
      • A textbox to collect an employee’s last name
      • A textbox to collect the number of hours worked by that employee that week
      • A textbox to collect the hourly wage rate for the employee
      • A button to calculate the employee’s gross pay
      • Overtime pay should be calculated for any hours worked beyond 40
      • Overtime wage rate is 1.5 times the regular wage rate
      • A button to create a file to save the data entered and calculated
      • Save each employee’s entry as a separate line or record in the file
      • In addition to the entered data, save the calculated gross pay
      • A button to clear the contents of the textboxes and results
      • A button to close the file
      • Any labels necessary to display the results and titles for the textboxes

    Your program should allow the user to:

    • Create a file using the Save File Dialog
    • Enter appropriate data in the textboxes
    • Click on the appropriate button to calculate the gross pay
    • Click on a button to save the data for the employee
    • Click on the button that clears the entered data and results so that the user can enter new data
    • Click on the button that closes the file when the user has finished entering data

    Use variables with meaningful names.

    Have appropriate comments indicating what each part of the program is doing.

    Have a comment area at the beginning of the program identifying the author of the program and the class it was created for.

    Save the program as a Python module and submit the program through this assignment.

  • Create the ERD using UML notation to show the relationships between DENTIST, PATIENT and SURGERY….

    Create the ERD using UML notation to show the relationships between DENTIST, PATIENT and SURGERY. Also show the multiplicity in the relationships and attributes. The patient must be examined by more than one dentist and a dentist can examine at least one patient; Dentist number, dentist name, office number, cellphone number and email address must be captured on the system; A dentist can examine more than the minimum of three patients per day; The following patient details need to be captured on the system: patient number, patient name, street address, email address; Each surgery is assigned an examination at the time as instructed by dental clinic policy.

    Question 3 Complete the statements below by filling in the missing words. The words are provided in the table. Write down the question number and next to it the correct answer. For example, 3.1 Entity.

    A table is perceived as a (Q.3.1) structure composed of tables, rows, and relationships (1). Each table column represents an (Q.3.2), and each column has a distinct name (1). Each cell or column/row intersection in a relation should contain (Q.3.3) atomic value (1). Each column has a specific range of values known as the (Q.3.4) (1). Each (Q.3.5) does not need to have an attribute or a combination of attributes that uniquely identifies each row (1). A foreign is an attribute in one table whose values must either match the primary key in another table or be (Q.3.6) (1). A candidate key is a minimal (Q.3.7) that does not contain a subset of attributes that is itself a superkey (1). A (Q.3.8) is a candidate key selected to uniquely identify all other attribute values in any given row and cannot contain null entries (1). A secondary key is an attribute used strictly for (Q.3.9) purposes (1). A (Q.3.10) is an attribute that uniquely identifies each row in a table (1).

  • The Monsters in The Odyssey – Modern Connections Project

    The Monsters in The Odyssey – Modern Connections Project

     

    Objective: Choose one monster from The Odyssey and connect it to a real-world problem we face today. Explain your reasoning in a written response and create a visual or physical representation of your idea.

    Monsters to Choose From:

    • Scylla
    • Charybdis
    • Cicones
    • Polyphemus (the Cyclops)
    • Sirens
    • Circe
    • Laestrygones

    Part I: Written Response

    Write at least 3 paragraphs. Do a File Upload and follow MLA format.

    Paragraph 1 – Introduction

    • Which monster did you choose?
    • Briefly describe the monster.
    • What real-world problem does the monster represent?
    • Why did you choose this issue?

    Paragraph 2 – Analysis

    • Give background information about the problem.
    • Explain 2 reasons why this monster represents the problem.
    • Include at least one quote or example from The Odyssey.
    • What moral, value, or life lesson is connected to this issue?

    Paragraph 3 – Conclusion

    • Summarize your main points.
    • What can we learn from Odysseus’ experience with the monster?
    • How can people today face or overcome the problem you described?

    Part II: Creative Representation

    Make a visual or physical representation of your idea! Choose one of the following:

    • Drawing or painting
    • Collage or digital poster
    • Short comic strip
    • 3D model (with labels)

    Your visual must include:

    • The name of the monster
    • The modern problem it represents
    • At least 2 symbols or elements that connect the monster to the issue
  • Problem Write a program called Shapes that offers the user the choice of doing one of the following…

    Problem

    Write a program called Shapes that offers the user the choice of doing one of the following calculations:

    • Calculate hypotenuse of a right triangle
    • Calculate area of a right triangle
    • Calculate perimeter of right triangle
    • Calculate area of a rectangle
    • Calculate perimeter of rectangle
    • Calculate length of diagonal of a rectangle
    • Calculate area of a square
    • Calculate perimeter of square
    • Calculate length of diagonal of a square

    For triangle calculations the user will enter the lengths of the two shorter sides.

    For rectangle calculations the user will enter the length and width.

    For square calculations the user will enter the length of one side.

    The program will ask for the user’s choice, get the necessary inputs, call a method and then display the answer to 3 decimal places. Each calculation must be done by calling one of the five methods below.

    You must create exactly five methods as shown below and call one for each of the calculations:

    Method Parameters
    Hypotenuse of a right triangle Two shorter sides
    Area of right triangle Two shorter sides
    Perimeter of right triangle Two shorter sides
    Area of rectangle Length and width
    Perimeter of rectangle Length and width

    Your program must validate all user choices and inputs and keep running until the user chooses to quit.

    Turning in the Assignment

    When you have finished, run your program once using the test data below:

    Calculation Input 1 Input 2
    Calculate hypotenuse of a right triangle 1.23 4.56
    Calculate area of a right triangle 1.23 4.56
    Calculate perimeter of right triangle 1.23 4.56
    Calculate area of a rectangle 1.23 4.56
    Calculate perimeter of rectangle 1.23 4.56
    Calculate length of diagonal of a rectangle 1.23 4.56
    Calculate area of a square 1.23
    Calculate perimeter of square 1.23
    Calculate length of diagonal of a square 1.23
  • The existing (Legacy) Table(s) Structure Supplier table structure: Attribute (Field) Data Type…

    The existing (Legacy) Table(s) Structure

    Supplier table structure:

    Attribute (Field) Data Type Example Required
    Supplier-ID Character SUP-112 Y
    Supplier-Name Character ACM Medical Supplies, Inc. Y
    Tel Num Character 1-888-666-4444 Y
    Location 1-ID Character SUP-112-L1 Y
    Location 2-ID Character SUP-112-L2 N
    Location3-ID Character SUP-112-L3 N
    Rep1 Character Hansen, Joe Y
    Rep2 Character Smith, Tiffany N
    Rep3 Character N
    Tel#1 Character 511-7277-7744 Y
    Tel#2 Character 572-7777-7745 N
    Tel#3 Character N
    Memo Character 1. Called Tiffany for Part# 112232. The expected delivery is on or before 2/28/18.
    2. Joe reported that the Part# 111232 is out-of-stock.
    N

    Location table structure:

    Attribute (Field) Data Type Example Required
    Location-ID Character 112-L2 Y
    Supplier-ID Character 112 Y
    Address Character 123 Main Street Y
    City Character New York Y
    State Character NY Y
    Zip Character 10008-212 Y

    Based on the table structures and business rules, match the following questions with the correct answers. Your answers should be in coordination with concepts discussed in Chapter-6.

    1. Which attribute will serve as the FK in the newly created Location table?
    2. Eliminate the Repeating Groups and create a new Location table with unique rows.
    3. Jonny redesigned the Supplier table to?
    4. Jonny created a 2NF-compliant database structure.
    5. The existing Supplier table is in violation of?
    6. If each value of A determines one and only one value of B.
    7. To achieve 3NF-compliant database structure, Jonny should eliminate: Transitive Dependencies.
    8. A functional dependence criterion is fulfilled: Supplier-ID.
    9. Jonny removed City and State from the Location table and added a linked Zip table.
    10. Jonny placed the Memo field in the redesigned Location table.
    11. To avoid unnormalized data in the Supplier table, reflected by multivalued attribute: 1NF-compliant database structure.
  • Choose a short story we have studied in class and write an analysis essay in which you argue that the author uses certain literary devices (such as plot, narration, setting, character, symbol, irony, etc.)

    Choose a short story we have studied in class and write an analysis essay in which you argue that the author uses certain literary devices (such as plot, narration, setting, character, symbol, irony, etc.) to communicate the theme of the story, as you interpret it. Remember, a theme is not the topic or subject of the story. A theme cannot be expressed in a single word like “immaturity” or “love.” Rather, a theme is a statement about the topic. Thus, you should be able to capture a theme in a single sentence. After you have thoroughly analyzed the short story, you will then need to evaluate how effective you believe the author is in communicating the theme. The book I will use is the open boat do you have access to that book ? Here is the link on how to do a short story analysis https://youtu.be/sWSy0saaWa4?si=mwnhbGWz9HTySvKV PLEASE READ ALL DIRECTIONS CAREFULLY!!!
    Instruction

    PLEASE READ ALL DIRECTIONS CAREFULLY!!! Choose a short story we have studied in class and write an analysis essay in which you argue that the author uses certain literary devices (such as plot, narration, setting, character, symbol, irony, etc.) to communicate the theme of the story, as you interpret it. Remember, a theme is not the topic or subject of the story. A theme cannot be expressed in a single word like “immaturity” or “love.” Rather, a theme is a statement about the topic. Thus, you should be able to capture a theme in a single sentence. After you have thoroughly analyzed the short story, you will then need to evaluate how effective you believe the author is in communicating the theme. PLEASE READ ALL DIRECTIONS CAREFULLY!!! Here is the link on how to do a short story analysis https://youtu.be/sWSy0saaWa4?si=mwnhbGWz9HTySvKV Directions: For the introduction, after writing a hook that engages your reader, you will need to provide the following necessary information in three to five crisp sentences: title of the short story, author’s name (biographical facts, if relevant), and a brief summary of the story. Moreover, for the thesis, you will need to identify the literary elements you will be focusing on and connect them to the theme of the poem. (Remember, a theme is what the short story is trying to teach you about human nature or experience. A theme is not a topic or subject, which can be captured in a word or two, such as abortion or infidelity. Rather, a theme should be a one to two sentence statement that captures the short story’s lesson). This is what the thesis should look like: “In Barry Ramirez’s ‘Interstellar,’ he uses symbol, metaphor, and metonymy to explore the theme that when we are young, we make impulsive decisions to impress others which, in turn, are embarrassing.” For the body paragraphs, you should focus on one literary element per body paragraph. You will need to provide quotes of the parts or lines of the short story you are highlighting with citations at the end of sentences. Here is an example: The narrator says, “In walks these three girls in nothing but bathing suits” (Updike 34). Then, you will need to break down or analyze the quotes and work to connect them to the theme of the work, as you have interpreted it. Additionally, for your body paragraphs, you are required to include quotes from at least three articles from scholarly journals found on an approved database (Academic Search Complete, JSTOR, or Gale) to support your position or highlight a position that you disagree with. (If you cannot find articles directly related to your short story, then you should seek and use articles on the topic of the short story). For the conclusion, you should evaluate how successful the author is in communicating the theme and, if relevant, give a personal statement about the topic. In other words, briefly discuss how you relate to the theme of the story. The paper should be 3-4 pages (not including the Works Cited list). The paper should be in MLA format: double-spaced, 1” margins, headers with your last name and the page number, 12 point, Times New Roman font, and a have Works Cited list. Any paper that lacks in-text citations and/or has sources that are fictitious or not verifiable will receive a 0. All works cited citations of online sources require a hyperlinked URL at the end of the citation. PLEASE READ ALL DIRECTIONS CAREFULLY!!! Here is the link on how to do a short story analysis https://youtu.be/sWSy0saaWa4?si=mwnhbGWz9HTySvKV
  • capstone project Psychology

    Instruction

    The capstone includes (a) Developing Interview questions (i.e., preparing specific, open-ended, content driven, quality robust questions directly related to course content); (b) Interviewing a lawyer of your choosing; (c) Reading research studies in order to remain current (i.e., you will review professional journals and identify at least one recent (within THREE years) research article related to counseling ethics. The article must be about research and identify a population, sample/participants, methodology, results, and limitations to the research study, discussion, and recommendations. An article on a discussion or point of view is not acceptable. Use the summary of the article (including the population, sample/participants, methodology, results, discussion, and recommendations, as part of the capstone. It will be incorporated in the Capstone and fully