Self-Review Exercises

  1. 1.1 Fill in the blanks in each of the following statements:

    1. Computers process data under the control of sequences of instructions called                   .

    2. A computer consists of various devices referred to as                  , such as the keyboard, screen, mouse, hard disks, memory, DVD drives and processing units.

    3. Data items processed by computers form a(n)                   that becomes larger and more complex in structure as we progress from the simplest data items (called “bits”) to richer data items, such as characters, fields, and so on.

    4. Computers can directly understand only their                   language, which is composed only of 1s and 0s.

    5. The three types of computer programming languages discussed in the chapter are machine languages,               and              .

    6. Programs that translate high-level-language programs into machine language are called              .

    7. A(n)                   processor implements several processors on a single “microchip”—a dual-core processor has two CPUs and a quad-core processor has four CPUs.

    8. Windows 10 introduced the                    for building Windows apps that run on desktop computers, notebook computers, tablets, phones, Xbox and even Microsoft’s new HoloLens augmented reality holographic headset—all using nearly identical code.

  2. 1.2 Fill in the blanks in each of the following statements:

    1. Objects, or more precisely the                 that objects come from, are essentially reusable software components.

    2. You send messages to an object. Each message is implemented as a method                 that tells a method of the object to perform its task.

    3. A new class of objects can be created quickly and conveniently by                ; the new class absorbs the characteristics of an existing class, possibly customizing them and adding unique characteristics of its own.

    4. To create the best solutions, you should follow a detailed analysis process for determining your project’s                 (i.e., defining what the system is supposed to do) and developing a design that satisfies them (i.e., deciding how the system should do it).

    5. Visual C# is                 driven. You’ll write programs that respond to mouse clicks, keystrokes, timer expirations and touches and finger swipes.

    6. A key goal of Java is to be able to write programs that will run on a great variety of computer systems and computer-control devices. This is sometimes called                .

  3. 1.3 Fill in the blanks in each of the following statements:

    1. The                    executes .NET programs.

    2. The CLR provides various services to                    code, such as integrating software components written in different .NET languages, error handling between such components, enhanced security and more.

    3. The ability of a program to run without modification across multiple platforms is known as platform                   .

    4. Visual Studio is a(n)                    in which C# programs are developed.

    5. You can sell your own Windows Phone apps in the                   .

  4. 1.4 State whether each of the following is true or false. If false, explain why.

    1. Software objects model both abstract and real-world things.

    2. The most popular database model is the relational database in which data is stored in simple tables. A table includes records and fields.

    3. A database is a collection of data that’s organized for easy access and manipulation.

    4. Secondary storage data takes much longer to access than data in primary memory, but the cost per unit of secondary storage is much higher than that of primary memory.

    5. High-level languages allow you to write instructions that look almost like everyday English and contain commonly used mathematical expressions.

    6. An object has attributes that it carries along as it’s used in a program.

    7. The Transmission Control Protocol (TCP) ensures that messages, consisting of sequentially numbered pieces called bytes, were properly routed from sender to receiver, arrived intact and were assembled in the correct order

    8. The information-carrying capacity of communications lines on the Internet has increased tremendously, while hardware costs have increased.

    9. You can build web-based apps with C# and Microsoft’s ASP.NET technology.

    10. Java has become the key programming language for the Mac OS X desktop operating system and all iOS-based devices, such as iPods, iPhones and iPads.

    11. Microsoft’s ASP.WEB technology is used to create web apps.

    12. Microsoft’s Windows operating system is the most widely used desktop operating system worldwide.

  5. 1.5 Arrange these byte measurements in order from smallest to largest: terabyte, megabyte, petabyte, gigabyte and kilobyte.

  6. 1.6 Describe the two-step translation process for preparing your C# code to execute on your particular computer.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset