Answers to Self Review Exercises


a) machine. b) programs. c) secondary storage unit. d) assembly languages, high-level languages. e) compilers. f) Integrated Development Environment (IDE). g) UNIX. h) Framework Class Library (FCL). i) multitasking. j) XML, SOAP.


a) False. The UML is used primarily to design object-oriented systems. b) True. c) False. C# allows you to use existing controls to get powerful applications running faster than if you had to write all of the code yourself. d) False. C# is one of many .NET languages (others are Visual Basic and Visual C++). e) False. Object-oriented programming (because it focuses on things) is a more natural way to model the world than procedural programming. f) False. Computers can directly understand only their own machine languages. g) True. h) True. i) True. j) True.


Categorize each of the following items as either hardware or software:

  1. CPU.
  2. Compiler.
  3. Input unit.
  4. A word-processor program.
  5. A C# program.

Translator programs, such as assemblers and compilers, convert programs from one language (referred to as the source language) to another language (referred to as the target language). Determine which of the following statements are true and which are false:

  1. A compiler translates high-level language programs into target-language programs.
  2. An assembler translates source-language programs into machine-language programs.
  3. A compiler converts source-language programs into target-language programs.
  4. High-level languages are generally machine dependent.
  5. A machine-language program requires translation before it can be run on a computer.
  6. The C# compiler translates high-level language programs into SMIL.

What are the basic requirements of a .NET language? What is needed to run a .NET program on a new type of computer (machine)?


Expand each of the following acronyms:

  1. W3C.
  2. XML.
  3. SOAP.
  4. OOP.
  5. CLR.
  6. CLI.
  7. FCL.
  8. MSIL.
  9. UML.
  10. OMG.
  11. IDE.

What are the key benefits of the .NET Framework and the CLR? What are the drawbacks?


What are the advantages to using object-oriented techniques?


You are probably wearing on your wrist one of the world's most common types of objectsa watch. Discuss how each of the following terms and concepts applies to the notion of a watch: object, attributes and behaviors.


What was the key reason that C# was developed?


What is the key accomplishment of the UML?


What did the chief benefit of the early Internet prove to be?


What is the key capability of the Web?


What is the key vision of Microsoft's .NET initiative?


How does the FCL facilitate the development of .NET applications?


What are Web services and why are they so crucial to Microsoft's .NET strategy?


What is the key advantage of standardizing .NET's CLI (Common Language Infrastructure) with Ecma?


Why is programming in an object-oriented language such as C# more "natural" than programming in a procedural programming language such as C?


Despite the obvious benefits of reuse made possible by OOP, what do many organizations report as the key benefit of OOP?


Why is C# said to be an event-driven language?


Why is XML so crucial to the development of future software systems?

Introduction to the Visual C# 2005 Express Edition IDE



    Introduction to Computers, the Internet and Visual C#

    Introduction to the Visual C# 2005 Express Edition IDE

    Introduction to C# Applications

    Introduction to Classes and Objects

    Control Statements: Part 1

    Control Statements: Part 2

    Methods: A Deeper Look


    Classes and Objects: A Deeper Look

    Object-Oriented Programming: Inheritance

    Polymorphism, Interfaces & Operator Overloading

    Exception Handling

    Graphical User Interface Concepts: Part 1

    Graphical User Interface Concepts: Part 2


    Strings, Characters and Regular Expressions

    Graphics and Multimedia

    Files and Streams

    Extensible Markup Language (XML)

    Database, SQL and ADO.NET

    ASP.NET 2.0, Web Forms and Web Controls

    Web Services

    Networking: Streams-Based Sockets and Datagrams

    Searching and Sorting

    Data Structures



    Appendix A. Operator Precedence Chart

    Appendix B. Number Systems

    Appendix C. Using the Visual Studio 2005 Debugger

    Appendix D. ASCII Character Set

    Appendix E. Unicode®

    Appendix F. Introduction to XHTML: Part 1

    Appendix G. Introduction to XHTML: Part 2

    Appendix H. HTML/XHTML Special Characters

    Appendix I. HTML/XHTML Colors

    Appendix J. ATM Case Study Code

    Appendix K. UML 2: Additional Diagram Types

    Appendix L. Simple Types


    Visual C# How to Program
    Visual C# 2005 How to Program (2nd Edition)
    ISBN: 0131525239
    EAN: 2147483647
    Year: 2004
    Pages: 600

    Flylib.com © 2008-2020.
    If you may any questions please contact us: flylib@qtcs.net