Solution Manual for Introduction to Mechatronic Design Do Not Circulate
Chapter 4 Programming Languages
4.1) Describe the differences between an interpreter and a compiler.
An interpreter interprets (that is, extracts the meaning of the programmer) from every line of a program just
4.2) Explain how this line of BASIC code tests the state of bit 2:
10 IF ((V/4)-((V/8)*2)) = 1
4.3) True or False: It is easy to improve the performance of a program written in an interpreted language by
selectively coding in assembly language.
4.4) True or False: Assembly language is considered a high-level language.
4.5) When is the meaning of a compiled program converted into actions?
4.6) True or False: Assembly language and machine language are synonymous.
False. While it may be a common usage, it is sloppy to treat these two terms as synonymous. Assembly
4.7) Which of the languages described in this chapter was designed to teach programming?