27.07.2013 Views

Deitel - Python, How To Program.pdf

Deitel - Python, How To Program.pdf

Deitel - Python, How To Program.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

pythonhtp1_01.fm Page 31 Monday, December 10, 2001 12:13 PM<br />

Chapter 1 Introduction to Computers, Internet and World Wide Web 31<br />

screen terminal<br />

software timesharing<br />

software reusability top-down, stepwise refinement<br />

stored program translator program<br />

structured programming UNIX<br />

supercomputer workstation<br />

task<br />

SELF-REVIEW EXERCISES<br />

1.1 Fill in the blanks in each of the following statements:<br />

a) The company that popularized the phenomenon of personal computing was .<br />

b) The computer that made personal computing legitimate in business and industry was the<br />

.<br />

c) Computers process data under the control of sets of instructions called computer<br />

.<br />

d) The six key logical units of the computer are the , , ,<br />

, and the .<br />

e) <strong>Python</strong> can incorporate new<br />

written by any <strong>Python</strong> developer.<br />

(reusable pieces of software), which can be<br />

f) The three classes of languages discussed in the chapter are<br />

.<br />

, and<br />

g) The programs that translate high-level language programs into machine language are<br />

called .<br />

h) C is widely known as the development language of the operating system.<br />

i) In 2001, the core <strong>Python</strong> development team moved to Digital Creations, the creators of<br />

—a Web application server written in <strong>Python</strong>.<br />

j) The Department of Defense developed the Ada language with a capability called<br />

, which allows programmers to specify activities that can proceed in parallel.<br />

1.2 State whether each of the following is true or false. If false, explain why.<br />

a) Hardware refers to the instructions that command computers to perform actions and<br />

make decisions.<br />

b) The re regular-expression module provides pattern-based text manipulation in <strong>Python</strong>.<br />

c) The ALU provides temporary storage for data that has been entered through the input<br />

unit.<br />

d) Software systems called batches manage the transition between jobs.<br />

e) Assemblers convert high-level language programs to assembly language at computer<br />

speeds.<br />

f) Interpreter programs compile high-level language programs into machine language faster<br />

than compilers.<br />

g) Structured programming is a disciplined approach to writing programs that are clear and<br />

easy to modify.<br />

h) Unlike other programming languages, <strong>Python</strong> is non-extensible.<br />

i) Objects are reusable software components that model items in the real world.<br />

j) Several Canvas components include Label, Button, Entry, Checkbutton and<br />

Radiobutton.<br />

ANSWERS TO SELF-REVIEW EXERCISES<br />

1.1 a) Apple. b) IBM Personal Computer. c) programs. d) input unit, output unit, memory unit,<br />

arithmetic and logic unit (ALU), central processing unit (CPU), secondary storage unit. e) modules.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!