4-2 READMe
.docx
keyboard_arrow_up
School
Southern New Hampshire University *
*We aren’t endorsed by this school
Course
340
Subject
Computer Science
Date
Feb 20, 2024
Type
docx
Pages
6
Uploaded by UltraCamelMaster345
CS 340 README Project One
Project One: Austin Animal Center
This application allows users access to a database of animals in the Austin Animal center to search and filter the database. It allows for easier searching for particular breeds, types, and other factors that might be beneficial to professional uses such as search and rescue. The project was requested by Grazioso Salvare and it is open source.
Motivation
This project was designed to show my abilities to handle database development and test my skills in programming and developing for the client’s requirements.
Getting Started
To get this program started, follow the following steps:
1.
Utilize MongoDB using the command shell by selecting the destination where you want to import
the file. Mine was /usr/local/datasets/
2.
Use the mongoimport tool and import the csv file aac_shelter_outcome.csv
3.
Create an Admin account and a aacuser account to access the database.
4.
Use a Python IDE to develop a script
Installation
Current versions of Python with Jupyter to run .py and .ipynb files.
Current version of MongoDB and PyMongo.
Usage
Code Example
A Create method that inserts a document into a specified MongoDB database and collection
Input -> argument to function will be a set of key/value pairs in the data type acceptable to the MongoDB driver insert API call.
Return -> “True” if successful insert, else “False”.
Note: This template has been adapted from the following sample templates: Make a README
, Best README Template
, and A Beginners Guide to Writing a Kickass README
.
A Read method that queries for document(s) from a specified MongoDB database and specified collection
Input -> arguments to function should be the key/value lookup pair to use with the MongoDB driver find API call.
Return -> result in cursor if successful, else MongoDB returned error message.
An Update method that queries for and changes document(s) from a specified MongoDB database and specified collection
Input -> arguments to function should be the key/value lookup pair to use with the MongoDB driver find API call. Last argument to function will be a set of key/value pairs in the data type acceptable to the MongoDB driver insert API call.
Return -> result in JSON format if successful, else MongoDB returned error message.
A Delete method that queries for and removes document(s) from a specified MongoDB database and specified collection
Input -> arguments to function should be the key/value lookup pair to use with the MongoDB driver find API call.
Return -> result in JSON format if successful, else MongoDB returned error message.
Note: This template has been adapted from the following sample templates: Make a README
, Best README Template
, and A Beginners Guide to Writing a Kickass README
.
Tests
The script was tested by intentionally passing an invalid statement using values that should not be
passed. The code successfully threw an exception and did not add the document.
Screenshots
Importing using MongoImport
User Creation
Note: This template has been adapted from the following sample templates: Make a README
, Best README Template
, and A Beginners Guide to Writing a Kickass README
.
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
Project: Database Management System for a Fictional Online Bookstore You are tasked with creating a database management system for a fictional online bookstore called "Bookworm Haven." The database will store information about books, authors, customers, orders, and transactions. As part of this project, you will design the database schema, create tables, populate the database with sample records, and perform various data management tasks. Database Schema: (USE ANY DBMS) • Books Table: Contains information about the books available in the bookstore. • Columns: BookID (Primary Key), Title, AuthorID (Foreign Key), Genre, Price, PublicationYear.
• Authors Table: Stores details about the authors of the books. • Columns: AuthorID (Primary Key), AuthorName, Nationality, BirthYear.
• Customers Table: Holds customer information for online orders. • Columns: CustomerID (Primary Key), CustomerName, Email, Phone, Address. • Orders Table: Records each customer's order details. • Columns:…
arrow_forward
Mindtap Cengage Assignment I already figured out two this has to work through mindtap to be grade
arrow_forward
Case Project: Roles
Provide a scenario in which a role is assigned to another role to fulfill a specific need in a database.
arrow_forward
SportTech Events.
SportTech Events SportTech Events puts on athletic events for local high school athletes. The company needs a database designed to keep track of the sponsor for the event and where the event is located. Each event needs a description, date, and cost. Separate costs are negotiated for each event. The company would also like to have a list of potential sponsors that includes each sponsor’s contact information, such as the name, phone number, and address. Each event will have a single sponsor, but a particular sponsor may sponsor more than one event. Each location will need an ID, a contact person, and a phone number. A particular event will use only one location, but a location may be used for multiple events. SportTech asks you to create a Conceptual Entity Relationship Diagram from the information described above.
arrow_forward
Lesson: Visual BasicTopic: Data Files
arrow_forward
Chevening Scholarship Database's stores data about each application received by the Chevening Foundation. As a database designer,
you're assigned to design the new database system according to the following requirements:
Each applicant can submit one or more applications (one application per year). Each application form is submitted by only one applicant.
Each application has a unique application ID number, application date, class level, GPA, GPA scale, academic honours, extracurricular activities,
community activities, other scholarship awarded and financial need.
The applicant's record contains student ID, student's last name, first name, date of birth, address, city, state, zip code, phone number and email address.
Each school can be associated with one or more applications. Each application is associated with only one school. Each school has a unique school ID,
school name, type, address, city, zip code and phone number.
Each application must include two or more recommendations.…
arrow_forward
Design and develop android application that inserts movie information into database. The following is required:
Validation: duration must be >0 and less than 20 (Show appropriate toast message otherwise)
Movie rating is a drop down list with values between 1 and 10
Movie year is a drop down list with values from 1950 until today's year
Show appropriate success message (using dialog) when the movie is successfully added to database
Insert movie information to database is achieved using a php web service
Database type is MYSQL
You should submit the following:
o Java files
Layout files
o AndroidManifest.xml
o Build.gradle that contains the dependencies of your project
o php web service file
Table movie looks like the following:
Mid
Mname
Duration
Rating
myear
The design looks like the following:
Movie Name
Movie Duration
Movie Rating
Movie Year
Add Movie
arrow_forward
Store Database
- Create a database with all needed tables
for a store that contain product information,
sales information, and customer
information. Build relations among the
created tables as needed.
- Create a view of the customer table
showing only some information about the
customers.
arrow_forward
Scenario and Database Model: InstantRide
InstantRide is the new ride sharing application in the city and it has just started its operations. With the help of the InstantRide mobile application, the users request a ride with their location. Drivers and cars are assigned to the request; and then the driver picks up the user to ride their requested location. Information for the users, drivers and cars are stored in the database as well as the travel transactions.
In the USERS table, information for the users are stored with their first name, last name and email:
In the DRIVERS table, all the drivers in the InstantRide are stored with their name, driving license number and check and rating information:
In the CARS table, all the cars in the InstantRide system are kept with the license plate, model and year:
Finally, the transactions of the rides are stored in the TRAVELS table. For each travel, start and end time with location are stored. In addition, the involved driver, car and…
arrow_forward
Scenario and Database Model: InstantRide
InstantRide is the new ride sharing application in the city and it has just started its operations. With the help of the InstantRide mobile application, the users request a ride with their location. Drivers and cars are assigned to the request; and then the driver picks up the user to ride their requested location. Information for the users, drivers and cars are stored in the database as well as the travel transactions.
In the USERS table, information for the users are stored with their first name, last name and email:
In the DRIVERS table, all the drivers in the InstantRide are stored with their name, driving license number and check and rating information:
In the CARS table, all the cars in the InstantRide system are kept with the license plate, model and year:
Finally, the transactions of the rides are stored in the TRAVELS table. For each travel, start and end time with location are stored. In addition, the involved driver, car and…
arrow_forward
Create ERD for Real-estate database:
There are Many Cities in each State
There are Many Zip Codes in each City
Many Houses belong to each ZipCode
Each House can be one of HouseTypes ( Town House, Residential, Condo, Single Family)
Each House can be Sold multiple times. ( entity Sales
arrow_forward
Scenario and Database Model: Instant Ride
InstantRide is the new ride sharing application in the city and it has just started its operations.
With the help of the Instant Ride mobile application, the users request a ride with their location.
Drivers and cars are assigned to the request; and then the driver picks up the user to ride their
requested location. Information for the users, drivers and cars are stored in the database as well as
the travel transactions.
In the USERS table, information for the users are stored with their first name, last name and email:
USER_ID
3001
3002
3003
3004
3005
3006
3007
3008
USERS Table
2001
2002
2003
2004
USER_FIRST_NAME
Willie
Justin
Anthony
Ece
Jack
Ryan
Nursin
Sarah
Bobby
Randy
Jose
DRIVERS Table
Nursin
Butler
Howard
In the DRIVERS table, all the drivers in the InstantRide are stored with their name, driving license
number and check and rating information:
Walker
DRIVER_ID DRIVER_FIRST_NAME DRIVER LAST NAME DRIVER DRIVING LICENSE_ID…
arrow_forward
describes any object that is a part of the database?
arrow_forward
Question Setup:
Scenario and Database Model: InstantRide
InstantRide is the new ride sharing application in the city and it has just started its operations. With the help of the InstantRide mobile application, the users request a ride with their location. Drivers and cars are assigned to the request; and then the driver picks up the user to ride their requested location. Information for the users, drivers and cars are stored in the database as well as the travel transactions.
In the USERS table, information for the users are stored with their first name, last name and email:
USER_ID
USER_FIRST_NAME
USER_LAST_NAME
USER_EMAIL
USERS Table
In the DRIVERS table, all the drivers in the InstantRide are stored with their name, driving license number and check and rating information:
DRIVER_ID
DRIVER_FIRST_NAME
DRIVER_LAST_NAME
DRIVER_DRIVING LICENSE_ID
DRIVER_START_DATE
DRIVER_DRIVING_LICENSE_CHECKED
DRIVER_RATING
DRIVERS Table
In the CARS table, all the cars in the InstantRide…
arrow_forward
Computer Science
A bridal company called Petals would like to create a database for their clients and the weddings they coordinate. The weddings they would like to track have the following details: The date of the wedding, the address, the wedding’s start time, an automatically generated ID and the marriage officer that will preside over the wedding. In more detail they would like to track the theme name and descriptions of “themed” weddings and if the wedding is an “out of town” wedding they would like to track the hotel name that will put up the guests. It is possible foe petals to have a themed out of town wedding, as well in town un-themed weddings. Each wedding is catered by a caterer that has a caterer-id, name, various phone numbers and an email address. The caterer can be re-used to cater for several weddings, even if more than one wedding is on the same day. Petals would like all weddings to indicate the cater before the wedding is booked.
Draw an Entity Relationship Diagram…
arrow_forward
DATABASE SYSTEM:
QUESTION:
A local businesswoman has decided to start her own Internet business, called Masterpieces Ltd, hiring paintings to private individuals and commercial companies. Because of your reputation as a database designer she has called upon your services to design and implement a database to support her new business. At the initial planning meeting, to discuss the design, the following user requirements were requested. The system must be able to manage the details of customers, paintings and those paintings currently on hire to customers. Customers are categorized as B (bronze), S (silver), G (gold) or P (platinum). These categories entitle a customer to a discount of 0%, 5%, 10% or 15% respectively. Customers often request paintings by a particular artist or theme (e.g. animal, landscape, seascape, naval, still‐life, etc). Over time a customer may hire the same painting more than once. Each painting is allocated a customer monthly rental price defined by the owner.…
arrow_forward
DATABASE SYSTEM:
QUESTION:
A local businesswoman has decided to start her own Internet business, called Masterpieces Ltd, hiring paintings to private individuals and commercial companies. Because of your reputation as a database designer she has called upon your services to design and implement a database to support her new business. At the initial planning meeting, to discuss the design, the following user requirements were requested. The system must be able to manage the details of customers, paintings and those paintings currently on hire to customers. Customers are categorized as B (bronze), S (silver), G (gold) or P (platinum). These categories entitle a customer to a discount of 0%, 5%, 10% or 15% respectively. Customers often request paintings by a particular artist or theme (e.g. animal, landscape, seascape, naval, still‐life, etc). Over time a customer may hire the same painting more than once. Each painting is allocated a customer monthly rental price defined by the owner.…
arrow_forward
I need the answer as soon as possible
arrow_forward
DATABASE SYSTEMS:
QUESTION:
A local businesswoman has decided to start her own Internet business, called Masterpieces Ltd, hiring paintings to private individuals and commercial companies. Because of your reputation as a database designer she has called upon your services to design and implement a database to support her new business. At the initial planning meeting, to discuss the design, the following user requirements were requested. The system must be able to manage the details of customers, paintings and those paintings currently on hire to customers. Customers are categorized as B (bronze), S (silver), G (gold) or P (platinum). These categories entitle a customer to a discount of 0%, 5%, 10% or 15% respectively. Customers often request paintings by a particular artist or theme (e.g. animal, landscape, seascape, naval, still‐life, etc). Over time a customer may hire the same painting more than once. Each painting is allocated a customer monthly rental price defined by the owner.…
arrow_forward
DataBase;
You are required to develop a simple database application for a small recruiting firm that wishes to keep track of all the employees at the
firm; storing details about their name, phone numbers, hiredate, Gender, Date of Birth, Salary, and Commission. The firm has many
departments and there are 5 to 20 employees in each department. The department information includes department name, description
and total number of employees in that department. The company also provides vehicles for some of its employees. An employee maybe
allocated one car. To ensure timely maintenance of vehicle, the company would like to store the following details of the vehicle: make,
model, next_maintenance_date.
Each employee has a position (manager, accountant, administrator, clerk, HR employee, etc.). Various allowances are allocated to each
position. For example, the managers have fuel allowance, house allowance, social allowance and managers allowance. On the other
hand, the administrators have…
arrow_forward
i need the answer quickly
arrow_forward
Scenario and Database Model: InstantRide
InstantRide is the new ride sharing application in the city and it has just started its operations. With the help of the InstantRide mobile application, the users request a ride with their location. Drivers and cars are assigned to the request; and then the driver picks up the user to ride their requested location. Information for the users, drivers and cars are stored in the database as well as the travel transactions.
I need help with task 4 and task 5.
arrow_forward
SQL Database help
arrow_forward
Write Mysql code
The database has three tables for tracking horse-riding lessons:
Horse with columns:
ID - primary key
RegisteredName
Breed
Height
BirthDate
Student with columns:
ID - primary key
FirstName
LastName
Street
City
State
Zip
Phone
EmailAddress
LessonSchedule with columns:
HorseID - partial primary key, foreign key references Horse(ID)
StudentID - foreign key references Student(ID)
LessonDateTime - partial primary key
Write a SELECT statement to create a lesson schedule with the lesson date/time, horse ID, and the student's first and last names. Order the results in ascending order by lesson date/time, then by horse ID. Unassigned lesson times (student ID is NULL) should not appear in the schedule.
Hint: Perform a join on the Student and LessonSchedule tables, matching the student IDs.
arrow_forward
An object in a desktop database
designed primarily for data input or
display or for control of application
execution. *
O Table
O Form
O Query
arrow_forward
PHP code
arrow_forward
Using PHP
Write a program using PHP programming language that reads the user name and password from a login form Login.html Login.php And then stores them in a table named: users
in these fields: U_name, U_Pwd
using phpMyadmin database.
arrow_forward
Advanced DataBase
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Related Questions
- Project: Database Management System for a Fictional Online Bookstore You are tasked with creating a database management system for a fictional online bookstore called "Bookworm Haven." The database will store information about books, authors, customers, orders, and transactions. As part of this project, you will design the database schema, create tables, populate the database with sample records, and perform various data management tasks. Database Schema: (USE ANY DBMS) • Books Table: Contains information about the books available in the bookstore. • Columns: BookID (Primary Key), Title, AuthorID (Foreign Key), Genre, Price, PublicationYear. • Authors Table: Stores details about the authors of the books. • Columns: AuthorID (Primary Key), AuthorName, Nationality, BirthYear. • Customers Table: Holds customer information for online orders. • Columns: CustomerID (Primary Key), CustomerName, Email, Phone, Address. • Orders Table: Records each customer's order details. • Columns:…arrow_forwardMindtap Cengage Assignment I already figured out two this has to work through mindtap to be gradearrow_forwardCase Project: Roles Provide a scenario in which a role is assigned to another role to fulfill a specific need in a database.arrow_forward
- SportTech Events. SportTech Events SportTech Events puts on athletic events for local high school athletes. The company needs a database designed to keep track of the sponsor for the event and where the event is located. Each event needs a description, date, and cost. Separate costs are negotiated for each event. The company would also like to have a list of potential sponsors that includes each sponsor’s contact information, such as the name, phone number, and address. Each event will have a single sponsor, but a particular sponsor may sponsor more than one event. Each location will need an ID, a contact person, and a phone number. A particular event will use only one location, but a location may be used for multiple events. SportTech asks you to create a Conceptual Entity Relationship Diagram from the information described above.arrow_forwardLesson: Visual BasicTopic: Data Filesarrow_forwardChevening Scholarship Database's stores data about each application received by the Chevening Foundation. As a database designer, you're assigned to design the new database system according to the following requirements: Each applicant can submit one or more applications (one application per year). Each application form is submitted by only one applicant. Each application has a unique application ID number, application date, class level, GPA, GPA scale, academic honours, extracurricular activities, community activities, other scholarship awarded and financial need. The applicant's record contains student ID, student's last name, first name, date of birth, address, city, state, zip code, phone number and email address. Each school can be associated with one or more applications. Each application is associated with only one school. Each school has a unique school ID, school name, type, address, city, zip code and phone number. Each application must include two or more recommendations.…arrow_forward
- Design and develop android application that inserts movie information into database. The following is required: Validation: duration must be >0 and less than 20 (Show appropriate toast message otherwise) Movie rating is a drop down list with values between 1 and 10 Movie year is a drop down list with values from 1950 until today's year Show appropriate success message (using dialog) when the movie is successfully added to database Insert movie information to database is achieved using a php web service Database type is MYSQL You should submit the following: o Java files Layout files o AndroidManifest.xml o Build.gradle that contains the dependencies of your project o php web service file Table movie looks like the following: Mid Mname Duration Rating myear The design looks like the following: Movie Name Movie Duration Movie Rating Movie Year Add Moviearrow_forwardStore Database - Create a database with all needed tables for a store that contain product information, sales information, and customer information. Build relations among the created tables as needed. - Create a view of the customer table showing only some information about the customers.arrow_forwardScenario and Database Model: InstantRide InstantRide is the new ride sharing application in the city and it has just started its operations. With the help of the InstantRide mobile application, the users request a ride with their location. Drivers and cars are assigned to the request; and then the driver picks up the user to ride their requested location. Information for the users, drivers and cars are stored in the database as well as the travel transactions. In the USERS table, information for the users are stored with their first name, last name and email: In the DRIVERS table, all the drivers in the InstantRide are stored with their name, driving license number and check and rating information: In the CARS table, all the cars in the InstantRide system are kept with the license plate, model and year: Finally, the transactions of the rides are stored in the TRAVELS table. For each travel, start and end time with location are stored. In addition, the involved driver, car and…arrow_forward
- Scenario and Database Model: InstantRide InstantRide is the new ride sharing application in the city and it has just started its operations. With the help of the InstantRide mobile application, the users request a ride with their location. Drivers and cars are assigned to the request; and then the driver picks up the user to ride their requested location. Information for the users, drivers and cars are stored in the database as well as the travel transactions. In the USERS table, information for the users are stored with their first name, last name and email: In the DRIVERS table, all the drivers in the InstantRide are stored with their name, driving license number and check and rating information: In the CARS table, all the cars in the InstantRide system are kept with the license plate, model and year: Finally, the transactions of the rides are stored in the TRAVELS table. For each travel, start and end time with location are stored. In addition, the involved driver, car and…arrow_forwardCreate ERD for Real-estate database: There are Many Cities in each State There are Many Zip Codes in each City Many Houses belong to each ZipCode Each House can be one of HouseTypes ( Town House, Residential, Condo, Single Family) Each House can be Sold multiple times. ( entity Salesarrow_forwardScenario and Database Model: Instant Ride InstantRide is the new ride sharing application in the city and it has just started its operations. With the help of the Instant Ride mobile application, the users request a ride with their location. Drivers and cars are assigned to the request; and then the driver picks up the user to ride their requested location. Information for the users, drivers and cars are stored in the database as well as the travel transactions. In the USERS table, information for the users are stored with their first name, last name and email: USER_ID 3001 3002 3003 3004 3005 3006 3007 3008 USERS Table 2001 2002 2003 2004 USER_FIRST_NAME Willie Justin Anthony Ece Jack Ryan Nursin Sarah Bobby Randy Jose DRIVERS Table Nursin Butler Howard In the DRIVERS table, all the drivers in the InstantRide are stored with their name, driving license number and check and rating information: Walker DRIVER_ID DRIVER_FIRST_NAME DRIVER LAST NAME DRIVER DRIVING LICENSE_ID…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education