Exercises

Answers to Self Review Exercises

1.1

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.

1.2

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.

1.3

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.
1.4

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.
1.5

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

1.6

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.
1.7

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

1.8

What are the advantages to using object-oriented techniques?

1.9

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.

1.10

What was the key reason that C# was developed?

1.11

What is the key accomplishment of the UML?

1.12

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

1.13

What is the key capability of the Web?

1.14

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

1.15

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

1.16

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

1.17

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

 
1.18

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

1.19

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

1.20

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

1.21

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

Introduction to the Visual C# 2005 Express Edition IDE





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

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