| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Buried in cloud files? We can help with Spring cleaning!

    Whether you use Dropbox, Drive, G-Suite, OneDrive, Gmail, Slack, Notion, or all of the above, Dokkio will organize your files for you. Try Dokkio (from the makers of PBworks) for free today.

  • Dokkio (from the makers of PBworks) was #2 on Product Hunt! Check out what people are saying by clicking here.

View
 

Classwork Chapter 1 Self-Review Questions

Page history last edited by bryankim 11 years, 9 months ago

Page 47-48

1.1 What is hardware? What is software?

       Hardware components of a computer system are the physical pieces. Software is the programs and data        used by those programs.

1.2 What are the two jobs of an operating system?

       An operating system is the main software of a computer. It has two functions: to provide a user interface        that allows a user to interact with the computer, and to manage the computer resource (CPU and main        memory).

1.3 What happens to information when it is stored digitally?

       Information is broken into pieces and shown as numbers.

1.4 How many items can be represented with the following?

       a. 2 bits=4 items

       b. 4 bits=16 items

       c. 5 bits=32 items

       d. 7 bits=128 items

1.5 How many bits are there in each of the following?

       a. 8 bytes=64 bits

       b. 2 KB=16384 bits

       c. 4 MB=33554432 bits

1.6 What are the two main hardware components in a computer? How do they work with each other?

       They are the CPU and the main memory. The main memory stores programs and data in use, while the CPU executes the program instructions one at a time.

1.7 What is the memory address?

     It is a unique number that each memory location has.

1.15 What is white space? Does it change program execution?

       White space are used to set off sections of source code to make programs more readable; it consists of spaces, tabs and blank lines. No, it does not.

1.16 Which of the following are not valid Java idenitfiers? Why?

          a. RESULT; valid

          b. result; valid

          c. 12345; not valid because it starts with a number

          d. x12345y; valid

          e. black&white; not valid because of the "&" sign

          f. answer_7; valid

Comments (0)

You don't have permission to comment on this page.