1. Print all the line numbers on which a given word occurs 2. Print true/false depending upon whether or not a given word was in the fi 3. Print the total number of times a given word occurs on a specific line (ma be zero) 4. Print all the words that occurred on a given line
Q: how to calculation in excel if 1+1=2 then results+1=3 formula then using this formulas I can find…
A: Introduction What is Excel?: Microsoft's Spread sheet programme is a product of the Office series…
Q: up designs in English for programs we want to write. We've then used these code designs to programs…
A: ALGORITHM:- 1. Take input for the values from the user. 2. Calculate the values of final speed and…
Q: NOTE: This is a multi-part question. Once an answer is submitted, you will be unable to return to…
A: The grammar given:- The grammar a language where the set of all bit string made up of a 1 followed…
Q: Explain DNS in the Internet.
A: The phonebook of the Internet is the Domain Name System (DNS). Domain names like espn.com or the new…
Q: te about software change strate
A: Introduction: The following software change techniques could be used singly or in combination:…
Q: Discuss Advantages of ROM as PLD:
A:
Q: What are the common approaches in debugging?
A: Let's see the answer:
Q: 8. Who is responsible for performing testing in an Agile team? A: tester B: developer C: product…
A: Disclaimer: “Since you have asked multiple questions, we will solve the first question for you. If…
Q: C PROGRAM Write a c program FUNCTION that displays the corresponding day of the week given a valid…
A: THE ALGORITHM OF THE CODE IS SHOWN BELOW:- 1. Start 2. Initialize day, month, year 3. Calculate y,…
Q: 2,2,2,2,1,1 3,2,1,1,1 2,2,1,1
A: According to the information given:- We have to draw undirected graphs for degree sequence…
Q: 1) Write a "C" program that finds and prints all the paths (if exists) between the given two cities…
A: Algorithm of the code:- 1. Start 2. Set the path_found variable to 0. 3. Set the total_distance…
Q: State and explain basic components of ASM chart. Also explain the salient features of ASM chart.
A: The sequential processes of a digital circuit are shown on an ASM, a particular type flow chart. The…
Q: want the algorithm of this code pl
A: it looks like servo motor code for 2 motors each motor will have 2 pins polarity of motor will…
Q: The concept of "virtual machine security" may seem foreign.
A: Introduction: The term "virtual machine security" appears below.To keep your virtual machines…
Q: 1- If the user enters 1, then the program asks for four 4-digit integer values that represent a…
A: #include<iostream>using namespace std;int main(){int choice;cout<<"What is your…
Q: What are the types of static testing tools?
A: Dear Student, The types of static testing tools is given below -
Q: What is a Real time system?
A: Real Time Systems: When a system is put under real-time conditions, it must ensure that a response…
Q: What are the objectives of Analysis modeling?
A: Introduction: A technical depiction of the system is the analysis model. The system description and…
Q: Discuss application of PDA.
A: PDA stands for Push down Automata and is a very important term in Compiler theory.
Q: What is cyclomatic complexity?
A: Cyclomatic complexity is a software metric used to measure the complexity of a program. It…
Q: The set of bit strings containing only 1s Multiple Choice A) S → 1 B) S → 1S and S → λ C)…
A: According to the information given:- We have to choose the correct option to satisfy the statement,
Q: Here is my input and output. Your TA may choose different dish names and enter tables in a different…
A: The modified Python code is given below with output screenshot
Q: What is a Real time system?
A: REAL TIME SYSTEM A real-time system is one that is put under real-time conditions, meaning that the…
Q: 2) figure: Consider a growing random network starting with 4 fully connected nodes as seen in the 3…
A: consider growing random network starting 4 fully connected nodes at seen in and write formula for…
Q: Please answer the following, #5. Write clearly please. Create a height-balanced binary search tree…
A: The height-balanced binary search tree is defined as a binary tree in which the depth of the two…
Q: Explain the idea of a challenge-response authentication system to us. For what reasons is this…
A: A challenge/response system assigns users a secret password that is also stored in a database…
Q: Evaluate the effectiveness and breadth of use of interpersonal skills in organizing and carrying out…
A: INTRODUCTION: It is the kind of ability we use to communicate in daily life, such as speaking,…
Q: Please answer #2 for me. Write clearly please. Consider a standard stack data structure with a push…
A: Consider a standard stack data structure with a push and popoperation. What would be the exact…
Q: What are the common approaches in debugging?
A: Debugging is defined as the process of identifying and isolating the root cause of the error and…
Q: # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
A: Code: public class Main { public static void main(String[] args) { int a = 0; while(a<8){…
Q: Only issues related to IT security will be prioritized throughout solution development.
A: Introduction: IT security issuesIt prevents unwanted access to organisational assets like…
Q: What are the limitations of statistics?
A: The question has been answered in step2
Q: What is equivalence partitioning?
A: Introduction: Partitioning: Process/method/procedure by which a process/memory/testing/inputs can…
Q: Review: 1. How many choices are possible when using a single if-else statement?__________. 2. For (…
A: 1. When using a single if-else statement then we have a total of two choices one is if block code…
Q: Explain DNS in the Internet.
A: Internet The Internet, sometimes known as "the Net", is a global system of computer networks. It is…
Q: Explain Classification Based on Circuit Complexity:
A:
Q: Discuss Turning Machine as computer of functions.
A:
Q: cuss application of PD
A: Introduction: A context-free grammar can be implemented using a pushdown automata. 1.PDA with the…
Q: 8. Who is responsible for performing testing in an Agile team? A: tester B: developer C: product…
A: Disclaimer: “Since you have asked multiple questions, we will solve the first question for you. If…
Q: Complete the following hasCycle function that takes the head of a singly linear linked list as an…
A: Here I have created a class Node with 2 data members to store the value and address it to the next…
Q: Assuming that everyone on the Internet used PGP, could a PGP message be sent to an arbitrary…
A: PGP functions by giving each user two keys. One private and one public. The private key is kept…
Q: What issues does it create in the workplace when there are different sorts of information systems?…
A: Lack of Planning: The cause of many of the most common MIS issues is a lack of a solid strategy. The…
Q: Explain What is Operating Temperature.
A: The above question that is what is operating temperature is answered below step.
Q: I need help with making a Java program, the general class that will be called “Businesses”. This…
A: Here we have given solution for the given task. You can find the solution in step 2.
Q: Design a Turing machine to accept the language given by a regular expression 0(0+1)*11
A: The regular expression given:- 0(0 + 1) * 11 Here . means and + means or * as much as wanted.
Q: What are the various types of traceability in software engineering?
A: Traceability in software engineering is the ability to trace work items across the development…
Q: Give an account of your own experience in being certified and trained.
A: Introduction: An information system collects, manipulates, stores, and disseminates data and…
Q: If you have the capacity to inspire and excite technical experts to their maximum potential, you may…
A: In the context of a project or program, a subject matter expert (SME) is a person who possesses…
Q: Why is it important to probe and attack a system both at rest and in action? Give examples of…
A: We need to discuss, the importance of probe and attack a system both at rest and in action.
Q: Write a C++ program by using Exception(throw, try, catch), validate a grade. ask the user to enter a…
A: algorithm if the code 1. Start 2. Enter 3 grades: 3. a, b, c 4. If a > 100 or a < 0 5. throw…
Need flow charts for all sections
Step by step
Solved in 2 steps with 1 images
- A file concordance tracks the unique words in a file and their frequencies. Write a program that displays a concordance for a file. The program should output the unique words and their frequencies in alphabetical order. Variations are to track sequences of two words and their frequencies, or n words and their frequencies.Write a program that asks the user for the name of a file. The program should display only the first five lines of the file’s contents. If the file contains less than five lines, it should display the file’s entire contents.Suppose that the file inData.txt contains the following data: Giselle Robinson Accounting 5600 5 30 450 9 75 1.5 The first line contains a person's first name, last name, and the department the person works in. In the second line, the first number represents the monthly gross salary, the bonus (as a percent), and the taxes (as a percent). The third line contains the distance traveled and the traveling time. The fourth line contains the number of coffee cups sold and the cost of each coffee cup. Write statements so that after the program executes, the contents of the file outData.txt are as shown below. If necessary, declare additional variables. Your statements should be general enough so that if the content of the input file changes and the program is run again (without editing and recompiling), it outputs the appropriate results. Write statements that close the input and output files. The file inData.txt is provided for you with the following data: Giselle Robinson Accounting 5600 5…
- This is the statement it gives - Write a program that reads the student information from a tab separated values (tsv) file. The program then creates a text file that records the course grades of the students. Each row of the tsv file contains the Last Name, First Name, Midterm1 score, Midterm2 score, and the Final score of a student. A sample of the student information is provided in StudentInfo.tsv. Assume the number of students is at least 1 and at most 20. Assume also the last names and first names do not contain whitespaces. The program performs the following tasks: Read the file name of the tsv file from the user. Open the tsv file and read the student information. Compute the average exam score of each student. Assign a letter grade to each student based on the average exam score in the following scale: A: 90 =< x B: 80 =< x < 90 C: 70 =< x < 80 D: 60 =< x < 70 F: x < 60 Compute the average of each exam. Output the last names, first names, exam scores,…Counting the character occurrences in a file For this task you are asked to write a program that will open a file called "story.txt" and count the number of occurrences of each letter from the alphabet in this file. At the end your program will output the following report: Number of occurrences for the alphabets: a was used – times. b was used – times. c was used – times.... .and so, on Assume the file contains only lower-case letters and for simplicity just a single paragraph. Your program should keep a counter associated with each letter of the alphabet (26 counters) [Hint: Use array] Your program should also print a histogram of characters count by adding a new function print Histogram (int counters []). This function receives the counters from the previous task and instead of printing the number of times each character was used, prints a histogram of the counters. An example histogram for three letters is shown below) [Hint: Use the extended asci character 254]: A…in C#: Given a text file, write a program (console application) that counts the number of words that end with the letter "t" or "e" (not case sensitive). We’ll say that a "t" or "e" is at the end of a word if there is not an alphabetic letter immediately following it. The program should output the resulting count.
- The program takes a single argument as the name of the file to be read. A sample file is named (Movies.txt). The program reads this file which has labeled columns separated by commas. Every row of this text file includes information about a movie. You are asked to read every row as a string and decompose the given information (separated by commas). If a costumer wants too see "List of the Genres" (or genre,score,year) all genres type must be show. I need this answer in C language. Please explain nicely. Thanks.Write a program that asks the user for the name of a file and a string to search for. The program will search the file for all occurrences of the specified string and display all lines that contain the string. After all occurrences have been located, the program should report the number of times the string appeared in the file.4- The Table shown below lists the degrees of three students, Write a program in M-file to read these degrees and calculate the average degree for each student. Name Mathematics Electric Circuits Communication Ahmed Waleed 80 80 80 75 80 70 Hasan 80 90 85 Then display results as shown below Name Degree Ahmed 80 Waleed 75 Hasan 85
- In C++, Query the user for the name of a file. Read the words from the file and report the number of words whose last letter is 'a', the number whose last letter is 'b' and so on, irrespective of case.Problem:A company has stock of many goods, and they want to filter the stock so that some of the materials can go on sale. The stock information recorded in a file"data.txt" as shown in the sample. (in the following sequence)(item name, price_perunit, profit, months_of_stocking, customer_reviews )The sale policy of the company depends on many factors according to the following. • if item in stock more than 8 months and item profit is more than average profit of all items o yes - if customer reviews low quality ● yes – sale 50% ● no – if customer reviews medium quality o yes – sale 30% o no – sale 15% o no- if item profit more than 8% of the item price ● Yes – if in stock more than 1 year o yes-sale 40% o no- not on sale ● No - not on sale Write a C++ program that reads the information from “data.txt” input file into 5 arrays, then processes these arrays to produce three arrays, first array holds the items on sale, second array holds percentage of sale , and the third one holds the…A file concordance tracks the unique words in a file and their frequencies. Write a program that displays a concordance for a file. The program should output the unique words and their frequencies in alphabetical order. Variations are to track sequences of two words and their frequencies, or n words and their frequencies. Below is an example file along with the program input and output: example.txt I AM SAM I AM SAM SAM I AM