Computer Graphical
Q: Explain the features of this app, please.
A: DISCRETE EVENT SIMULATION The simulation of discrete events is this. a method that may be used to…
Q: onstruct an FA equivalent to the regular expressions: 1) ab + (aa + bb)* b LI
A: As per the answering guidelines, solving the first sub question.
Q: Websites... what exactly do you mean by that term?
A: Let's learn about websites in brief!
Q: Please I need to solve this question using the C++ programming language with Visual Studio 2019.…
A: Program: #include <iostream> #include<iomanip> #include<math.h> using namespace…
Q: Online Search Activity
A: Search engine used: Google Chrome Keywords: information contained in web pages is credible or not…
Q: me
A: from simple_image_download import simple_image_download as simpresponse =…
Q: FA with at most two states
A: We need to answer:
Q: i docs.google.com 5- A methodology used to verify that the
A: Option (c) is correct Three way handshake TCP utilizes a three-way handshake to build up a solid…
Q: Personal Information Last Name Santiago First Name Nancy Middle Name Marcelo Address San Nicolas,…
A: Since the question does not include the programming language used to code the problem so I am using…
Q: Instructions: Identify the following if it is UNIQUE IDENTIFIER or NOT. Gender Address Zip Code
A: Gender cannot be a unique identifier because:- there can be more than one person with the same…
Q: allow you to create slides or handouts. Spreadsheet Programs O Integrated suites Database Programs…
A: As per guidelines we can answer only one question for answer of other question please ask separately
Q: Identify the following if it is UNIQUE IDENTIFIER or NOT. Name Age Phone Number
A: - We need to know if the identifiers shown are unique or not.
Q: iii) Convert the following expression to simplified Sum of Products format:
A: The given expression is (X'+Y+Z')(X'+Z'+U)(Y'+U')
Q: topic Government
A: The government works best when it is closest to the people. It is their system of laws, their…
Q: what is font?
A: Font: The word font is a synonym of the word typeface. The font is a design for the characters…
Q: Construct the regular expression for the following DFA, find R²12 aib
A: Given: Goal: We have to write the regular expression for the given Epsilon NFA.
Q: how to Ask a user for their age
A: Python code for above : # ask and get the age of user age = int(input("Enter your Age: "))…
Q: Survey to ask for students who need academic books.
A: Lets see the solution.
Q: Use any programming language in MYSQL to develop website application Its better to use JAVA or…
A: In this assignment, we'll build a basic web application using Py thon, Flask, and MySQL. It will be…
Q: Describe about FMS option
A: FMS is also known as flexible manufacturing system.
Q: DO NOT COPY FROM OTHER WEBSITES
A: Artificial intelligence system increase efficiency and Reduce human intervention. In contrast to…
Q: er the questions
A:
Q: C++ ( multiple question)
A: In Case of if else statement : 1. If the first condition in if is given true then it will do…
Q: PHP code
A: Given : - A server side web technology (PHP) is mention in the above given question Need to…
Q: What are the types of Online games?
A: The Answer start from step-2.
Q: Trying opening my computer screen online for my class please send me a computer to address Dallas…
A: See second step.
Q: Differentiate between Collection and Collections
A: Collections is a utility class and Collection is an interface. Some of the interfaces of collection…
Q: Good morning, can you solve the question Computer programming course within 10 minutes Thank you…
A: Explanation: Object is an instance of a class.whereas Class is a blueprint or template from which…
Q: assist
A: In set-builder form, elements of the set are not listed; instead, the elements are represented using…
Q: ure more than one answer you m
A: 172.16.96.251
Q: Please NOTE!! DO not write handwritten DO not copy from websites!!! give me a fire alarm system…
A: Fire alarm system using Arduino UNO
Q: Whats c++
A: Please find the answer below :
Q: On technical drawings, what font type is used?
A: GIVEN: On technical drawings, what font type is used?
Q: Code to Display the Name, Course, Year Level and motto in life using NASM
A: Here first I have provided an assembly language code for printing four strings as given in the…
Q: Enter first name: Elon Enter last name: Musk (Security Question) Favorite car maker: Tesle Enter…
A: The program is written in Java. Please find the source code in step 2.
Q: any suggestions for undergraduate thesis title majoring in computer engineering? or interesting…
A: In the era of computer and AI technology there are so many different fields in Computer Engineering.…
Q: Instruction: Identify if the following is UNIQUE IDENTIFIER or NOT. Email Gender Age
A: First let's understand what is UNIQUE IDENTIFIER Unique Identifier as the name suggest is something…
Q: An Canadian Shakes your hand -- O firmly firm
A: An American or Canadian shakes your hand firmly while looking you straight in the eyes. In many…
Q: Personal Information Female Male Nationality Canadian| First Name Gender Last Name Address Medical…
A: HyperText Markup Language (HTML) is set of markup symbols or codes inserted into a file intended…
Q: Correct and detailed answer will be Upvoted else downvoted directly. Thank you!
A: To create file named "fileA" to directory named "/test". touch test/fileA.txt This command will…
Q: final module mark and exam mark on a webpage. If the student obtained more than 30% for exam mark…
A: Step by step explanation is given below
Q: ailed answer please. Tha
A:
Q: Q. SaaS is known as _____________ as a Service.
A: It is based on cloud service model.
Q: Instructions: Identify the following if it is UNIQUE IDENTIFIER or NOT. Department
A: A unique identifier (UID) is a string of numbers or letters that uniquely identifies a single entity…
Q: nswer question 2only
A: Define variable r and initialize it to 6. Use for condition to iterate in range from 0 to r+1. Use…
Q: Describe the purpose of the “question and answer” slide
A: The solution to the given problem is below.
answer for question 8 only please
Step by step
Solved in 2 steps
- Write a Java program that opens a file and counts the whitespace-separated words in that file. You may obtain the name of the input file either from the command line or via prompt and user input. Be sure to clearly document the method chosen. You may test your program using any number of text files; however, you must be sure to test your program using the Sample Text File provided at the end (excerpt.txt). Sample Text File There was nothing so VERY remarkable in that; nor did Alice think it so VERY much out of the way to hear the Rabbit say to itself, `Oh dear! Oh dear! I shall be late!' (when she thought it over afterwards, it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural); but when the Rabbit actually TOOK A WATCH OUT OF ITS WAISTCOAT- POCKET, and looked at it, and then hurried on, Alice started to her feet, for it flashed across her mind that she had never before seen a rabbit with either a waistcoat-pocket, or a watch to…Write a program that will read the file text.txt which is provided and the encryptedmessage in there. Please write back the decrypted message into the output.txt file.When you see the message in the output.txt file, you need to submit the java codefile. You need to use Rot13 class for decrypting the message. Do not need to submit in the output.txt file. file example: public class FileExample { public static void main(String[]args){ try {//create file object for input.txtFile in_file = new File("src/input.txt");//create file object for output.txtFile out_file = new File("src/output.txt"); //read the input.txt file with ScannerScanner read = new Scanner(in_file);//write the output.txt file with PrintWriterPrintWriter w = new PrintWriter(out_file); while(read.hasNextLine()){w.write(read.nextLine());} //don't forget to closew.close(); // while(scan.hasNext()){// System.out.println(scan.next());// } }catch(Exception ex){ex.getStackTrace();}Write a C++ program. Name the file laundry.cpp You just purchased an existing laundromat. Create a program for patrons of the establishment. Notes: 1. Differenttypesofpatronsofthislaundromat:a. Discount members (indicated with an id between D100-D500) i. They can only use the Slow and Very Slow machinesb. Regularmembers(indicatedwithanidbetweenD501-D900) i. They can only use the Slow and Fast Machinesc. Elite members (indicated with an id between D901-D999) i. They can use any machine 2. Differenttypesofmachinesofthislaundromat: Fast (cost: 50 cents per use, needs 2 oz of detergent for each load) Slow(cost:35centsperuse,needs1.5ozofdetergentforeachload) Very Slow (cost: 25 cents per use, needs 1 oz of detergent for each load) Expected functionality: All registered users should be read in from a file (command line argument). The file should look like: Jon Doe,D160,3.75,5 //name, id, balance, amount of detergent in oz Jane Doe,D450,5.00,3…
- Write a java program that: 1. Create a file with the name "BankAccount.txt" and has the following content (the account name, account number and balance of each account) The file will look like this: Amani Ali 12345432 500 Sarah Mohammad 456663343 4000 Omimah khalid 998787655 2000 Monirah Ahmad 55433424 10000 2. Read the file "BankAccount.txt" content one by one and increase the balance by 50% for each account, then write the result in a new file with the name "UpdatedAccount.txt". The new file content should have the following structure: Amani Ali 12345432 750 Sarah Mohammad 456663343 6000 Omimah khalid 998787655 3000 Monirah Ahmad 55433424 15000 3. Read an account number from the user and search the file "UpdatedAccount.txt", then print all the information of this account if exists, otherwise display a message "this account not found". Note:- Search google to find some of the built-in methods to help you in this program, such as trim(), split(), equals(), Integer.parseInt().Write a program in Java to perform the following: Using a BufferedReader class and related objects, read a string object consists of 60 words plus some special characters and numbers. Include double space between some words. Include a few $ and % signs in your text. Store that text into a file using proper classes and methods. Call that file fileon.doc which will be your input file then read the contents of that file and perform the following operations using java available methods: Add a new line at the beginning of the text to include your name and the class name (csc 202) Find the length of you text Change the first character of each line to upper case . Find the number and location of all $ sign and re place it with a space. Delete all double spaces Calculate the number of special characters Find the number of lines in your text. Remember each line is terminated by a “.”, find the number of vowel in the last line Count the number of digits in your text. Append a new line consist…Challenge 3: Encryption.java and Decryption.java Write an Encryption class that encrypts the contents of a binary file. Your encryption program should work like a filter, reading the contents of one file, modifying the data into a code, and then writing the coded content out to a second file. The second file will be a version of the first file, but written in a secret code. Use a simple encryption technique, such as reading one character at a time, and add 10 to the character code of each character before it is written to the second file. Come up with your own encryption method. Also write a Decryption class that reads the file produced by the Encryption program. The decryption file will use the method that you used and restore the data to its original state, and write it to a new file.
- Can you help me with this program?In Java!Create an associative container to store movie names and ratings.Add a few films to the container. Enter a movie name and display its rating if the movie is contained in the container, or an appropriate message otherwise.Save the contents of the container to a text file.Implement (in Java) a console application for writing data to a sequential text file with a formatter class in Java : a. Implement createFile() method – To open/create a new file named as ‘mec.txt’ with explanations of the methods involved. b. Implement writeRecord() method – User enter the employee name, employee id, gross salary, tax rate, income tax and net salary from the keyboard and write/add these values to the file ‘mec.txt’ with explanations of the methods involved. The input fields must be validated as necessary. c. Implement closeFile() method – Close the file with explanations of the methods involved.Modify the Total program so that it shows the average, not the total of the inputs. Total.java 1 import java.io.File; 2 import java.io.FileNotFoundException; 3 import java.io.PrintWriter%; 4 import java.util.Scanner; 6 /** This program reads a file with numbers, and writes the numbers to another file, lined up in a column and followed by their average. 9 */ 10 public class Total 11 { 7 8 public static void main(String[] args) throws FileNotFoundException { // Prompt for the input and output file names Scanner console = new Scanner(System.in); System.out.print("Input file: "); String inputFileName = System.out.print("Output file: "); String outputFileName = console.next(); 12 13 14 15 16 17 console.next(); 18 19 20 // Construct the Scanner and PrintWriter objects for reading and writing File inputFile = new File(inputFileName); Scanner in = new Scanner(inputFile); PrintWriter out = new PrintWriter(outputFileName); 21 22 %3D 23 24 25 // Read the input and write the output double total =…
- I am trying to figure out why the sum at the end of my Java code is not working correctly. It keeps showing as zero and I do not know what the issue is. Here is the program requirements Write a program in a single file that: Main: Creates 10 random doubles, all between 1 and 11, Calls a method that writes 10 random doubles to a text file, one number per line. Calls a method that reads the text file and displays all the doubles and their sum accurate to two decimal places. SAMPLE OUTPUT 10.62691196041722.7377903389094555.4279257388651281.37420580654725091.18587002624988364.1803912764852284.9109699989306755.7108582343439587.7908570073730523.1806714736219543 The total is 47.13 Here is my code: import java.util.*;import java.io.*; public class AssignmentTwo { public static void main(String[] args) {//main method double randNum [] = new double [10]; for(int i = 0; i< randNum.length; i++) { randNum[i] = (double)(Math.random()* (10) + 1);…I am trying to figure out why the sum at the end of my Java code is not working correctly. It keeps showing as zero and I do not know what the issue is. Here is the program requirements Write a program in a single file that: Main: Creates 10 random doubles, all between 1 and 11, Calls a method that writes 10 random doubles to a text file, one number per line. Calls a method that reads the text file and displays all the doubles and their sum accurate to two decimal places. SAMPLE OUTPUT 10.62691196041722.7377903389094555.4279257388651281.37420580654725091.18587002624988364.1803912764852284.9109699989306755.7108582343439587.7908570073730523.1806714736219543 The total is 47.13 Here is my code:Write a program that reads a stream of integers from a file and prints to the screen the range of integers in the file (i.e. [lowest, highest]). You should first prompt the user to provide the file name. You should then read all the integers from the file, keeping track of the lowest and highest values seen in the entire file, and only print out the range of values after the entire file has been read. In Java.