Wednesday, January 16, 2013

PTI - Chapter 13

1. T
2. T
3. F
4. F
5. T
6. F
7. F
8. F
9. F
10. F

Multiple Choice
1. B
2. C
3. C
4. A
5. A
6. C
7. D
8. B

2. d
3. j
4. i
5. c
6. e
7. a
8. b
9. f
10. h

Short Answer
1. A compiler is a computer program that transforms source code written in programming language into another computer language.
    An interpreter is a computer program that executes performs, instructions written in a programming language.
   The advantage of an interpreter : Interpreters are useful for program development when execution speed is not important. As the interpreter is in command of the execution process debugging features can be build in. 
   The disadvantage of an interpreter :  Interpreters normally translate and execute programs line by line, converting each program statement into a sequence of machine code instructions and executing these instructions without retaining the translated version. 

2.  Major benefit of OOP :
     - software objects model real world objects, so the complexity is reduced and the program structure is very clear
     - each object forms a separate entity whose internal workings are decoupled from
other parts of the system

    RAD (rapid application development) is a method of developing software, in which a programmer writes and implements a program in segments instead of waiting until the entire program is completed.

3. A code editor, a compiler, a debugger, and a graphical user interface (GUI) builder is included in an integrated development environment.

    The programming languages in the Visual Studio suite is any programming language that lets users create programs by manipulating program elements graphically rather than by specifying them textually.

4. XML is used in many aspects of web development, often to simplify data storage and sharing.
    Two applications of XML : 
     - RSS 2.0 : stands for really simple syndication
     - ATOM : specificator that content aggregators use to distribute content to subscribers.

5. In documenting the solution, the programmer performs two activities :
       1. review the program code
       2. review all the documentation

    Proper documentation greatly reduces the amount of time a new programmer spends learning about existing programs.

No comments:

Post a Comment