Help, please!! A file named "games.txt" exists and has 80 lines of data. You open the file with the following line of code. aFile = open("games.txt", "w") You write two lines to the file in the program. How many lines are in the file when you close your file?
A. 2
B. 82
C. 80
D. 0

Answers

Answer 1

Answer:

2

Explanation:

Edge 2021

Answer 2

The number of  lines are in the file when you close your file is 82 lines. Hence option B is correct.

What is program?

Program is defined as a series of instructions written in a programming language that a computer may follow. Software, which also contains documentation and other intangible components, comprises computer programs as one of its components.  Programs are collections of instructions that a computer follows.

The line, character, word, and byte counts of a file can be discovered with the wc program. To count the number of lines, we add the -l option to wc. This will provide the file's name and the total amount of lines.

Thus, the number of  lines are in the file when you close your file is 82 lines. Hence option B is correct.

To learn more about program, refer to the link below:

https://brainly.com/question/3224396

#SPJ2


Related Questions

30 POINTS! PLEASE ANSWER QUICK!!!
When coding in html, do you put [tex]<[/tex]html[tex]>[/tex] or [tex]<[/tex]!DOCTYPE html[tex]>[/tex] first?
Does it matter?

Answers

Answer:

your doctype comes first.

Explanation:

The first thing you should make sure to have in any HTML document you create is a "document type definition (DTD)" declaration.

it defines what elements and attributes are allowed to be used in a certain flavor of HTML

When students have computer trouble they usually are expected to *limited time help*​

Answers

Answer:

A.

Explanation:

Answer:

a

Explanation:

i just did the quiz

Whether it’s a prokaryotic or a eukaryotic cell, all cells contain what material? Just a quick note I need help plz

Answers

Answer:

All cells contain a mitochondria

Explanation:

It helps in cell respiration.

Which of these jobs would be most appropriate for someone who majors in information technology? A)developing new computing technology that will someday improve network speeds B) managing a database for a large department store C)managing the computer network for a large department store D)designing the hardware for a military helicopters on board computer

Answers

Answer:

B) managing a database for a large department store

C)managing the computer network for a large department store

Explanation:

An individual who majors in Information Technology is considered to be a professional with varying knowledge in the area of computers, networking, databases, and security. Such an individual is considered to be an expert in the area of database management, integration of software, and computer network optimization.

Hence, the most appropriate jobs for someone who majors in information technology is both options B and C

Answer:

C - Managing the computer network for a large department store

Explanation:

Information technology is to help. It can't be B because information system is storing stuff aka database.

How do device drivers vary in complexity?​

Answers

i wanna know so bad i can’t wait till someone answers

What is the difference between the two worlds of video games identified in the video as Core video games and casual video game?

Answers

Answer:

Core videogames are more explicit.

Casual videogames are less explicit.

Answer:

The core is a lot of money

The casual is less of money

pretty sure

Explanation:

What can you do to manually exclude an individual from a recipient list?
O Add a new source list to the document without the recipient.
O Filter the recipients using a specific city or a specific ZIP code.
O Remove the check mark next to the person in Mail Merge Recipients.
O Delete the placeholder address block on the document's preview page.

Answers

Answer:

Remove the check mark next to the person in Mail Merge Recipients

Answer:

Option three/letter C.

Explanation:

3.
The process of displaying the information from the table is called
a. Query
Form
b. Report
. d Wizard
00​

Answers

Explanation:

the process of displaying the information from the table is called query

hey friend your answer is here I hope it will be helpful you please mark as brainiest answer thank you

Shelby likes to play video games on an old Atari video game system. No matter how old the cartridge, when she inserts it into the Atari console to play the game loads right away. What type
of memory is responsible for this process?
O Hard drive
O RAM
OROM
Storage

Answers

Answer:

ROM (Acronym of Read-only memory. (video games))

Explanation:

Answer:

hard drive

Explanation:

hard drive hope this helps

Part B
Identify the storage formats of audio and video files. How do they differ from each other?

Answers

Answer:

uncompressed audio formats, such as WAV,AOFF AU, or raw header- less PCM;

Formats with lossless compression, such as FLAC Monkey's Audio extension.

1) differentiate between Tittle and caption
2) write down the step to insert any media in your project ​


please help me guys

Answers

Answer:

The difference and the steps to insert media in the project can be defined as follows:

Explanation:

Title:

The title is a document, that defines the object that is legally operated.  

Caption:

The Caption is also known as the title or the heading, which described the words on a screen, that conveys the message, that is being said.

Difference:

The titles will be assigned to the starting of the clip,  that selects, and charges will be applied to the project at the end.  The caption may also be applied as a text to a specific clip for the reason.

Step to insert any media in the project:

Choose the preferred location to insert your media.  Tap on the top of the insert Tab.      Choose the desired media form.  after selecting your desired media, click on the insert button, at this, the media will be inserted.

Generally, a business should consider insuring against an event when the risk value is _____.

Answers

Answer:high

Explanation:apex

Answer:

Generally, a business should consider insuring against an event when the risk value is High.

Which tool is used to create the World Wide Web

Answers

Answer:

Hypertext Markup Language (HTML) is the standard markup language for creating web pages and web applications. With Cascading Style Sheets (CSS) and JavaScript, it forms a triad of cornerstone technologies for the World Wide Web.

Answer:

please include the answers so we can choose which one. if you ask only the question you will get the wrong answer

Explanation:

Which IT job role would most likely direct the activities of the Web development team in a large organization?This task contains the radio buttons and checkboxes for options. The shortcut keys to perform this task are A to H and alt+1 to alt+9. A Website manager B Website designer C Website analyst D Web application developer

Answers

Answer:

A. Website manager

Explanation:

A Website Manager role involves the planning and design of the website architecture, provide information technology specialist skills to assist the organization to maintain their website, by enduring the proper functioning of the website as well as follow up on the performance of the website. Organizational web hosting and web server management, website maintenance and content update are some of the activities of the website manager.

Other responsibilities includes to provide leadership, guidance and mentoring to the organisations website programmers and website designers.

What is the component on the motherboard that confirms all devices are in working order once the computer is turned on

Answers

Answer: The Bios Chip

Explanation:

The Bios chip called Basic Input Output System is a  computer's micro processor, a component on the motherboard  that helps to start and set up  computer system after it is  turned  on using a  Flash memory which is a type of ROM. The essential process of the Bios chip is to ensure the operating system of the computer boots and loads successfully after the system setup process confirming that all the computer drivers devices are in good working conditions.

1. Which component is an input device?
CPU
b. hard drive
mouse
d. printer
e. RAM

Answers

an input device would be anything you would use to change certain functionality, for instance a Mouse or Keyboard is an input device because it helps you input letters or clicks into the computer.

If you cannot find the CD with the device driver when installing a new piece of hardware what option should you try
A.see if the device is available
Online
B. As the company to send you the CD
C alter the device driver from similar hardware
D.Use the hardware without a device driver

Answers

Answer:

i think it is a not sure though

Explanation:

Answer:

I really would go with C

Which is an example of an incremental approach to solving a problem?

Answers

Explanation:

One of the things I’ve been writing and talking about a lot lately is the fact that solving problems collaboratively is an incremental process. In fact, in my book, Lost at School, I made mention of the fact that the model could just as easily have been called Incremental Problem Solving or Progressive Problem Solving. I thought the collaborative aspect of the model was the most important to emphasize, but that doesn’t mean that the incremental component isn’t almost as crucial. Often people who are new to the model enter the process of resolving a problem as if it’s a one-shot deal. If you have experience in using Plan B, you already know that most problems require more than one visit to Plan B to resolve. In other words, longstanding, complicated problems aren’t likely to be resolved the first time you try to discuss them. There’s a lot of information to be processed before a given problem can be solved. You need to gather information so as to achieve the clearest possible understanding of the kid’s concern or perspective on the problem (for the unfamiliar, that’s called the Empathy step). Then, you need to be clear about and articulate your own concern (that’s the Define the Problem step). Then, you’ll want to brainstorm with the kid so as to consider the array of potential solutions that could be applied to the problem and consider whether each solution truly addresses the concerns of both parties (that’s the Invitation). There’s a good chance you won’t even make it through all three steps of Plan B in the first attempt on a given unsolved problem (nor should you necessarily even try). If Plan B were a “technique,” then disappointment over not making it through all three steps in one conversation would be understandable. But Plan B is not a technique, it’s a process. As I’ve often emphasized, if you only make it through the Empathy step in the first attempt at Plan B on a given problem but you emerge with a clear sense of a kid’s concern or perspective on a problem that’s been causing significant angst or conflict, that’s quite an accomplishment. You’ll get back to the remaining steps at your earliest opportunity. There’s also an excellent chance the first solution you and the kid agree on won’t solve the problem durably. As you may know, this is usually because the original solution wasn’t as realistic and mutually satisfactory as the two parties first thought. But it could also be because the concerns weren’t as clear or simple as it first seemed. If a solution doesn’t stand the test of time, your goal is to figure out why, which means gathering additional information about the concerns of the two parties and why the solution may not be working so well. Plan B should always conclude with both parties agreeing to return to the problem if the solution being agreed upon doesn’t solve the problem durably. So if your enthusiasm for Plan B waned because your first solution didn’t stand the test of time, take heart: that’s not unusual. Many people enter Plan B with great hope, eager to see their new approach to helping a challenging kid pay quick dividends. In fact, Plan B may well pay quick dividends…not necessarily because the problem is yet durably solved, but because of the relationship- and communication-enhancing that occurs. And while the occasional problem – often simple ones – can be resolved with one visit to Plan B, now you know that several repetitions of Plan B may be necessary on each unsolved problem. Thanks for reading.

What is Chromolithography and did it help logo design?

Answers

Answer:

Yes, Chromolithography help logo design. The further explanation is given below.

Explanation:

Chromolithography would be a process by which multi-color designs or prints are made. This style of color printing originated from those in the lithography procedure, and now it encompasses a variety of color-printed lithography. A printing technology procedure that uses completely separate printing utensils to add each color of the components.

And the above response is the right one.

100+100+100+4/6+15+20=

Answers

The answer is 324.6 I hope that it helps if not I am so sorry ❤️

Answer:

335.7

Explanation:

you would get this 100 + 100 + 100 + (4 / 6) + 15 + 20 =  

335.666666667 so then you have this 335.66 and the 6 is higher than 5 so the other 6 will be a 7 so you get 335.7

Remote access connections must be secured using authentication and encryption software. ______ software confirms the identity of the user or computer system.

Answers

Answer:

Authentication

Explanation:

Remote access connections must be secured using authentication and encryption software. Authentication software confirms the identity of the user or computer system.

does know how to connect a printer to a phone my printer is a canon pixma mg3122 and i don't know how to use it can somebody plz help me

Answers

Answer:

Confirm that the power of the printer is on and the Bluetooth (Bluetooth) indicator is lit in blue.  If not, press and hold the Power (Power) button to turn the printer on, and then press and hold the Bluetooth (Bluetooth) button.

Use your mobile device to display the list of nearby Bluetooth accessories that your device can pair with.

For Apple devices (iPad, iPhone, iPod touch, etc.)

From the home screen of your Apple device, tap [Settings], and then tap [Bluetooth].

For Android™ devices

From the home screen of your Android™ device, tap Apps button, tap [Settings], and then tap [Bluetooth].

Slide the toggle button to the [ON] position.

Select your printer’s model name and, if required, enter the passkey (PIN code).

Hope this helped you!

Explanation:

Making sure that your business has something special and distinct to offer is known as?

Answers

Differentiation. That’s the answer.

How is counting in this circle and square system similar to how we count in our regular lives? How is it different?

Answers

Answer:

1.  Counting in this circle and square system is similar to how we count in our regular lives because it obeys agreed-upon rules

2. On the other hand, counting in this circle and the square system is different to how we count in our regular lives because it utilizes shapes instead of numbers

Explanation:

Circle Square Pattern of counting is a form of counting that is similar to the binary structure but has distinct rules for sorting shapes. It involves the development of all possible messages with three-place values, with other distinct created rules that illustrate how it sorted each message.

Hence, in this case, the correct answers are:

1.  Counting in this circle and square system is similar to how we count in our regular lives because it obeys agreed-upon rules

2. On the other hand, counting in this circle and the square system is different to how we count in our regular lives because it utilizes shapes instead of numbers

What is a programming language?
A language used by application software developers to create instructions for the computer to use to run the application software
B a language used by television programming specialties
C a language used by inventors to create new hardware for computers
D a language used to tell a computer how to program itself

Answers

The answer is letter A

Answer:

A. language used by application software developers to create instructions for the computer to use to run the application software

Explanation:

Quiz Verified

Which career would be most likely to work directly with end-users?

Answers

Answer:

help desk specialist

Explanation:

Help desk specialists work directly with end users to support them.

Answer:

help desk specialist

One issue with the classical viewpoint is that it tends to view humans as cogs in a machine, thereby rendering it overly _____.

Answers

Answer:

The correct solution will be "mechanistic".

Explanation:

A way of thinking which suggests that perhaps the behavior of complicated processes, including certain individuals, societies, as well as financial systems, is exclusively influenced by that of the interrelationships including its components or considerations of which they would be made up.These are aimed at keeping open the processes' black boxes through learning how the various parts operate effectively.

why is it important to be part of a team in times you fail and in times you succeed?​

Answers

Answer:

well you will feel better when you lose and have a better time winning with friends?

Explanation:

Which principle of CSR requires that a business state facts fully and accurately?

Answers

Answer: transparency

Explanation:

PLEASE HELP GIVING 25 POINTS Sophia is leading a project to help clean up a local river in her area. She creates an online forum where participants can communicate with each other and read the goals of the project. She encourages people to post ideas on this forum and sets up weekly web-conferencing meetings to move the project along. Which qualities show that Sofia is an effective digital leader? Check all that apply. She holds useful online meetings. She encourages collaboration. She pursues her own ideas. She is comfortable with technology. She waits for others to take the lead. She takes action to complete the job.

Answers

Answer:

Sophia holds useful online meetings ...

Explanation:

Give brainly, sister.

Answer:

1 2 4 6

Explanation:

edge 2021

Other Questions
Fats are major components of the cells ____. a. membranes b. cytoplasm c. DNA d. ribosomes e. proteins Solve the equation using the Properties of Equality. What were Agent Orange and napalm? Which characteristic is shared by extrusions, intrusions, and faults?OAll are cracks.All are igneous rocks.O All cause gaps in the geologic record.All are younger than surrounding rocks. How did settlers of the 1800s affect the land in the Blue Ridge region? Jeffersons reasoning is valid, but what could be added to the minor premise to strengthen the conclusion that revolution is necessary? Read the activities listed in each box. Find out the activity that doesnt belong and replace it with the name of an appropriate one.1. cantarbailarusar la computadora 2. jugar al ftbolpintarjugar al bisbol3. ver una pelculajugar al baloncestotomar fotos 1. Cambio usar la computadora por .2. Cambio .3. Cambio A conclusion may be stated a. immediately after the problem has been identified. b. after obtaining the results of an experiment. c. only after an experiment has been run over and over again to ensure accuracy. d. after several qualified scientists agree. Santo Corporation declares and distributes a cash dividend that is a result of current earnings. How will the receipt of those dividends affect the net income of the investor under each of the following accounting methods? Fair Value Method Equity Methoda. No Effect Decreaseb. Increase Decreasec. No Effect No Effectd. Increase No Effect A submarine is cruising at 25m below sea level. It descends 15m. What is the new depth? the purpose of the constitution is presented in Match the term with the definition. Match Term. Definition Condensation A) A phase change from a solid to a gas Evaporation B) A phase change from a liquid to a gas Sublimation C) A phase change from a liquid to a solid Freezing D) A phase change from a gas to a liquid George bought a $300,000 whole life policy when he was employed as a bank teller. Four years later, he changes jobs and begins working in a coal mine. If he is killed while working in the mine, what will the insurer do? The process of digging a site includes _______________ a. carefully recording the location of artifacts. b. accurate descriptions of the artifacts. c. noting the relation of the object to other objects. d. all of the above. [tex]2(x + 7) + 10[/tex]A. Two times the sum of x and seven plus tenB. Two times the difference of x and seven plus tenC. Two times x minus seven plus tenD. Two times x plus the sum of seven and ten Which explanation best describes why the author uses the phrase "a gross exaggeration" in paragraph 1? to clear up confusion about an issue to show that the problem can be solved to emphasize new information about the issue to reduce the seriousness of the problem A zoo is creating a new fenced living area for its tortoises. The zookeeper estimates that they will need a space that is about 40 feet by 50 feet to accommodate the animals. Which type of formula should the zoo use to determine how much fencing they will need to construct the pen? a.) Volume b.) Perimeter c.) Profit d.) Area Which of the following statements is true of personnel management during the 1930s and 1940s?a. It was concerned almost exclusively with hiring first-line employees. b. It was concerned solely with structuring individual jobs to maximize efficiency and productivity. c. It was considered a function of line managers. d. It was seen as a critical function in most business organizations. three examples of grammatical ambiguitytypes of ambiguity and their examples Samantha has $48 to spend on used video games. Single player games cost $6 each and multi player games cost $12 each. What equation, in standard form, determines the number of single player games (x) and the number of multi player games (y) Samantha can buy?