Question

In: Computer Science

A language that is interpretted can be distinguished from a purely compiled language in that... (select...

A language that is interpretted can be distinguished from a purely compiled language in that... (select all that apply)

a

it requires another program to run the source code at run time.

b

the source code is translated into another language.

c

the source code can be used, unmodified, to run the program.

d

interpretted code can be run directly on the CPU, generally.

Solutions

Expert Solution

Answer) (A) Option (A) is correct

It requires another program to run the source code at run time.

In the case of Interpreted language code is executed line by line. It makes use of another program called interpreter is used to read and execute the code. Whereas, in the case of Complied languages directly convert the code into machine code with the help of the target machine and do not require a different program.

Option (b) is incorrect. Because the interpreted code is executed with the help of interpreter which executes convert the code into instruction and then executes it line by line. Whereas in case of compiled language convert the code into machine language which processor can understand and can execute directly.  

Option (c) is also incorrect because we can modify the interpreted code as it is executed line by line so we can make modify the code in between in case of an interpreted language. This is not possible in case of compiled language which is executed in one go.

Option (d) is also incorrect because interpreted code can not run directly on the CPU because it is executed line by line. Whereas, compiled code can run directly on the CPU


Related Solutions

Explain how Java is both a compiled and interpreted language.
Explain how Java is both a compiled and interpreted language.
How can an external audit engagement be distinguished from the following other engagements: a) Review engagement;...
How can an external audit engagement be distinguished from the following other engagements: a) Review engagement; b) Agreed-upon procedures; and c) Compilation
What is “labor power?” How is it distinguished from "labor?"
What is “labor power?” How is it distinguished from "labor?"
How can cis- and trans- acting regulatory elements be distinguished?
How can cis- and trans- acting regulatory elements be distinguished?
1. What are overheads and how is it distinguished from prime costs?
  1. What are overheads and how is it distinguished from prime costs? 2. Why is a predetermined overhead rate calculated? 3. How do you apply the predetermined rate to an actual job? 4. What is under and over absorbed overhead?
Choose all that apply. Solids, liquids, and gases can be distinguished by their? A. Molecular Level...
Choose all that apply. Solids, liquids, and gases can be distinguished by their? A. Molecular Level B. Shape C.Temperature D. Kinetic Energy E. Mass F. Density
The diasteromers of 4-t-butylcyclohexanol that you make can be distinguished by the splitting patterns of the...
The diasteromers of 4-t-butylcyclohexanol that you make can be distinguished by the splitting patterns of the proton attached to the carbon bearing th OH group. This is due to the fact that the H that is axial is a triplet of triplets because it is coupled to to sets of non-eqivalent protons, while the equatorial H is coupled to 4 equivalent hydrogens and is a pentet. True False??
How is contribution from atomic emission distinguished from the singal for atomic absorption in atmoic absorption...
How is contribution from atomic emission distinguished from the singal for atomic absorption in atmoic absorption spectroscopy?
1. Is RNA distinguished from DNA by solubility, cellular location, 2’ OH on the sugar, or...
1. Is RNA distinguished from DNA by solubility, cellular location, 2’ OH on the sugar, or number of phosphates? 2. Is mRNA used to make proteins, make more RNA, copy DNA, or make ribozymes? 3. Do enzymes evolve to bind transition state, substrates, products, or ATP? 4. In RNA, is uracil substituted for adenine, cytosine, guanine, or thymine? 5. Are proteins synthesized by the golgi, ribosomes, the ER, or nucleus?
What is schizophrenia? How is it diagnosed? How is schizophrenia distinguished from other disorders within the...
What is schizophrenia? How is it diagnosed? How is schizophrenia distinguished from other disorders within the schizophrenic spectrum?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT