Test Bank for Fundamentals of Python First Programs, 1st Edition download
Test Bank for Fundamentals of Python First Programs, 1st Edition download
http://testbankbell.com/product/test-bank-for-fundamentals-of-
python-first-programs-1st-edition/
http://testbankbell.com/product/solution-manual-for-fundamentals-of-
python-first-programs-1st-edition/
http://testbankbell.com/product/solution-manual-for-fundamentals-of-
python-first-programs-2nd-edition-kenneth-a-lambert/
http://testbankbell.com/product/test-bank-for-project-management-
achieving-competitive-advantage-3-e-3rd-edition-jeffery-k-pinto/
Hesi Med Surg RN 2018 Most Recent – Updated
http://testbankbell.com/product/hesi-med-surg-rn-2018-most-recent-
updated/
http://testbankbell.com/product/solutions-manual-to-accompany-power-
systems-analysis-and-design-4th-edition-9780534548841/
http://testbankbell.com/product/solutions-manual-to-accompany-complex-
variables-with-applications-3rd-edition-9780201756098/
Solution Manual for Staffing Organizations 7th Edition by
Heneman
http://testbankbell.com/product/solution-manual-for-staffing-
organizations-7th-edition-by-heneman/
Test Bank for Fundamentals of Python First
Programs, 1st Edition
Full download link at: https://testbankbell.com/product/test-bank-for-fundamentals-of-python-first-
programs-1st-edition/
True/False
Indicate whether the statement is true or false.
____ 5. An algorithm describes a process that may or may not halt after arriving at a solution to a problem.
____ 7. The algorithms that describe information processing can also be represented as information.
____ 8. When using a computer, human users primarily interact with the memory.
____ 10. The part of a computer that is responsible for processing data is the central processing unit (CPU).
____ 11. Magnetic storage media, such as tapes and hard disks, allow bit patterns to be stored as patterns on a
magnetic field.
____ 12. A program stored in computer memory must be represented in binary digits, which is also known as ascii
code.
____ 13. The most important example of system software is a computer’s operating system.
____ 14. An important part of any operating system is its file system, which allows human users to organize their
data and programs in permanent storage.
____ 15. A programmer typically starts by writing high-level language statements in a text editor.
____ 17. In the 1930s, the mathematician Blaise Pascal explored the theoretical foundations and limits of
algorithms and computation.
____ 18. The first electronic digital computers, sometimes called mainframe computers, consisted of vacuum tubes,
wires, and plugs, and filled entire rooms.
____ 19. In the early 1940s, computer scientists realized that a symbolic notation could be used instead of machine
code, and the first assembly languages appeared.
____ 20. The development of the transistor in the early 1960s allowed computer engineers to build ever smaller,
faster, and less expensive computer hardware components.
____ 21. Moore’s Law states that the processing speed and storage capacity of hardware will increase and its cost
will decrease by approximately a factor of 3 every 18 months.
____ 22. In the 1960s, batch processing sometimes caused a programmer to wait days for results, including error
messages.
____ 23. In 1984, Apple Computer brought forth the Macintosh, the first successful mass-produced personal
computer with a graphical user interface.
____ 24. By the mid 1980s, the ARPANET had grown into what we now call the Internet, connecting computers
owned by large institutions, small organizations, and individuals all over the world.
____ 25. Steve Jobs wrote the first Web server and Web browser software.
____ 26. Guido van Rossum invented the Python programming language in the early 1990s.
____ 27. In Python, the programmer can force the output of a value by using the cout statement.
____ 28. When executing the print statement, Python first displays the value and then evaluates the expression.
____ 29. When writing Python programs, you should use a .pyt extension.
____ 30. The interpreter reads a Python expression or statement, also called the source code, and verifies that it is
well formed.
____ 31. If a Python expression is well formed, the interpreter translates it to an equivalent form in a low-level
language called byte code.
Multiple Choice
Identify the choice that best completes the statement or answers the question.
____ 32. The sequence of steps that describes a computational processes is called a(n) ____.
a. program c. pseudocode
b. computing agent d. algorithm
____ 33. An algorithm consists of a(n) ____ number of instructions.
a. finite c. predefined
b. infinite d. undefined
____ 34. The action described by the instruction in an algorithm can be performed effectively or be executed by a
____.
a. computer c. computing agent
b. processor d. program
____ 35. In the modern world of computers, information is also commonly referred to as ____.
a. data c. input
b. bits d. records
____ 36. In carrying out the instructions of any algorithm, the computing agent starts with some given information
(known as ____).
a. data c. input
b. variables d. output
____ 37. In carrying out the instructions of any algorithm, the computing agent transforms some given information
according to well-defined rules, and produces new information, known as ____.
a. data c. input
b. variables d. output
____ 38. ____ consists of the physical devices required to execute algorithms.
a. Firmware c. I/O
b. Hardware d. Processors
____ 39. ____ is the set of algorithms, represented as programs in particular programming languages.
a. Freeware c. Software
b. Shareware d. Dataset
____ 40. In a computer, the ____ devices include a keyboard, a mouse, and a microphone.
a. memory c. input
b. CPU d. output
____ 41. Computers can communicate with the external world through various ____ that connect them to networks
and to other devices such as handheld music players and digital cameras.
a. facilities c. racks
b. ports d. slots
____ 42. The primary memory of a computer is also sometimes called internal or ____.
a. read-only memory (ROM) c. flash memory
b. random access memory (RAM) d. associative memory
____ 43. The CPU, which is also sometimes called a ____, consists of electronic switches arranged to perform
simple logical, arithmetic, and control operations.
a. motherboard c. chip
b. computing agent d. processor
____ 44. Flash memory sticks are an example of ____ storage media.
a. semiconductor c. optical
b. magnetic d. primary
____ 45. Tapes and hard disks are an example of ____ storage media.
a. semiconductor c. optical
b. magnetic d. primary
____ 46. CDs and DVDs are an example of ____ storage media.
a. semiconductor c. optical
b. magnetic d. primary
____ 47. A ____ takes a set of machine language instructions as input and loads them into the appropriate memory
locations.
a. compiler c. loader
b. linker d. interpreter
____ 48. A modern ____ organizes the monitor screen around the metaphor of a desktop, with windows containing
icons for folders, files, and applications.
a. GUI c. terminal-based interface
b. CLI d. applications software
____ 49. ____ programming languages resemble English and allow the author to express algorithms in a form that
other people can understand.
a. Assembly c. Low-level
b. Interpreted d. High-level
____ 50. Early in the nineteenth century, ____ designed and constructed a machine that automated the process of
weaving.
a. George Boole c. Herman Hollerith
b. Joseph Jacquard d. Charles Babbage
____ 51. ____ took the concept of a programmable computer a step further by designing a model of a machine that,
conceptually, bore a striking resemblance to a modern general-purpose computer.
a. George Boole c. Herman Hollerith
b. Joseph Jacquard d. Charles Babbage
____ 52. ____ developed a machine that automated data processing for the U.S. Census.
a. George Boole c. Herman Hollerith
b. Joseph Jacquard d. Charles Babbage
____ 53. ____ developed a system of logic which consisted of a pair of values, TRUE and FALSE, and a set of
three primitive operations on these values, AND, OR, and NOT.
a. George Boole c. Herman Hollerith
b. Joseph Jacquard d. Charles Babbage
____ 54. ____ was considered ideal for numerical and scientific applications.
a. COBOL c. LISP
b. Machine code d. FORTRAN
____ 55. In its early days, ____ was used primarily for laboratory experiments in an area of research known as
artificial intelligence.
a. COBOL c. LISP
b. Machine code d. FORTRAN
____ 56. In science or any other area of enquiry, a(n) ____ allows human beings to reduce complex ideas or entities
to simpler ones.
a. abstraction c. module
b. algorithm d. compiler
____ 57. In the early 1980s, a college dropout named Bill Gates and his partner Paul Allen built their own
operating system software, which they called ____.
a. LISP c. MS-DOS
b. Windows d. Linux
____ 58. Python is a(n) ____ language.
a. functional c. interpreted
b. assembly d. compiled
____ 59. To quit the Python shell, you can either select the window’s close box or press the ____ key combination.
a. Control+C c. Control+Z
b. Control+D d. Control+X
____ 60. In Python, you can write a print statement that includes two or more expressions separated by ____.
a. periods c. colons
b. commas d. semicolons
____ 61. The Python interpreter rejects any statement that does not adhere to the grammar rules, or ____, of the
language.
a. code c. definition
b. library d. syntax
1
Answer Section
TRUE/FALSE
MULTIPLE CHOICE
Distance
Snags, Wrecks,
from Remarks.
etc. etc.
Pittsburg.
In the right channel of
Brunot’s island
2½ Wreck.
below the point on
the left side.
Same side as last, half
3 Wreck.
mile below.
Left channel Brunot’s
Sunken
31 ⁄ 3 island, first below
barge.
point.
4 2 Sunken in main
wrecks.* channel near old
pork-house; one
of them has lately
washed ashore.
In shore on left side in
way of good
landing; above
Hamilton’s house,
Sunken
9¾ on Neville island, a
barge.
large coal barge
has stranded just
below, but may be
gotten off.
Above Boyle’s landing;
first, on right side,
2 across channel, is
13
wrecks.* very dangerous;
second, in above,
left.
Near Shousetown, left
15 Wreck. side, close in
shore.
Opposite Sewickley, a
16 Snag. little below Boyle’s
landing.
Right shore below
Sunken Sewickley, in way
16½
barge. of boats at high
water.
Coal barge stranded,
Stranded
18½ Logtown bar,
barge.*
below Economy.
In channel of two
Sunken
19½ boats, Logtown
barge.*
creek.
Below foot of Crow
21 Snag.
island, right side.
One-third mile above
232⁄3 Snag. Freedom, Penn.,
right side.
Close in shore at
24 Snag.
Freedom.
In main channel, very
24¼ Snag. large, below
landing.
Close in to right; not
Sunken
301⁄3 dangerous below
boat.
Raccoon creek.
Sunken In channel below last;
30¼
boat. dangerous.
Opposite Industry,
33½ Snag. below Safe Harbor
landing.
Sunken Left side below last.
332⁄3
boat.*
Left channel of Line
Sunken
41 Snag. island there is a
barge.
snag.
Wreck of steamer
Winchester, burnt,
left channel of
42½ Wreck.
Babb’s island, Va.,
shore; not much
in the way.
In channel foot of
Sunken
49¾ Baker’s island;
boat.*
dangerous.
Foot of Brown’s island;
63 Snag.
old.
Center of River, head
63¼ Snag.
of cable eddy.
Left channel, pier
Wreck and Pittsburg and
67
cofferdam. Steubenville
railroad bridge.
Left side above
Sunken
67½ Steubenville;
barge.
dangerous.
Opposite Steubenville
Sunken
68 landing, center of
barge.
river.
Several in the vicinity
70¾ Snags.* of the Virginia and
Ohio cross creeks.
Sunken Two, right side, above
73¼
boats.* Wellsburg, Va.
Sunken Left, below block-
76
boats.* house run.
Right side, below last;
76½ Snag.
should come out.
Old, opposite brick
78¾ Wreck. house, close on
left shore.
Two, right of channel,
81½ Snags.
above Warren.
Old, right side, near
81¾ Snag.* white frame
house.
Ice Head of Pike island, at
83
breaker. coal shaft.
Edge of bar, not
Sunken dangerous,
84
barge.* opposite brick
house.
Left and center, bottom
Logs,
87 of river, one mile
etc.
below Burlington.
Sunken ferry-boat,
Sunken
88 close in right side,
boat.
Martinsville.
Sunken At ship-yard, Wheeling,
89¼
barge.* dangerous.[75]
The following table shows the traffic, in tons, of the canal since
1886:
Since 1825, when the first step toward improving the Ohio was
taken, the general plan has been to secure additional low-water
depths at islands and bars by the construction of low dams across
chutes, by building dikes where the river was wide and shallow, by
dredging and by the removal of rocks and snags. Various plans of
improvement were seriously mooted. Among these Charles Ellet’s
plan of supplying the Ohio with a regular flow of water by means of
reservoirs was strongly urged upon the Government about 1857.[81]
Near the same time Herman Haupt proposed a plan of improvement
by means of a system of longitudinal mounds and cross dams so
arranged as to make a canal on one side of the river some two
hundred feet wide, or a greater width, and reducing the grade to
nearly an average of six inches per mile between Pittsburg and
Louisville.[82] A few years later Alonzo Livermore secured a patent
for a combination of dams and peculiar open chutes through the
dams, arranged so as to retard the flow and lessen the velocity of
the water from higher to lower pools without interfering with the
free passage of the boats through the chutes; chutes were
substituted for locks.
In 1866 the condition of the river improvements and the great
change in the river trade—which loudly called for improved methods
—is tersely summed up by Engineer W. Milnor Roberts as follows:
“For the purpose intended, namely, the making of an improved
low-water navigation, looking to a depth not exceeding two and one-
half feet, the general plan designed, and in part executed, under the
superintendence of Captain Sanders, was judicious; and if all the
proposed dams had been finished in accordance with his plans there
would have been a better navigation, especially for low-water craft,
than there has been during the twenty-two years which have
elapsed since the works were left, many of them, in a partly finished
condition. Some of these wing dams, as might reasonably have been
anticipated, have, in the course of years, been gradually injured by
the action of floods, and in some cases portions of the stone have
been removed by persons without authority, for their own private
purposes. It is important to note the change which has taken place
in the coal trade, not only on account of its great and increasing
magnitude, but on account of the altered system upon which it is
conducted. Formerly, and at the time when the riprap dams were
constructed, the coal business was carried on by means of floating
coal barges, drawing at most four feet water, which were not
assisted in their descending navigation by steamers, and which
never returned, but were sold as lumber at their point of destination.
The increasing demand down the river for the Pittsburg coal, the
increase in the value of lumber, and the general systematizing of the
trade, all combine to revolutionize the mode of transportation. It is
now [1866] carried on by means of large barges, each containing
ten to twelve, some as high as sixteen thousand bushels of coal,
which are arranged in fleets, generally of ten or twelve barges,
towed by powerful steamers built and employed for that special
purpose. Enough of these barges are owned by the coal operators to
enable them to leave the loaded barges at their various points of
coal delivery, down the Ohio, or on the Mississippi and other rivers,
while they return to Pittsburg with a corresponding fleet of empty
barges, to be again loaded, ready for the next coal-boat freshet. As
these barges, when loaded draw from six feet to eight feet of water,
it is obvious that they can only descend when there is what is now
called a ‘coal-boat rise’ in the river—that is, a flood giving not less
than eight feet water in the channels.
“This coal shipment from Pittsburg, which in 1844 only amounted
to about 2,500,000 bushels per annum, now amounts to about
40,000,000 bushels per annum. I have, in the special report
mentioned, referred to the construction of railroads as having
affected the business which was formerly carried on the Ohio river
during the comparatively low water. The lower the water, the higher
the rates of freight and passenger travel, when there was no railroad
competition; but now, when the prices on the river during very low
water approach the railroad prices, the freight, whenever it can, will
of course take the railroad, on account of the saving of time and
greater certainty of delivery; and thousands of passengers always
prefer the railroad to the river. But in this connection it is proper to
note that since 1844 a large local business between various points
on the Ohio, both freight and passenger, has gradually sprung up
and become important, which scarcely had existence at that time.
The population along the river and in the counties in the several
States bordering upon it, and tributary to the river business, has
wonderfully increased. So that although a portion of the river
business has been attracted to the railroad, the business of
steamboats, as a whole, independently of the coal trade, has
become much greater than it was in 1844. Meanwhile the coal
business has more than kept pace with the increase of population
and wealth along the Ohio, in consequence of a steadily augmenting
demand for the Pittsburg coal on the Mississippi and other western
rivers.”[83]
The method of inland navigation by means of slackwater formed
by dams passable by locks was early proposed for the Ohio River
after the first experiment made of this method on the Green River,
Kentucky, in 1834-36 by Chief Engineer Roberts. The successful
operation of this system on the Monongahela and Muskingum Rivers
exerted a powerful influence in its favor, and for many years its
adoption on the Ohio was urged patiently though unsuccessfully. At
last the important matter was advocated with success, and in 1885
the first of a series of locks and movable dams was erected at Davis
Island, four and one-half miles below Pittsburg. The work now is
rapidly being completed, the plan being to give a minimum depth of
six feet of water in the Ohio by means of thirty-eight dams and locks
between Pittsburg and the mouth of the Great Miami, below
Cincinnati. This form of improvement will of course be extended in
time to the mouth of the Ohio.
From past experience with dams in the river, the cost of locks is
estimated as follows:
For an average lock of six hundred feet length and one hundred
and ten feet width, with navigable pass of six hundred feet length,
and with weirs of two hundred and forty feet available openings, all
arranged to provide six feet navigable depth in the shoalest parts of
the improved channels of the pools, with an average lift at each dam
of seven and two-tenths feet:
But the extra width and height of lock esplanade filling, extra
length of weirs, and extra channel dredging, incident to the
individual locations of the dams, increase the above estimates to
final totals of from nine hundred and fifty thousand dollars to one
million, one hundred thousand dollars at the individual dams.
The expenditures of the Government on the Ohio River from 1827
to 1902 are as follows:
Act of
Appropriation. Remarks.
Congress.
March 3,
$30,000.00
1827,
March 3,
50,000.00
1835,
July 2,
20,000.00
1836,
March 3,
60,000.00
1837,
July 7,
50,000.00
1838,
June 11,
100,000.00
1844,
March 3,
6,479.25
1847,
August 30,
90,000.00
1852,
Allotment of money already
June 23, appropriated, for improving
172,000.00
1866, Mississippi, Missouri,
Arkansas, and Ohio Rivers.
Allotment for snag boats and
June 23,
80,000.00 apparatus for improving
1866,
western rivers.
March 2,
100,000.00
1867,
Allotment for repair,
July 25, preservation, extension,
85,000.00
1868, and completion of river and
harbor works.
July 11,
50,000.00
1870,
March 3,
50,000.00
1871,
June 10,
200,000.00
1872,
March 3,
200,000.00
1873,
June 23,
150,000.00
1874,
March 3,
300,000.00
1875,
August 14,
175,000.00
1876,
June 18,
300,000.00
1878,
June 18, Harbor of refuge at or near
50,000.00
1878, Cincinnati.
March 3,
250,000.00
1879,
June 14,
250,000.00
1880,
March 3,
350,000.00
1881,
March 21, Continuing work on Davis Island
100,000.00
1882, dam.
August 2,
350,000.00
1882,
August 2, Harbor of refuge near
16,000.00
1882, Cincinnati, Ohio.
July 5,
600,000.00
1884,
July 5, Same.
17,000.00
1884,
August 5,
375,000.00
1886,
August 11,
380,000.00
1888,
September
300,000.00
19, 1890,
Relief of Stubbs & Lackey.
January 19,
2,128.87 Treasury settlement No.
1891,
2593.
July 13,
360,000.00
1892,
August 18,
250,000.00
1894,
June 3,
250,000.00
1896,
Allotment for restoring levee
July 1,
15,000.00 and banks of Ohio River at
1898,
or near Shawneetown, Ill.
March 3,
375,000.00
1899,
Amount appropriated,
June 13, $400,000; $41,000 being
359,000.00
1902, for Falls of Ohio River, at
Louisville, Ky.
——————
Total, $6,565,608.12
[19] This letter, dated August 6, with two others, all bearing the
signature of Céloron, has been preserved in the archives of the
State of Pennsylvania. For copy of translation see Rupp’s Early
History of Western Pennsylvania, p. 36.
[41] The MS. Harmar Papers; St. Clair Papers, vol. ii, p. 7, note
1.
[58] Harris: Tour, pp. 30-31; cf. p. 139 where the author states
the historical succession of river craft as: canoe, pirogue, keel-
boat, barge, and ark.
[64] Butler’s Journal for October 9, 1785, The Olden Time, vol.
ii, p. 442. Cf. Wisconsin Historical Collections, vol. xi, p. 13, note.
[71] The authority for these and many of the following facts is
derived from a Memorial of the Citizens of Cincinnati to the
Congress of the United States Relative to the Navigation of the
Ohio and Mississippi Rivers, Cincinnati, 1844.
[82] Id., p. 5.
Updated editions will replace the previous one—the old editions will
be renamed.
1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the
terms of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.
1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or
expense to the user, provide a copy, a means of exporting a copy, or
a means of obtaining a copy upon request, of the work in its original
“Plain Vanilla ASCII” or other form. Any alternate format must
include the full Project Gutenberg™ License as specified in
paragraph 1.E.1.
• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
Welcome to our website – the perfect destination for book lovers and
knowledge seekers. We believe that every book holds a new world,
offering opportunities for learning, discovery, and personal growth.
That’s why we are dedicated to bringing you a diverse collection of
books, ranging from classic literature and specialized publications to
self-development guides and children's books.
testbankbell.com