Write a python script that reads the file student.txt which contains the names of students. Print out "Loading the names of the students." Then print the various information found in the file. For testing write any 5 names in your file and attach your code, file, and output in the document.
Q: -39. Write SQL commands for the following: a. Create two different forms of the INSERT command to…
A: Introduction Insert Command: One may add new information to your dataset using the SQL INSERT…
Q: Examine the hosted software paradigm for enterprise software and its key appeal to small and…
A: The importance of technological connectivity in promoting team growth cannot be overstated. Teams…
Q: What is the history of the internet of things, and what are some examples of its contemporary…
A: The history of the internet of things, as well as some modern uses Early in the 1980s, Carnegie…
Q: Consider the benefits of agile software development in comparison to more formalized techniques.
A: While Agile is a general software development approach, it relies on teamwork, communication, task…
Q: Prove that, for any sets A and B, it is true that AU(ANB) = A. Hint. You must do lhs ≤ rhs and rhs…
A: Given that, A∪(A∩B)=A In this expression, the sets are A, B.
Q: Write a Python program that reads the file studentData.txt which contains the first name and last…
A: Write a Python program that reads the file studentData.txt which contains the first name and last…
Q: on the image you see Circle two examples of graphics text and highlight two examples of editable…
A: Here, above picture have blue mark circles are Graphics Graphics text : - Refers to any…
Q: Assume you have a method that needs an object of the superclass as an argument. In this situation,…
A: All non-static methods in Java are based on the runtime type of the underlying object, not the…
Q: w does the department ensure that users have access to the network when using a system that is…
A: Introduction: A staggering amount of decisions based on table data must be taken in order to move…
Q: Budget Analysis (Running Total) Write a program BudgetAnalysis.py) that asks the user to enter the…
A: Introduction An else if statement in Python is an if-else statement that allows for multiple…
Q: (Write a code in C++ Programming language)Use a vector to read 10 integer numbers, each of which is…
A: Algorithm: START Create a vector to store the numbers entered by the user. Create a counter…
Q: POWAH! UNLIMITED POWAH! Problem Emperor Palpatine has the vicious ability to shoot force lightning…
A: Refer the java code below for your above asked question:
Q: Talk about how processes and threads are scheduled and what parallels and distinctions there are…
A: Introduction: A running or active programme is referred to as a process. Each thread is a small,…
Q: How can human knowledge be "extract[ed]" such that it may be encoded into an expert system or other…
A: We must study, reason well, and like expert systems. Finance and healthcare employ expert systems.…
Q: What are the many approaches to artificial intelligence, and how do they work? Explain your…
A: Artificial intelligence approaches? There are four distinct approaches.Reactive machines restrict…
Q: Considering the past of artificial intelligence, consider its future.
A: Introduction: The future of almost every company and people on the world is being reshaped by…
Q: Type two statements that use rand() to print 2 random integers between (and including) 100 and 149.…
A: Algorithm: START Take a seed value from the user. Set the seed with the input seed value. Set an…
Q: There are several sorts of artificial intelligence that are feasible. Provide examples of how…
A: Introduction: Artificial intelligence is the emulation of human cognitive processes by a computer.
Q: xamine both the good and negative characteristics of the various system models.
A: 1. Waterfall Model: Good: Simple, easy to understand and manage, works well for well-defined and…
Q: Jubail University College Computer science Department Username Pard Coafirm Pasword Submt For the…
A: HTML code that is mentioned above: <form> <label>Username:</label> <input…
Q: QUESTION 4 The string 'abbba' will be accepted by the Turing Machine shown. O True O False q11 a;x,…
A: Given string is abbba Given Turing machine contains, Set of states= {q0, q1, q2, q3, q4, q5, q6, q7,…
Q: What additional hardware is required when the jump instruction is executed? ALU O Adder Demux Mux
A: Jump instruction is used to transfer the sequence of code into memory address through various…
Q: Question: We want to estimate the cost of painting a property. Interior wall painting cost is Rs.18…
A: Algorithm: 1. Start 2. Create variables interior_walls, exterior_walls, interior_cost, and…
Q: ORTHOGRAPHIC DRAWING 1. Draw the Top View and project down to draw the Front View then project to…
A: Answer We can draw the orthographic projections using the following steps in Autocad 1) Set the…
Q: rite a program using Python that generates the squares of numbers from 1 to 20. Store only the first…
A: Here is a program in Python that generates the squares of numbers from 1 to 20, stores only the…
Q: Due to the fact that servers on a flat network are in charge of the majority of the company's…
A: Introduction: Demilitarized zones (DMZs), which offer a degree of network isolation, ensure the…
Q: simplify the Boolean equations What are the applications of Boolean algebra?
A: SUMMARYBoolean algebra is the category of algebra where the values of the variables are logical…
Q: Which five disciplines are now regarded as the most important uses of computer graphics?
A: The five examples of computer applications that incorporate computer graphics:
Q: Figure out how to differentiate between neural networks that use recurrent and non-recurrent…
A: A neural network is a type of artificial intelligence that gives computers instructions on…
Q: Briefly describe Wavelength Division Multiplexing.
A: Wavelength Division Multiplexing is described in the below step
Q: C. Do the following arithmetic problems by underlining the reminders. Answers should be in the form…
A: As per our company guidelines, only one question will be answered. So, please repost the remaining…
Q: Language/Type: C++ collections vector STL Write the output produced by the following function when…
A: Similar to dynamic arrays, vectors may automatically adjust their size when an element is added or…
Q: Consider the benefits of agile software development in comparison to more formalized techniques
A: Answer:
Q: What does artificial intelligence's future hold? What Artificial Intelligence (Al) software packages…
A: Artificial intelligence is the simulation of human intelligence which is processed by the computer…
Q: How is the Internet of things created?
A: Define "Internet of Things" (IoT): The internet of things (IoT) is a network that connects various…
Q: To appreciate how they operate, we must first know what artificial neural networks are.
A: Artificial Neural Networks (ANNs) are a powerful tool for solving a variety of tasks, including…
Q: Interfaces provide more advantages than abstract classes.
A: In Java, abstract class and interface both are used to achieve abstraction where abstract methods…
Q: Consider possible infrastructure faults in the network. To solve network vulnerabilities, the…
A: Most network vulnerabilities are: Malware, placed on a user's computer or host server, includes…
Q: Discuss the advantages and disadvantages of using threads vs processes in the same application.
A: Start: Comparison and contrast are made between the thread and the procedure. A process is a subset…
Q: In the Software Development Life Cycle (SDLC), "requirements prioritisation and negotiation" is one…
A: Requirements prioritization and negotiation is the process of determining the importance of software…
Q: Agile and lean are the pillars of the DevOps technique. What precisely does "agile" mean?
A: Agile is an iterative approach to project management and software development.
Q: Analyze the goals of tech giants like Google, Microsoft, Facebook, Amazon, IBM, and Apple towards…
A: AI (Artificial Intelligence) refers to the simulation of human intelligence in machines that are…
Q: What is the end goal of artificial intelligence (AI) research and development? In your summary,…
A: In its most basic form, artificial intelligence, or AI, is an expansive subfield of computer science…
Q: Would you replace a PC with a tablet computerfor your studies or work? Why or why not?
A: Introduction: PC (Personal Computer): A personal computer is a computer designed for general use by…
Q: Why build AI if it's just going to sit around doing nothing? Outline the many subject areas it…
A: According to the information given:- We have to define AI, Outline the many subject areas it touches…
Q: time = 2 type Weightlifting id - 3 private false Yogal: Course time - 3 type id=4 private = true…
A: Set of all public classes booked by a customer. Which courses are in this set?
Q: Will artificial intelligence eventually make the world a different place? Do you currently make use…
A: Part(a) Artificial intelligence has grown rapidly, from self-driving vehicles to voice-activated…
Q: want to set up RSA cryptosystem in a
A: The answer is
Q: Create five potential preventive measures against cyberattacks and explain why each one is…
A: Introduction Provide five suggestions for mitigating actions that may be performed to thwart…
Q: In the future, what role will machine learning play? What Artificial Intelligence software is…
A: Artificial intelligence is no longer simply a concept from science fiction books and movies; it has…
Write a python script that reads the file student.txt which contains the names of students.
Print out "Loading the names of the students."
Then print the various information found in the file.
For testing write any 5 names in your file and attach your code, file, and output in the document.
Step by step
Solved in 4 steps with 3 images
- Write a test_book.py file. Complete the following tasks. A . Create 2 book objects with the following information “Get Started with Python”, 66.99, 100 “Get Started with Visual Basic”, 55.99, 88 B. If you have sold 10 copies of “Get Started with Python”, call sell_copies() method of object to change the quantity of the book. Display the current quantity of book on screen to verify the information is correct. C. Use pickle to save the information of the 2 books in book.dat file. write the code in python please and thank youCreate a variable containing the string “I hate Python” Turn it into a more positive string: “I love Python” using replace method and print the output Finally print out the middle letter of the new string using the len method (do not simply count the letters and print the letter without using the len() method!)Write a Python program that prompts the user to create a user account and checks whether the provided user name and password are legal. Note: a user name should start with a letter and only consists of letters and numbers. The length should be between 6 and 12; a password should start with a letter and only consists of letters, numbers and the underscore symbol "_". The length should be between 8 to. 16.
- Using Python- Read an parse the runtracker_2021.txt file to: compute the monthly totals for each month (for this we would look at the column that contains the month number) compute the overall average find the maximum and minimum run Also, have a menu with the following items, and do the appropriate thing based on the selection. 1. Total Mileage2. Monthly Mileage3. Overall Average4. Max run5. Min run6. Exit ***This is the text file that needs to be opened called runtracker_2021.txt*** year, month, day, miles ran that day, total miles, average miles 1: 2021, 01, 04, 4.35, 4.35, 4.352: 2021, 01, 05, 4.00, 8.35, 4.183: 2021, 01, 06, 4.30, 12.65, 4.224: 2021, 01, 09, 5.01, 17.66, 4.425: 2021, 01, 10, 6.36, 24.02, 4.806: 2021, 01, 12, 5.30, 29.32, 4.897: 2021, 01, 14, 5.20, 34.52, 4.938: 2021, 01, 18, 4.20, 38.72, 4.849: 2021, 01, 21, 4.20, 42.92, 4.7710: 2021, 01, 22, 4.30, 47.22, 4.7211: 2021, 01, 23, 6.50, 53.72, 4.8812: 2021, 01, 24, 5.31, 59.03, 4.9213: 2021, 01, 30, 6.71, 65.74,…Task 1: Working with the cout StatementExercise 1: Retrieve program name.cpp from the Lab 2 folder.Fill in the code so that the program will do the following:Write your first and last name on one line.Write your address on the next line (recall the function of the endl statement).Write your city, state and zip on the next line.Write your telephone number on the next line.Remember that to output a literal, such as “Hello”, you must use quotes.Compile and run the program.Example: Deano Beano123 Markadella LaneFruitland, Md. 55503489-555-5555The code for name.cpp is as follows: // This program will write the name, address and telephone// number of the programmer.// PLACE YOUR NAME HERE#include <iostream>using namespace std;int main(){// Fill in this space to write your first and last name// Fill in this space to write your address (on new line)// Fill in this space to write you city, state and zip (on new line)// Fill in this space to write your telephone number (on new line)return…write a program that displays, in ascending order,the first names of those students who have attended more than one day of the course.If there are students with the same first name, display their first and last names.
- The fields below repeat for each customer: o Customer name (String)o Customer ID (numeric integer) o Bill balance (numeric)o EmailAddress (String)o Tax liability (numeric or String) The customers served by the office supply store are of two types: tax-exempt or non-tax- exempt. For a tax-exempt customer, the tax liability field on the file is the reason for the tax exemptions: education, non-profit, government, other (String). For a non-tax exempt customer, the tax liability field is the percent of tax that the customer will pay (numeric) based on the state where the customer’s business resides. Program requirements: From the information provided, write a solution that includes the following: A suitable inheritance hierarchy which represents the customers serviced by the office supply company. It is up to you how to design the inheritance hierarchy. I suggest a Customer class and appropriate subclasses.. For all classes include the following: o Instance variables o…Make a copy of the “Debugging” folder and rename it “Task”.You will be making changes to the debugging.py file in the“Task” folder and leaving the file in the “Debugging” folder asis.● There are bugs in the code that need to be resolved. Debug the Pythoncode and ensure that you get the suggested output as outlined in thecomments at the bottom of the debugging.py file.● For each bug that you have resolved, please leave a comment identifyingthe change that you made debugging.py def print_values_of(dictionary, keys): for key in keys: print(dictionary[k]) simpson_catch_phrases = {"lisa": "BAAAAAART!", "bart": "Eat My Shorts!", "marge": "Mmm~mmmmm", "homer": 'd'oh', "maggie": " (Pacifier Suck)"} print_values_of(simpson_catch_phrases, 'lisa', 'bart', 'homer') ''' Expected console output: BAAAAAART! Eat My Shorts! d'oh! '''using python Filename for submission: bottles.py In many jurisdictions a small deposit is added to drink containers to encourage people to recycle them. In one particular jurisdiction, drink containers holding one liter or less have a $0.10 deposit, and drink containers holding more than one liter have a $0.25 deposit.Write a program that reads the number of containers of each size from the user. Your program should continue by computing and displaying the refund that will be received for returning those containers. Format the output so that it includes a dollar sign and two digits to the right of the decimal point. Don’t forget: Include a flowchart that describes your program’s operation (this will be counted as part of your grade as ‘documentation’ in the grading rubric) Sample output
- The below cod is the code that it’s mentioned in the question. Write your cod and show it in a picture, please.In python, the picture on the right is the "customers.txt" file but in picture format. I could not attach the file.Python Coding-(On Pycharm Community Edition) Create a mini-lottery with TEXT ticket. The user is going to save three numbers in a text file - those three numbers are from 1-9. In Python, create a program that reads those three numbers from the text file (ticket) Use a random number generator to draw three random numbers Compare the text ticket and the random numbers. If they match number (see below), output the prize The numbers can be in any order the random numbers can be duplicates, so be careful how you count! This work in a similar way to mini-assignment number 48 - but you DO NOT have to write to a text file. Have the user enter the numbers into the text file. Append the numbers read from the text file to a list read each number from the list and compare it to the randomly generated numbers you come up with One number match - free ticket Two numbers match - $2.00 Three numbers match - $10.00 -you don't have to complete bonus, it would be great if you could-…