1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
astra-53 [7]
3 years ago
6

Translation of a file into a coded Format that occupies less space than the original file is called

Computers and Technology
1 answer:
irina1246 [14]3 years ago
3 0
What are your choices?
You might be interested in
The following code segment is supposed to read all of the lines from test.txt and save them in copy.txt. infile = open("test.txt
alukav5142 [94]

Answer:

The line of code that should be placed is

while line:

The entire code should be as follows:

  1. infile = open("test.txt", "r")
  2. outfile = open("copy.txt", "w")
  3. line = infile.readline()
  4. while line:
  5.    outfile.write(line)
  6.    line = infile.readline()
  7. infile.close()
  8. outfile.close()

Explanation:

The Python built-in function <em>readline() </em>will read one line of text from <em>test.txt</em> per time. Hence, the code in Line 3 will only read the first line of text from <em>test.txt</em>.

To enable our program to read all the lines and copy to <em>copy.txt</em>, we can create a <em>while </em>loop (Line 5) to repeatedly copy the current read line to <em>copy.txt </em>and proceed to read the next line of text from<em> test.txt </em>(Line 6 -7).

"while line" in Line 5 means while the current line is not empty which denotes a condition of True, the codes in Line 6-7 will just keep running to read and copy the text until it reaches the end of file.

5 0
3 years ago
Which feature of a typical professional networking site helps users add professional details to their profile ?
ludmilkaskok [199]
All I  could find are networking cites allow people to take pics of themselves for a personal effect! hope this is what your looking for.
7 0
3 years ago
Read 2 more answers
Dr. Collins has a personal website where he encourages his students to solve questions and discuss topics he taught in class. Wh
joja [24]

Answer:

the answer is c i believe?

Explanation:

4 0
3 years ago
Read 2 more answers
What is character encoding?
andrew11 [14]

Answer:   A character encoding provides a key to unlock (ie. crack) the code. It is a set of mappings between the bytes in the computer and the characters in the character set. Without the key, the data looks like garbage. The misleading term charset is often used to refer to what are in reality character encodings.

Explanation:

4 0
3 years ago
EX 3.8 Write code to declare and instantiate an object of the Random class (call the object reference variable rand). Then write
densk [106]

Answer:

Following is given the code step-by-step with all necessary decsription as comments in it. I hope it will help you!

Explanation:

4 0
4 years ago
Other questions:
  • The mouse and keyboard are also sometimes called
    5·1 answer
  • What can web designers use to control the individual web page layouts for all of the pages on a website?
    9·1 answer
  • The rmdir command (with no options) can only remove empty directories <br> a. True <br> b. False
    14·1 answer
  • Define reverse engineering in hacker context
    15·1 answer
  • Which enables users to try an application before they commit to buying it?
    14·2 answers
  • "Most of us know that when we come into a college classroom, we will see desks and chairs, a computer station and a projector. A
    6·1 answer
  • What symbol do you use to choose a feature for your notes on Notion?
    8·1 answer
  • What kind of graphic can be resized without losing image quality?
    9·2 answers
  • A major concern about ESP claims is that proponents explain both the positive and negative findings. By explaining the negative
    14·1 answer
  • All of the following are likely to be the benefits of a college graduate except:
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!