Discuss the subsequent questions relative to compilers:
a. Which phase of a compiler could 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?
What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?
Explain the difference between the role of a program analyst and the role of a system analyst.
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, will 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.