Assignment Chef icon Assignment Chef

Browse assignments

Assignment catalog

33,401 assignments available

[SOLVED] EIE2111 Lab 5 Functions and an Introduction to Recursion C/C

Department of Electronic and Information Engineering EIE2111 Lab 5: Functions and an Introduction to Recursion Introduction This laboratory exercise is designed to give you hand-on experience in Functions and an Introduction to Recursion. Questions 1.   An integer is said to be prime if it is divisible by only 1 and itself. For example, 2, 3, 5 and 7 are prime, but 4, 6, 8 and 9 are not. Write a function that determines whether a number is prime. You should also write a testing program to prompt users to input two positive integers and find out all prime numbers in between these two integers by using the above function. 2.   Write  a recursive  function power( a, b ) that, when invoked, returns  ab.  For example, power( 3, 4 ) = 3 × 3 × 3 × 3. Assume that b is an integer greater than or equal to 1. [Hint: The recursion step would use the relationship ab = a × ab – 1 and the terminating condition occurs when b is equal to 1.] 3.   Combine the above two programs into one. The following is the sample output:   Instructions a.  You are required to submit your C++ programs (the whole projects created in Microsoft Visual Studio 2019) in Question 3 to Blackboard. Zip all of them into a single file. b.  The deadline of the submission: Check the course information. c.  It is not required to create any classes or header files for the above exercises. It is fine if all program codes are in the main program.

$25.00 View

[SOLVED] LINC12 Fall 2024 Monthly Assignment 3 C/C

Monthly Assignment 3 LINC12 Fall 2024 November 25, 2024 Assignment due: Wednesday December 4, 23:59 on Quercus Total points: 40 The following exercises must be completed by uploading a PDF document onto Quercus.  This assign- ment covers material through the Thursday, November 21 lecture. This assignment is worth 45 points altogether. It contains a variety of questions ranging from simple to difficult. It also includes problems that were presented as practice exercises. Refer to your notes from lecture for information on how to complete those problems. If you work with anyone else, or discuss answers with your classmates, please indicate their names some- where on your returned answer document.  This is so we know to expect similar answers.  However, you should hand in your own unique work! 1           Quantificational Phrases (12 points) 1.1       Quantifiers in Set Relations (6 points) The underlined phrases in the following sentences below can be analysed as quantifiers.  For each of these sentences, write the truth conditions as a translation of the sentence in set notation. (1)     More than fifteen hundred transit workers are on strike. (2)    Vending machines have killed between 30 and 40 people. (3)     Twice as many people have been injured by subway turnstiles as have been injured by sharks. 1.2        Restricted Quantifier Notation (6 points) The following sentences below contain phrases with quantifiers. For each of these sentences, write the truth conditions as a translation of the sentence using restricted quantifier notation. (4)    Several of the crows that Mei feeds bring her gifts. (5)    Most sailors from Glasgow sing. (6)    None of the anthropologists Chigozie knows like Chomsky. 2           Modal Flavour (10 points) For each of the sentences below, describe two contexts: one where the modal verb most likely has an epistemic flavour, and one where it most likely has a deontic interpretation. (7)    The director must not see me. (8)    Jerome ought to be home by now. (9)    Bridgitte may vote on this motion. (10)    The marketing team should be working in the office on Friday. (11)    You have to know how to use Photoshop. 3           Truth Conditions for Modals (8 points) Below you will find sentences that contain an underlined modal expression, as well as a context in italics that clarifies the flavour of the modal. For each sentence, write the verbose truth conditions of the sentence using our most recent analysis of modals. (12)    Sahar must finish the paperwork by Monday. Context: Sahar has a new job and is required by HR tofill out paperwork about her address, payroll information etc. (13)    The HDMI cable might be somewhere in my desk. Context: I am looking for a cable to connect my computer to a television, and I am trying to remember where it is. (14)    You should leave now to catch the last subway. Context: I am at a party in apart of town I’m unfamiliar with, and I asked how I should get home and when. (15)    Piotr may have taken the bus to Montreal. Context: Piotr is missing, and I am writing a description of events prior to his disappearance. 4           Translating Sentences with Modals into Predicate Logic (10 points) Translate the following sentences containing modals into logical form (i.e. Predicate Logic). Remember our analysis of modals. (16)    All the mice might have escaped. (17)    If Sally is absent, then Lily should write a report. (18)    Chigozie may not submit her files to Ife. (19)    Henry might not find a job. (20)    If someone is sick or contagious, they should stay at home. (Treat “stay at home” as an intransitive predicate.)

$25.00 View

[SOLVED] SCOT 519E Final Exam Fall 2023R

SCOT 519E Final Exam Fall 2023 Instructions: Complete this exam on your own, to the best of your abilities.  Once you begin, you will have 48 hours to complete the exam.  You may use any of the class materials distributed throughout the semester, as well as books and reference sites. The use of artificial intelligence, or tutoring sites such as Chegg.com and Skooli is strictly forbidden. Submit your answers via Canvas.  You may include Excel sheets or R code as an appendix, but please have a dedicated answer sheet in Word (.doc) or PDF (.pdf) format.  There are 5 questions, each worth 20 points.  Partial credit will be awarded so please show your work. 1. One of Santa’s elves recently completed a Master’s in Business Analytics and suggested that Santa try to open up additional revenue streams to increase the profitability of the North Pole.  An early suggestion was to modify unused office spaces in the Castle and the Workshop as a resort where people could come and stay during the off-season when North Pole operations were not so busy.  During a 15 week pilot season, various prices for the Castle and Workshop were tested, with the Castle being marketed as a “premium” booking option.  Prices and bookings, shown below, are per night. Castle Workshop Week Price Bookings Price Bookings 1 275 12 155 18 2 300 11 175 17 3 325 10 185 17 4 350 8 200 12 5 300 9 150 19 6 305 9 165 17 7 280 14 170 17 8 285 11 175 16 9 295 10 185 12 10 270 15 190 11 11 300 10 170 14 12 305 9 160 15 13 325 7 185 12 14 290 10 205 8 15 300 11 190 10 The resulting linear regression demand models are as follows: Castle: 34.254 + (-.07936*p) Workshop: 45.013 + (-.17301*p) a. Assuming that the Castle has 15 suites available, and the Workshop has 20 suites available, determine the optimal prices to maximize revenue for the North Pole Resort.  What are the prices, bookings, and total revenues? b. Which demand segment – the Castle or the Workshop, has a greater price sensitivity?  Why? c. At a cost of $500 per season, an additional unused room in the Castle could be converted into another suite.  Assuming that the resort season is 15 weeks long, would you advise Santa to convert the space into a suite? (Hint: the model that you built evaluates booking and pricing activity for one week). 2. At the North Pole Resort snack bar, patrons have a choice between Milk, Cookies, or a bundle of Milk and Cookies.  The elves have identified four market segments.  Their willingness to pay is shown below, as are the prices of the items. Willingness-To-Pay Segment Milk Cookies Milk & Cookies 1 5 3 8 2 1 8 9 3 3 5.5 8.5 4 3 6 9 Item Price Milk 3 Cookies 5 Bundle 7.5 a.  Which customer segments will buy which items, and what is the total revenue that will be earned? b. What would the effect on revenue be if the North Pole increase the price of Milk to 3.5 and adjusted the bundle price accordingly? 3. Naturally, the primary transport method to and from the North Pole is the Polar Express train.  The train is divided into a nested two-class layout.  The premium class, called Jingle Bell class, costs $150 for a round trip ticket to and from the North Pole.  The coach class, called Fir Tree class, costs $138for a round trip ticket.  Demand for Jingle Bell class fares are normally distributed with a mean of 30 and a standard deviation of 20. a. Assuming that the Polar Express can accommodate 200 passengers, how many seats should be reserved for Jingle Bell customers.  Round UP to the nearest whole seat. b. What should be the booking limit for Fir Tree fares? c. What is the expected revenue from this layout?  If using a loss table, round DOWN to the nearest Z value on the table. Do not round demand numbers as this is an expected value. Assume that remaining capacity will be filled by Fir Tree fares. 4. A fact that is not known to many is that North Pole elves, Keebler baked goods elves and the Lord of the Rings elves are all distantly related!  After the holiday season the elves like to go and visit family members.  This is another place where Santa’s flying reindeer and the sleigh fleet come in handy – Elf Airways!  There are, as such, 4 stops: North Pole, Keebler Tree, Rivendell, and Mirkwood forest (remember that some elves in Lord of the Rings lived in Mirkwood).  Mirkwood, being centrally located, is the hub of the Elf Airways network.  The network looks like this: Demand and fare tables are shown below.  How many of each seat should be sold to maximize revenue?  Assume that Elf Airways passenger sleighs have a capacity of 100. Price North Pole Keebler Mikwood Rivendell North Pole X 120 98 105 Keebler 95 X 98 100 Mirkwood 86 90 X 95 Rivendell 125 100 110 X Demand Hub Demand North Pole Keebler Mikwood Rivendell North Pole X 50 30 60 110 NP > M Keebler 35 X 58 40 75 K> M Mirkwood 48 40 X 25 X Rivendell 30 36 38 X 66 R>M 5. In addition to toys, the Elves also manufacture magic feed for livestock that makes them capable of flight.  They currently offer two varieties of feed: Oats, and Corn.  Oats are a premium, high thermal-efficiency feed for high performance flying animals like Santa’s Reindeer.  The magic Corn is an economy feed for smaller flying animals.  The market for flying animal feed is somewhat limited, but the Elves do have a competitor: the Wicked Witch of the West also manufactures flying animal feed.  The elves estimate a market size of 1500 for flying animal feed.  Market share currently looks as such: a. Compute vcorn and voats using this information.  If the price of Corn is $20 per unit and the price of Oats is $30 per unit, what is the revenue under the current system? b. The Elves were able to interview 100 of the Wicked Witch of the West’s customers.  Forty-five (35) of them indicated that they would switch suppliers to the Elves if the Elves could manufacture a mid-price brand of high energy Hay that would sell for $25 per unit.  Compute vhay and use this to calculate the Elves’ revenue position if they were to offer this product. c. Would you recommend offering this new product?  What extra information (if any) would you like to have before making the decision on whether or not to produce the Hay?

$25.00 View

[SOLVED] DTS306TC Security Privacy and Ethics Coursework 2

Module code and Title DTS306TC Security, Privacy and Ethics School Title School of AI and Advanced Computing Assignment Title Coursework 2 Submission Deadline 5 pm China Time (UTC+8 Beijing) on Sat. 14th  Dec 2024 Final Word Count 1500 +/-5% Video Length 5 minutes +/-5%                                          DTS306TC Security, Privacy and Ethics Coursework 2 Submission deadline: 5 pm China Time (UTC+8 Beijing) on Sat. 14th  Dec 2024 Percentage in final mark: 70% Maximum score: 100 marks Learning outcomes assessed: B: Evaluating the potential risks and benefits of AI technologies on privacy and personal data C: Understanding the importance of fairness in AI systems and its implications Late policy: 5% of the total marks available for the assessment shall be deducted from the assessment mark for each working day after the submission date, up to a maximum of five working days. Risks: •     Please  read  the   coursework  instructions  and  requirements  carefully.  Not  following  these instructions and requirements may result in loss of marks. •     Plagiarism results in award of ZERO mark. •    The formal procedure for submitting coursework at XJTLU is strictly followed. Submission link on Learning Mall will be provided in due course. The submission timestamp on Learning Mall will be used to check late submission. Overview Artificial intelligence has great effect on modern lives. In this coursework, the theme on framework design of new medical image-based bias-mitigated and fair computer-aided diagnosis system will be investigated and explored. The coursework consists of two parts. In Part 1, you need to complete a report based given theme. In Part 2, you need to explain your design via video presentation. Part 1 (Individual Report: 70 marks) Healthcare industry is rich of electronic (digital) medical data from different modalities. Deep learning has revolutionized the use of machine learning in healthcare industry by leveraging on the model’s automatic feature extraction and learning. To date, deep models have been applied for numerous computer-aided diagnosis tasks such as prediction, detection and classification. Despite its promising outlook, deep learning- based computer-aided diagnosis models still fail to earn the trust of medical doctors. In fact, there are reports of inaccurate missed diagnoses due to bias error, lack of understanding about the underlying mechanism of deep learning, and miscalibration in real practice. Therefore, there is an open call for fair and transparent computer-aided diagnosis model for trustworthy smart healthcare. The aim of this task is to empirically assess the current status of computer-aided diagnosis, technologies, challenges and solutions in smart healthcare, and research questions in AI fairness to design a towards innovative  bias-mitigated  and  fair  deep   learning  medical  image-based  computer-aided diagnosis model framework design with predefined traits. Hence, you are required to equip yourselves with the understanding about the specific domain of medical imaging. Besides, you need to apply the knowledge acquired from the lectures and tutorials to complete this coursework. You also need to do literature review to identify further relevant information that is helpful to develop your report content. Task Instructions: (1) You are required to study the medical image-based artificial intelligence computer-aided diagnosis by using deep learning in smart healthcare domain. Therefore, literature review is needed. For beginner, you can  refer to the suggested  review  paper to  understand the domain of smart healthcare using AI: Most Nilufa Yeasmin, Md Al Amin, Tasmim Jamal Jati, Zeyar Aung & Mohammad Abdul Azim. 2024. Advanced of AI in Image-Based Computer-Aided Diagnosis: A Review. Array. 23(2024) 100357.    Available Online:https://doi.org/10.1016/j.array.2024.10035 Moreover, you are required to study extra learning materials to familiarize yourselves with image- based computer-aided diagnosis by using deep learning. Please note that no mark will be given to the literature review nor content extract from the given review paper. However, this effort shall serve as your first steep for your proposed towards innovative bias-mitigated and fair deep learning medical image-based computer-aided diagnosis model framework design. (2) Write a report on your proposed towards innovative bias-mitigated and fair deep learning medical image-based computer-aided diagnosis model framework design. The report should be written in a clear and concise manner with no more than 1,500 words+/-5%. in total length. Your final report should be detailed, relevant and rationale in addressing the following sections: Important:  Do  not  repeat  existing  information that  is  in  the  research  papers. This will only contribute to low mark. Instead, you need to synthesize your own ideas/opinions based on your understanding and present them in your own words. Part 2 (Individual Presentation: 30 marks) Task Instructions: (1) Prepare and record a short individual presentation video of 5 minutes+/-5%. Your presentation should be clear, should be in no more than 10 Powerpoint slides and should not take beyond 5 minutes+/-5%. The presentation should address the followings: i.         To introduce and explain the significance of your proposed towards innovative bias- mitigated   and   fair   deep   learning   medical   image-based   computer-aided diagnosis model framework design. ii.         To  explain  how  your  proposed  model  design  can  effectively  become  General  Data Protection Regulation (GDPR) and IEEE “Human Standards” with Implications for AI compliance  in order to promote your design to overseas  healthcare  market successfully. Report Format: Cover Page: This should include the Assessment Number, Assessment Title, Student Name, Student ID and Student Email Body of the report: This should include all the relevant section headings to address each section as indicated above and marking rubrics. References: Both your in-text and the references included in the “References” section at the end of the report should adhere strictly to the IEEE reference style. Formatting requirement: •     Use multiple spacing : 1.08 and spacing after: 8pt; •     Use a standard 12-point font, font type: Tahoma •     Use “Justify” body text •     Put your page numbers at the top right (except the cover page) •     Most importantly, always run a spelling and grammar check; however, remember, such checks may not pick up all errors. You should still edit your work manually and carefully. Referencing: It is compulsory to use IEEE reference style for citing and referencing research. Reference list is excluded from the imposed word limit. Presentation Format: Students are not requested to submit their presentation slides to the submission system. However, they must  present  their  Powerpoint  presentation  slides  clearly  throughout  the  video  presentation  period. Otherwise, the presentation will not be evaluated and ZERO marks will be given. All video presentation must be uploaded to the Mediasite and attach the video presentation link at the last page of report. It is student responsibility to attach the link properly and apply the right accessibility setting in Mediasite to ensure examiners can access to the video presentation link in their computers during marking. Please note that during marking, lecturers are not responsible for any inaccessible video presentation link at their computers due to any kind of reason or under any kind of circumstances, and has the right to give ZERO mark for the inaccessible video presentation link attached in the report.

$25.00 View

[SOLVED] COMP 2402 ABC - Fall 2024 - Abstract Data Types and Algorithms Assignment 5 Java

Abstract Data Types and Algorithms COMP 2402 ABC - Fall 2024 Assignment 5 Due: Tuesday, December 3, 23:59 Download the Provided Files The base code for this assignment consists of one zip file, which you can download from Brightspace: comp2402a5.zip - source code. This file contains a folder named comp2402a5 with five .java files: •    AdjacencyLists.java •    Algorithms.java •    Graph.java •    MixAndBoom.java - add your code here •    SnakesAndLadders.java - add your code here Start by reviewing the skeleton code. Unlike the previous three assignments, this one does NOT include a slow (correct) implementation. However, a custom-made Graph interface is provided, along with the associated classes AdjacencyLists and Algorithms. The Algorithms class contains useful methods that can assist you with your assignment. Additionally, you are also provided with sample input and output files, available as a zip file: a5-io.zip. Use these files to familiarize yourself with testing your code. Once you understand how to work with the provided input and output files, create your own tests to thoroughly evaluate your program. Note that the provided tests are not exhaustive and are meant to serve as a starting point. Grading This assignment will be tested and graded by a computer program also known as an auto-grader. You can submit as many times as you like; your highest grade is recorded. For this to work, there are some important rules you must follow: •    Keep the directory structure of the provided comp2402a5.zip file. If you find a file in the subdirectory comp2402a5 leave it there. •    Keep the package structure of the provided zip file. If you find a  package comp2402a5; directive at the top of a .java file, leave it there. •    Keep the interfaces as they are. You may add internal methods to your implementation, but do not introduce any new methods to the interfaces. •    Do not rename or change the visibility of any methods already present. If a method or class is public, leave it that way. •    Submit early and often. The auto-grader will compile and run your code, providing you with instant feedback and a grade. You can submit as many times as you like – your final grade will reflect your last submission. Alternatively, you can choose to activate your highest-graded submission as your final score. With this flexibility, there’s no excuse for submitting code that doesn’t compile or fail the tests. •    The assignment consists of two independent parts, each of which will be graded separately by the auto-grader. •    The goal for this assignment is to write efficient code. If you select and implement your data structures correctly, your code will execute efficiently within the time and memory limits. However, if you choose inappropriate data structures or misuse them, your code may run too slow to be graded by the auto-grader, resulting in a grade of 0. •    The auto-grader places a time limit on how long it will be executing your code, often testing with over a million elements and operations. •    Memory usage is also capped. Submitting and Testing Submitting to Gradescope is simple: drag and drop ALL your .java files into the submission window provided. If you encounter any issues, please post them on Discord so the teaching team (or your classmates) can assist you. Including screenshots can help resolve problems more quickly. When you submit your code, the auto-grader runs numerous tests on it. We will not disclose the tests used by the auto-grader, because you should try to find exhaustive tests of your own code. You are encouraged to create your own tests and test locally before trying your submission on Gradescope. Keep in mind that the auto-grader has a strict time limit of 5 seconds pertest case. Any test that exceeds this   limit will be marked as failed, and subsequent tests for that part will not be executed. For larger test cases, even an optimal implementation may take up to 3 seconds, and this time could increase if the server is heavily loaded. To avoid potential issues, please begin submitting your assignment well in advance of the deadline. Start by downloading and decompressing the Assignment 5 Zip File (comp2402a5.zip), which contains a   skeleton of the code you need to write. The skeleton code in the zip file compiles fine. You can unzip the file (extract its content) in numerous ways, such as by drag-and-drop or right-mouse-click “Extract all” .     Here's what it looks like when you unzip and compile it from the command line (the commands that you type are highlighted in yellow): > unzip comp2402a5.zip Archive:  comp2402a5.zip inflating: comp2402a5/AdjacencyLists.java inflating: comp2402a5/Algorithms.java inflating: comp2402a5/ Graph.java inflating: comp2402a5/MixAndBoom.java inflating: comp2402a5/ SnakesAndLadders.java > javac comp2402a5/*.java Here is an example of how to use command-line arguments to do your own testing. Make sure your terminal is open in the folder that contains the folder comp2402a5 with your .java files. Add your input test file, for example part1-1.in, to the folder your terminal is in. > java comp2402a5.MixAndBoom part1-1.in yes Execution time: 0.0017132 This way, you do not need to type input line by line, but rather provide it as a file via command-line arguments. Now you can compare your output to the correct output provided in part1-1.out file. If you are having trouble running these programs, figure this out first before attempting to do the assignment. If you are stuck, ask on Discord, and our teaching team or another student will likely help you fairly quickly. The Assignment This assignment consists of two main parts: •    For part 1, implement the doIt() method in the MixAndBoom class. •    For part 2, implement the doIt() method in the SnakesAndLadders class. To assist you, a custom Graph interface has been provided, along with its related classes (AdjacencyLists and Algorithms). You might find these classes helpful. Also, you are welcome to modify some of the methods from Algorithms and use them in your solution. Part 1: Mix And Boom [50 marks] Professor Mixiten Kaboom is a famous chemist who is constantly inventing new chemicals. Unfortunately, for some strange reason, some of his chemicals tend to explode when mixed with some of the other chemicals. To make things even worse, he has only two storage compartments in his lab. The only way to store the chemicals safely is to divide them between the compartments so that no two chemicals that explode when mixed arestored in the same compartment. Earlier, when the number of chemicals was small, the professor could do it easily. But now that he has accumulated so many chemicals over the years, the task has become too time- consuming. He asks for your help solving this problem. Given N chemicals and a list of chemical pairs that explode when mixed, you will have to write a program that determines if it is possible to store them using the two storage compartments. The input begins with an integer in a single line, which is the number of chemicals the professor has. The chemicals are numbered from 1 to N. Next, there is a sequence of lines, each containing a pair of   integers (between 1 and N inclusive), representing two chemicals that explode when mixed. If it is possible to store the chemicals safely, your program should output “yes”, and “no” otherwise. Part 2: Snakes And Ladders [50 marks] A worldwide classic boardgame. Navigate your token from start  to finish, avoid the snakes (something you should consider) and take shortcuts going up the ladders. The board is a grid of squares numbered from 1 to the final square. For our assignment, assume the board is  an N-by-N matrix. The rules of the boardgame "Snakes and Ladders" are simple: •    Each player starts at location 1 and takes turns to move their token forward. •    Players take turns rolling a six-sided dice to determine how many squares they will move on their turn. •    Move your token forward along the board the number of squares shown on the dice. •    If your token lands on asquare at the base of a ladder, you can immediately climb the ladder to the square at the top. •    If your token lands on a square with the mouth of a snake, you must slide down to the square at the snake's tail. •    The first player to reach or exceed the final square is the winner of the game. Imagine that you have a magical six-sided dice that rolls any number you want between 1 and 6. Given a board of size N-by-N, a configuration of snakes and ladders, and the magical six-sided dice, you must determine the minimum number of dice rolls you will need togo from location 1 to location N*N. The input begins with an integer in a single line, which represents the board dimension N. Next, there is a sequence of lines, each containing a pair of integers (between 1 and N*N inclusive), representing either aladder or a snake. A ladder is represented by a pair where the  first number is smaller than the second, and the opposite for snakes. You may assume that no ladder starts at the first square (1), and no snake starts at the last square (N*N). Your program should output a  single integer representing the minimum number of dice rolls  required to reach the location  N*N. Example of the board  Tips,Tricks, and FAQs Take time to plan your solution carefully before starting to code. Here are some tips to guide you: •    You may have already figured out that this assignment revolves around graphs. Consider how each problem can be framed as a graph problem, then design an algorithm to solve it. •    Sketch a sample graph and manually simulate your algorithm step by step. Test it on different examples to ensure it works in all cases. •    Once confident in your algorithm, begin implementation. The provided Graph class is a great starting point for testing, - some basic algorithms are already included for reference. •    You can save memory usage by NOT storing unnecessary information when the graph is sparse. How should Itest my code? For this assignment, you will have to test your own code thoroughly. The auto-grader will perform a range of tests on your implementation, but it does not give much information when things go wrong.    The auto-grader cannot determine logical errors from crash reports, and the responsibility falls on the  programmer. You are advised to write your own tests and test your code locally, where you have more control over debugging your code. •    Use the sample input/output files as a starting point to understand the required format. Then, make your own input files and test your solutions with them. •    Test for both correctness and speed. Write the correct code first, and then focus on optimizing its speed. •    All the tests on the server are heavily memory constrained. Be careful with how much memory your solution takes. •    In some cases, your solution maybe acceptably fast but too memory-intensive, which may lead to timeout because of how the JVM garbage collector behaves on the server. •    Test incrementally. Start with small, simple testcases that can be solved manually. Gradually   increase the complexity to include edge cases, large inputs, empty inputs, and random inputs. •    Avoid leaving unnecessary debugging print statements (System.out) in your code. These can slowdown execution or cause crashes if the output is too large. Remove them before submitting your work to the auto-grader.

$25.00 View

[SOLVED] ITS62904 DATABASE SYSTEMS ASSESSMENT 3

TAYLOR’S UWE DUAL AWARDS PROGRAMMES SEPTEMBER 2024 SEMESTER (ITS62904) DATABASE SYSTEMS ASSESSMENT 3 (GROUP ASSIGNMENT) 30% DUE DATE: 9/12/2024, 8:00am Learning Outcome Assessed: Construct solutions, interact positively in a group of peers and foster stable and harmonious relationships in solving computational problems related to database modelling and SQL based reporting of a selected scenario. TASK NOTE: Before you begin modelling read the: 1. SRS 2. Read BPC version V1.1.1 3. SQL Report As you many need to include additional attributes in some of the table to ensure you can generate the SQL reports accurately. A. Database Design (20%) 1. Draw a complete Conceptual Enhanced Entity-Relationship Diagram (EERD) a. List all attributes, ensure you identify the identifiers. b. Map the entities with appropriate relationships. 2. Physical Model → Provide the necessary information for the Model (Relational Model - ensure data integrity). a. Include explanation on Open suggestion or changes made to the model. B. Deployment: create database, tables and populate the data (20%) 3. 20+ rows of valid records if it’s applicable). This may not be applicable for all table but ensure that the sample data reflects the client’s information and the types of memberships and the types of workshops or seminar they attend. Ensure data across tables is consistent and adheres to the defined rules. Clients and class tables should have at least 30 records. C. SQL Report (20%) 4. List the workshop with the highest total revenue for Bella Italia Culinary Studio. 5. Get a list of clients who have registered for seminars, sort the report by client name and workshop date. 6. Produce a report of client information who have attended workshops or seminar for last 3 months (June, July & August 2024), you should include details like membership type, total loyalty points earned, and the total number of workshops or seminars attended. 7. Generate a report showing the total number of clients registered for each cooking workshop, categorized by the "Difficulty Level" and brand ("Gourmet Gurus," "Master Chef Club," or "All"). 8. List all of chefs who have conducted workshops in the past year, along with their culinary specialties, number of workshops conducted, and total attendance at these workshops. 9. Create a comprehensive report detailing all client activities, including workshops attended, equipment rented, and points earned, segmented by membership type. D. Analysing database structure and designing useful reports (20%) 10. Develop five (5) different types of reports using SQL queries to demonstrate the ability to analyse data stored across various tables. These reports should provide in-depth insights relevant to the culinary studio's operations. Marks for this section will be allocated based on the complexity of the queries and the students' ability to effectively analyse the recorded data. Note: ensure to write out the purpose of each query. E. Unforeseen challenges (Research) (20%) 11. Considering the unforeseen challenges posed by climate change, what significant changes should be made to the design and development of BICS database system? Discuss the specific features, such as transaction management and concurrency control, and the information needs required to effectively address the problems presented by climate change. Marks Tabulation process: Students need to be aware that database design outcome effects the development process of the database (SQL outcome). If the design is not being properly considered, then the implementation and roll-out carriers the effect of the database design. In the case of poor database design, a simple reduction of marks with design, will be carried to development as well. Incorrect and inaccurate design leads to incorrect and inaccurate development as well, even though the implementation is completed.

$25.00 View

[SOLVED] COMP7607 Natural Language Processing Fall 2024 Assignment 2 Python

Assignment 2 COMP7607: Natural Language Processing Fall 2024 Due: November 29, 23:59 PM In our previous assignment, we explored the capabilities of LLMs in two domains: math reason- ing (Lu et al., 2023) and code generation  (Sun et al., 2024).   In this assignment, we will continue to delve into how prompting affects the reasoning abilities of LLMs.  Similarly, you can choose one task—either mathematics or coding—based on your interests, or you can do both. You are highly encouraged to reuse the implementation from A1 to complete this assignment:) Submit:  You should submit your assignment to the COMP7607 Moodle page.  You will need to submit (1) a PDF file UniversityNumber.pdf of your report, with detailed experimental details, your analysis and your thinking (2) a zip file UniversityNumber.zip, which includes: •  .py files, if any. •  .ipynb files, if any. • Other files (e.g., data, prompts) you consider necessary. Please note that the UniversityNumber is the number printed on your student card. 1   Introduction Recap.   Prompt engineering refers to methods for how to instruct LLMs for desired outcomes without updating model weights.  In Assignment 1, we designed methods for prompting LLMs to improve accuracy in math problem-solving or code generation. In this assignment, we will conduct an in-depth exploration of prompt learning, focusing on how (1) prompt quality (2) the number of demonstrations (3) prompt diversity (4) prompt complexity affect task performance. Note.   As an analytical assignment, you can approach your analysis from any of the above angles. You can cover a wide range or focus deeply on one aspect.  You can also propose new perspectives. Most importantly, we value your thinking and insights on how these factors affect math reasoning or code generation.  Considering the API response rate, you can take a task subset for all experiments (but please specify this in your report). 2   In-Depth Analysis of Prompting Strategies for Math and Coding We will analyze the impact of prompting strategies on math and coding tasks.  You are encouraged to think creatively and freely design your analytical methods to complete the assignment. Feel free to integrate your analysis with the implementations from A1, such as self-refine (Madaan et al.,2023). 2.1   Prompt Quality In most cases, we consider the given problem statement and demonstration to be correct, with the right format, rationale, and answers aligned with the problem to be solved.   But what if they are incorrect? For example, if the problem statement is correct but the demonstration is wrong, or if the demonstration is correct but not relevant to our problem, how would they affect the performance of math reasoning or code generation? Please try to analyze this based on previous A1 implementations. If you have no ideas, you can refer to the following papers: • Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matters (Wang et al., 2023) • What In-Context Learning “Learns” In-Context: Disentangling Task Recognition and Task Learn- ing (Pan et al., 2023) Hint: You can try selecting some prompts used in A1 for GSM8K or HumanEval, “disturb” them, and then conduct your experiments. 2.2   Prompt Complexity How does the complexity of prompts affect task performance?  For the task to be solved, is it better if the problem statement is more detailed and the demonstration more complex?  Or could simpler prompts sometimes yield better performance by reducing cognitive load on the model? • Complexity-Based Prompting for Multi-Step Reasoning (Fu et al.,2023) Hint: You can try curating more complex/simpler prompts for your task and then conduct compar- ative experiments. For convenience, you may find some from prompt libraries like Chain-of-Thought Hub. 2.3   Number of Demonstrations Given a fixed task statement, does the number of demonstrations affect task performance? Obviously, it does, but how exactly does it influence the performance? Will continuously increasing the number of demonstrations linearly enhance the LLM’s math reasoning and coding capabilities? What happens if the number of demonstrations is reduced?  Under which settings is performance most sensitive to changes in the number of demonstrations? Try to analyze prompting strategies from the perspective of the number of demonstrations. • Language Models are Few-Shot Learners (Brown et al.,2020) • Rethinking the Role of Demonstrations:  What Makes In-Context Learning Work? (Min et al., 2022) Hint: Researchers noticed this issue as early as the release of GPT-3 in 2020. If you are interested, you can review these classic works above before starting your experimental design. 2.4   Prompt Diversity Is it better for prompts to be more diverse or more standardized?  How would these choices impact the LLM’s math and coding capabilities? Try to analyze them from the perspectives like: (1) Using dif- ferent phrasing and sentence/code structures to guide LLMs, avoiding over-reliance on fixed formats. (2) Providing varied task instructions or background information to help the model better understand the task requirements. (3) Using prompts with diverse styles and tones to improve the model’s adapt- ability in different contexts. You are also encouraged to identify more aspects that reflect diversity. We are looking forward to your insights! • Diversity of thought improves reasoning abilities of large language models (Naik et al.,2023) • PAL: Program-aided Language Models (Gao et al.,2023) Hint:  Consider how  different levels of diversity in prompts might affect the LLM’s reasoning and coding ability. You may want to explore how varying the prompts can lead to more robust and generalized performance. 2.5   Generalization (Optional) Congratulations on completing your analysis of LLM reasoning and coding capabilities!  Until now, your experiments have likely focused on GSM8K and HumanEval, as in A1. Would your methods and analysis change when applied to other datasets? If you find the previous tasks not challenging enough, you can choose 1-2 additional datasets from the lists below, repeat your experiments, and report your observations.  See if your methods or conclusions generalize well to these new datasets. • Math:  e.g., MultiArith (Roy and Roth, 2015), AQuA (Ling et al., 2017), GSM-Hard (Gao et al., 2023), GSM-Plus (Li et al., 2024), a list available at: here for reference. • Coding: e.g., MBPP (Austin et al., 2021), APPS (Hendrycks et al., 2021), HumanEval-X (Zheng et al., 2023), a list available at: here for reference. 3   Model and API Similarly, In this assignment, you may use Llama-3.1-8B-Instruct, which is a powerful open-source model that natively supports multilingual capabilities, coding, reasoning, and tool usage. For more de- tails about this model, you can refer to the Meta. Blog: https://ai.meta.com/blog/meta-llama-3-1/ and https://www.llama.com/docs/model-cards-and-prompt-formats/llama3_1/ . You may interact with the Llama-3.1-8B-Instruct sponsored by SambaNova System.  To access this resource, please refer to the instructions in the “SambaNova  Cloud  QuickStart  Guide.pdf” to register and generate your API key. To verify that your API key is functioning correctly, you can either use the provided curl command in the document or run the “test_full_response.py” script. 4   Report You will write a report including the following parts: • The description of your implemented analytical methods, including the experimental settings, the hyperparameters, etc. • The outcomes and discussion of your analysis, such as the prompts you used, the carefully designed demonstrations, and some appropriate statistics and studies. 5    Gadgets The following resources might help you with this assignment: • A repository containing Chain of Thought and related papers: Chain-of-ThoughtsPapers. • A repository with a wealth of code generation work: Awesome-Code-Intelligence. 6   Note There are some key points you should pay attention to: • Your assignment will not be evaluated solely based on your experimental results (e.g.,  task accuracy). As an analytical assignment, we are more interested in seeing your thought process and creativity in experimental design and your report. We highly recommend visualizing your experimental results. • Considering the complexity of task design and the richness of existing research, coding will be more challenging to analyze than math reasoning. Don’t worry; we will take task difficulty into account during grading. • We have observed that some students in A1 used program-aided language models (Gao et al., 2023) to tackle math reasoning.  This is excellent!  You can try cross-analyzing LLM reasoning and coding. Some relevant literature is available here for reference. • The papers listed in this document are for reference purposes only.  You are not required to follow them for expansion or replication of results. •  (Optional) Beyond Llama-3 .1-8B-Instruct, you can explore other available models for this as- signment. Feel free to modify decoding parameters like temperature.  

$25.00 View

[SOLVED] IOT103TC Computer Architecture and Operating System Python

Module code and Title IOT103TC: Computer Architecture and Operating System School Title School of Internet of Things Assignment Title Individual Coursework (CW1) Submission Deadline no later than 23:59 time on the following date: 7th of December, 2024 Final Word Count 2000 words IOT103TC: Computer Architecture and Operating System Individual Coursework, CW1 (40%) Exploring the Depths: Digital Circuit Design, Assembly Language, and Computer Memory Systems Students  will  write  an  individual  research  essay  (no  more  than  2000  words) individually as the coursework that will consist of three main parts: • Part A: Logic circuit design. •    Part B: (Microprocessor without Interlocked Pipelined Stages) MIPS Assembly Language. •    Part C: Computer Memory Management. Please follow the subsequent instructions while preparing your report: A. Logic circuit design. (30 Marks) 1.  Explain the principles of D latch and D flip-flop, and draw their truth tables. Why does the flip-flop have feedback? What happens if two inverters are directly connected end to end? (10 Marks) 2. What happens if an odd number of inverters are connected end to end, and what happens if an even number of inverters are connected end to end? ( 10 Marks) 3.  Given a square wave with an input frequency of 1000, design a circuit to reduce the output frequency by half. (10 Marks) B. MIPS Assembly Language. (40 Marks) 1.  Select two simple algorithms, such as calculating the factorial of a number or finding  the  maximum  element   in  an  array  and  write  the  algorithm   in pseudocode or a high-level programming language. (20 Marks) 2. Translate the algorithm into machine code instructions, considering the specific architecture and instruction set of a chosen processor. (10 Marks) 3.  Provide the machine code algorithm (source code) as part of the essay, with line numbers. Provide a step-by-step explanation of how the algorithm  is executed in machine code, including the use of registers, memory access, and control flow instructions. (10 Marks) C. Computer Memory Management. (30 Marks) Virtualization is one of the biggest improvements in modern computer architecture. 1.  Briefly explain the concept of virtual memory in modern computer architecture. (10 Marks) 2.  Discuss the advantages of virtual memory in modern computing. ( 10 Marks) 3.  Discuss the advantages of cache memory in modern computer systems and Outline the disadvantages of cache memory. ( 10 Marks) Submission Guidelines: • Prepare the report documenting your answers, findings and analysis. •    Include   clear   explanations,   diagrams,   and   examples  to  support  your descriptions and implementations. • Properly cite and reference any external sources used. •    Format the utilized references according to the specified guidelines (e.g., APA style). This coursework must be submitted via the Learning Mall online - no later than 23:59 time on the following date: 7th of December, 2024 (China Time GMT+8).

$25.00 View

[SOLVED] Redesign or Improve a Website or Application Processing

Practical UX_Fall 2024 Final Project: Redesign or Improve a Website or Application Objective: In teams, you will collaborate to redesign or improve an existing website or application. The goal is to demonstrate your understanding of UX design by creating high-fidelity wireframes, along with a PowerPoint presentation that includes a a project summary and a comprehensive explanation of your design thinking process. Additionally, you will reflect on and present the lessons learned throughout the project. Project Requirements: 1. High-Fidelity Wireframes: ●   Create 2-3 (or more) high-fidelity wireframes of your final design. ●    Use Figma to create the wireframes, ensuring they are polished and well-detailed. You need to create a Figma file and include the access link in your final Power Point presentation. 2. Project Summary: In your summary, include: ●   Challenges: What was the design challenge you identified at the start of the project? Explain the specific problems or areas of improvement you aimed to address in the existing website or application. ●    Roles: Describe the role of each team member. Who handled specific tasks such as research, design, and prototyping? ●   Timeline: Outline the timeline for the project, including key milestones (research, ideation, wireframing, prototyping). ●    Final Solution: Summarize the final solution. Explain how your redesign solves the identified problems or improves the existing design. ●    Lessons Learned: Reflect on the lessons learned from working on the project. What insights did you gain about the design process, teamwork, or user needs? 3. Design Thinking Process: Provide a detailed breakdown of your design thinking process, including: 1.   Empathize: Explain how you gathered data on user needs. Did you conduct usability testing, user interviews, heuristic evaluations, surveys, or other methods? What was the key finding from your research? 2.   Define: Clearly define the problem(s) you aimed to solve with your redesign. Be specific about user pain points or areas of improvement. 3.   Ideate: Discuss your brainstorming process. What ideas did you generate, and how did you choose the best solution? 4.   Prototype: Show how you turned your ideas into wireframes and designs. Include visuals of early drafts if applicable. 5.   Test: If you performed user testing, explain how it informed changes in your design. Did you make any iterations based on feedback? How did you refine your prototype? Make sure to include visual data in this section, such as: ●    User personas ●    User journeys ●   Sketches or wireframe. drafts 4. PowerPoint Presentation: ●   Create a PowerPoint presentation that includes: ○   An Introduction to the project ○   An overview of the design thinking process ○    High-fidelity wireframes of your final design ○   Visual data (e.g., personas, journey maps, sketches) ○   The Project Summary (challenges, roles, timeline, final solution, lessons learned) ●    Include a link to your Figma files in the presentation for easy access to your design work. Deliverables: ●    High-fidelity wireframes (2-3 or more) in Figma ●    Project summary (challenges, roles, timeline, solution, lessons learned) ●    Design thinking process with key findings from research, iterations, and visuals ●    PowerPoint presentation including a link to your Figma files Important Notes: ●   Team collaboration: Ensure every team member contributes meaningfully to the project. ●    Present visually: Your presentation should be clear, engaging, and visually appealing,  with enough visuals to explain your process. Iterate if needed: If you conducted testing or received feedback, mention any iterations made and how it improved the design. ●    Prepare in advance: Make sure your PowerPoint and Figma files are ready by the presentation day.  

$25.00 View

[SOLVED] TCSE1IIT Lab 6 HTML and PHP R

TCSE1IIT Lab 6 – HTML and PHP In this lab we will continue our work from last week. Please make sure you have completed Lab 05 from last week before starting this lab. Open up your IITWebLab web page from last week. We will first try to make our page look nicer using CSS. If you have any strange issues with the CSS/HTML make sure you run it though the validator to check for any errors. http://html5.validator.nu and paste in the URL of your page (or you can select Text Field and past in your HTML) Task 0 As we are continuing our work from previous week’s lab, make sure XAMPP is properly started and navigate to the IITWebLab folder inside C:xampphtdocs. Create a new folder named fruitpics. Download fruitPics.zip from Moodle and copy the three pictures to the newly created folder. These pictures are different to the lab 5 ones because they are smaller. Task 1 Centre the main div and the header div. The simplest way to do this is to define a max-width of about 80em and setting margin-left and margin-right to auto. Instead of making two separate CSS definitions you can make just one and have both the divs share it by providing both the IDs separated by a comma like so. #main, #header Please note that you should full screen (maximise) the browser window to see the effect. Finally remove the text-align CSS from the header div, so that it returns to the left side. Task 2 Remove the background color from the header div. Set the text color for the header div to #E60418 Set the navbar background color to #BC5510 Remove the background color from the tags in the navbar. NOTE: when I say to remove a property, you should delete the line of code that causes it. In this case you should delete the background-color property. Task 3 Try setting the navbar div to be centred using the same CSS as Task 1 and see what happens. You can reduce duplicate code by simply adding #navbar to the CSS definition from Task 1 like so: #main, #header, #navbar Task 3A Unfortunately, this does not do what we want. What we can do instead is centre the UL tag inside the navbar rather than the navbar div itself. #main, #header, #navbar ul Task 4 Set the text-decoration to none for the tags in the navbar and set the text colour to white. text decoration refers to the underline that hyperlinks have. Change the hover background colour to #A50613 To get the left and right edges of the navbar to touch the edge of the screen set the margin to 0px on the body tag.

$25.00 View

[SOLVED] 5YYD0010 - Approaches to Researching Development Qualitative Quantitative Methods Mat

MODULE CODE AND NAME: 5YYD0010 - Approaches to Researching Development: Qualitative & Quantitative Methods MODULE ASSESSMENT PATTERN (Term 1): Component(s) Duration/length: % of final grade Due Date: CW1 - Portfolio of Research Development Tasks 3,000 words 50 Tuesday, 10 December 2024 by 15:00PM ASSESSMENT SPECIFICATIONS & OUTLINES CW1 - 3,000 Word Portfolio of Research Development Tasks (50% of total module mark) This part of the module is assessed via a 3,000-word Portfolio (50% of the marks for the module). The Portfolio is divided into 5 tasks. Task 1 - Participant Observation Fieldnotes (250 words) a.   Carry out participant observation in any setting of your choice. b.  Write up your fieldnotes. c.   Submit a photo of your fieldnotes and a reflection on the experience of doing participant observation (what went well, what didn’t go so well, what you learned, what you’d do differently next time and what you think this method might be useful for in development research) of approx. 250 words.   Iam assuming that everyone has a phone or an iPad with a camera, but if you don’t, please bring this to my attention in the first class. Task 2 - Interview Questions (250 words) a.   Put together awritten list of questions relevant to your topic of choice. b.   Pre-test your questions by doing a mock interview with a classmate or friend. c.   Submit a photo of your interview questions and a reflection on the experience of doing the interview (what went well, what didn’t go so well, what you learned, what you’d do differently next time and what you think this method might be useful for in development research) of approx. 250 words. Task 3 - Participatory Method (250 words) a.   Pick a participatory visualisation method and form a group with at least two and no more than three other students. b.  Try it out either with a group of students in social areas in the university or a group of fellow students or classmates who you invite to join in a discussion. You could, for example, evaluate places to eat in the area using a matrix ranking, or do a social map of the KCL campus. c.   Submit a photo of the picture produced in your participatory methods experiment and a reflection on the experience of using a participatory method (what went well, what didn’t go so well, what you learned, what you’d do differently next time and what you think this method might be useful for in development research) of approx. 250 words. Task 4 - Image Analysis (250 words) a.   Pick a picture from a printed source, find an online picture or take a digital picture that speaks to a topic you’d like to explore. b.  On the screen or on a piece of paper (depending on where you get the picture from) annotate the picture with analysis, reflections, thoughts about what the picture tells you about your topic. c.   Submit a photo of the annotated picture and a reflection on the experience of using image analysis (what went well, what didn’t go so well, what you learned, what you’d do  differently  next  time  and  what  you  think  this  method  might  be  useful  for  in development research) of approx. 250 words. Task 5 - Making the Case for Qualitative Research (1,500 words) Imagine you are the only qualitative researcher in a team of economists. You are working together on an evaluation of a development project. They are proposing to use only quantitative methods. Write a 1,500-word brief that makes the case for using qualitative methods in the evaluation alongside the quantitative methods that are being proposed, setting out the advantages and strong points of qualitative methods, along with their shortcomings and how these shortcomings might be overcome. Task 6 - Reflection (500 words) This last task is to write a personal reflection on what you learnt about using these methods. Was there anything that surprised you? Did you enjoy using these methods? What was their most problematic aspect(s)? Of what were you most critical? What insights do you think you’ve gained that might be useful to you in future, including reading research based on qualitative methods or commissioning research if you go into a job in the international development sector?

$25.00 View

[SOLVED] Instruction for FIN6104 Case 3

Instruction for FIN6104 Case 3 Please read the case and answer the following questions to the best of your ability. As a team, you should submit one report for this case study. For the entire course, there will be three case studies in total and hence three report submissions.  In the end of the  semester, your team will deliver a presentation based on only one of the cases. (We will decide case allocations in due time.) Case Information Title: Mercury Athletic: Valuing the Opportunity Abstract: In January 2007, West Coast Fashions, Inc., a large designer and marketer of branded apparel, announced a  strategic reorganization  that would result in the divestiture  of their wholly owned  footwear subsidiary, Mercury Athletic. John Liedtke, the head of business development for Active  Gear, a mid-sized athletic and casual footwear company, saw the potential acquisition of Mercury as  a unique opportunity to roughly double the size of his business. The case uses the potential acquisition  of Mercury Athletic as a vehicle to teach students basic DCF (discounted cash flow) valuation using  the weighted average cost of capital (WACC). Questions Please  keep  in  mind  that  there  are  often  times  multiple  “correct”  answers,  depending  on  the assumptions you make. You need to justify your answers and assumptions. Please note that your report or presentation should not be structured in a simple manner to just answer these questions one by one. Instead, you should attempt to make a self-sufficient report (presentation) in the sense that a reader (audience)—who has not seen the case or this instruction—will be able to follow your report (presentation) seamlessly. For example, you will probably need a clear and concise introduction to help readers more quickly and better understand the goal of this report; you will probably want to make sure the paragraphs are logically linked. Furthermore, the scope of your project should not be limited by these questions; feel free to include additional discussions on other issues that you find interesting pertaining to the case. 1) What are some of the reasons why WCF would want to divest Mercury Athletic, and what are some of the reasons why Active Gear Inc. would want to acquire it? 2) Prepare a cash flow forecast for Mercury Athletic under the base case assumptions and projections outlined in the case. Note 1: for networking capital, the case also includes data for prepaid and accrued expenses; NWC = Cash + Inventory + A/R + Prepaid Exp – A/P – Accrued Exp. Note 2:  to  estimate  a  terminal  growth  rate,  there  are  several  methods  available.  One  way of computing the growth rate is to multiply the “reinvestment rate” of the firm by the “return on capital” of the firm. The reinvestment rate can be calculated as CAPEX plus net working capital investments (minus depreciation) in the final year, over the final year’s after-tax EBIT; the return on capital can be calculated as after-tax EBIT divided by net assets in the final year. 3) Prepare a WACC estimate for Mercury Athletic under the base case assumptions and projections outlined in the case. 4) Are there any specific components of the cash flow projections outlined in the case that seem inappropriate? Please explain why you think they do not seem reasonable. Report Submission & Presentation You should submit the following files on Blackboard BEFORE December 08, 2024 (Sunday), 23:59. Please delegate the job of submitting to only one group member (i.e., each team should submit only once). 1) A PDF file that includes the body of your report and all necessary exhibits (such as tables or figures) to support the report. Your report should not exceed 3 pages (not including exhibits). The page limit is intended to force you to communicate succinctly and clearly; do not interpret it as suggesting that this project requires little work. The report should be clear, concise, but with sufficient detail such that it can be critiqued. You should include a cover page with your team number and all members names. 2) An Excel file that contains your models, detailed analysis, and other supporting data if any. Make the first worksheet (tab) of this file a cover page that includes your team number and all members names. The structure of this Excel file must be user friendly and please include necessary notes to explain what you have done. Name the files using the following format such as “FM_Group_1.pdf” or  “PT_Group_1.xlsx.” Presentation Your presentation will be 20 minutes. Please make sure it will not exceed 20 minutes. All group members must participate in the presentation and be prepared to answer questions (including but not restricted to questions about the business, industry, and your model). Grade The entire group project (3 reports + 1 presentation) will count 30% of your final grade. For each report, a full mark of 5 points will be determined based on the overall quality of the report (including  the  main  body,  exhibits,  and  Excel  models).  For  the  presentation,  10  points  will  be determined based on the overall quality of your group’s performance. Lastly, we will have 5 points from peer evaluations to disincentivize free-riders: your contribution to this group project will be evaluated by each of your team members  anonymously, on a basis of 5 points, and your peer evaluation score will be the average score.

$25.00 View

[SOLVED] Developing a Conversational Agent to Improve Customer Experience Python

Final Projects(10/26) 9:00-11:00 Title: Developing a Conversational Agent to Improve Customer Experience Objective: Design a chatbot to address common customer/user questions and boost satisfaction. Tasks: 1. Opportunity Analysis – Research an organization/process with suboptimal customer service. Identify common inquiries and pain points through surveys, conversations, reviews etc. 2. Capability Mapping – Specify chatbot features to alleviate key issues found: · 24/7 automated assistance on popular repetitive questions · Integration with backend systems to handle common transactions · Natural language processing to interpret broader questions 3. Conversation Design – Script. 20 likely customer queries with ideal conversational responses optimized for accuracy and tone. 4. Chatbot Building – Use an easy drag and drop tool like Landbot/Botsify to build the chatbot conversation flows. Integrate key templates and response variations. 5. Testing – Conduct user studies by having few participants interact with chatbot prototype via roleplays. Capture feedback, observations on usability and experience. 6. Iteration – Refine script, conversation logic and tool properties based on insights from testing to boost ability to resolve customer needs efficiently. Demo:1) Show the demo (2-3 min) in class and 2) submit slides to show conversational flows, background research performed, user testing insights, key iterations on logic/flows based on findings. Sat. 10/19 - 9:00-10:30am (Scheduled In Person) - Class and HW2 Due (Sh Sun. 10/20 - 10-11:30am (Remote) - Mid Term Presentation (2-3 min) Tue. 10/22 - 7:30-9:30pm (Remote) - Class - Application of GenAl Thu. 10/24 - 5:30-7:30pm (Remote) - Class Sat. 10/26 - 9:00-11:00 AM (Remote) - Final Presentation  

$25.00 View

[SOLVED] 33951 Contemporary Economic Challenges A R

Assignment Remit Programme Title BSc Economics Module Title Contemporary Economic Challenges A Module Code 07 33951 Assignment Title Debate Video Level 1st Year Weighting 100% Hand Out Date Enter date here  xx/xx/xx Deadline Date & Time 10/12/24 12pm Feedback Post Date 20/01/25 Assignment Format Presentation Assignment Length 5 Minutes + Transcript Submission Format Online Individual Module Learning Outcomes: This assignment is designed to assess the following module learning outcomes. Your submission will be marked using the Grading Criteria given in the section below. LO 1. Identify appropriate technique(s) from a broad range of approaches, including non- standard ones, to evaluate economic problems; LO 2. Review a selected economic topic from a broad historical, philosophical and ethical perspective; LO 3. Present economic data and information using a variety of approaches and a range of different media, demonstrating the development of students’ academic skills. Assignment: •     You should aim for five (5) minutes. Six and a half minutes is the absolute maximum. This is a limit, not a target. In the same way as baggage allowances on planes are. •     Should begin with you stating your statement. Explaining what you mean by it briefly. Motivating why it’s important and interesting. •     You should then present arguments for and against your statement. This will draw on a literature review although you may both decide to also include arguments you have developed yourself based on your knowledge of Economics, and otherwise. •     Should finish with a closing statement for both arguments. •     Should be accompanied by a typed transcript. Grading Criteria / Marking Rubric Your submission will be graded according to the following criteria: 1.   Opening Statement 2.   Argument for 3.   Argument against 4.   Conclusion 5.   Engagement 6.   Interest 7.   X-Factor See the marking rubric at the end of the remit for more information on how your work will be marked and graded. Ethical Use of Generative AI (GenAI) You are permitted to use GenAI to support your submission for this assessment. You may use it for the following activities: •    Researching and refining your ideas •    Helping to structure your video. •    Information retrieval or background research •    Drafting an outline to organise or summarise your thoughts •    Refining research questions •   Checking spelling and grammar Applying GenAI tools should be done with human oversight and control. You should carefully review and use the results carefully as AI can generate authoritative-sounding output that can be incorrect, incomplete, uncritical, or biased.  

$25.00 View

[SOLVED] ECN6510 Microeconomic Analysis Autumn Semester 2024-2025 SQL

School of Economics Autumn Semester 2024-2025 Module Code and Title of Module: ECN6510 Microeconomic Analysis Release Date: 12.00 noon Wednesday 4th December 2024 Deadline: 12.00 noon Wednesday 11th December 2024 Answer only ONE question. If you answer more than one questions, then only the first attempted question will be marked. The assignment contributes 25% of the overall grade of the module and requires a minimum pass mark of 40%. Word Limit for the whole document is 1000 words, excluding references, equations and diagrams. Use double spaced text, Arial font size 12, minimum 2 cm margins (as pre-set in the submission template). Where handwritten content is used, please present neatly and double space your working where possible. Please use Harvard referencing where appropriate: https://librarydevelopment.group.shef.ac.uk/referencing/harvard.html All answers, including mathematical notation, must be typed using Word and the equation editor. Any images must be either drawn directly Word or be scanned (e.g. using a mobile phone) and inserted into the text. Equations and diagrams may be inserted using an equation editor or handwritten and inserted as images. Coursework must be submitted online through Blackboard using Turnitin and by no later than 12.00 noon on the deadline. Coursework submitted after the 12.00 noon deadline will have a late penalty applied. Details about the late penalty policy can be found in the Student Handbook. You must attach a submission template coversheet to the front of your work when submitting it to Turnitin to avoid a 5% penalty.  Full details of this policy can be found in the Student Handbook. Please ensure that you have read the assessment guidelines provided in the Student Handbook,   including   the   guidance  about  submission   requirements,   extension requests and extenuating circumstances and the use of unfair means. Students are not restricted from using AI tools (Google Gemini or similar) to assist with the preparation of this assessment. Always clearly acknowledge the use of AI content in your answers. Attempts to pass off AI generated content as your own work is counted as unfair meansand may lead to action being taken against you. Further information on the University’s stance on generative AI and the rules around its use in assessment can be found here: https://www.sheffield.ac.uk/academic- skills/generative-ai-assessment.” Answer only ONE question. If you answer more than one questions, then only the first attempted question will be marked. Question 1 “ Expected utility theory is a good theoretical tool, but it is useless when we try to apply it to real life.” With reference to competing microeconomic theories from the literature and empirical evidence, critically evaluate this statement. [100 Marks] Question 2 Critically compare the benefits and shortcomings of the neoclassical consumer preference theory and the revealed preference theory by Samuelson. Use literature, diagrams, and real-life examples to support your answer.   [100 Marks]

$25.00 View

[SOLVED] CSCI 2134 Assignment 4 Python

CSCI 2134 Assignment 4 Fall 2024. Due date:   11:59pm, Friday, November 29, 2024, submitted via Git Objectives Extend an existing code-base and perform some basic class-level refactoring in the process. Preparation : Clone the Assignment 4 repository https://git.cs.dal.ca/courses/2024-fall/csci-2134/assignment4/????.git where ???? is your CSID. Problem Statement Take an existing codebase, add required features, test your features, and Background The CacheSim application is ready to move on to version 2! Now that all the bugs are fixed, it’s time to add some new features, as requested by the client. Your boss has hired you to extend the code. She will provide you with (i) the “bug free” codebase, (ii) the existing code specification, and (iii) the requirements of the additions to be made. Your job is to (i) create a design for the additions, (ii) implement the additions, and (iii) create unit tests for the additions, while following good development practices. This includes: proper git usage, writing comments/documentation, writing unit tests, and doing regression testing. This assignment is meant to emulate how you might work and implement features in the real world. Note1: Although these classes and code are very similar to Assignment 3, this is a standalone assignment. You   do not need to “import” your unit tests or bug fixes from Assignment 3. Everything you need is included directly in the Assignment 4 repo. Simply use the unit tests and existing code provided. Note2: It’s a good learning exercise to compare the bug fixes you completed in Assignment 3 to the code provided in Assignment 4. Look to see if you missed any bugs. Compare the way you fixed the bugs versus the way the bugs are fixed in the Assignment 4 code. Good questions for self reflec- tion are: Are the two fixes for the same bug different? Which fix do you like better? Why? Tasks 0. Follow these tasks in sequence to achieve the best results! 1.   Review the old specification  (specification.pdf)  in the docs directory of the repo. You will absolutely need to understand it and the code you are extending. 2.   Review the new requirements at the end of this document, which describes all the extensions to be performed. 3.   Implement, document, and test Feature #1. a.   Start  by creating a  new git branch feature1 on which to implement the feature. Commit as often as needed on this branch. b.   Implement the requirements as specified below. This includes creating a new Back- ingStore class and BackingStoreResponse class. c.   Create a BackingStoreTest class in the test directory and move the unit tests for fetchData() and pushData() into the new test class. d.   Modify the unit tests of fetchData() to also check that the correct timing is pro- duced. (You’ ll have to manually compute and then hard-code the expected timings) e.   Create a BackingStoreResponseTest class in the test directory and implement sufficient unit tests to test your new BackingStoreResponse class. f.    Add additional unit tests to CacheResponseTest to test the new methods added to CacheResponse. g. Do regression testing. Ensure all unit tests pass. Ensure all input test cases pass. Note that the GoldX.txt files now include the correct timing as well. h.   Commit and push the feature branch! 4.   Once Feature #1 is implemented and tested, merge it into the main branch. 5.   Implement, document, and test Feature #2. a.   Start  by creating a  new git branch feature2 on which to implement the feature. Ensure that you are branching from main, and not from feature1. Commit as often as needed on this new branch. b.   Implement the  requirements as specified  below. This includes creating a new class DirectMappedCache. c.   Create a DirectMappedCacheTest class in the test directory and implement new unit tests. Each method to be tested requires several test cases. Use the test cases from CacheTest as a template. You should implement test cases for: i.   findData() ii.   evictData() iii.   getContents() For brevity, you do not need to write unit tests for other methods. d. Do regression testing. Ensure all unit tests pass. Ensure all input test cases pass. For TestX.txt as  input,  simulation  with  a  direct-mapped  cache  should  produce GoldX-DM.txt and simulation with a least-recently used cache should produce GoldX.txt. e.   Commit and push the feature branch. 6.   Once Feature #2 is implemented and tested, merge it into the main branch. 7.   Provide a readable, professional looking UML diagram of your final implementation. This in- cludes both pre-existing classes and any classes you added to implement the extensions. a.   You do  not need to include  protected methods, private methods, or getter/setter methods in the UML diagram. b.   There  are a lot of online tools available to draw  UML diagrams. Creately, draw.io, canva, miro, and lucidchart are all great options. c.   Commit your UML diagram as design.pdf in the docs directory of the repository. Make sure you’ re committing on to the main branch. 8. Commit and push back everything to the remote repository. a. Note: you really should be committing frequently throughout this assignment. Recall best practices for debugging, refactoring, and software development generally: make many small commits!

$25.00 View

[SOLVED] ECE5470 Prelim 3 Fall 2023 Python

ECE5470 Prelim 3  Fall 2023 1.  Classifier Evaluation 20 pts A.  (a) A two-class task has the following outcomes for a test set. Carefully sketch the Receiver Operating Characteristic (ROC) on the right. Only in exams, or theory (or in printing too few digits) will two outcomes have the same probability (0.65), special conditions require special considerations. (b) Calculate the AUC:     0.4 x 0.2 + 0.2 x 0.7 + 0.2 x 0.8 +0.2 X 1 = 0.57 (0.56 – 0.58)                                                                                                           (c) Based on the above information, would you consider this model to be random, weak, good, strong, excellent, or outstanding?          Weak                B. Consider a classifier with three class outputs A, B, and C. What method would you use to visualize/evaluate classifier performance _Confusion  Matrix       C. If the classes were A, B and ‘insufficient image quality’ would this change your analysis approach? If so, how? The analysis may now be considered as two two-class problems. The first “is the quality good enough?” is independent of the second; (class A or class B?). (If the image is of low quality, then the second classifier is not used). Thus, rather than a confusion matrix this may be better considered as two two-class (e.g. ROC or PRC) analysis. 2.  A Convolution.    20 pts. a.  Convolve the following matrix with the following kernel, centered at the upper-left position of the kernel. b.  Perform. a transposed convolution on the following matrix with the following kernel with a stride of 2.   B Machine Learning: True or False a.      T         Stratified sampling helps alleviate class imbalance issue. b.      A         In interval validation, the final model is trained on the set that gives the best results. c.       F       ROC curves are used for multiclass-classifications tasks and Precision-Recall curves are used for binary-classification tasks. d.      T        The purpose of the softmax activation function in the output layer of a neural network is to convert raw output scores into probabilities for classification. e.      F          Random hyperparameter search is less efficient than grid searc f.         A         Binary cross-entropy loss can be used for a regression task A = possibly ambiguous question 3. CNN classification model 20 pts. A. Given the following examples for a convolution block and a linear layer, modify the code accordingly to so that has an additional convolution block with 5x5 convolution that maintains the input size, and three total linear layers that have shapes 1028, 514, and 64. The input is a color  image with shape 28x28x3 and the number of output classes are 2. class CustomNet(nn.Module): def    init   (self, num_classes=2): super(CustomNet, self).   init   () self.layer1 = nn.Sequential( nn.Conv2d(3, 16, kernel_size=3, stride=1, padding=1), nn.BatchNorm2d(16), nn.ReLU(), nn.MaxPool2d(kernel_size=2, stride=2)) self.layer2 = nn.Sequential( nn.Conv2d(16, 16, kernel_size=5, stride=1, padding=2), nn.BatchNorm2d(16), nn.ReLU(), self.fc2 = nn.Linear(14x14x16, 1028) self.fc3 = nn.Linear(1028, 514) self.fc4 = nn.Linear(514, 64) self.fc1 = nn.Linear(64, num_classes) def forward(self, x): ut = self.layer1(x) ut = self.layer2(out) ut = out.reshape(out.size(0), -1) ut = self.fc2(out) ut = self.fc3(out) ut = self.fc4(out) ut = self.fc1(out) return out B.  Calculate the total number of weights in this network. (give the number for each layer in turn) L1=(3x3x3+1)16  L2=(5x5x16 +1)16   fc2=(14x14x16 +1)1028  fc3=1029x514  fc4=515x64  fc1=65x2 C. What is an example loss function and optimizer you would use for this model? Loss: Binary cross-entropy, Optimizer: Adam 4. Miscellaneous 20 pts A. List 2 practical situations when accuracy is not a good evaluation metric. i.         class imbalance                                                                                          ii.         different misclassification costs                                                                  B. Floating Point Given that FP32 is a traditional 32-bit floating point number with an 8-bit exponent and a signed 24-bit mantissa. What are the following formats: TF32       8-bit exponent and 10-bit mantissa                                                                        BF16       8-bit exponent and 7-bit mantissa                                                                          Where are they primarily used?            GPU                                                                                 C. Binary Classification (a) Give an equation for accuracy in terms of T, P, TP, FP, TN, etc. (TP+TN)/(TP+FP+TN+FN)  (b) Give an equation for specificity in terms of T, P, TP, FP, TN, etc. _TN/TN+FP                                                                         D. Name three different methods for reducing overfitting in a CNN system. 1.        Early stopping                                                                                   2.        Regularization                                                                                     3.        Dropout                                                                                   E. What is Balanced Cross Entropy (BCE) Loss and when is it used? (and can you define b?) BCE is used for imbalanced dataset. ß is the weighting factor and is used to weigh loss of one class more heavily than the other. 5. Image Segmentation and object identification (20 pts.) A. Indicate which one of the following statements that best matches the listed models. (a)  Object classifications are made by grouping outputs into rectangular regions. (b)  A U-net is used to provide a segmented object region (c)  Outputs from several spatially arragned different classifiers are combined to idetify an object (d)  Scans an object classifier over an image (e)  First model to use a region proposal network (i) Masked RCNN       b      (iv) Region-based Fully Convolutional Network (R-FCN)    c        (ii) Region-Based CNN (R-CNN)    e      (iv) Faster Region-based CNN (Faster-RCNN)    e        (iii)You Only Look Once (YOLO)       a             B. A  partial U-net design for 100 x 100 color images, is given below. Complete the design and list the parameters for the functional units that you add (i.e., function unit name and number of channels, also mark the bunmber of channels  of intermediate data structures as shown) Assume all regular convolution layers are 3x3  with padding 1   Examples: A. conv. + BNorm + Relu (40)              .        B     Copy C.                                                           D.                                                            . E                                                          F.                                                          . G.                                                            .  H                                                             I.                                                             J                                                                   

$25.00 View

[SOLVED] SOEE2701 Fieldwork and tutorials 2 Java

Assessment brief Module code & title   SOEE2701 Fieldwork and tutorials 2 Assignment title   Career Action Plan (CAP) Assignment type A career action plan which provides your intentions to improve your 3 weakest transferable/generic skills areas over the next 18-24 months. The plan must follow the SMART criteria. Learning outcomes assessed Acquire key knowledge on a number of different types of environmental careers. Understand the specific and generic skills that graduate employers expect from environmentalists, and understanding of the place of undergraduate studies in lifelong learning. Identifying and working towards targets for personal, academic and career development. Assignment length limit   750 words and 4 sides of A4. Use of GenAI in this assessment RED: AI tools cannot be used You must not use GenAI tools. The purpose and format of the assessments makes it inappropriate or impractical for AI tools to be used. Weighting   15%. Deadline or date of assessment   Before 2pm Wednesday 11th December2024. Submission method   The CAP should be submitted as a single pdf document via the Turnitin submission point in Minerva. Feedback provision Written feedback will be provided on each of the 3 sections using the SMART criteria. The feedback will be provided in Minerva. We aim to provide feedback within 15 working days. Assignment summary guidance This assignment is providing you with an opportunity to reflect and report on what you have learnt throughout your life so far, your time at Leeds, time on this module and also how you intend to build on this and develop the skills and competencies required for your employability and career prospects. Step 1 - thinking and researching which areas to include To complete your own personal career action plan what you need to do is critically review your skills and employability. Conducting a current stateskills assessment which may include evaluation of your ideals, skills, competencies, accomplishments, strengths and development areas to date.  To help with this, consider what you have learnt from the past, including examples from work experience, employment, your degree subject, interests/activities, travel, this module etc ADAPTABILITY & FLEXIBILITY; ANALYTICAL & PROBLEM SOLVING; COMMERCIAL AWARENESS; COMMUNICATION & INTERPERSONAL; DECISION MAKING; IT & DIGITAL LITERACY; LEADERSHIP; NEGOTIATION & INFLUENCING; PLANNING & ORGANISATIONAL; SELF MOTIVATION & INITIATIVE; TEAM WORKING; AND WORKING UNDER PRESSURE For each of the above skills assess which are your strongest and which are your weakest areas. Choose the 3 weakest areas.  We have actually already done this in one of the workshops. STEP 2 - WHAT NEEDS TO BE WRITTEN AND SUBMITTED Divide the career action plan into 4 sections as follows it is recommended that you use 4 sides of A4 and use 1 side per section. 1.  An introduction.  To add context write a short paragraph that explains very briefly the reasons why you have chosen these 3 weak skills areas.  You may want to place a Gantt chart here if you have developed one for your timetable. 2.  Weakest transferable skill 1: e.g. Commercial awareness 3.  Weakest transferable skill 2: e.g. Planning and organisational skills.  . 4.  Weakest transferable skill 3: e.g. Leadership. Develop a SMART action plan for the next 18-24 months to describe what actions you will take that will help you improve your 3 weakest skills areas to assist in achieving your longer term aims. The SMART model was developed by psychologists as a tool to help people set and reach their goals. SMART means: Specific; Measurable; Attainable; Relevant; & Time-bound. Specific (20 marks) Action points are clear and identifiable Think – Who? Where? What? When? Which? Is your goal well-defined? Avoid setting unclear or vague objectives; instead be as precise as possible. •    How will you build upon your strengths? •    How are you going to cope with your weaknesses? •   Where can you find the relevant skills? •    How can you get the experience? •   What are you going to do to acquire these? Measurable (20 marks) •    How can you judge success or failure? •   What are the indicators of progress? •    Do you have plan B? Attainable (20 marks) •   Are your plans and activities realistic? •   Can you achieve them in the time scales you will set? Relevant (20 marks) - this can be done in section 1 on page 1 •    Explain why the development is relevant to you. •   Why is it weak at the present time? •    I have chosen these skills areas because … Time bound (20 marks) •   When are these going to happen? •    Do you have a timetable of action points? •   Gantt Charts can be very valuable here. This website might also be useful in getting you started. https://students.leeds.ac.uk/#Careers-Service https://students.leeds.ac.uk/info/1000067/career_options http://careerweb.leeds.ac.uk/info/13/career_planning/197/getting_started_with_your_caree r_planning

$25.00 View