Design a program that opens the my_name.dat file that was created by the algorithm in question 1,
Question:
Design a program that opens the my_name.dat file that was created by the algorithm in question 1, reads your name from the file, displays the name on the screen, and then closes the file.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 50% (6 reviews)
Python def readname with openmynamedat r as file name fileread printname readnameThis program first ...View the full answer
Answered By
Muhammad Salman Alvi
Well, I am a student of Electrical Engineeing from Information Technology University of Punjab. Just getting into my final year. I have always been good at doing Mathematics, Physics, hardware and technical subjects. Teaching profession requires a alot of responsibilities and challenges.
My teaching experience started as an home tutor a year ago. When I started teaching mathematics and physic subjects to an O Level student. He was about 14 years old. His name was Ibrahim and I used to teach him for about 2 hours daily. Teaching him required a lot of patience but I had to be polite with him. I used to give him a 5 min break after 1 hour session. He was quite weak in basic maths and calculation. He used to do quite a lot of mistakes in his homework which I gave him weekly. So I decided to teach him basics from scratch. He used to say that he got the concept even if he didn't. So I had to ask him again and again. I worked on his basics for a month and after that I started taking a weekly test sesions. After few months he started to improve gradually. Now after teaching him for about a year I can proudly say that he has improved alot. The most important thing was he managed to communicate all the difficullties he was facing. He was quite capable and patient. I had a sincere desire to help him reach to its full potential. So I managed to do that. We had a very good honest relationship of a student and a teacher. I loved teaching him as a tutor. Now having an experience of one year teaching I can read students quite well. I look forward to work as an online tutor who could help students in solving their all sort of difficulties, problems and queries.
4.90+
29+ Reviews
43+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
You are required to write a Python program that will manage character (heroes and villain) information. Character (hero and villain) information will be stored in a text file that will be read in...
-
Design a program that opens an output file with the external name my_name.dat, writes your name to the file, and then closes the file.
-
In this assignment, you are writing a program that converts common texting abbreviations to English words to allow people like yours truly can understand. For the assignment, you are provided with a...
-
Consider the following NLP problem: Maximize 2Xi + X2 - 2X3 + 3XiX2 + 1X subject to the constraints (a) Set up and solve the model by using Solver. Use a starting value of zero for each decision...
-
Red Corporation, which owns stock in Blue Corporation, had a net operating income of $400,000 for the year. Blue pays Red a dividend of$60,000. Red takes a dividends received deduction of $48,000....
-
Montana Pen Company manufactures a full line of premium writing instruments. It has 12 different styles and within each style, it offers ball point pens, fountain pens, mechanical pencils, and a...
-
Predict which specialized voice services a person is likely to purchase from their local telecommunications provider.
-
A venture capitalist firm wants to invest $1.5 million in your NYDeli internet venture that you started six months ago. You do not expect to make a profit until Year 4 when your net income is...
-
Sun Corporation received a charter that authorized the issuance of 83,000 shares of $4 par common stock and 21,000 shares of $125 par, 6 percent cumulative preferred stock. Sun Corporation completed...
-
A gear reduction unit uses the countershaft shown in the figure. Gear A receives power from another gear with the transmitted force FA applied at the 20_ pressure angle as shown. The power is...
-
Design an algorithm that does the following: opens an output file with the external name number_list.dat, uses a loop to write the numbers 1 through 100 to the file, and then closes the file.
-
True or False In most languages, when you open an output file and that file already exists on the disk, the contents of the existing file will be erased.
-
Presented below is a combined single-step income and retained earnings statement for Sandy Freewalt Company for 2008. Additional facts are as follows. 1. Selling, general, and administrative expenses...
-
Change the session date to July 8, 2024. Create shortcuts or change modules and enter the following transactions. NOTE: Deposits and withdrawals, except credit card transactions, use Bank: Chequing...
-
Determine the intervals on which the function f(x) = 1 x + 2/3 4 3 -x - 1 2 - -2x is increasing and the intervals on which it is decreasing. f(x) is increasing for x = (-2, -1) U (1,) and decreasing...
-
Read the buret (burette) volume and report your reading with the proper number of digits. Number 3.2 mL mL 0 10 15 46 20 25 30 35 47 40 48 Incorrect.
-
TCP Congestion Control using Wireshark and testmy.net. Identify the IP Address, Protocol (UDP or TCP), Destination and Source IP Address, and IP Class Type (A-D).
-
Charley & Waldo's World of Wonder is a science-oriented children's museum. The museum has a "free" section where children have unlimited use science oriented exhibits and a premium section where...
-
The Town of Canterbury accounts for debt service related to its $25,000,000 face value, 5% general obligation term bonds, issued October l, 2013, in a debt service fund. The Town's accounting year...
-
Pearson Education, a publisher of college textbooks, would like to know if students prefer traditional textbooks or digital textbooks. A random sample of students was asked their preference and the...
-
What type of object do mouse listener and mouse motion listener methods accept? What methods do these types of objects provide for determining a mouse cursors location?
-
What interface would a listener class implement to handle a mouse click event? A mouse press event? A mouse dragged event? A mouse release event? A mouse move event?
-
True or False: Applets can retrieve information about the users system or the users identity.
-
3 fiancial factors of singpore post limited during 2015 to 2020
-
Hello! Please help me answer this financial question: 1) A portfolio manager adds a new stock that has the same standard deviation of return as the existing portfolio but has a correlation...
-
8. Summarize the Tuckman readings on interest drift and volatility.
Study smarter with the SolutionInn App