Discuss the following questions relative to compilers which


1. Discuss the following questions relative to compilers:

a. Which phase of a compiler would give you a syntax error?

b. Which phase complains about undefined variables?

c. If you try to add an integer to a character string, which compiler phase would emit the error message?

2. What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you choose to use an interpreted language?

3. Describe in your own words the difference between the role of a system analyst and the role of a program analyst.

4. A station running TCP/IP needs to transfer a file to a host. The file contains 1024 bytes. How many bytes, including all of the TCP/IP overhead, would be sent assuming a payload size of 128 bytes and both systems are running IPv4. (Also assume that the three-way handshake and window size negotiation have been completed and that no errors occur during transmission.) What is the protocol overhead (stated as a percentage)?

Request for Solution File

Ask an Expert for Answer!!
Theory of Computation: Discuss the following questions relative to compilers which
Reference No:- TGS01561223

Expected delivery within 24 Hours