Develop a prototype system to test different data structure options for the student database. - Information Systems
Due to COVID, the University has had recent experience in running courses online. This presents an opportunity to expand online courses to become MOOC (Massive Open Online Course) with many thousands of students enrolled in each unit. This has the potential to create performance issues for the student record system.
Your task is to develop a prototype system to test different data structure options for the student database.
Assessment/Assignment-2-Student-DB/Assignment 2 - Student DB - Copy - Copy.html
KIT205 Data Structures and Algorithms
Assignment 2
Due 10th September, 11:55pm
Due to COVID, the University has had recent experience in running courses online. This presents an opportunity to expand online courses to become MOOC (Massive Open Online Course) with many thousands of students enrolled in each unit. This has the potential to create performance issues for the student record system.
Your task is to develop a prototype system to test different data structure options for the student database.
The student database must support the following operations:
Add student
Remove student
Enrol student in a unit
Un-enrol student from a unit
Print an ordered summary of units and the number of students enrolled in each unit
Print an ordered list of students enrolled in a specific unit
Print an ordered list of units that a specific student is enrolled in
Assignment Specification - Part A (~80% of marks)
For this part of the assignment you will implement a prototype that uses a binary search tree of students (for the prototype you will store only student id), with each BST node also storing a linked list of units that the student is enrolled in (for the prototype, you will store only the unit code, as a string). You must use the BST and linked list code as developed in the tutorials, however the data structures will be modified for the new data (and functions will also require minor modifications to accommodate these changes). The following definitions MUST be used:
typedef char* String;
typedef struct listNode{
String unit_code;
struct listNode *next;
} *ListNodePtr;
typedef struct list {
ListNodePtr head;
} UnitList;
typedef struct bstNode {
long student_id;
UnitList units;
struct bstNode *left;
struct bstNode *right;
} *BSTNodePtr;
typedef struct bst {
BSTNodePtr root;
} StudentBST;
The ListNodePtr and UnitList definitions and (modified) linked list functions must be placed in files list.h and list.c. The BSTNodePtr and StudentBST definitions and modified BST functions must be placed in files bst.h and bst.c.
All remaining code should be placed in a file called main.c that contains the main function and all other program logic (there should not be any program logic or I/0 code in your linked list or bst files). This file will contain separate functions for each of the seven operations listed above, as well as an eighth function to handle termination. Other functions may be added if required.
Program I/O
All interactions with the program will be via the console. Operations 1-7 will be selected by typing 1-7 at the command prompt. Quitting the application will be selected by typing 0. For example, the following input sequence would add a student with id “123456”, and then enroll student "123456" in the unit “abc123”, and then quit the application:
1
123456
3
123456
abc123
0
Note that this sequence shows the input only, not the program response (if any). You are free to add prompts to make the application more user friendly, but this will not be assessed (although it may be useful).
Program output in response to operations 5-7, should be as minimal as possible. You may print a header if you wish, but this should be followed by one record per line with spaces separating data. For example, in response to operation 5, the output might be:
Unit enrollments:
abc123 32
def123 0
def456 10236
I/O Restrictions
You may assume that all input will always be in the correct format and contain no logical errors.
Commands will always be in the range 0-7
Unit names will always be strings less than 100 characters long and may contain any alpha-numeric characters (no spaces)
Student ids will always be positive integers in the range 0-999999
The user will never attempt to enrol a non-existent student in a unit
The user will never attempt to print data for a non-existent student
The user will never attempt to remove non-existent students
The user will never attempt to unenrol a student from a unit that they are not enrolled in
Memory Management
Unit names should be stored in appropriately size dynamically allocated memory. Names will always be less than 100 characters long. For example, the course name “abc123” would be stored in a char string of length 7.
Removing (un-enrolling) a student should free all associated dynamically allocated memory, including memory for the units that they are currently enrolled in. The quit function should also free all dynamically allocated memory.
Assignment Specification - Part B (~20% of marks)
This part of the assignment should only be attempted once you have fully implemented and thoroughly tested your solution to part A. It would be better to submit a complete part A and no part B than to submit a partially complete part A and part B. Part B is worth only 20% of the marks, but may require more than 20% of the effort (mostly reading and testing).
The requirements for this part of the assignment are exactly the same as for Part A except that an AVL tree must be used to store students, rather than storing them in a standard BST. To implement the AVL tree, reuse the BST struct definitions, but add a height variable to the node struct. Leave all BST functions in place, but add AVL functions to your bst.h and bst.c files. Add a switch in your main.c file so that it is easy for the marker to switch between BST and AVL functions (e.g. to switch between bst_insert and avl_insert).
Minimal assistance will be provided for this part of the assignment. No assistance at all will be given unless you can demonstrate a fully implemented and thoroughly tested solution to part A.
Testing
It can be very time consuming to thoroughly test a program like this when all input is done manually (imagine testing that your solution can manage 1000's of students and courses). A common method of testing code like this is to use input redirection (and possibly output redirection). When using input redirection your code runs without modification, but all input comes from a file instead of from the keyboard.
This facility is provided in Visual Studio through the project properties dialog. For example, to redirect input from a file called “test.txt”, you would add:
<"$(ProjectDir)test.txt"
to Configuration Properties|Debugging|Command Arguments. This will be demonstrated in tutorials.
Some small test files have been provided with input files (input1, input2) you can use for redirection and output files (output1, output2) that you can use to check for correct output. However, it is recommended that you construct your own larger files to fully test your program! As well as larger test files, it would also be wise to construct files that test edge cases.
Testing is very important! Few marks will be deducted for minor programming errors, but many marks may be deducted if these errors could be easily fixed if identified by thorough testing.
Assignment Submission
Assignments will be submitted via MyLO (using the Assignment 2 dropbox). Submissions should consist of a single zipped Visual Studio project. You should use the following procedure to prepare your submission:
Make sure that your project has been thoroughly tested
Choose “Clean Solution” from the “Build” menu in Visual Studio. This step is very important as it ensures that the version that the marker runs will be the same as the version that you believe the marker is running.
Quit Visual Studio and zip your entire project folder (to save space you may remove the hidden ".vs" folder before zipping - but this is not required)
Upload a copy of the zip file to the MyLO dropbox
History tells us that mistakes frequently happen when following this process, so you should then:
Unzip the folder to a new location
Open the project and confirm that it still compiles and runs as expected
If not, repeat the process from the start (a common error occurs when copying projects, where the code files you are editing end up existing outside of the project folder structure – and therefore don’t get submitted when you zip the folder)
Learning Outcomes and Assessment
This assignment is worth 10% of your overall mark for KIT205. Your submission will be assessed by examining your code and by running additional tests in Visual Studio. If your submission does not run in Visual Studio 2019 on Windows, it cannot be assessed.
Grades will be assigned in accordance with the Assignment 2 rubric.
The assignment contributes to the assessment of learning outcomes:
LO1 Transform a real-world problem into a simple abstract form that is suitable for efficient computation
LO2 Implement common data structures and algorithms using a common programming language
LO3 Analyse the theoretical and practical run time and space complexity of computer code in order to select algorithms for specific tasks
images/banners/0f5150f3-753c-4105-b996-ea9b35d9baba-2c540bbd852.au0f5150f3-753c-4105-b996-ea9b35d9baba
Assessment/Assignment-2-Student-DB/input1.txt
1
123456
1
000001
1
999999
3
123456
tom470
3
123456
def102
3
000001
def102
3
999999
abc101
1
543210
3
999999
kkk305
3
999999
def102
1
111111
3
123456
kkk305
3
123456
abc101
7
123456
7
111111
7
999999
0
Assessment/Assignment-2-Student-DB/input2.txt
1
123456
1
000001
1
999999
3
123456
tom470
3
123456
def102
3
000001
def102
3
999999
abc101
1
543210
3
999999
kkk305
3
543210
def102
3
999999
def102
1
111111
3
123456
kkk305
3
123456
abc101
2
123456
3
000001
tom470
3
000001
def102
4
999999
kkk305
5
6
kkk305
6
def102
7
999999
0
Assessment/Assignment-2-Student-DB/output1.txt
Enrolments for 123456:
abc101
def102
kkk305
tom470
Enrolments for 111111:
Enrolments for 999999:
abc101
def102
kkk305
Assessment/Assignment-2-Student-DB/output2.txt
Enrolment summary:
abc101 1
def102 3
tom470 1
Students enrolled in kkk305:
Students enrolled in def102:
1
543210
999999
Enrolments for 999999:
abc101
def102
Table of Contents.html
KIT205 Data Structures and Algorithms - Assignment 2 - Student DB
1. Assignment 2 - Student DB
2. input1
3. input2
4. output1
5. output2
CATEGORIES
Economics
Nursing
Applied Sciences
Psychology
Science
Management
Computer Science
Human Resource Management
Accounting
Information Systems
English
Anatomy
Operations Management
Sociology
Literature
Education
Business & Finance
Marketing
Engineering
Statistics
Biology
Political Science
Reading
History
Financial markets
Philosophy
Mathematics
Law
Criminal
Architecture and Design
Government
Social Science
World history
Chemistry
Humanities
Business Finance
Writing
Programming
Telecommunications Engineering
Geography
Physics
Spanish
ach
e. Embedded Entrepreneurship
f. Three Social Entrepreneurship Models
g. Social-Founder Identity
h. Micros-enterprise Development
Outcomes
Subset 2. Indigenous Entrepreneurship Approaches (Outside of Canada)
a. Indigenous Australian Entrepreneurs Exami
Calculus
(people influence of
others) processes that you perceived occurs in this specific Institution Select one of the forms of stratification highlighted (focus on inter the intersectionalities
of these three) to reflect and analyze the potential ways these (
American history
Pharmacology
Ancient history
. Also
Numerical analysis
Environmental science
Electrical Engineering
Precalculus
Physiology
Civil Engineering
Electronic Engineering
ness Horizons
Algebra
Geology
Physical chemistry
nt
When considering both O
lassrooms
Civil
Probability
ions
Identify a specific consumer product that you or your family have used for quite some time. This might be a branded smartphone (if you have used several versions over the years)
or the court to consider in its deliberations. Locard’s exchange principle argues that during the commission of a crime
Chemical Engineering
Ecology
aragraphs (meaning 25 sentences or more). Your assignment may be more than 5 paragraphs but not less.
INSTRUCTIONS:
To access the FNU Online Library for journals and articles you can go the FNU library link here:
https://www.fnu.edu/library/
In order to
n that draws upon the theoretical reading to explain and contextualize the design choices. Be sure to directly quote or paraphrase the reading
ce to the vaccine. Your campaign must educate and inform the audience on the benefits but also create for safe and open dialogue. A key metric of your campaign will be the direct increase in numbers.
Key outcomes: The approach that you take must be clear
Mechanical Engineering
Organic chemistry
Geometry
nment
Topic
You will need to pick one topic for your project (5 pts)
Literature search
You will need to perform a literature search for your topic
Geophysics
you been involved with a company doing a redesign of business processes
Communication on Customer Relations. Discuss how two-way communication on social media channels impacts businesses both positively and negatively. Provide any personal examples from your experience
od pressure and hypertension via a community-wide intervention that targets the problem across the lifespan (i.e. includes all ages).
Develop a community-wide intervention to reduce elevated blood pressure and hypertension in the State of Alabama that in
in body of the report
Conclusions
References (8 References Minimum)
*** Words count = 2000 words.
*** In-Text Citations and References using Harvard style.
*** In Task section I’ve chose (Economic issues in overseas contracting)"
Electromagnetism
w or quality improvement; it was just all part of good nursing care. The goal for quality improvement is to monitor patient outcomes using statistics for comparison to standards of care for different diseases
e a 1 to 2 slide Microsoft PowerPoint presentation on the different models of case management. Include speaker notes... .....Describe three different models of case management.
visual representations of information. They can include numbers
SSAY
ame workbook for all 3 milestones. You do not need to download a new copy for Milestones 2 or 3. When you submit Milestone 3
pages):
Provide a description of an existing intervention in Canada
making the appropriate buying decisions in an ethical and professional manner.
Topic: Purchasing and Technology
You read about blockchain ledger technology. Now do some additional research out on the Internet and share your URL with the rest of the class
be aware of which features their competitors are opting to include so the product development teams can design similar or enhanced features to attract more of the market. The more unique
low (The Top Health Industry Trends to Watch in 2015) to assist you with this discussion.
https://youtu.be/fRym_jyuBc0
Next year the $2.8 trillion U.S. healthcare industry will finally begin to look and feel more like the rest of the business wo
evidence-based primary care curriculum. Throughout your nurse practitioner program
Vignette
Understanding Gender Fluidity
Providing Inclusive Quality Care
Affirming Clinical Encounters
Conclusion
References
Nurse Practitioner Knowledge
Mechanics
and word limit is unit as a guide only.
The assessment may be re-attempted on two further occasions (maximum three attempts in total). All assessments must be resubmitted 3 days within receiving your unsatisfactory grade. You must clearly indicate “Re-su
Trigonometry
Article writing
Other
5. June 29
After the components sending to the manufacturing house
1. In 1972 the Furman v. Georgia case resulted in a decision that would put action into motion. Furman was originally sentenced to death because of a murder he committed in Georgia but the court debated whether or not this was a violation of his 8th amend
One of the first conflicts that would need to be investigated would be whether the human service professional followed the responsibility to client ethical standard. While developing a relationship with client it is important to clarify that if danger or
Ethical behavior is a critical topic in the workplace because the impact of it can make or break a business
No matter which type of health care organization
With a direct sale
During the pandemic
Computers are being used to monitor the spread of outbreaks in different areas of the world and with this record
3. Furman v. Georgia is a U.S Supreme Court case that resolves around the Eighth Amendments ban on cruel and unsual punishment in death penalty cases. The Furman v. Georgia case was based on Furman being convicted of murder in Georgia. Furman was caught i
One major ethical conflict that may arise in my investigation is the Responsibility to Client in both Standard 3 and Standard 4 of the Ethical Standards for Human Service Professionals (2015). Making sure we do not disclose information without consent ev
4. Identify two examples of real world problems that you have observed in your personal
Summary & Evaluation: Reference & 188. Academic Search Ultimate
Ethics
We can mention at least one example of how the violation of ethical standards can be prevented. Many organizations promote ethical self-regulation by creating moral codes to help direct their business activities
*DDB is used for the first three years
For example
The inbound logistics for William Instrument refer to purchase components from various electronic firms. During the purchase process William need to consider the quality and price of the components. In this case
4. A U.S. Supreme Court case known as Furman v. Georgia (1972) is a landmark case that involved Eighth Amendment’s ban of unusual and cruel punishment in death penalty cases (Furman v. Georgia (1972)
With covid coming into place
In my opinion
with
Not necessarily all home buyers are the same! When you choose to work with we buy ugly houses Baltimore & nationwide USA
The ability to view ourselves from an unbiased perspective allows us to critically assess our personal strengths and weaknesses. This is an important step in the process of finding the right resources for our personal learning style. Ego and pride can be
· By Day 1 of this week
While you must form your answers to the questions below from our assigned reading material
CliftonLarsonAllen LLP (2013)
5 The family dynamic is awkward at first since the most outgoing and straight forward person in the family in Linda
Urien
The most important benefit of my statistical analysis would be the accuracy with which I interpret the data. The greatest obstacle
From a similar but larger point of view
4 In order to get the entire family to come back for another session I would suggest coming in on a day the restaurant is not open
When seeking to identify a patient’s health condition
After viewing the you tube videos on prayer
Your paper must be at least two pages in length (not counting the title and reference pages)
The word assimilate is negative to me. I believe everyone should learn about a country that they are going to live in. It doesnt mean that they have to believe that everything in America is better than where they came from. It means that they care enough
Data collection
Single Subject Chris is a social worker in a geriatric case management program located in a midsize Northeastern town. She has an MSW and is part of a team of case managers that likes to continuously improve on its practice. The team is currently using an
I would start off with Linda on repeating her options for the child and going over what she is feeling with each option. I would want to find out what she is afraid of. I would avoid asking her any “why” questions because I want her to be in the here an
Summarize the advantages and disadvantages of using an Internet site as means of collecting data for psychological research (Comp 2.1) 25.0\% Summarization of the advantages and disadvantages of using an Internet site as means of collecting data for psych
Identify the type of research used in a chosen study
Compose a 1
Optics
effect relationship becomes more difficult—as the researcher cannot enact total control of another person even in an experimental environment. Social workers serve clients in highly complex real-world environments. Clients often implement recommended inte
I think knowing more about you will allow you to be able to choose the right resources
Be 4 pages in length
soft MB-920 dumps review and documentation and high-quality listing pdf MB-920 braindumps also recommended and approved by Microsoft experts. The practical test
g
One thing you will need to do in college is learn how to find and use references. References support your ideas. College-level work must be supported by research. You are expected to do that for this paper. You will research
Elaborate on any potential confounds or ethical concerns while participating in the psychological study 20.0\% Elaboration on any potential confounds or ethical concerns while participating in the psychological study is missing. Elaboration on any potenti
3 The first thing I would do in the family’s first session is develop a genogram of the family to get an idea of all the individuals who play a major role in Linda’s life. After establishing where each member is in relation to the family
A Health in All Policies approach
Note: The requirements outlined below correspond to the grading criteria in the scoring guide. At a minimum
Chen
Read Connecting Communities and Complexity: A Case Study in Creating the Conditions for Transformational Change
Read Reflections on Cultural Humility
Read A Basic Guide to ABCD Community Organizing
Use the bolded black section and sub-section titles below to organize your paper. For each section
Losinski forwarded the article on a priority basis to Mary Scott
Losinksi wanted details on use of the ED at CGH. He asked the administrative resident