Search Results
737 results found with an empty search
- Text Data Analysis Using Microsoft Azure | Data Warehousing and Big Data Assignment Help
The assignment focuses on Big Data analytics on unstructured text data using Microsoft Azure. You are required to derive insights by applying big data distributed processing and machine learning techniques. Data Set Details The dataset contains ~10000 reviews of hotels in Vietnam. The fields are; Field name Description PostId Unique ID for each review Subject The heading of the review Rating The rating given by the user, ranging from 1 to 5 Hotel Name of the hotel Hotel-Star Star rating of the hotel Review Textual description of the review. The review field text has been pre-processed by removing non-alphanumeric characters and reduced the size to be max of 1000 characters. Sentiment Sentiment value extracted for the ‘review’ using text analytics API in Microsoft Cognitive Services. Sentiment score ranges from 0 to 1, 0 being negative and 1 being positive. (You may verify the sentiment score with the subject and review fields.) Sentiment Category Sentiment class generated based on the sentiment value. < 0.9: Very positive < 0.75 and <= 0.9: Positive <0.5 and <= 0.75: Neutral <= 0.5: Negative What you are required to do? 1. HDInsight to aggregate reviews Develop an aggregate of these reviews using your knowledge of Hadoop and MapReduce in Microsoft HDInsight. a) Follow the same approach as the Big Data analytics workshop (using wordcount method in HDInsight) to determine the contributory words for each level of rating and sentiment category. b) Present the workflow of using HDInsight (you may use screen captures) along with a summary of findings for each level of rating and sentiment category. MapReduce documentation for HDInsight is available here. 2. Azure Machine Learning for sentiment analysis Using Azure ML Studio to cluster user reviews based on sentiment score. For text clustering, you should use the ‘review’ field. In the Filter-based feature selection module, use the ‘sentiment’ field in order to cluster reviews based on sentiment score. Download the cluster outputs into a CSV file to interpret the results and derive insights. You will need to calibrate algorithmic parameters by using different Numbers of Centroids and Distance Metric to derive meaningful clusters. Exclude sentiment, rating, or posted as selected columns to train the clustering model. Use only the preprocessed hashing features. Provide the following, a) A screen capture of the completed model diagram. b) Details of parameters used for 1) feature hashing module, 2) filter based feature selection module and 3) K-Means clustering module c) Details of the approach you chose for clustering and interpretation of clusters. 3. Findings Summarise your findings from 1) and 2), on user rating, hotel rating, and sentiment towards accommodation options in Vietnam. Consider the challenges you faced in conducting Big Data analytics on a real-life text dataset. Deliverables 1. A report on the three activities. The report should be compiled in Microsoft Word only, font size 11. Report should not exceed 10 pages. Diagrams, tables and any other visualizations/ screen captures should be in the main body of the report. Make realistic assumptions on missing information and state these in the report. 2. A compressed folder of data files that would be useful to assess your work. Codersarts is a top-rated website for students which is looking for online Programming Assignment Help, Homework Help, Coursework Help in C, C++, Java, Python, Database, Data structure, Algorithms, Final year project, Android, Web, C sharp, ASP NET to students at all levels whether it is school, college and university level Coursework Help or Real-time project. If you have project or assignment files, You can send at contact@codersarts.com directly
- Creating "Little Caesars" Ordering System GUI Using JavaFX
For this assignment, you will be creating a Little Caesars program using some of the components, action listeners, and layout managers we learned in this unit. Your Little Caesars program needs to meet the following minimum requirements: It must include four size options (small @ $7.99, medium @ $8.99, large @ $9.99, party @ $10.99) which the user can choose by selecting one of the radio buttons. It must include eight toppings which the user can choose from by selecting any of the check boxes. The first three toppings are free; each topping after the third costs $1.00 each. It must include four types of beverages (Coke, Sprite, Orange, and Root Beer). Each beverage must be included in a combo box with quantities ranging from 0-6. The cost for each beverage is $0.99. You must have three text fields which will output the cost of the pizza size, toppings and beverages that the user selects. You will need to use a layout manager(s) in order to arrange and organize your components. I’ll leave it up to you to determine which layout manager(s) you want to use. Your interface should look something like this: When the user makes a selection (whether it be a pizza size, a topping, or a beverage), the costs should be updated. Therefore, you will need to create an event handler for the radio buttons, check boxes and combo boxes. When the user clicks the CALCULATE button, the program must calculate and output the subtotal, delivery fee, HST, and the grand total. The delivery fee is $5.00 for orders under $15 and free for any orders greater than or equal to $15. HST does not apply to the delivery fee; it only applies to the subtotal. If the delivery is FREE, set the background color of the delivery fee text box to green. If it’s not FREE, leave the background white. Also, the CHECKOUT button must only become enabled once the user selects one of the dinner options. When the user selects the CHECKOUT button, a confirm dialog should appear that lists what the user ordered and asks the user to confirm whether the order is correct or not. If the user selects YES, the following message dialog box should be outputted to the user before the program exits: If the user clicks NO, the user should be returned to the main menu. If the user clicks the CHECKOUT button and has not selected a pizza, the following error message should be outputted to the user: When the user clicks the CLEAR button, all the selections and text fields should be cleared. You must have an EXIT button that outputs the following confirm dialog box when the user clicks the EXIT button or the CLOSE button: If the user selects YES, the following message dialog box should be displayed before the program ends: Once you have completed the program, save the project as Little Caesars in your UNIT 1 folder and submit the project to the dropbox on the classroom website. Feel free to contact us and take the advantages of Jquery assignment help services offered by us. We are the best assignment writing service provider and to solve all your academic worries. You can easily connect with us through phone, e-mail, or live chat. You can contact us anytime; our experts are always available for your help. Beside this, We will also provide CONSULTANCY for your app for FREE! So, if you are still reading this and have an app idea, drop us a message, we can surely talk and discuss your project and get things done!. You are just one step away to get it done.
- Text Adventure Game Using Java
In a text adventure game, the central character is the Adventurer, which is an object representing the human player. You need this object because you need to keep track of where the player is, what the player is holding, and anything else you need. The adventurer plays the game by typing in commands. Commands consist of one or two words (more than two is too much work). There are several commands that are found in nearly every game: Go direction Moves the Adventurer from one Room to another. The direction is usually one of "north", "south", "east", "west", and sometimes "up" and "down." Occasionally other directions are used, such as "northwest" or "sideways". Directions can usually be abbreviated, such as "n" for north, "u" for up, etc. Many games allow the verb "go" to be omitted, so "n" is short for "go north". Look Gives a full description of the Room that the Adventurer is in. Look thing Gives a full description of the named Thing. For this command to work, the Adventurer must either be holding the named Thing or at least be in the same room with it. Looking at a thing sometimes reveals surprising details about it. Take thing Picks up a Thing that is in the same room as the Adventurer. The game might contain Things that cannot be picked up, such as a vending machine, or a cave painting. drop thing Puts down a Thing that the player is holding. Usually this means that the Thing is put into the Room that the Adventurer is in, but there may be exceptions (if the Adventurer is on a tightrope, for example), depending on the game. Here is a command that is occasionally available: • use thing -- This is a very general command, whose meaning depends on the Thing. Using a gun is very different from using a key, or a chocolate. Most often, though, games require more specific verbs: shoot gun, open safe, eat chocolate. Depending on your game and specific items, this may or may not be needed. Every command should get a response. If there is nothing much to say, the response can be simply OK. If the command can't be done, the player should be told, for instance, “I don't understand” or “You can't go that way.” When the player moves to a new location, the response should usually be a full description of the newly entered Room. Program Details An adventure game consists of: (1) A TextAdventure class. This class: Contains the main method used to start the game. Talks to the AdventureModel and to the Adventurer classes, as needed. (2) An AdventureModel class. This class: Creates the Rooms, the Things, and the Adventurer. Connects the Rooms with "paths" to other Rooms. Places Things in the Rooms. Places the Adventurer in some Room. Accepts commands from the player, and executes them. As commands are entered, they should be copied to the main text area. The method that executes commands should return a String to be displayed in the main text area. (3) An Adventurer (the human player). An adventurer has: A location (some room). An inventory (the things being carried). When the player executes the “take thing” command, the item should be added to the inventory. An adventurer can: Move from room to room. Carry a number of objects. Pick up, drop, look at, and use various objects. (4) Some number of Rooms. A room has: A name. A description, possibly several sentences long. Contents: the things in the room. Exits: paths to other rooms (usually some of north, south, east, and west). Some number of Things. A thing has: o A name § If some of your Things have multi-word names, such as "firebreathing dragon" or "that thing that your aunt gave you that you don't know what it is", then you might want to give your Things both a full name and a one-word name.\ A description, to be shown when the adventurer "looks" at it. One or more methods for using the Thing. You can have a multipurpose use verb, or you can make up your own verbs (for instance, drink water or pour water), which determines what the thing does when the adventurer tries to use it. For simplicity, we will say that the adventurer can only use things being carried (in the inventory) Whether "using" a thing does anything or not (or exactly what it does) can depend on what room it is in, what other things are in the room or in the inventory, or any other conditions you can think of. Your assignment is to write an adventure game with your group. It should have: - A general location (battlefield, outer space, etc.) - At least 10 rooms - An inventory for the player to store items - At least 3 examples of Inheritance - At least 2 examples of Overridden Methods - At least 1 example of Polymorphism (note it in a code comment so I can see you understand it) - Be sure only the minimum methods are public; most of your methods and variables should be private - README.txt - This is where you will describe the available commands and anything else necessary for the user to play your game. The theme of the game, and the goal of the game, is up to you. So that your adventure game is not too difficult to grade, please: Don't let the player "die" or otherwise get into a situation from which there is no possibility of winning the game. Include a walkthrough (in a file named README.txt) to tell me how to play your game to successful completion. Feel free to contact us and take the advantages of Java assignment help services offered by us. We are the best assignment writing service provider and to solve all your academic worries. You can easily connect with us through phone, e-mail, or live chat. You can contact us anytime; our experts are always available for your help. Besides this, We will also provide CONSULTANCY for your app for FREE! so, if you are still reading this and have an app idea, drop us a message, we can surely talk and discuss your project and get things done!. You are just one step away to get it done. If you have project or assignment files, You can send at contact@codersarts.com directly
- Movie Management System Using Java
This is a paid project if you are looking unique and latest movie management system application which is done using JAVA Technology, details of this project is given below which include all front end interface as: Movie Interface: It includes all the details which are related to movie-like movie name, cast, price, director and other most important parts of the movie. Movie Home Screen: This is the home page which includes all the movies in single or more pages with the fixed-size frame so users can easily see all the movies by using simple scrolling Book Show: In this users can select the movies as per our choice and seats as per our choice like gold, platinum, and others. Add Movie Details By using this Admin and add movie details like add new movies to the home screen. About the Movie: By using this we can add any unique movie details like Director of the movie, cast of the movie, and other related features. Add Theater Details: This includes all the details related to the theater like Thearter name, location, and seat types like Platinum, Gold, and Silver User Details: This includes Customer Name, Email, phone, address, and other features. Login This is the first screen of the application by using this user can login and go the main home page of the application. Feel free to contact us and take the advantages of Java assignment help services offered by us. We are the best assignment writing service provider and to solve all your academic worries. You can easily connect with us through phone, e-mail, or live chat. You can contact us anytime; our experts are always available for your help. Besides this, We will also provide CONSULTANCY for your app for FREE! so, if you are still reading this and have an app idea, drop us a message, we can surely talk and discuss your project and get things done!. You are just one step away to get it done. If you have project or assignment files, You can send at contact@codersarts.com directly
- Node.js Streams
What are Streams? Streams are objects that let you read data from a source or write data to a destination in continuous fashion. In Node.js, there are four types of streams: Readable: Stream which is used for read operation. Writable: Stream which is used for write operation. Duplex: Stream which can be used for both read and write operation. Transform: A type of duplex stream where the output is computed based on input. Each type of Stream is an EventEmitter instance and throws several events at different instance of times. For example, some of the commonly used events are: data: This event is fired when there is data is available to read. end: This event is fired when there is no more data to read. error: This event is fired when there is any error receiving or writing data. finish: This event is fired when all the data has been flushed to underlying system. Here, we provides a basic understanding of the commonly used operations on Streams. Reading from a Stream Create a text file named example.txt having the following content: It is a simple self learning content to learn Node!!!!! Create a js file named index.js with the following code: var fs = require("fs"); var data = ''; // Create a readable stream var readerStream = fs.createReadStream('example.txt'); // Set the encoding to be utf8. readerStream.setEncoding('UTF8'); // Handle stream events --> data, end, and error readerStream.on('data', function(chunk) { data += chunk; }); readerStream.on('end',function() { console.log(data); }); readerStream.on('error', function(err) { console.log(err.stack); }); console.log("Program Ended"); Now run the index.js to see the result: $ node index.js Output. Program Ended It is a simple self learning content to learn Node!!!!! Writing to a Stream Create a js file named index.js with the following code: var fs = require("fs"); var data = 'Simple Learning'; // Create a writable stream var writerStream = fs.createWriteStream('result.txt'); // Write the data to stream with encoding to be utf8 writerStream.write(data,'UTF8'); // Mark the end of file writerStream.end(); // Handle stream events --> finish, and error writerStream.on('finish', function() { console.log("Write completed."); }); writerStream.on('error', function(err) { console.log(err.stack); }); console.log("Program Ended"); Now run the index.js to see the result: $ node index.js Output. Program Ended Write completed. Now open result.txt created in your current directory; it should contain the following: Simple Learning Piping the Streams Piping is a mechanism where we provide the output of one stream as the input to another stream. It is normally used to get data from one stream and to pass the output of that stream to another stream. There is no limit on piping operations. Now we'll show a piping example for reading from one file and writing it to another file. Create a js file named index.js with the following code: var fs = require("fs"); // Create a readable stream var readerStream = fs.createReadStream('example.txt'); // Create a writable stream var writerStream = fs.createWriteStream('result.txt'); // Pipe the read and write operations // read input.txt and write data to output.txt readerStream.pipe(writerStream); console.log("Program Ended"); Now run the main.js to see the result: $ node index.js Output. Program Ended Open result.txt created in your current directory; it should contain the following: It is a simple self learning content to learn Node!!!!! Chaining the Streams Chaining is a mechanism to connect the output of one stream to another stream and create a chain of multiple stream operations. It is normally used with piping operations. Now we'll use piping and chaining to first compress a file and then decompress the same. Create a js file named index.js with the following code − var fs = require("fs"); var zlib = require('zlib'); // Compress the file input.txt to input.txt.gz fs.createReadStream('example.txt') .pipe(zlib.createGzip()) .pipe(fs.createWriteStream('example.txt.gz')); console.log("File Compressed."); Now run the index.js to see the result: $ node index.js Output. File Compressed. You will find that example.txt has been compressed and it created a file example.txt.gz in the current directory. Now let's try to decompress the same file using the following code: var fs = require("fs"); var zlib = require('zlib'); // Decompress the file input.txt.gz to input.txt fs.createReadStream('example.txt.gz') .pipe(zlib.createGunzip()) .pipe(fs.createWriteStream('example.txt')); console.log("File Decompressed."); Now run the index.js to see the result: $ node index.js Output. File Decompressed. If you have any queries regarding this blog or need any help you can contact us on: contact@codersarts.com Node.js Coders, Node.js Experts, Node.js Tutors, Node.js Specialists, Node.js Programmers, Node.js Coding Help, Node.js Programming Help, Node.js Assignment Help, Node.js Engineers, Node.js Consultants, Node.js Development Company, Node.js Streams
- Creating a Single Validated, HTML Page Website with Images
Overview The practical requires demonstrations of practical skills. You will be required to develop a web site that consists of a single, validated HTML page and one image. Basic Web Page Create an .HTML file. All styles created must be in an external style sheet. If CSS fails to display properly, it usually means a missing a colon, semi-colon, or curly-brace somewhere. It could also mean the CSS file hasn’t been linked to the HTML file. Follow the example screenshot of this practice’s finished version as a guide. Download and extract the contents: marble_canyon.txt marble_canyon.jpg marble_canyon_panorama.jpg Create an external style sheet named styles.css and an index.html REQUIREMENTS Add code to index.html that links to the styles.css file. Write the necessary HTML markup and CSS so that the page meets the following requirements: The title for the page is: Your Name’s Midterm Practical. (for example Jane Doe’s Midterm Practical) Input the contents of marble_canyon.txt inside the & tags and give the body a Lavender (#E6E6FA) background a color. Place the text "Marble Canyon " in a block. Use H1 for the header block and CSS to center. Use H3 for the Wikipedia line of text and CSS to display in Blue. Include the five paragraphs (ending in 39.2.) in five separate blocks. In the last paragraph, enclose the United States Bureau of Reclamation inside a container that uses an ID or Class to a CSS rule that gives these four words a CornflowerBlue (#6495ED) background color. Add the image marble_canyon.jpg using the appropriate markup. Set the attributes of width to 500 pixels and height to 378 pixels. If, for some reason, the image does not load, display marble_canyon in its place. Use CSS to float the image to the right of the page. Add the image marble_canyon_panorama.jpg and set the width to 1000 pixels and the height to 280 pixels. Failure to load should display panorama. Using appropriate tags and CSS, center this panorama image Using the appropriate CSS, clear any text from flowing around either side of the panorama image. Add a block to display at the bottom of the page In the footer block, use an ordered list to display the three references. Make the first reference a hyperlink using: http://www.gcrg.org/bqr/10-2/mcd.html Add a paragraph to the bottom of the page that contains a copyright symbol followed by a date and your name. Style the copyright paragraph with an id selector named copyright that will cause the text to be center-aligned, red, and 80% of the normal font-size. Add a CSS rollover effect to all hyperlinks. All links, excluding background, should turn white when the mouse is over them. Add this rule to the external style sheet Add a caption tag under the panorama image that includes the text: "A panoramic view of Marble Canyon from Navajo Bridge. Looking into Marble Canyon, Shinimo Alter in the distance." Note that the caption text must fit inside whatever container used to incorporate the image. If you need to help in any HTML related assignment then you can contact at below contact details. Contact us for this machine learning assignment Solutions by Codersarts Specialist who can help you mentor and guide for such machine learning assignments. If you have project or assignment files, You can send at contact@codersarts.com directly.
- Automated Cab Booking System In Reinforcement Learning | Machine Learning Assignment Help
Cab booking system is the process where renting a cab is automated through an app throughout acity. Using this app, people can book a cab from one location to another location. Being a cab booking app company, exploiting the understanding of cab supply and demand could increase the efficiency of their service and enhance the user experience by minimizing waiting time. Objective of this project is to combine historical usage patterns along with open data sources like weather data to forecast cab booking demand in a city. PROCESS FLOW You will be provided with an hourly renting data span of two years. Data is randomly divided into train and test sets. You must predict the total count of cabs booked in each hour covered by the test set, using the information available prior to the booking period. You need to append the train_labeldataset to train.csv as the ‘Total_booking’ column. Please find the descriptions of the columns present in the dataset as below. datetime-hourly date +timestamp season-spring, summer, autumn, winter holiday-whether the day is considered a holiday workingday-whether the day is neither a weekend nor holiday weather-Clear , Cloudy, Light Rain, Heavy temp-temperature in Celsius atemp-"feels like" temperature in Celsius humidity-relative humidity windspeed-wind speed Total_booking-number of the total booking Task1: Visualize data using different visualizations to generate interesting insights. Outlier Analysis Missing value analysis Visualizing Total_booking Vs other features to generate insights Correlation Analysis Task2: Feature Engineering Grid search Regression Analysis Ensemble Model Contact us for this machine learning assignment Solutions by Codersarts Specialist who can help you mentor and guide for such machine learning assignments. If you have project or assignment files, You can send at contact@codersarts.com directly
- Oracle Database Assignment Help | Airline System to Issue Reservation Tickets
Project Description: This project is based on a fictitious scenario. The problem that a company is currently facing is related to the database management system in which the ASK is to design a central airline reservation database system to store data in the central database system to be used by all booking offices. The newly designed database management system will help the airline system to issue reservation tickets for various air flights and maintains the records of various passengers and provide quick services to the passengers. The newly designed database the system will help provide different new features and data population with performance scalability to provide enhanced customer services for this company. This will also enhance their operational efficiency and reduce the number of passengers handling and improvise the forecasting accuracy. This case study will truly help me to demonstrate the skills and learning from the database management courses by implementing those skills and learning in designing an efficient and effective database management system into this case study. Company XYZ runs 7 different airlines in 7 different countries with single booking offices in each of the cities. Countries include - India – Air India, USA- American Airlines, UK – British Airlines, Canada – Air Canada, Switzerland -Swiss Airlines, Singapore- Lufthansa Airlines, China – Air China. These airlines operated from 14 different cities across these 7 countries and each of the 14 cities there is a single booking office for the reservation. The current problem is there is no central air-reservation database that can be used by all booking offices and customers to provide better and efficient services to their existing and new customers. The manual process involved in the management of airlines was critically examined and the flaws noted. Each booking office Airline reservation system will be used to maintain records. of all the flight availability display, flight booking, fare prices, economy and business class, flight schedules, seat assignments, airport taxes, and currency rates based on each country, customer data, and sales reporting from each region. Another problem company facing is slow performance due to populating data from different database systems rather than a single centralized database having information for all the bookings and transactions at one common database. This makes them difficult to analyze the data across all the countries. To overcome this problem, we will design the central air-reservation database to be used by all the booking offices. All the data across these airlines will be saved in this central repository database for better customer services and reporting structures to the management. The flight has a unique flight number, airline code, business class indicator, smoking allowed indicator. Flight availability has a flight number, date+time of departure, number of total seats available in each class business class, and economy. The customers may come from any country, not just the 6 above, and from any province/state, and from any city. The customer has first & last name, mailing address, zero or more phone numbers, zero or more fax numbers, and zero or more email addresses. The mailing address has street, city, province or state, postal code, and country. The phone/fax number has country code, area code, and the local number. The email address has only one string, and no structure is assumed. A customer can book one or more flights. Two or more customers may have the same mailing address and/or same phone number(s) and/or the same fax number(s). But the email address is unique for each customer. First and last names do not have to be unique. Booking has a unique booking number, booking city, booking date, flight number, date + time of departure (in local time, and time is always in hours and minutes), date + time of arrival (in local time), class indicator, total price (airport tax in origin + airport tax in destination + flight price – in local currency. The flight price for business class is 1.5 times of the listed flight price), the status indicator (three types: booked. Canceled – the customer canceled the booking, scratched – the customer had not paid in full 30 days prior to the departure), the customer who is responsible for payment, amount-paid-so far (in local currency), the outstanding balance (in local currency), the first & last names to be printed on the ticket. The airport taxes must be stored in local currencies (i.e. Canadian dollars, US dollars, British Pounds, French francs, German marks, and Italian Liras). Since the exchange rates change daily, they also must be stored for calculations of all prices involved. We need to create queries for the below requirements and take a screenshot of successful running output and screenshots of output not running with check constraints. High Level Requirements: Below is the high-level list of the functionality of the system. As we evolve more into the project, the requirements will be enhanced and modified as appropriate. From customers driven capabilities: - 1. The system will allow customers to search for flights and its availabilities. 2. The system will allow customers to make a reservation, add billing address, credit card details, pick departure and arrival time, and make due payment. 3. The system will allow customers to update the flight reservation by changing their departing date/time or/ arrival date/time within 24 hours of booking time. 4. The system will allow existing or new customers to cancel a reservation. 5. The system will allow customers to add more than one booking under the same customer id and billing address for different destinations. 6. The system sends customers email confirmation after the booking is made successfully. 7. The system allows the customer to manage booking after confirmation (reserve seats, change meal plans (Hindu, Asian, veg or non-veg) and ask wheel chair assistance. 8. The system allows customers to enter into a loyalty program to earn miles per flight, rewards, frequent traveler status, and lounge access. From booking offices internal system driven capabilities: - 9. Add/insert customer information in the database system as required by the administrator. 10. Update customer information in the database system by the administrator. 11. Add/insert flight information if any new flight needs to be added. 12. Update flight information if any flight is canceled or rescheduled from the existing listing. 13. Get all the customers who have seats reserved on a given flight. 14. Get all flights for a given airport. 15. Calculate total sales for a given flight. 16. Add a new airport to the database. 17. Update fare for any given flights in any given country. 18. Get all the customers who live in any of the countries and sort by customer_id. 19. Display all currency exchange rate is greater than 1. Please sort them by from_currency and to_currency. 20. List all the flight availabilities between any given country airport (airport code is 'YYZ') and (airport code is 'JFK'). Please display flight_no, origin, destination, departure_time, and arrival_time. Please sort them by flight_no. 21. List top 10 customers with rewards earned and redeemed and send them congratulations email and mail special loyalty star card 22. List of all the customer's meal preferences for each flight last three months for food inventory in future analysis. 23. List the customers who canceled the flight with date/time and when the same customers booked the other flight with date/time. List the amount of booking and cancellations each country wise to see where do we have more revenue generations and cancellations. 24. List total_price, total_payment, and total_balance for each city. Please exclude canceled bookings and sort records by city_name. 25. Calculate new total_price for each booking if the origin airport tax increase by 0.03 and destination airport tax decrease by 0.006. Please display booking_no, origin, destination, flight_price, previous_total_price and new_total_price. 26. List number_of_bookings, number_of_emails, number_of_phones and number_of_faxs for each customer. 27. The airport taxes must be stored in local currencies for each country flight bookings. 28. List the amount of booking sales for each country and customer wise to calculate the most popular destinations. 29. Display the top 5 customers based on their total booking payment, each country wise and sort them based on the booking amount and sort them within each country total booking amount wise. 30. Calculate the aggregate of the amount of bookings by customers each country wise and list the top 3 popular country bookings. Data: High-level data entities and attributes that will be stored in the system as below. If you are a student or database developer, administrator or someone with a basic understanding of the features of MongoDB, MySQL, Oracle Hire us and Get your projects done by Django expert developer or learn
- Node.js Buffers
What is Buffers ? Buffer is an object property on Node’s global object, which is heavily used in Node to deal with streams of binary data. As it is globally available, there is no need to require it in our code. Buffer is actually a chunk of memory allocated outside of the V8 heap. V8 is the default JavaScript engine which powers Node and Google Chrome. In Node, buffers are implemented using a JavaScript typedArray (Uint8Array), but that does not mean the memory allocated to buffer is inside of the V8 heap. It is still explicitly allocated outside the V8 heap. So we can think of buffer as some kind of array which is a lower-level data structure to represent a sequence of binary data, but there is one major difference: Unlike arrays, once a buffer is allocated, it cannot be resized. Pure JavaScript is Unicode friendly, but it is not so for binary data. While dealing with TCP streams or the file system, it's necessary to handle octet streams. Node provides Buffer class which provides instances to store raw data similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. Buffer class is a global class that can be accessed in an application without importing the buffer module. Creating Buffers There are three most used ways to create buffers: Buffer.from() Buffer.alloc() Buffer.allocUnsafe() Method 1: Following is the syntax to create an uninitiated Buffer of 10 octets: var buf = new Buffer(10); Method 2: Following is the syntax to create a Buffer from a given array: var buf = new Buffer([10, 20, 30, 40, 50]); Method 3: Following is the syntax to create a Buffer from a given string and optionally encoding type: var buf = new Buffer("Simply Easy Learning", "utf-8"); Writing to Buffers Syntax: Following is the syntax of the method to write into a Node Buffer: buf.write(string[, offset][, length][, encoding]) Parameters: Here is the description of the parameters used: string: This is the string data to be written to buffer. offset: This is the index of the buffer to start writing at. Default value is 0. length: This is the number of bytes to write. Defaults to buffer.length. encoding: Encoding to use. 'utf8' is the default encoding. Return Value This method returns the number of octets written. If there is not enough space in the buffer to fit the entire string, it will write a part of the string. Example: buf = new Buffer(256); len = buf.write("Simply Learning"); console.log("Octets written : "+ len); When the above program is executed, it produces the following result: Octets written : 20 Reading from Buffers Syntax: Following is the syntax of the method to read data from a Node Buffer: buf.toString([encoding][, start][, end]) Parameters: Here is the description of the parameters used: encoding: Encoding to use. 'utf8' is the default encoding. start: Beginning index to start reading, defaults to 0. end: End index to end reading, defaults is complete buffer. Return Value: This method decodes and returns a string from buffer data encoded using the specified character set encoding. Example: buf = new Buffer(26); for (var i = 0 ; i < 26 ; i++) { buf[i] = i + 97; } console.log( buf.toString('ascii')); console.log( buf.toString('ascii',0,5)); console.log( buf.toString('utf8',0,5)); console.log( buf.toString(undefined,0,5)); When the above program is executed, it produces the following result: abcdefghijklmnopqrstuvwxyz abcde abcde abcde Convert Buffer to JSON Syntax: Following is the syntax of the method to convert a Node Buffer into JSON object: buf.toJSON() Return Value: This method returns a JSON-representation of the Buffer instance. Example: var buf = new Buffer('Simply Learning'); var json = buf.toJSON(buf); console.log(json); When the above program is executed, it produces the following result: { type: 'Buffer', data: [ 83, 105, 109, 112, 108, 121, 32, 69, 97, 115, 121, 32, 76, 101, 97, 114, 110, 105, 110, 103 ] } Concatenate Buffers Syntax: Following is the syntax of the method to concatenate Node buffers to a single Node Buffer: Buffer.concat(list[, totalLength]) Parameters: Here is the description of the parameters used: list: Array List of Buffer objects to be concatenated. totalLength: This is the total length of the buffers when concatenated. Return Value: This method returns a Buffer instance. Compare Buffers Syntax: Following is the syntax of the method to compare two Node buffers: buf.compare(otherBuffer); Parameters: Here is the description of the parameters used − otherBuffer: This is the other buffer which will be compared with buf Return Value: Returns a number indicating whether it comes before or after or is the same as the otherBuffer in sort order. Example: var buffer1 = new Buffer('ABC'); var buffer2 = new Buffer('ABCD'); var result = buffer1.compare(buffer2); if(result < 0) { console.log(buffer1 +" comes before " + buffer2); } else if(result === 0) { console.log(buffer1 +" is same as " + buffer2); } else { console.log(buffer1 +" comes after " + buffer2); } When the above program is executed, it produces the following result: ABC comes before ABCD Copy Buffer Syntax: Following is the syntax of the method to copy a node buffer: buf.copy(targetBuffer[, targetStart][, sourceStart][, sourceEnd]) Parameters: Here is the description of the parameters used: targetBuffer: Buffer object where buffer will be copied. targetStart: Number, Optional, Default: 0 sourceStart: Number, Optional, Default: 0 sourceEnd: Number, Optional, Default: buffer.length Return Value: No return value. Copies data from a region of this buffer to a region in the target buffer even if the target memory region overlaps with the source. If undefined, the targetStart and sourceStart parameters default to 0, while sourceEnd defaults to buffer.length. Example: var buffer1 = new Buffer('ABC'); //copy a buffer var buffer2 = new Buffer(3); buffer1.copy(buffer2); console.log("buffer2 content: " + buffer2.toString()); When the above program is executed, it produces the following result: buffer2 content: ABC Slice Buffer Syntax: Following is the syntax of the method to get a sub-buffer of a node buffer: buf.slice([start][, end]) Parameters: Here is the description of the parameters used: start: Number, Optional, Default: 0 end: Number, Optional, Default: buffer.length Return Value: Returns a new buffer which references the same memory as the old one, but offset and cropped by the start (defaults to 0) and end (defaults to buffer.length) indexes. Negative indexes start from the end of the buffer. Buffer Length Syntax: Following is the syntax of the method to get a size of a node buffer in bytes − buf.length; Return Value: Returns the size of a buffer in bytes. Class Methods Following are the methods with its descriptions: Buffer.isEncoding(encoding): Returns true if the encoding is a valid encoding argument, false otherwise. Buffer.isBuffer(obj): Tests if obj is a Buffer. Buffer.byteLength(string[, encoding]): Gives the actual byte length of a string. encoding defaults to 'utf8'. It is not the same as String.prototype.length, since String.prototype.length returns the number of characters in a string. Buffer.concat(list[, totalLength]): Returns a buffer which is the result of concatenating all the buffers in the list together. Buffer.compare(buf1, buf2): The same as buf1.compare(buf2). Useful for sorting an array of buffers. If you have any queries regarding this blog or need any help you can contact us on: contact@codersarts.com Node.js Coders, Node.js Experts, Node.js Tutors, Node.js Specialists, Node.js Programmers, Node.js Coding Help, Node.js Programming Help, Node.js Assignment Help, Node.js Engineers, Node.js Consultants, Node.js Development Company, Node.js Buffer
- Creating Weather App Using ReactJs | ReactJs Project Help
Project Requirements: Build a weather forecasting application using REACT Display a 5-day weather forecast, where each day shows the high and low temperatures Fahrenheit and Celsius, and an image for sunny/rainy/cloudy/snowy. Add the ability to click on a day and see its hourly forecast. You can just maintain the current view in the top-level App state. Add React Router to the project (npm install react-router) and add routes, such that / shows the 5-day forecast, and /[name-of-day] shows the per three-hour forecast for a particular day. Sign up for a free API key from https://openweathermap.org/ Fetch a real 5-day forecast, and feed that data into your ap Create a Form you used in the last jQuery assignment using react and add validations. Contact us for this ReactJs assignment Solutions by Codersarts Specialist who can help you mentor and guide for such ReactJs assignments. If you have project or assignment files, You can send at contact@codersarts.com directly
- How to Use MongoDB with NodeJs | MongoDB Assignment Help
MongoDB: MongoDB is a database which is best for storing data for modern applications. It is a general-purpose, document-based distributed database built for modern application. It is a NoSQL database. It stores the data in BSON format BSON:- It is a binary serialization of JSON-like documents but for every document, there is an object Id which is unique for all. It is compatible with all languages but it is best to use with node js. Installing and Downloading MongoDB You can get it from:- https://www.mongodb.com/try/download/community?tck=docs_server Now download and install Robo 3t You can get it from:- https://studio3t.com/download/ Install it and start it You will see something Click on create Save it 27017 is the default port where MongoDB runs. Now click on connect. And you are ready to rock on! Now let's connect our NodeJs server with MongoDB Now create a server using node js After creating server now install mongoose Mongoose:- It is npm package which is used to connect our node js server and MongoDB Using command: npm install mongoose Run it using node index.js Feel free to contact us and take the advantages of MongoDB Using NodeJs assignment help services offered by us. We are the best assignment writing service provider and to solve all your academic worries. You can easily connect with us through phone, e-mail, or live chat. You can contact us anytime; our experts are always available for your help. Besides this, We will also provide CONSULTANCY for your app for FREE! so, if you are still reading this and have an app idea, drop us a message, we can surely talk and discuss your project and get things done!. You are just one step away to get it done. If you have project or assignment files, You can send at contact@codersarts.com directly
- How to Install ReactJs | ReactJs Assignment Help
ReactJs: React is a JavaScript library for building user interfaces (UI). It is used to develop the frontend of any website. Everything in React is called Component. It helps in developing modern frontends which are more powerful, efficient, and fast. React is designed from the start for gradual adoption, you can use as little or as much React as you need. Whether you want to create a small project, add some interactivity to a simple HTML page, or start a complex React-powered app. Now let’s learn more about react by creating a project using react. Step 1:- Installing Node Js First, you should have Node Js installed on your system to create a react project which you can get by https://nodejs.org/en/ Step 2:- check everything is installed correctly After installing node you can check that it is installed or not by using the command Node -v Now there should be npm installed on your system which comes along with Node js. Check that npm is installed or not by using the command npm -v NPM stands for Node Package manager:- It manages all the packages that you will install using npm command. Now there should be npx installed on your system which also comes along with Node js. Check that npx is installed or not by using the command npx -v NPX stands for npm package runner:- npx is a npm package runner (where x stands for eXecute). This is used to run the packages that are on npm registry. Step 3:- Installing create-react-app Now we can install create-react-app using npx. As the name describes itself it is used to create react apps. Command to install create-react-app npm install create-react-app Step 4:- Creating first react app Now once create-react-app is installed We are ready to create our first react app Command to create a fresh react app npx create-react-app your-app-name NOTE:- While creating a react app no capital letters are allowed, only small letters and numbers and - is allowed for the name of the app. After all packages are installed you will see Step 5:- Running our React app Now would be wondering what npx create-react-app my-app command has done? It has created a reactjs template project which can be modified. It has also initialized a git repo for your project. Now go to the folder demo-app (YOUR APP NAME) Just run npm start It will automatically start the development server on localhost port 3000 The template looks like this There are more commands for react like one is npm run build:- It is used to build a production react app Codersarts is a top-rated website for students which is looking for online Programming Assignment Help, Homework Help, Coursework Help in C, C++, Java, Python, Database, Data structure, Algorithms, Final year project, Android, Web, C sharp, ASP NET, ReactJS to students at all levels whether it is school, college and university level Coursework Help or Real-time project. Hire us and Get your projects done by computer science expert If you have project or assignment files, You can send at contact@codersarts.com directly










