Review Questions

   


1:

What is lexical analysis?

2:

What are the atomic parts of a C# program?

3:

What is Pascal casing and camel casing? For which parts of the C# program should they be used?

4:

What is the main difference between variables and literals?

5:

What are operators and operands? How do they relate?

6:

Is 50 an expression? Is (50 + x)? Is public?

7:

Give examples of typical keywords in C#.

8:

Why is pseudocode not well suited for expressing the overall design of an object-oriented program?

9:

What kind of relationship does a BankCustomer object have with a BankTeller object? How is this expressed in UML?

10:

What kind of relationship does a Heart object have with a HumanBody object. How is this expressed in UML?

11:

What kind of relationship does a LightBulb have with a Lamp object. How is this expressed in UML?

12:

How is an association relationship implemented in C#?

13:

How can instance variables be initialized when an object is created?

14:

Describe passenger when declared as in the following line:

 private Person passenger; 


   


C# Primer Plus
C Primer Plus (5th Edition)
ISBN: 0672326965
EAN: 2147483647
Year: 2000
Pages: 286
Authors: Stephen Prata

Similar book on Amazon

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