MIS 505 Week 3 Quiz.docx - Question 1 5 5 pts(TCO B What...

This preview shows page 1 - 4 out of 6 pages.

Question 15 / 5 pts(TCO B) What type of variable is not used for input or output but, instead, is just a working variable that you use during a program's execution?ProgrammingThrow awayCorrect!TemporaryCalculating
Chapter 2, page 73Question 25 / 5 pts(TCO C) When the first letter of a variable name is uppercase, as in HourlyWage, the format is known as what kind of casing?
Chapter 2, page 45Question 35 / 5 pts(TCO B) The process of breaking down a large program into modules is called
Chapter 2, page 52-61Question 45 / 5 pts(TCO B) Programmers refer to programs that contain meaningful names as what?
Chapter 2, page 71 Question 55 / 5 pts(TCO B) The major difference between the two main programming styles in use today isuse of flowcharts versus pseudocode.testing procedure used by the programmer.Correct!focus the programmer takes during the earliest planning stages of a project.programming language used.
Chapter 1, page 29
Question 6Not yet graded / 20 pts(TCOs A-C) Describe the function of a compiler and interpreter.Your Answer:After a computer program is stored in memory, it must be translated from your programming language statements to machine language that represents the millions of on/off circuits within the computer. Each programming language uses a piece of software, called a compiler or an interpreter, to translate your program code into machine language. Machine language is also called binary language and is representedas a series of 0s and 1s. The compiler or interpreter that translates your code tells you ifany programming language component has been used incorrectly. Syntax errors are relatively easy to locate and correct because the compiler or interpreter you use highlights every syntax error. If you write a computer program using a language such asC++ but spell one of its words incorrectly or reverse the proper order of two words, the software lets you know that it found a mistake by displaying an error message as soon as you try to translate the program. Compilers don't always know exactly what you mean, nor do they know what the proper correction should be, but they do know when something is wrong with your syntax.Although there are differences in how compilers and interpreters work, their basic function is the same—to translate your programming statements into code the computercan use. When you use a compiler, an entire program is translated before it can execute; when you use an interpreter, each instruction is translated just prior to execution. Usually, you do not choose which type of translation to use—it depends on the programming language. However, there are some languages for which both compilers and interpreters are available.An advantage of a compiler is that the program code is already translated into machine

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture