CSE 302 HW 1
.docx
keyboard_arrow_up
School
University of Louisville *
*We aren’t endorsed by this school
Course
302
Subject
Computer Science
Date
Apr 3, 2024
Type
docx
Pages
2
Uploaded by CountMorningSeahorse31
CSE 302
HW Assignment 1
Fall 2023
CECS 302 Homework Assignment 1 (Due 9/16/23)
1) (20 pts) Provide at least three flaws/shortcomings
(in at least three separate sentences) with the following development plan for a social media app. Note that it has put in place by the lead of a team with 20 other individuals with varying domains of expertise (some are experienced in front-end development, others back-end, and still others are data scientists, etc.)
I. The team lead decides that prospective clients and market audience members should be met once at the beginning and once at the end of the development process to verify the initial and final design meet needs appropriately.
II. The team lead indicates that the following development steps should be used in sequential order: 1. identifying the major features for the app, 2. creating a high-level design, 3. creating the
different modules necessary for each feature, 4. stitching the modules together, 5. testing the complete application and fixing any bugs, 6. deploying the app.
III. After determining that five major features are required for the app, the team lead decides to randomly divide the 20 people into five subgroups of four, with each subgroup’s objective being to design, code, and test a single app feature.
2) (20 pts)
Explain the relationship (including similarities and differences) between each of the following terms from the course material. (You may need to look at/review course material if the abbreviations in parts b and c are unfamiliar.)
a. C++ Array vs C++ Class
b. Unsorted List vs AUList
c. AUList vs LLUList
3) (20 pts)
Define at least four abstractions (different user/observer perspectives) for each
of the following concepts/entities:
a. A Hot Fudge Sunday b. A New Building on the UofL Campus
c. A Video Circulated through Social Media
d. A Pair of Running Shoes
Ex: when talking about an apple
, two sample abstractions might include i. a farmer planting the seed that eventually becomes the apple and ii. a consumer buying the apple at a grocery store. Your abstractions should be made clear in your submission (usually more than 1 word in length).
CSE 302
HW Assignment 1
Fall 2023
4) (40 pts) The following tasks deal with the Array-based and Linked List-based implementations of the Unordered List (
AUList
and LLUList
). For full credit, you must add the
requisite functions to the existing classes provided with the assignment
with matching function signatures
. In addition, remember that we will be using a driver program to test your code for sample inputs/outputs, so you can expect a heavy penalty if the class and header files (AUList.h, AUList.cpp, LLUList.h, LLUList.cpp)
you submit do not compile and function without error.
a. (Easy)
Write member function “
double getMean()
” for
both
AUList
and
LLUList
that computes and returns the arithmetic mean
of the elements in the list. Ex: if a LLUList myLL has elements (1, 2, 3, 4, 5, 12), then myLL.getMean() should return 4.5
. b. (Medium)
Write member function “
int getOutlier()
” for
both
AUList
and
LLUList
that computes and returns the number in the list most distant from the mean
. Bear in mind this can be a number in the list that is either smaller or
large than the mean!
Note that you can assume there will not be “ties” in the list (one number will uniquely be most distant from mean.)
Ex: if a LLUList myLL has elements (1, 2, 3, 4, 5, 12), then myLL.getOutlier() will return 12
. c. (Challenging) Write member function “int getNumMatches(AUList altList)”
for
the AUList only
that returns the number of matching elements between the AUList invoking the function and the AUList that is passed in (altList). The return should either be i. -1 if the lists
are of different size ii. the # of indices in the two AULists that have matching elements if the lists
are of the same size. Ex: If an AUList myAL1 has elements (5, 1, 3, 9, 7, 11) and AUList myAL2 has elements (5, 7, 4, 9, 4, 10) then myAL1.getNumMatches(myAL2) should return 2, since the elements at index 0 and index 3 match between the two lists, while the remainder are different.
Submissions are to use Gradescope. Be sure to refer to the Blackboard Assignments page, as well as Gradescope walk-through during the week of 9/4-9/8 for submission details and help.
Important Gradescope/autograder details:
i. the autograder’s compiler requires that variables be explicitly initialized, so make sure you do so! Ex: if you have a counter int variable “mycount” that is initially 0, you must explicitly write “int mycount=0;”
“int mycount;” will not work!
ii. To head off any issues and maximize your credit, you should turn in five files: your .doc/.pdf file with responses to problems 1-3, as well as altered
versions of the files below:
AUList.h, AUList.cpp, LLUList.h, LLUList.cpp
Do not submit your main.cpp files, and if you want to zip your files make sure they are at the base level.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Use html, php and Mysql to design a Library Managment web based System
The system should be able to do the following:1) Add/Remove/Edit book2) Search Catalog3) Register new account/ cancel membership4) Check-out book5) Reserve book6) Renew a book7) Return a book
Three main users for the system:1) Librarian2) Member3) System
arrow_forward
UX unification in SoS interface design: what are the advantages? A variety of factors influence the efficiency of a unified user interface. "What are these factors?"
arrow_forward
HUMAN COMPUTER INTERACTION
An airline company is designing a new on-line reservation system. They want to add some direct-manipulation features. For example, they would like customers to click a map to specify the departure cities and the destinations, and to click on the calendar to indicate their schedules. From your point of view, identify FOUR (4) benefits and FOUR (4) problems of the new idea compared with their old system, which required the customer to do the job by typing text
arrow_forward
Object orentied Programming
Sports World is an Events Management Company that organizes the running of major sporting games, such as the Olympic Games.
Before being used to host a sporting event, venues are assessed by an Administrator who checks that they are fit for purpose. If the venue can hold more than 10,000 people, the Administrator conducts additional health and safety checks to ensure that the venue is safe.
A year before the games begin, a Team of Staff is appointed to run the day-to-day operations, including booking successfully assessed/safety-checked venues. Six months before the games begin, the Team of Staff produce a Program that lists the date, time and location of each sporting event. At this point, Athletes can register for an event by giving their name, address, date of birth and best time for their event. Some overseas athletes need to apply for a visa and the system needs to record whether they were successful.
A week before the games begin, a Team of Staff…
arrow_forward
CASE STUDY #2:
Create a training script demonstrating your understanding of bodybuilding training principles for one of the phases of a training program (Foundational Training phase, Hypertrophy training phase, or Cutting training phase). The training script should be completed within the following guidelines:
1. State your name, school, or association that you work for.
2. State the training phase that you are designing the program for.
3. Outline the layout of the training program for one training day. (NOTE: Training program should be specific to one of the aforementioned phases of training.) Provide an explanation describing how your recommendations are specific to the phase of training that you have chosen to design the program for.
4. Provide thorough descriptions of the coaching cues you would use for each exercise that you recommend. For instance, if you recommend that the athlete should perform a front squat, state the coaching cues you will use to get the athlete to…
arrow_forward
How can conflict in git resolved?
arrow_forward
Can someone help with this questions
arrow_forward
The term "boilerplate" pertains to a standardized or generic piece of text or code that can be reused in various contexts without significant modification?
arrow_forward
• SHCT using Leave Management System for managing leave
application and approving process. Employee will fill the leave
application and submits the form. After submission, email
notification will be sent to the employee and Head of the
Department (HOD) simultaneously. After that, the Head of the
Department views the leave application. He will check the
number of available leaves: If the leaves are available, he will
approve the leave else he will send reject message to the
employee. HOD will forward approved leave request to the HR
manager. The HR manager will update the leaves database.
Analyse the above descriptions and draw the Activity diagram
with swimlanes.
arrow_forward
MAKE IT PARAGRAPH FORM
During the Foundation days, we have engaged in prayer and worship services that reflect the congregation's devotion to the Immaculate Heart of Mary. These services often include the celebration of Mass.
The CICM has a strong tradition of education and research, and during the Foundation Days, there may be events or exhibits showcasing the congregation's contributions to scientific knowledge, and we, as students, have participated in those activities. We also attended specialized science programs, labs, and equipment that provided students with a solid foundation in scientific knowledge and skills.
The Foundation Days often involve celebrations of the CICM's missionary work. We also attended those presentations to enhance our knowledge about the motto. We also participated in activities promoting social responsibility and civic engagement with the school authorities.
arrow_forward
Software engineering
This requirement has a clarity problem; rewrite it to be better.
"The communication app will verify that a student is in the professor’s class by making a POST request to Coursebook to check that information."
arrow_forward
Each potential solution to the framework should include a description of the difficulties that will be experienced throughout the implementation as well as the measures that will be taken to overcome those difficulties. This must be done before you can go on to discussing how you intend to address the issues that you've discovered. It's plausible that solving these problems with cloud computing might do the trick, but is it really feasible? Should you put your attention here, or is it possible that you may just as well ignore it?
arrow_forward
Legal and Ethical use of IT
Case study
While mingling with neighbours at a party, Ato mentions that he is responsible for evaluating bids for a large computer software contract. A few days later, Ato receives a lunch invitation from one of his neighbours who also attended the party. Over appetizers, the conversation turns to the contract Ato is managing. Ato’s neighbour seems remarkably well informed about the bidding process and likely bidders. Ato volunteers information about the potential value of the contract and briefly outlines the criteria his firm will use to select the winner. At the end of the lunch, Ato’s neighbour surprises him by revealing that he is a consultant for several companies in the computer software market. Later that day, Ato’s mind is racing.
Questions
1. Did Ato reveal information that could provide a supplier with a competitive advantage in the bidding process?
2.What are the potential business risks and ethical issues in this situation? Should Ato report…
arrow_forward
Java project using maven on stock management system having vendor, purchase and product details. Use the Eclipse IDE and JFrame to create the frames and with MySQL to store the data
There should login and logout feature for vendor
The system shall be able to record the vendor details.
The system shall be able to record the product details.
The system shall be able to record the purchase details.
arrow_forward
How beneficial is a standard user interface in terms of the design of the SoS user interface? Which characteristics of a unified user interface influence its cost-effectiveness?
arrow_forward
Please write your answers clearly
arrow_forward
asses and associations
Consultant
Referred-to
1.
1.
Diagnosed-
with
1.*
1.
1
General
Condition
Patient
Referred-by Practitioner
1.
Attends
1.*
Prescrikes
Consultation
1.
Medication
1.
1.*
Runs Prescribes
1.4
Treatment
1.*
Hospital
Doctor
Dr. Safa A. Najim/ CIS Dept./ IT College/
ah Univ.
arrow_forward
Education is the process of facilitating learning, or the acquisition of knowledge, skills, values, morals, beliefs, habits, and personal development. Educational methods include teaching, training, storytelling, discussion and directed research. Education frequently takes place under the guidance of educators; however, learners can also educate themselves. Education can take place in formal or informal settings, and any experience that has a formative effect on the way one thinks, feels, or acts may be considered educational. The methodology of teaching is called pedagogy.
Describe the overriding benefits of education, training, and awareness.
arrow_forward
Business Process Model and Notation (BPMN)
Diagram the "To-Be" Process for ordering a pathology test for a patient being treated by his/her local doctor, assuming that an Electronic Medical Record (EMR) system is implemented for the To Be Process. Assume that the patient is later admitted to hospital and the hospital doctor needs the results of the pathology test urgently.
Include the following actors (you can add more) and swim lanes:• patient• local doctor• local pathologist• private insurance company• hospital doctor• hospital pathologist
arrow_forward
5. Which criteria fall OUTSIDE the scope of Information Exchange Package Documentation
(IEPD)? (Select three.)
Specify technical information outside of the message structure
Describes an interface
Specify how exchange data is physically transferred
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Fundamentals of Information Systems
Computer Science
ISBN:9781337097536
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Systems Analysis and Design (Shelly Cashman Serie...
Computer Science
ISBN:9781305494602
Author:Scott Tilley, Harry J. Rosenblatt
Publisher:Cengage Learning
Related Questions
- Use html, php and Mysql to design a Library Managment web based System The system should be able to do the following:1) Add/Remove/Edit book2) Search Catalog3) Register new account/ cancel membership4) Check-out book5) Reserve book6) Renew a book7) Return a book Three main users for the system:1) Librarian2) Member3) Systemarrow_forwardUX unification in SoS interface design: what are the advantages? A variety of factors influence the efficiency of a unified user interface. "What are these factors?"arrow_forwardHUMAN COMPUTER INTERACTION An airline company is designing a new on-line reservation system. They want to add some direct-manipulation features. For example, they would like customers to click a map to specify the departure cities and the destinations, and to click on the calendar to indicate their schedules. From your point of view, identify FOUR (4) benefits and FOUR (4) problems of the new idea compared with their old system, which required the customer to do the job by typing textarrow_forward
- Object orentied Programming Sports World is an Events Management Company that organizes the running of major sporting games, such as the Olympic Games. Before being used to host a sporting event, venues are assessed by an Administrator who checks that they are fit for purpose. If the venue can hold more than 10,000 people, the Administrator conducts additional health and safety checks to ensure that the venue is safe. A year before the games begin, a Team of Staff is appointed to run the day-to-day operations, including booking successfully assessed/safety-checked venues. Six months before the games begin, the Team of Staff produce a Program that lists the date, time and location of each sporting event. At this point, Athletes can register for an event by giving their name, address, date of birth and best time for their event. Some overseas athletes need to apply for a visa and the system needs to record whether they were successful. A week before the games begin, a Team of Staff…arrow_forwardCASE STUDY #2: Create a training script demonstrating your understanding of bodybuilding training principles for one of the phases of a training program (Foundational Training phase, Hypertrophy training phase, or Cutting training phase). The training script should be completed within the following guidelines: 1. State your name, school, or association that you work for. 2. State the training phase that you are designing the program for. 3. Outline the layout of the training program for one training day. (NOTE: Training program should be specific to one of the aforementioned phases of training.) Provide an explanation describing how your recommendations are specific to the phase of training that you have chosen to design the program for. 4. Provide thorough descriptions of the coaching cues you would use for each exercise that you recommend. For instance, if you recommend that the athlete should perform a front squat, state the coaching cues you will use to get the athlete to…arrow_forwardHow can conflict in git resolved?arrow_forward
- Can someone help with this questionsarrow_forwardThe term "boilerplate" pertains to a standardized or generic piece of text or code that can be reused in various contexts without significant modification?arrow_forward• SHCT using Leave Management System for managing leave application and approving process. Employee will fill the leave application and submits the form. After submission, email notification will be sent to the employee and Head of the Department (HOD) simultaneously. After that, the Head of the Department views the leave application. He will check the number of available leaves: If the leaves are available, he will approve the leave else he will send reject message to the employee. HOD will forward approved leave request to the HR manager. The HR manager will update the leaves database. Analyse the above descriptions and draw the Activity diagram with swimlanes.arrow_forward
- MAKE IT PARAGRAPH FORM During the Foundation days, we have engaged in prayer and worship services that reflect the congregation's devotion to the Immaculate Heart of Mary. These services often include the celebration of Mass. The CICM has a strong tradition of education and research, and during the Foundation Days, there may be events or exhibits showcasing the congregation's contributions to scientific knowledge, and we, as students, have participated in those activities. We also attended specialized science programs, labs, and equipment that provided students with a solid foundation in scientific knowledge and skills. The Foundation Days often involve celebrations of the CICM's missionary work. We also attended those presentations to enhance our knowledge about the motto. We also participated in activities promoting social responsibility and civic engagement with the school authorities.arrow_forwardSoftware engineering This requirement has a clarity problem; rewrite it to be better. "The communication app will verify that a student is in the professor’s class by making a POST request to Coursebook to check that information."arrow_forwardEach potential solution to the framework should include a description of the difficulties that will be experienced throughout the implementation as well as the measures that will be taken to overcome those difficulties. This must be done before you can go on to discussing how you intend to address the issues that you've discovered. It's plausible that solving these problems with cloud computing might do the trick, but is it really feasible? Should you put your attention here, or is it possible that you may just as well ignore it?arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage LearningFundamentals of Information SystemsComputer ScienceISBN:9781337097536Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningSystems Analysis and Design (Shelly Cashman Serie...Computer ScienceISBN:9781305494602Author:Scott Tilley, Harry J. RosenblattPublisher:Cengage Learning
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Fundamentals of Information Systems
Computer Science
ISBN:9781337097536
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Systems Analysis and Design (Shelly Cashman Serie...
Computer Science
ISBN:9781305494602
Author:Scott Tilley, Harry J. Rosenblatt
Publisher:Cengage Learning