1. Write a C program to take students data which contains Student Name, Roll No., total Marks out of 100. Arrange the students according to highest marks (in Descending order of marks) and store this output data in the file.
Q: hat are the advantages of temperature monitoring systems?
A: Introduction: Monitoring the temperature with extreme accuracy is essential to ensuring the…
Q: Organize the components of SCI according to their importance in the Software development. Justify…
A: Brief answer in second step:
Q: Provide a comprehensive explanation of the following term in the context of Enterprise-wide…
A: Answer:
Q: In a neural network, what is the underlying computational unit?
A: Introduction: The neuron, also known as node or unit, is the fundamental computational component of…
Q: During the typical process of developing a system, please explain the aims of each phase.
A: Traditional system development method : It is a formal way of constructing a system, dividing its…
Q: Do you believe that Big Data and Predictive Analytics would have been useful in the past ten to…
A: Introduction: Big data analytics is the sometimes difficult process of analyzing massive volumes of…
Q: b. Convert the following single-precision floating-point numbers into decimal numbers: 0 10000010…
A:
Q: please implement the code for password validation by considering all scenarios and run it, if it…
A: Password validation is important for security if our password hacked by someone then our personnel…
Q: 3. Formal Grammars Let us consider the following Context Free Grammar with production rules P G=…
A: Formal Language process
Q: Q1\A) Write a MATLAB program to generate the matrix (y). y = 0000 1000 2300 4560
A: Given: We have to write a matlab program to generate the matrix (y).
Q: How to run IBM SPSS
A: To download and introduce IBM SPSS Statistics Subscription, go to the IBM Marketplace and…
Q: Suppose P(x,y) is some binary predicate defined on a very narrow domain of discourse: just the…
A:
Q: Please go through the primary stages of system installation and testing.
A: Planning or requirements specify: In order to create a system with the essential components, the…
Q: Explain the Software Testing Life Cycle in terms of information technology (STLC)
A: The software Testing Life Cycle is the sequence of the specific actions performed during the testing…
Q: B) Give suitable MATLAB command for the following descriptions: 1. Generate linearly space vectors.…
A: 1. y = linspace( x1,x2 ) returns a row vector of 100 evenly spaced points between x1 and x2 . y =…
Q: Q1/Write program to find the value e^xof from the following series :- e* = 1 + ²/ 2! + + 4! 6! + +…
A: PROGRAM INTRODUCTION: Include the required header files. Start the definition of the function to…
Q: hat are some of the best techniques for managing firewalls? Explain.
A: Firewalls acts as a barrier for preventing the entry of traffic that might be intended to do some…
Q: Q4) Consider three-stage space-division switch using CLOS criteria with N=450. 1. Draw the…
A: ANSWER:- Introduction:- -Configuration diagram (in step2) number of crossbar at each stage - you can…
Q: (Java) Data fields are encapsulated with which modifier?
A: Encapsulation in Java is defined as a process of wrapping code and data together into a single unit.…
Q: Tell us about the CSMA protocol.
A: Introduction: CSMA is an abbreviation for Carrier Sense Multiple Access. Stations may detect what…
Q: Q) BEZIER CURVE PRODUCED BY BERSTEIN BASES FUNCTION HAS LIMITED FLEXIBILITY. JUSTIFY THE STATEMENT.
A:
Q: Design an Arduino based Sensor project using the concepts you've learned in this class. You must…
A: It is defined as a open-source platform based on electronics built with easy to use and replace…
Q: in a block, the mask is 255.255.192.0; what is the length of host id?
A: Given subnet mask is, 255.255.192.0 Subnet mask contains all 1's in Network id and 0's in host id.
Q: Provide 3 differences between Accessor and Mutator. PS: Please answer it correctly and less…
A: Accessor Method: This method is also known as get method or a getter and a property of object is…
Q: An instance is launched into a VPC subnet with the network ACL configured to allow all inbound…
A: Question is querying about how to allow ssh access to the instance. Giving the answer in step 2.
Q: PS: Please say the logic behind it. Thank you! 1. Create a java class Vehicle. a. The class should…
A: Code in java. import java.util.*; class Vehicle { int no_of_seats, no_of_wheels; void…
Q: When you put objects in Amazon S3, what is the indication that an object was successfully stored?
A: Answer: We need to write some point regarding Amazon S3
Q: capsulation and abstraction d
A: CORRECT ANSWER: OPTION 3 (binding and hiding respectively) SUMMARY Encapsulation binds data, and as…
Q: Identify two functional and two non-functional requirements the system should provide Identify two…
A: Customers can be registered using a valid email id.Only employees should be able to edit…
Q: abstract
A: Introduction Abstract superclass is basically a kind of programming function that is been used for…
Q: nvestigate the risks and advantages of cloud-based security. In your assessment, point out…
A: Introduction: Several dangers are associated with cloud technology and cloud service providers…
Q: THE IPV4 HEADER. Match each of the following fields in the IP header with its description, function…
A: The Computer Networks which denotes that the set of the computer devices are connected with the…
Q: What are the advantages and disadvantages of open-source and proprietary programming languages?…
A: Introduction: The following are some of the benefits and drawbacks of utilising a proprietary…
Q: In a block, the mask is 255.255.192.0; what is the length of host id?
A: ANSWER:
Q: Abstract class can be inherited Abstract class defines only the structure of the class not its…
A: A class which is declared with the abstract keyword is known as an abstract class in Java. It can…
Q: What are the primary steps in discovering why a computer isn't working?
A: Introduction: Troubleshooting is a form of critical thinking that is frequently used to repair…
Q: How does a prototype model ecplain the prototype effect?
A: Answer:
Q: I want C++ programming definition
A: The definition for C++ programming is shown in the step 2
Q: Mastermind In this assignment, you will program the well-known game Mastermind. In Mastermind,…
A: we have to make above programme which is written below
Q: Have a graphical user interface built using WPF using vis The user shall be able to choose to save…
A: Web Form Front End: <%@ Page Language="C#" AutoEventWireup="true"…
Q: How would you drop the row with NaN value in the column price? O a. O b. O C. O d.…
A: The above question is solved in step 2 :-
Q: The process of making changes to a software product after it has been delivered in order to fix…
A: Complete the system shown below: After delivery, a software product may be modified to fix bugs,…
Q: Define the different approach on how to attach
A: Q1)Define the different approach on how to attach events on Button view. Answer: There are following…
Q: Q2\ If Matrix A=[linspace(0,3,4); 0 2 1 3; 1 4 0 0; -1 -2 1 2], find the following expressions: 1.…
A: Required code given below
Q: Using switch statement, write a program that will ask the user which mathematical operation they…
A: Answer: Algorithms Step1: we have create a function name function Step2: we have message shown for…
Q: 2. Given the following table: Process P1 P2 P3 P4 Arrival Time 0 1 2 3 Burst Time 3 4 3 2 Calculate…
A:
Q: Host A sends a 1500-byte packet to Host B. What is the transmission delay (in ms) of the packe or to…
A: The answer is
Q: Which of the following best characterizes the statements: A) If n is an odd integer, then n2 + 4n…
A: So, statement A is true.
Q: I want Maple programming definition
A: A multifunctional tool for arithmetic, data analysis, visualisation, and programming is Maple. It…
Q: The efficiency of vector processors may be explained in two ways.
A: The Answer is in step2
Step by step
Solved in 2 steps with 2 images
- 1. An iron manufacturing company maintains data about all of its employees, including every employee’s name, unique ID, age, native city, contact number, the department to which she or he belongs, and gross salary. The company wants a program that can sort the employees based on their native city in order to easily trace how many employees belong to the same region. Write a program module by using ‘strcmp’ to sort all the available names of cities in an ascending order. IN C PROGRAMMING LANGUAGE AND DON’T COPY AND PASTE THE ONE HERE IN BARTELBY BECAUSE ITS DONE IN C++ AND DOESN’T SOLVE THE PROBLEM RIGHTpython help, fill in the "your response" parts Write function quoteByNum() that takes as input the name of a file (as a string) and an index i (as an integer). The file will contain quotes, one per line. The function should open the file, read the file, close the file, and return the i-th quote (i.e. the i-th line in the file), assuming that the quote numbering starts at 0. Test your solution on file Wilde_Quotes.txt.>>> quote("Wilde_Quotes.txt", 5)'At twilight, nature is not without loveliness, though perhaps its chief use is to illustrate quotations from the poets.\n'>>> quote("Wilde_Quotes.txt", 0)'A little sincerity is a dangerous thing, and a great deal of it is absolutely fatal.\n'>>> quote("Wilde_Quotes.txt", 23)'Patriotism is the virtue of the vicious. \n'>>> def quoteByNum(file, int1): your response (docstring) infile = open(file) # your response content = infile your…Use C++ In a student file, there are names and scores. Find the max score and print out the names of the students with the max score. • You must get a filename as standard input. See two sample outputs on the next page. • The number of students in the file is at most 50. • You need to make two arrays (see the next page). 1. Create a string array with size 50. The array will store the names of the students. 2. Create an integer array with a size of 50. The array will store the scores of the students.
- 3. Laramie Park District has files of participants in its summer and winter programs this year. Each file is in participant ID number order and contains additional fields for first name, last name, age, and class taken (for example, Beginning Swimming). a. Design the logic for a program that merges the files for summer and winter programs to create a list of the first and last names of all participants for the year in ID number order. b. Modify the program so that if a participant has more than one record, the participant's ID number and name are output only once. c. Modify the program so that if a participant has more than one record, the ID number and name are output only once along with a count of the total number of classes the participant has taken.Write the following program in c++.Combine your first and second name and pick only the first five characters of your name for the project.i. Declare an array named name1 and put all the first five characters into it.ii. Write a for loop with an if condition that will find and output the index value of a searched character in the array. Let the program be such that the user will input the character being searched for.Do not read directly from the example files, as the automated testing system expects you to read from the standard input. Instead, process the lines as follows: 3 - Geography Grades 3 Make a copy of your program for the problem Geography Grades 2 and change the code in such a way that your program can process multiple groups. These groups are on the input separated by ’=\n’. Every group starts with a first line that contains the name of the group and the lines after contain the information about the students in the same way as is specified for the problem Geography Grades 1. With the input 1bErik Eriksen__________4.3 4.9 6.7Frans Franssen________5.8 6.9 8.0=2bAnne Adema____________6.5 5.5 4.5Bea de Bruin__________6.7 7.2 7.7Chris Cohen___________6.8 7.8 7.3Dirk Dirksen__________1.0 5.0 7.7 The output should be: Report for group 1bErik Eriksen has a final grade of 6.0Frans Franssen has a final grade of 7.0End of reportReport for group 2bAnne Adema has a final grade of 6.0Bea de Bruin…
- 6. Write a C++ program based on the following information, by using array (submit this question in .cpp file): Number of students = 10 There are 10 marks of students to be saved Student 1: 70 Student 2: 85 Student 3: 57 Student 4: 64 Student 5: 83 Student 6: 92 Student 7: 75 Student 8: 69 Student 9: 95 Student 10: 72 Based on the above information, calculate the total of marks for all students, and thencalculate its average.using C++ In this exercise you would be using a text input file to store a number of students first and last names, and each students scores in test1, test2, midterm, final and homeworks. Now, you get all the stored in relevant arrays. Write a function that will accept all the scores and compute the average score for each student. You can pass only one student’s information at a time while calling the function. Write another function for the grade computation. Display your results with last name, first name, average score and grade for each student. Display should be on screen as well as in an output file.In a text file, I have two numbers each line. The numbers are the employee ID and the number of hours the employee work. My goal of this program is to read the both employee ID and the number of hours the employee work and print it out in the main program. If the list of employee id is not in order, sort it in order and still print it out in the main program. Additionally, after printing them out, print out the total number of employees and the total number of hours all the employee work. Write this in java For example File.txt EmployeeID Number of Hours Work 3 12 2 20 1 40 5 20 7 9 In the main program print: EmployeeID Number of Hours Work 1 40 2 20 3 12 5 20 7 9
- Problem Definition You are provided with a text file (employees.txt) containing a number of text lines. Each line contains a record of one employee. Each record has three attributes: Title: string, Prof. (Professor) or Dr. (Doctor). First and Last names: string. Salary: float number. The attributes are separated by the character (','). Figure 1.a, 1.b, and 1.c show a sample of employees.txt files. Dr., Julia Scott,141518 Prof.,Joan Stewart,111673 Mr.,Ali Al-Shukaili,122311 Prof.,Sana Al-Abri,131673 Dr.,Fadi Al-Rasdhi,153790 Ms., Salwa Al-Youssfi, 111675 Dr.,Lillian Brown,67251 Dr.,Julia Scott,141518 Prof.,Joan Stewart Dr., Daniel Cooper,153790 Dr.,Lillian Brown,unknown Dr., Daniel Cooper,153790 Dr.,Lillian Brown,67251 Dr.,Benjamin Russel1,117642 Prof.,Patrick Bailey,72305 Dr., Ralph Flores,118457 Dr., Douglas Flores,181793 Dr.:Benjamin Russell:117642 Figure 1.b: A sample of the text file 'employees.txt Figure 1.a: A sample of the text file 'employees.txt without errors Figure 1.c: A…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…The function print_last_line in python takes one parameter, fname, the name of a text file. The function should open the file for reading, read the lines of the file until it reaches the end, print out the last line in the file, report the number of lines contained in the file, and close the file. Hint: Use a for loop to iterate over the lines and accumulate the count. For example: Test Result print_last_line("wordlist1.txt") maudlin The file has 5 lines.