Build an application for a car rental company. It should offer the following features: • Maintain a customer database in a file: o Register / add new customers. Customer information should include ▪ Customer ID number ▪ Name ▪ Phone number o Search customer database by: ▪ Customer ID number ▪ Name ▪ Phone number And print out the matching records
Q: Using a database that contains colleges name, whether it is private or not, Apps, Accept, Enroll,…
A: Java Code : import java.io.*;import java.util.*; class ch{ public static void main(String[]…
Q: Open your text editor and create a new document named model.php model.php will connect to a database…
A: <?php $request = $_REQUEST; $email = $request['id']; $first_name = $request['name']; $last_name…
Q: Generate use cases based on the folowing scenario. Chillax Video Store (CVS) runs a chain of video…
A: Based on the following scenario use case diagram is given below :
Q: create database GA2 go use GA2 go create table salesman( salesman_id int primary key, name…
A: In the given Customer table creation query, salesman_id is a foreign key. But the given syntax of…
Q: A software developer is developing a student records module that stores students' college details.…
A: Task : Given the snippet for the c code using structure. The task is to find the API interface.…
Q: If the current record is the ninth record in a dataset that contains 10 records, which of the…
A: Valid statement The Position Property and the MoveLast() method can be used to position the record…
Q: You are writing code for a webserver in JavaScript that should keep running at all costs. There is a…
A: var t = require("http"); var x = t.createServer(function (q,s) { // // you can process requests here…
Q: Develop a Java application that should make use of Remote Method Invocation and a database. Your…
A: It is a project that may take so much time to implement. So, I am providing a sample link so you can…
Q: When database version in SQLite database is decreased then helper class will call O a. onCreate() O…
A: When the database version in the SQLite database is decreased then the helper class will call…
Q: The following needs to coded in Java Your job is to code the application and provide unit tests to…
A: Java Language : Java is a class-based, object-oriented programming language that is designed to have…
Q: Write a Window application in C# that read employee recordfrom Microsoft access database using odbc…
A: Below is the required code to connect the code to MS Access database:
Q: Write a C program called: ./database CMD OPT1 OPT2 OPT3 OPT4 Where: CMD is a command that performs a…
A: #include <stdio.h>#include <stdlib.h>#include <string.h> void trim(char *str) {…
Q: Implement, using Java, an application to add user's transactions into a binary file, and then…
A: General guidance The answer provided below has been developed in a clear step by step manner. First…
Q: 4) a. Load a database application b. Create a database labelled as MOVIE_LIBRARY in the created…
A: In questions with multiple subparts, we are needed to solve only first 3.
Q: a. Load a database application…
A: Answer : given data, MovieID Movie Name Date Released Movie Category Quantity Delivered…
Q: Customers are charged a simple interest per annum on any approved loan. Assuming every loan applied…
A: Note as per our guidelines we are supposed to answer?️ only one question. Kindly repost other…
Q: Create a database class in python. Create four variables for the database class:…
A: The class is made in python language as asked in the question in the next step:
Q: Which of the following statement is correct about dictionary clear() method.? a. delete only…
A: Please find the answer below
Q: A gym wants to store user profile information in a NOSQL database. Write MongoDB interactive shell…
A: You have uploaded multiple questions . I am giving solution of first one . please upload all…
Q: Build an application for a car rental company. It should offer the following features: • Maintain a…
A: please check the step 2 for code
Q: You are asked to design a database for Banks. A bank will have one unique Code, Name and Address.…
A: Entity Relationship Diagram is a pictorial format of describing relations involved in a database…
Q: create database GA2 go use GA2 go create table salesman( salesman_id int primary key, name…
A: Please refer to the following step for the complete solution of the problem above.
Q: Project Requirements Build an application for a car rental company. It should offer the following…
A: Maintain a customer database in a file:- C Code :
Q: Write a script that adds an index to the MyGuitarShop database for the zip code field in the…
A: Write a script that adds an index to the MyGuitarShop database for the zip code field in the…
Q: Create a class with two static and two non-static functions. Call these functions in all…
A: Static and non-static: A static technique may be a technique that belongs to a category, however, it…
Q: MongoDB 1) The customers collection includes documents that have accounts as a field that contains…
A: According to Bartleby Guidelines we need to answer only one question so I have answered first…
Q: FastLink Limited is a microfinance company that gives out loans to deserving customers. Customers…
A: Actually, given information FastLink Limited is a microfinance company that gives out loans to…
Q: Implement, using Java, an application to add user's transactions into a binary file, and then…
A: The answer provided below has been developed in a clear step by step manner.
Q: This is a JAVA Programming Language, please use JAVA ECLIPSE as the IDE Create a GUI application…
A: This JDBC tutorial will show you how to use the JDBC (Java Database Connectivity) API to perform…
Q: Assignment 1 University Library System In this assignment you are going to implement your own…
A: Actually, given information Assignment 1 University Library SystemIn this assignment you are going…
Q: An objective of this task is to implement your own simple method of auditing the database…
A: A way to manually purge audit results, this command should be used only when absolutely necessary to…
Q: Procedure: 1. Create a folder named LastName_FirstName in your local drive. (ex. Reyes_Mark) 2.…
A: Code: ===== import java.util.Iterator;import java.util.Scanner;import java.util.Stack; public class…
Q: Write a program in c Build an application for a car rental company. It should offer the following…
A: Given: Build an application for a car rental company. It should offer the following features: •…
Q: 3. Customers are charged a simple interest per annum on any approved loan. Assuming every loan…
A: Q 3 the code is an given below :
Q: This application must be able to handle creating new entries in a proprietary database as well as…
A: Actually, java is an object oriented programming language. It is a platform independent.
Q: Write a script that implements the following design in a database named my_web_db: downloads…
A: In Database language **************** a. CREATE TABLE downloads ( download_id INT, user_id…
Q: Take the supplied cars_db.sql and create your Cars database (you will have to create the Cars…
A: Actually, Java is a programming language originally developed by James Gosling at Sun Microsystems…
Q: Write a program that views, inserts, and updatesstaff information stored in a database, as shown in…
A: Program: import java.awt.*;import java.awt.event.*;import java.sql.*;import…
Q: Build an application for a car rental company. It should offer the following features: • Maintain a…
A: Given that, Build an application for a car rental company. It should offer the following features:…
Q: Write a Java GUI application that will keep track of student results at a local college and save the…
A: Java GUI application. To save the process result into a database, we must have to create a database…
Q: create a class Person to represent a person and another one to represent the database. A dictionary…
A: import java.util.HashSet; public class Test { publicstaticclassPerson{ privateStringname;…
Q: Restore or run script the Laboratory database that consists of three tables. ThiResult тЫРatient…
A: create three tables as follows TblResult TblPatient TblTest
Q: Create another application/class named EmployeeDatabase that allows you to store an array that acts…
A: Actually, database is a used to stores the data.
Q: • Maintain a database in a file: o Add a new vehicle to the fleet. Vehicle information should…
A: ANSWER:-
Q: else / Operation failed, so get all errons for(Database.Eror err i getEront…
A: Required:
Q: The databse system has a database called online shop. What is a result of a CREATE statement that…
A: The CREATE statement is used to create any net new entity in database. Since there is already a…
Q: Procedure: 1. Create a folder named LastName_FirstName in your local drive. (ex. Reyes_Mark) 2.…
A: The Scanner class is used to read input from the source. The source can be either standard input or…
Build an application for a car rental company. It should offer the following features:
• Maintain a customer
o Register / add new customers. Customer information should include
▪ Customer ID number
▪ Name
▪ Phone number
o Search customer database by:
▪ Customer ID number
▪ Name
▪ Phone number
And print out the matching records
NOTE ; i need the answer to be by switch
Step by step
Solved in 2 steps
- Write a program in c Build an application for a car rental company. It should offer the following features: • Maintain a customer database in a file:o Register / add new customers. Customer information should include ▪ Customer ID number▪ Name▪ Phone numbero Searchcustomerdatabaseby:▪ Customer ID number▪ Name▪ Phone numberAnd print out the matching records• Maintain a database in a file:o Add a new vehicle to the fleet. Vehicle information should include▪ Model year▪ Make▪ Model name▪ License plate number▪ Customer number who is currently renting vehicleo Deleteavehiclefromthefleeto Rent a vehicle to a registered customero Receiverentedvehiclebackfromcustomer o Search vehicle database by any field:▪ Model year + Make + Model name▪ License plate number▪ Customer number who is currently renting vehicle And print out all matching recordsRewrite the program in Example 3-1. DigestThread class to output the result of each file on an output file for each one by assigning a new name for the output file. The language is Java Example 3-1. DigestThread import java.io.*; import java.security.*; import javax.xml.bind.*; // for DatatypeConverter; requires Java 6 or JAXB 1.0 public class DigestThread extends Thread { private String filename; public DigestThread(String filename) { this.filename = filename; } @Override public void run() { 56 | Chapter 3: Threads www.it-ebooks.info try { FileInputStream in = new FileInputStream(filename); MessageDigest sha = MessageDigest.getInstance("SHA-256"); DigestInputStream din = new DigestInputStream(in, sha); while (din.read() != -1) ; din.close(); byte[] digest = sha.digest(); StringBuilder result = new StringBuilder(filename); result.append(": "); result.append(DatatypeConverter.printHexBinary(digest)); System.out.println(result); } catch (IOException ex) {…Write a program to create a dictionary class using BST that allows to insert, delete, display in-order and search records. Each record represents a book and should contain, book title, author name, number of copies, publication year. Insert the record using book title as key. Note: To get full marks, add data validations and constructors wherever applicable. WRITTEN IN C++
- Create a database with several built-in functions.Please help me with the assignment below The assignment: Make a telephone lookup program. Read a data set of 1,000 names and telephone numbers from a file that contains the numbers in random order. Handle lookups by name and also reverse lookups by phone number. Use a binary search for both lookups. This assignment needs a resource class and a driver class. The resource class and the driver class will be in two separate files. The driver class needs to have only 5 or 7 lines of code. The code needs to be written in Java. Please help me with exactly what I asked for help.Considering the dates API in java.time, it is correct to say: 1. It is possible to represent a date as text in any language, as long as you provide the respective information as Locale. B. It is not a Postgres database compatible type. Ç. It is not possible to represent dates before the year 2000. D. The main class in this package is java.util.Date. 5. It follows the standard defined in ISO 8601, so it is ONLY possible to display the data in English.
- Which example uses the SOLID SRP principle correctly and does not violate it? (A or B) A. public class DatabaseParser { ParseDirectoryMapFile(); // parse directory map fileParsePasswordFile(); // parse user fileParseReviewDataFile(); // parse review data fileParseTeamFile(); // parse team CalculateGrade(); CalulateRelativeGrade(); } B public class DatabaseParser { ParseDirectoryMapFile(); // parse directory map fileParsePasswordFile(); // parse user fileParseReviewDataFile(); // parse review data fileParseTeamFile(); // parse team file} // seperately with the following: public class Calculator{ CalculateGrade(); CalulateRelativeGrade(); }//client.c#include "csapp.h" int main(int argc, char **argv){ int connfd; rio_t rio; connfd = Open_clientfd(argv[1], argv[2]); Rio_readinitb(&rio, connfd); char buffer[MAXLINE]; printf("Your balance is %s\n", buffer); Close(connfd); exit(0); int choice; float amount; int acc2; char buffer[MAXLINE]; rio_t rio; Rio_readinitb(&rio, connfd); while (1) { printf("\nHello welcome to the Bank Management System\n"); printf("----------------------\n"); printf("1. Check Balance\n"); printf("2. Deposit\n"); printf("3. Withdraw\n"); printf("4. Transfer\n"); printf("5. Quit\n"); printf("Enter your choice: "); Rio_writen(connfd, &choice, sizeof(int)); if (choice == 1) { printf("Your balance is %s\n", buffer); } else if (choice == 2) { printf("Enter amount to deposit: "); Rio_writen(connfd, &amount,…Computer Science Write a python program that reads the data file https://archive.ics.uci.edu/ml/machine-learning-databases/eventdetection/CalIt2.data and finds the total count of outflow and the total count of inflow. The attributes in the file are as follows: 1. Flow ID: 7 is out flow, 9 is in flow 2. Date: MM/DD/YY 3. Time: HH:MM:SS 4. Count: Number of counts reported for the previous half hour Rows: Each half hour time slice is represented by 2 rows: one row for the out flow during that time period (ID=7) and one row for the in flow during that time period (ID=9) Hint: # Importing the dataset dataset = pd.read_csv('CalIt2.data') https://archive.ics.uci.edu/ml/machine-learning-databases/event-detection/CalIt2.data this link should work.
- Write a Java GUI application that will keep track of student results at a local college and save the process result into a database. The application must contain the result that a student has obtain for a test, assignment and examCreate a .txt file with X, Y and Z having many and different data in your desktop. Read the file in java eclipse and upload the given data in database table name X, Y, Z using java.Hi need you to add the feature that is in the picture to the code down below, please def add():id = input("Enter ID:")f = open("data.txt", "r")id_list = []lines = f.readlines()if lines != "":for line in lines:token = line.split(" ")id_list.append(token[0])for i in id_list:if i == id:print("The student record is already in the database!Zero records added")returnf.close()file = open("data.txt", "a")name = input("Enter name: ")course = input("Enter course: ")absences = int(input("Enter absences: "))exam1 = int(input("Enter exam 1 grade: "))exam2 = int(input("Enter exam 2 grade: "))marks = int(input("Enter Total Marks: "))s = id+" "+name+" "+course+" "+str(absences)+" "+str(exam1)+" "+str(exam2)+" "+str(marks)+"\n"file.write(s)file.close() while True:print("1.Add a student")print("Any other numeric to terminate")choice = int(input())if choice == 1:add()else:break