top of page

Search Results

Search this site

963 results found with an empty search

  • Oracle Database Assignment Help | Learn Oracle Database Query Using ER Diagram

    How to Create, Run, and Print Statements and Output for an SQL File Download and install Oracle Express Edition 11g from the following link: https://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/xe-prior-releases-5172097.html Note: You will be required to create an account. Open Notepad and type the following at the top of the file: spool path\project2_abc.txt' -- Include the full path. This will start logging to the specified file. set echo on -- This will ensure that all input and output is logged to the file. Type all statements into a Notepad file (it is recommended that you do this a few statements at a time, testing as you go along). Please indicate the different sections of the project using comment lines, which can be created using two hyphens at the beginning of the comment text; e.g., “--Part I” or “--Part II” (without the quotations). Name the file using your initials as a suffix with an sql extension (e.g., project2_abc.sql). Type the following at the very end of the file: set echo off -- This will turn off logging. spool off -- This will close the file. Start your database using the "Start Database" option in the Oracle Database program group (from the Windows "Start button"). Open the SQL command line from the "Run SQL Command Line" option in the Oracle Database program group (from the Windows "Start button"). When the window opens, you will see an SQL prompt. Type the following command to connect to your database: connect system/password. where, password is the password you entered during the installation process. Once connected, you may run your SQL file by typing the start command at the SQL prompt (include the full path). For example: start C:\Users\sarra\Desktop\Project2_kls.sql You will see all of the statements and output scroll by. When it is finished, the SQL prompt will appear again. To disconnect from the database and close your session, type the following: exit Ensure that all your statements and related output appear correctly in the spooled text file. If you have mistakes, you can make the necessary corrections to the SQL statements in your notepad file. Note: If your SQL file contains Create Table statements, you will need to drop the previously-created tables before running the SQL file again. You can do this at the SQL prompt, or you can add the Drop Table statements to the beginning of the SQL file before you run it (the latter is the better option). This project must be completed using an Oracle database with all statements manually typed into an SQL file and run as a batch in Oracle. The output must be written to a text (.txt) file. Statements and results (feedback from Oracle) must be included in the output file for submission. Directions for downloading the software and for creating and running the SQL file will be posted in Canvas. Project 2 Relational Schema I. A) Based on the 3NF relational schema from Project 1 (shown above), analyze the tables, their relationships, and the sample data you were given in Project 1. Create the tables shown, using the best data types based on your analysis. Follow each table name with an underscore and your first, middle, and last initials (if you do not have a middle initial, use X). For example, if your name is Alice B Chandler, you would name the Customer table Customer_abc. Also, keep in mind that foreign key relationships require the same data types on both sides (e.g., if you declare PatientID as NUMBER(5) in the Patient table, it must be declared as NUMBER(5) in the Rental table, too). All CREATE table statements and their resulting output (e.g., “Table created”) must be included in your output file. B) Execute a DESCRIBE statement for each of the tables. All DESCRIBE statements and their resulting output (i.e., the table structure) must be included in your output file). II. A) Insert the sample data from Project 1 into each table. Execute a COMMIT statement to permanently save your changes. All INSERT statements and COMMIT statements, along with their resulting output (e.g., “Row inserted”) must be included in your output file. B) Execute a SELECT statement on each table to list all contents (all columns and all rows). All SELECT statements and their resulting output (i.e., the table and its data) must be included in your output file. III. Execute the transactions below to modify/add to the data entered in the previous step. Execute a COMMIT statement to permanently save your changes. All INSERT, UPDATE, and COMMIT statements, along with their resulting output (e.g., “Row inserted”) must be included in your output file. Patient table Change the phone number of Patient 101 to ‘2145551234’ Add Patient 120 (Amanda Green, no phone number) ApptStatus table Add a new status: ApptStatus ApptStatusDesc X Cancelled Appt table Change the appointment time for Appt 110 to 11:30. Change the appointment status for Appt 108 to Cancelled ApptDetail table Add the following: ApptID ApptReasonCode BlockCode 108 NP L1 IV. Execute a SELECT statement on each table to list all contents (all columns and all rows), sorted in ascending order by its primary key (in the ApptDetail table, sort by PatientID first, then by ApptReasonCode). All SELECT statements and their resulting output (i.e., the table and its data) must be included in your output file. 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

  • Programming assignments

    Programming assignments require you to write and run a computer program to solve a problem. Some programming assignments count toward your final course grade, while others are just for practice. We are helping to students who are looking for programming assignment help for improving grade or learning new skills. Sections of a programming assignment Programming assignments include both assignment instructions and assignment parts. Assignment instructions: Explain the assignment. May include a link to a downloadable starter package that includes starter code, detailed guidelines, and other resources. Assignment parts: Are similar to individual questions within a quiz. Are each a single coding task. Are each worth a certain number of points toward the overall assignment score. Can be completed and submitted all at once, or one at a time. Programming assignment grades Programming assignments are graded automatically. Some are graded using a built-in grading algorithm that compares your program's output to a value specified by your instructor. Others are graded using a custom grading algorithm created by your instructor. If a programming assignment uses built-in grading: Your code will run locally on your computer, and the output will be sent to specified servers. Your grade will be based on comparison against numeric or regular expression grading logic. You'll get your grade a few seconds after submitting. If a programming assignment uses custom grading: Your code will be run on specified servers. Your grade will be based on custom logic provided by your instructor. You'll get your grade within an hour of submitting. You'll need to refresh the page to see your grade. Submit a programming assignment To submit a programming assignment: Open the assignment page for the assignment you want to submit. Read the assignment instructions and download any starter files. Finish the coding tasks in your local coding environment. Check the starter files and instructions when you need to. If the assignment uses script submission, submit your assignment by running the submission script in your local coding environment and entering the submission token. If the assignment uses web submission, upload your files using the instructions on your screen. Test a programming assignment Some programming assignments let you test them before you submit them to get feedback on whether they run. You won't get grades or feedback from the instructor until you submit the assignment. Edit or resubmit a programming assignment You can resubmit a programming assignment if you don't pass on the first attempt or want to improve your score. You might have to wait a certain amount of time between attempts. To resubmit a programming assignment, follow the same steps for submitting one. If your assignment uses script submission, you'll need to select the Generate new token option on the assignment page and use the new submission token. Hire a Assignment expert for Your Project From small assignment tasks to big projects that fits your requirement and budget, And help you deliver better results. please send your assignment requirement at contact@codersarts.com References: https://learner.coursera.help/hc/en-us/articles/209818753-Programming-assignments

  • Python Assignments

    1) DESCRIPTION 80% of people who purchase car insurance are men. If the owners of 9 car insurance are randomly selected, then find the probability using binomial distribution that exactly X out of them are men Read a number X from a line of input Print the output rounded till 4 decimal point Example: Sample Input: 6 Sample Output: 0.1762 2) DESCRIPTION If the probability of a profit or loss in an investment is equal, find the probability using geometric distribution that an investor’s k investment is his first profit Take input from the user k Print the ouput and round up the output till three decimal points Example: Sample Input: 4 Sample Output: 0.062 3) DESCRIPTION Conditional Probability The probability of an event which is conditioned or dependent on another event is a Conditional Probability Conditional Probability = P(A|B) = P(A and B)/P(B) P(A|B) is the probability of event A occurring, given that event B occurs You have the Member dataset, which is an input data file Members.csv present at the location /data/training/blackfriday.csv This dataset contains information about information related to the people . Here’s a brief description of the columns in the sample dataset Dataset Description: The dataset contains data of 8 rows and 4 different columns. The columns are: Gender: whether the particular person is male of female Height: Height of the person Weight: Weight of the person Foot-size: Foot-size of the person This is a preview of the data under consideration: Question: Calculate the probability of members height being more than 5 inches, given that member is female Input Format: The file to be read will be Members.csv, which contains the data as mentioned above. This file is in .csv format. Example: Sample Input: https://media-doselect.com/Members.csv Sample Output: 0.52

  • Principles of Microservices In Java

    Principles of Microservices There are the following principles of Microservices: Single Responsibility principle Modelled around business domain Isolate Failure Infrastructure automation Deploy independently Advantages of Microservices Microservices are self-contained, independent deployment module. The cost of scaling is comparatively less than the monolithic architecture. Microservices are independently manageable services. It can enable more and more services as the need arises. It minimizes the impact on existing service. It is possible to change or upgrade each service individually rather than upgrading in the entire application. Microservices allows us to develop an application which is organic (an application which latterly upgrades by adding more functions or modules) in nature. It enables event streaming technology to enable easy integration in comparison to heavyweight interposes communication. Microservices follows the single responsibility principle. The demanding service can be deployed on multiple servers to enhance performance. Less dependency and easy to test. Dynamic scaling. Faster release cycle. Disadvantages of Microservices Microservices has all the associated complexities of the distributed system. There is a higher chance of failure during communication between different services. Difficult to manage a large number of services. The developer needs to solve the problem, such as network latency and load balancing. Complex testing over a distributed environment. Challenges of Microservices Architecture Microservice architecture is more complex than the legacy system. The microservice environment becomes more complicated because the team has to manage and support many moving parts. Here are some of the top challenges that an organization face in their microservices journey: Bounded Context Dynamic Scale up and Scale Down Monitoring Fault Tolerance Cyclic dependencies DevOps Culture Creating a Simple Microservice Step 1: Create a Maven project using Spring Initializr https://start.spring.io/ Step 2: Choose the Spring Boot version 2.2.0 M6 or higher version. Do not choose the snapshot version. Step 3: Provide the Group name. In our case om.javatpoint Step 4: Provide the Artifact id. We have provided limits-service. Step 5: Add the following dependencies: Spring Web, Spring Boot DevTools, Spring Boot Actuator, Config Client. Step 6: Click on Generate the project button. A zip file will download, extract it into the hard disk. Step 7: Now, open the eclipse. Import the created maven project. It takes some time to download the required files. Step 8: Once the project is downloaded, go to src/main/java. Open the LimitsServiceApplication. Step 9: Now run the LimitsServiceApplication.java as Java Application. It started the Tomcat on port(s) 8080 (http). For Example : @RestController 1. public class LimitsConfigurationController 2. { 3. @GetMapping("/limits") 4. public LimitConfiguration retriveLimitsFromConfigurations() 5. { 6. return new LimitConfiguration(1000, 1); 7. } 8. } 1. public class LimitConfiguration 2. { 3. private int maximum; 4. private int minimum; 5. //no-argument constructor 6. protected LimitConfiguration() 7. { 8. } 9. //generating getters 10.public int getMaximum() 11.{ 12. return maximum; 13.} 14.public int getMinimum() 15.{ 16. return minimum; 17.} 18. //genetrating constructor using fields 19.public LimitConfiguration(int maximum, int minimum) 20.{ 21.super(); 22. this.maximum = maximum; 23. this.minimum = minimum; 24.} 25.} Output: { maximum: 1000, minimum: 1 } Need a quote for Homework in Java microservices ? Post your java microservice homework questions and get answers from qualified tutors. Are you looking for Java Microservices assignment help? We offer Java microservice homework help, Java microservice assignment, Java microservice projects. If you have project or assignment files, You can send at contact@codersarts.com directly What other items do customers search after viewing microservices? Java homework Help Java homework Java homework assignments Java homework examples Java homework solutions Java homework question Java Homework Answers Java Homework solver Java homework projects Java Project help Java project to help learn Java project help wanted Java help online

  • Microservices with Spring

    Introduction of Micro-services Spring boot Microservices allow large systems to be built up from a number of collaborating components. It does at the process level what Spring has always done at the component level: loosely coupled processes instead of loosely coupled components. For example imagine an online shop with separate microservices for user-accounts, product-catalog order-processing and shopping carts. Challenges With Microservice Architecture While developing a number of smaller microservices might look easy, there is a number of inherent complexities that are associated with microservices architectures. Let's look at some of the challenges: Automating the Components: It becomes difficult to automate everything because there are a number of smaller components instead of a monolith, i.e. builds, deployment, monitoring, etc. Perceptibility: There is a number of small components to deploy and maintain which sometimes becomes difficult to monitor and identify problems. It requires great perceptibility around all the components. Configuration Management: There is a great need to maintain the configurations for the components across the various environments. Debugging: It becomes difficult to probe each and every service for an error. Centralized Logging and Dashboards are essential to make it easy to debug problems. Consistency: You cannot have a wide range of tools solving the same problem. While it is important to foster innovation, it is also important to have some decentralized governance around the languages, platforms, technology and tools used for implementing/deploying/monitoring microservices. Reference Links https://dzone.com/articles/spring-boot-microservices-building-microservices-a https://spring.io/blog/2015/07/14/microservices-with-spring

  • System Programming And Automation Assignment Help

    Weeks 4 - System Programming And Automation Assignment For this assignment, you are going to write a basic file management script to the following specifications: Your file manager needs to take command-line arguments. One of the arguments (m) will be the mode the script needs to run in - basic, elevated, and admin. This argument is required; without it, the program should terminate.The other argument your program should take (-d) is optional and should be a directory path where you wish to browse files. If provided, your script will open that directory by default. If not, your script should open the default folder where it runs scripts. Your command-line arguments should be able to be accepted in any order. You need to ensure that no bad -m values get put in and that provided directory paths do not contain dot-dot folders. When your script loads, offer the user a menu of different things they can do. 1) In basic mode, your script should allow the users to change the current directory to one of their choosing (you will need to prompt for this) and list items in the current directory only. When you list items, please include file size and distinguish between directories and files. 2) In elevated mode, your script should allow users to do all of the above, plus be able to copy files and directories from one place to another (you will again need to prompt the user for details on how to accomplish this). 3) In admin mode, your script should allow users to do all of the above, plus be able to move and delete files and directories (again, prompt the user for any details needed in order to make these operations work properly). Your script must log all commands to a file off the root of your working hard drive to a file called "system_log.txt" that's stored in a folder called "Python_Log". So, if you are working in Windows, your file would be stored at C:\Python_Log\system_log.txt You do not need to get overly granular here. If you are copying a file, just say " was copied to ". If a directory was copied, just say " was copied to ". In the case where a directory is copied, you don't need to list the individual files that were copied...just the name of the folder. For any delete operation, you need to first copy whatever you're deleting to a folder off the root of your working hard drive to a folder called "backups". Then, once you've copied everything over, rename each file\directory so that the names are prefixed by "deleted_". Thus a file named "file.txt" would be renamed to "deleted_file.txt". Details on the above instructions are as follows: Your program must include appropriate error checking to make sure the source and destination folders do/don't exist as appropriate, as well as handle any other potential errors. If the destination folder doesn't exist when performing an operation, your program must block the operation and ask the user to try again. Your script must be designed to work equally well on Windows, Mac, and Linux platforms. The rest of your implementation details are up to your discretion, applying the things you have learned about Python so far. Please note, however, that you must organize any classes\functions you create into modules and produce documentation (using Pydoc) for your work using the principles discussed earlier in the class. You do not need to create test cases. Be sure to put comments in your code that clearly mark how you are performing your program logic. In the submission comments of this assignment, please place the repository URL of your file submission. Are you looking for Python Programming Assignment Help? Codersarts python developer experts offer the best quality Python programming, coding or Python programming Tutors. Get Python Assignment Help at an affordable price from the best professional tutors Assignment Help. Order now at get 15% off.

  • MongoDB Query Help

    Database and Schema db.instructor.insertMany( [ { "name": "Zhang", "dept_name": "CS", "salary": 68000, "teaches": [ { course_id: "CS-101", year: 2018 }, { course_id: "CS-347", year: 2018 } ] }, { "name": "Levy", "dept_name": "CS", "salary": 80000, "teaches": [ { course_id: "CS-128", year: 2016 }, { course_id: "CS-201", year: 2017 } ] }, { "name": "Brandt", "dept_name": "Finance", "salary": 90000, "teaches": [ { course_id: "FIN-201", year: 2016 }, { course_id: "FIN-301", year: 2017 }, { course_id: "FIN-320", year: 2017 } ] }, { "name": "Davis", "dept_name": "Finance", "salary": 78000, "teaches": [ { course_id: "FIN-102", year: 2017 }, { course_id: "FIN-200", year: 2018 } ] }, { "name": "Crick", "dept_name": "Biology", "salary": 92000, "teaches": [ { course_id: "BIO-101", year: 2017 }, { course_id: "BIO-301", year: 2018 }, { course_id: "BIO-301", year: 2018 } ] }, { "name": "Williams", "dept_name": "Biology", "salary": 72000, "teaches": [ { course_id: "BIO-101", year: 2016 }, { course_id: "BIO-201", year: 2017 }, { course_id: "BIO-101", year: 2018 } ] } ] ); Queries Give the MongoDB commands for the following queries and attach the result screenshot of each. a. Find the name, department name, and the salary of each instructor whose salary is at least 80,000 and has taught three courses. If an instructor has taught the same course N times, it is counted as N courses. b. Find the name and department name of each instructor who taught in both 2017 and 2018 and sort the results alphabetically by name. c. Find the total salary of each department and sort the result in the ascending order of the total salary. The result should only display department name and the total salary Contact us for MongoDB Assignment help, MongoDB Homework Help, MongoDB Query help Want to know your assignment price quote please send your assignment file at contact@codersarts.com and our sales team will contact you as soon as assignment received.

  • Node.js Packaging

    What is Node.js Packaging ? JXcore, which is an open source project, introduces a unique feature for packaging and encryption of source files and other assets into JX packages. Consider you have a large project consisting of many files. JXcore can pack them all into a single file to simplify the distribution. This chapter provides a quick overview of the whole process starting from installing JXcore. JXcore Installation Installing JXcore is quite simple. Here we have provided step-by-step instructions on how to install JXcore on your system. Follow the steps given below: Step 1: Download the JXcore package from https://github.com/jxcore/jxcore, as per your operating system and machine architecture. We downloaded a package for Cenots running on 64-bit machine. $ wget https://s3.amazonaws.com/nodejx/jx_rh64.zip Step 2: Unpack the downloaded file jx_rh64.zipand copy the jx binary into /usr/bin or may be in any other directory based on your system setup. $ unzip jx_rh64.zip $ cp jx_rh64/jx /usr/bin Step 3: Set your PATH variable appropriately to run jx from anywhere you like. $ export PATH=$PATH:/usr/bin Step 4: You can verify your installation by issuing a simple command as shown below. You should find it working and printing its version number as follows: $ jx --version v0.10.32 Packaging the Code Consider you have a project with the following directories where you kept all your files including Node.js, main file, index.js, and all the modules installed locally. drwxr-xr-x 2 root root 4096 Nov 13 12:42 images -rwxr-xr-x 1 root root 30457 Mar 6 12:19 index.html -rwxr-xr-x 1 root root 30452 Mar 1 12:54 index.js drwxr-xr-x 23 root root 4096 Jan 15 03:48 node_modules drwxr-xr-x 2 root root 4096 Mar 21 06:10 js drwxr-xr-x 2 root root 4096 Feb 15 11:56 css To package the above project, you simply need to go inside this directory and issue the following jx command. Assuming index.js is the entry file for your Node.js project: $ jx package index.js index Here you could have used any other package name instead of index. We have used index because we wanted to keep our main file name as index.jx. However, the above command will pack everything and will create the following two files − index.jxp This is an intermediate file which contains the complete project detail needed to compile the project. index.jx This is the binary file having the complete package that is ready to be shipped to your client or to your production environment. Launching JX File Consider your original Node.js project was running as follows: $ node index.js command_line_arguments After compiling your package using JXcore, it can be started as follows: $ jx index.jx command_line_arguments 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

  • Node.js Scaling Application

    Why do we Scale Application ? The workload is the most popular reason we scale our applications, but it’s not the only reason. We also scale our applications to increase their availability and tolerance to failure. There are mainly three different things we can do to scale an application: 1) Cloning: The easiest thing to do to scale a big application is to clone it multiple times and have each cloned instance handle part of the workload. This does not cost a lot in term of development time and it’s highly effective. 2) Decomposing: We can also scale an application by decomposing it based on functionalities and services. This means having multiple, different applications with different code bases and sometimes with their own dedicated databases and User Interfaces. 3) Splitting: We can also split the application into multiple instances where each instance is responsible for only a part of the application’s data. This strategy is often named horizontal partitioning, or shading, in databases. Successfully scaling a big application should eventually implement all three strategies. Node.js makes it easy to do so. We are also going to explore the built-in tools available in Node.js to implement it. What is Node.js Scaling Application ? Node.js runs in a single-thread mode, but it uses an event-driven paradigm to handle concurrency. It also facilitates creation of child processes to leverage parallel processing on multi-core CPU based systems. Child processes always have three streams child.stdin, child.stdout, and child.stderr which may be shared with the stdio streams of the parent process. Node provides child_process module which has the following three major ways to create a child process. exec: child_process.exec method runs a command in a shell/console and buffers the output. spawn: child_process.spawn launches a new process with a given command. fork: The child_process.fork method is a special case of the spawn() to create child processes. The exec() method child_process.exec method runs a command in a shell and buffers the output. It has the following signature: child_process.exec(command[, options], callback) Parameters Here is the description of the parameters used: 1. command (String) The command to run, with space-separated arguments 2. options (Object) may comprise one or more of the following options: cwd (String) Current working directory of the child process env (Object) Environment key-value pairs encoding (String) (Default: 'utf8') shell (String) Shell to execute the command with (Default: '/bin/sh' on UNIX, 'cmd.exe' on Windows, The shell should understand the -c switch on UNIX or /s /c on Windows. On Windows, command line parsing should be compatible with cmd.exe.) timeout (Number) (Default: 0) maxBuffer (Number) (Default: 200*1024) 3. callback The function gets three arguments error, stdout, and stderr which are called with the output when the process terminates. The exec() method returns a buffer with a max size and waits for the process to end and tries to return all the buffered data at once. Example: Let us create two js files named sub.js and main.js: File: sub.js console.log("Child Process " + process.argv[2] + " executed." ); File: main.js const fs = require('fs'); const child_process = require('child_process'); for(var i=0; i<3; i++) {    var workerProcess = child_process.exec('node sub.js '+i,function       (error, stdout, stderr) {       if (error) { console.log(error.stack); console.log('Error code: '+error.code); console.log('Signal received: '+error.signal);       } console.log('stdout: ' + stdout); console.log('stderr: ' + stderr);    });    workerProcess.on('exit', function (code) { console.log('Child process exited with exit code '+code);    }); } Now run the main.js to see the result: $ node main.js Output Child process exited with exit code 0 stdout: Child Process 1 executed. stderr: Child process exited with exit code 0 stdout: Child Process 0 executed. stderr: Child process exited with exit code 0 stdout: Child Process 2 executed. The spawn() Method child_process.spawn method launches a new process with a given command. It has the following signature: child_process.spawn(command[, args][, options]) Parameters Here is the description of the parameters used: 1. command (String) The command to run 2. args (Array) List of string arguments 3. options (Object) may comprise one or more of the following options: cwd (String) Current working directory of the child process. env (Object) Environment key-value pairs. stdio (Array) String Child's stdio configuration. customFds (Array) Deprecated File descriptors for the child to use for stdio. detached (Boolean) The child will be a process group leader. uid (Number) Sets the user identity of the process. gid (Number) Sets the group identity of the process. The spawn() method returns streams (stdout &stderr) and it should be used when the process returns a volume amount of data. spawn() starts receiving the response as soon as the process starts executing. Example Create two js files named sub.js and main.js: File: sub.js console.log("Child Process " + process.argv[2] + " executed." ); File: main.js const fs = require('fs'); const child_process = require('child_process'); for(var i = 0; i<3; i++) {    var workerProcess = child_process.spawn('node', ['sub.js', i]); workerProcess.stdout.on('data', function (data) { console.log('stdout: ' + data);    }); workerProcess.stderr.on('data', function (data) { console.log('stderr: ' + data);    }); workerProcess.on('close', function (code) { console.log('child process exited with code ' + code);    }); } Now run the main.js to see the result: $ node main.js Output stdout: Child Process 0 executed. child process exited with code 0 stdout: Child Process 1 executed. stdout: Child Process 2 executed. child process exited with code 0 child process exited with code 0 The fork() Method child_process.fork method is a special case of spawn() to create Node processes. It has the following signature: child_process.fork(modulePath[, args][, options]) Parameters Here is the description of the parameters used: 1. modulePath (String) The module to run in the child. 2. args (Array) List of string arguments 3. options (Object) may comprise one or more of the following options: cwd (String) Current working directory of the child process. env (Object) Environment key-value pairs. execPath (String) Executable used to create the child process. execArgv (Array) List of string arguments passed to the executable (Default: process.execArgv). silent (Boolean) If true, stdin, stdout, and stderr of the child will be piped to the parent, otherwise they will be inherited from the parent, see the "pipe" and "inherit" options for spawn()'s stdio for more details (default is false). The fork method returns an object with a built-in communication channel in addition to having all the methods in a normal ChildProcess instance. Example: Create two js files named sub.js and main.js: File: sub.js console.log("Child Process " + process.argv[2] + " executed." ); File: main.js const fs = require('fs'); const child_process = require('child_process'); for(var i=0; i<3; i++) {    var worker_process = child_process.fork("sub.js", [i]);   worker_process.on('close', function (code) { console.log('child process exited with code ' + code);    }); } Now run the main.js to see the result: $ node main.js Output Child Process 0 executed. Child Process 1 executed. Child Process 2 executed. child process exited with code 0 child process exited with code 0 child process exited with code 0 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 Scaling Application

  • Creating A Multiple-Screen Mobile Application | Android Project Assignment Help

    Introduction: As a competent mobile application developer, your understanding of mobile application structure and design will help you to develop applications to meet customer requirements. The following project to develop a student scheduler/student progress tracking application will help you to apply these skills in a familiar, real-world scenario. This task will allow you to demonstrate your ability to apply the skills learned in the course. You will develop a multiple-screen mobile application for WGU students to track their terms, courses associated with each term, and assessment(s) associated with each course. The application will allow students to enter, edit, and delete terms, courses, and assessment data. It should provide a summary and detailed views of courses for each term and provide alerts for upcoming performance and objective assessments. This application will use an SQLite database. Input Each of the following needs to be input into the application: terms, including the following: the term title (e.g., Term 1, Term 2) the start date the end date courses, including the following: the course title the start date the anticipated end date the status (e.g., in progress, completed, dropped, plan to take) the course mentor name(s), phone number(s), and email address(es) objective and performance assessments associated with each course the ability to add optional notes for each course the ability to set alerts or notifications for the start and end date of each course the ability to set alerts for goal dates for each objective and performance assessment Output Each of the following needs to be displayed by the application on a separate screen: the navigation panel a list of terms A detailed view of each term, including the following: the title (e.g., Term 1, Term 2) the start date the end date a list of courses for each term a detailed view of each course, including the following: the course title the start date the anticipated end date assessments a list of performance and objective assessments for a selected course a detailed view of each objective and performance assessment, including the following: the due date for a selected course notes for the selected course sharing features (e.g., email, SMS) Requirements: Note: Submit your performance assessment by including all Android project files, APK, and signed apk files in one zipped.zip file. Note: For your convenience, an optional checklist is attached to help guide you through this performance assessment. A. Create an Android (version 4.0 or higher) mobile application with the following functional requirements: 1. Include the following information for each term: the term title (e.g., Term 1, Term 2) the start date the end date 2. Include features that allow the user to add as many terms as needed. 3. Implement validation so that a term cannot be deleted if courses are assigned to it. 4. Include features that allow the user to do the following for each term: a. add as many courses as needed b. display a list of courses associated with each term c. display a detailed view of each term, which includes the following information: the term title (e.g., Term 1, Term 2) the start date the end date 5. Include the following details for each course: the course title the start date the anticipated end date the status (e.g., in progress, completed, dropped, plan to take) the course mentor name(s), phone number(s), and e-mail address(es) 6. Include features that allow the user to do the following for each course: a. add as many assessments as needed b. add optional notes c. enter, edit, and delete course information d. display optional notes e. display a detailed view of the course, including the due date f. set alerts for the start and end date g. Share notes via a sharing feature (e.g., e-mail, SMS) 7. Include features that allow the user to do the following for each assessment: a. add performance and/or objective assessments for each course, including the titles and due dates of the assessments b. enter, edit, and delete assessment information c. set alerts for goal dates 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

  • 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.

bottom of page