Thursday, January 17, 2013

PTI Assignment

Discovering Computers 2011 - Living in a Digital World
Chapter 13
For Mr. TriDjoko Wahjono


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

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

Matching
1. G   6. E
2. D   7. A
3. J   8. H
4. I   9. B
5. C   10. F

Short Answer
1. - A compiler takes all the code and translates it into something a computer can understand, while and interpreter takes code and translates it line by line.
    ->Advantages : Useful for program development when execution speed is not important (the debugging features can be build in), Debugging is easier, no lengthy compile time.
     >Disadvantages : Usually slower in execution, no object code is produced.
2. - simplicity, modularity, modifiability, extensibility, maintainability, re-usability.
    - a software development methodology that uses minimal planning in favor of rapid prototyping.
3. - IDE Provides comprehensive facilities to computer programmers for software development (source code editor, build automation tools, and a debugger).
    ->Visual Basic : allows programmers easily to build complex task-oriented object-based programs.
     >Visual C++ : object-oriented programming language that enables programmers to write Windows, Windows mobile, and .NET applications quickly and efficiently.
     >Visual C# : combines programming elements of C++ with and easier, rapid development environment.
4. - Defines a set of rules for encoding documents in a format that is bot human-readable and machine-readable.
    ->DOM : A cross platform and language-independent convention for representing and interacting with objects in HTML, XHTML, and XML documents.
     >SAX : An event-based sequential access parser API developed by the XML-DEV mailing list for XML documents.
5. - Reviews program code (removes dead code, program instructions that program never executes), Reviews documentation.
    - To make the programmer easier if there are changes in software.

No comments:

Post a Comment