Test Bank for Starting out with Python, 5th Edition, Tony Gaddispdf download
Test Bank for Starting out with Python, 5th Edition, Tony Gaddispdf download
http://testbankbell.com/product/test-bank-for-starting-out-with-
python-5th-edition-tony-gaddis/
http://testbankbell.com/product/solution-manual-for-starting-out-with-
python-5th-edition-tony-gaddis/
Test Bank for Starting out with Visual C#, 5th Edition,
Tony Gaddis
http://testbankbell.com/product/test-bank-for-starting-out-with-
visual-c-5th-edition-tony-gaddis/
http://testbankbell.com/product/starting-out-with-python-4th-edition-
gaddis-test-bank/
http://testbankbell.com/product/test-bank-for-psychiatric-mental-
health-nursing-concepts-of-care-in-evidence-based-practice-6th-
edition-townsend/
Test Bank for Concepts for Nursing Practice 1st Edition
Jean Foret Giddens
http://testbankbell.com/product/test-bank-for-concepts-for-nursing-
practice-1st-edition-jean-foret-giddens/
http://testbankbell.com/product/social-problems-7th-edition-macionis-
test-bank/
http://testbankbell.com/product/test-bank-for-corporate-computer-
security-4-e-randall-j-boyle-raymond-r-panko/
http://testbankbell.com/product/test-bank-for-industrial-
organizational-psychology-an-applied-approach-8th-edition-michael-g-
aamodt-2/
http://testbankbell.com/product/test-bank-for-macroeconomics-6th-
canadian-edition-abel/
Test Bank for Labor Relations and Collective Bargaining
Private and Public Sectors 10th Edition by Carrell
http://testbankbell.com/product/test-bank-for-labor-relations-and-
collective-bargaining-private-and-public-sectors-10th-edition-by-
carrell/
Test Bank for Starting out with Python,
5th Edition, Tony Gaddis
TRUE/FALSE
1. A software developer is the person with the training to design, create, and test computer programs.
ANS: T
2. A computer is a single device that performs different types of tasks for its users.
ANS: F
3. All programs are normally stored in ROM and are loaded into RAM as needed for processing.
ANS: F
4. The instruction set for a microprocessor is unique and is typically understood only by the
microprocessors of the same brand.
ANS: T
ANS: T
ANS: F
7. The main reason to use secondary storage is to hold data for long periods of time, even when the
power supply to the computer is turned off.
ANS: T
8. RAM is a volatile memory used for temporary storage while a program is running.
ANS: T
9. The Python language uses a compiler which is a program that both translates and executes the
instructions in a high-level language.
ANS: F
10. IDLE is an alternative method to using a text editor to write, execute, and test a Python program.
ANS: T
MULTIPLE CHOICE
2. Which of the following is considered to be the world's first programmable electronic computer?
a. IBM
b. Dell
c. ENIAC
d. Gateway
ANS: C
3. Where does a computer store a program and the data that the program is working with while the
program is running?
a. in main memory
b. in the CPU
c. in secondary storage
d. in the microprocessor
ANS: A
4. What type of volatile memory is usually used only for temporary storage while running a program?
a. ROM
b. TMM
c. RAM
d. TVM
ANS: C
5. Modern CPUs are much _______________ than the CPUs of early computers.
a. larger and more powerful
b. smaller and more powerful
c. less powerful
d. slower
ANS: B
6. Which computer language uses short words known as mnemonics for writing programs?
a. Assembly
b. Java
c. Pascal
d. Visual Basic
ANS: A
7. The process known as the __________ cycle is used by the CPU to execute instructions in a program.
a. decode-fetch-execute
b. decode-execute-fetch
c. fetch-decode-execute
d. fetch-execute-decode
ANS: C
10. The encoding technique used to store negative numbers in the computer's memory is called
a. Unicode
b. ASCII
c. floating-point notation
d. two's complement
ANS: D
11. The __________ coding scheme contains a set of 128 numeric codes that are used to represent
characters in the computer's memory.
a. Unicode
b. ASCII
c. ENIAC
d. two's complement
ANS: B
13. What is the largest value that can be stored in one byte?
a. 255
b. 128
c. 8
d. 65535
ANS: A
14. The disk drive is a secondary storage device that stores data by __________ encoding it onto a
spinning circular disk.
a. electrically
b. magnetically
c. digitally
d. optically
ANS: B
15. A __________ has no moving parts and operates faster than a traditional disk drive.
a. DVD drive
b. solid state drive
c. jumper drive
d. hyper drive
ANS: B
16. Which of the following is not a major component of a typical computer system?
a. the CPU
b. main memory
c. the operating system
d. secondary storage devices
ANS: C
MULTIPLE RESPONSE
1. Select all that apply. To create a Python program you can use
a. a text editor
b. a word processor if you save your file as a .docx
c. IDLE
d. Excel
ANS: A, C
COMPLETION
ANS: program
2. The term ___________ refers to all the physical devices that make up a computer.
ANS: hardware
3. The __________ is the part of the computer that actually runs programs and is the most important
component in a computer.
ANS: magnetically
ANS: Microprocessors
6. __________ is a type of memory that can hold data for long periods of time, even when there is no
power to the computer.
9. The Python __________ is a program that can read Python programming statements and execute them.
ANS: interpreter
10. In __________ mode, the interpreter reads the contents of a file that contains Python statements and
executes each statement.
ANS: script
Exploring the Variety of Random
Documents with Different Content
I. THE VICEROYALTY OF BUENOS AIRES
The Spanish colonies of La Plata were, from the conquest up to the
year 1776, annexed to the Viceroyalty of Peru, but in that year, the
same in which the revolted colonies of Great Britain declared
themselves an independent republic, King Charles III. of Spain
created by royal edict the Viceroyalty of Buenos Aires.
"Its limits extended from ten and a half degrees south latitude to
Tierra del Fuego, and from the Cordillera of the Andes to the hills
from whence flow the upper affluents of the Paraguay, Paranà, and
Uruguay; this immense line terminating at the opening where the
Rio Grande de San Pedro falls into the sea. This territory, equal to a
quarter part of the whole of South America, comprehended the most
beautiful fluvial system of the world, and might compete in fertility,
riches, and natural beauties with the finest empire of the universe. It
contained within its limits six out of the seven climates into which
Humboldt has divided the globe—from the region where bloom the
cinnamon and the spice-trees to far beyond the agricultural
countries; thus it produced all that man requires for his sustenance,
comfort, and delight."[14]
The first Viceroy, Don Pedro de Ceballos, landed at Buenos Aires on
the 15th October, 1777; the last actual Viceroy was deposed by the
people of Buenos Aires on the 25th May, 1810.
The Viceroyalty of Buenos Aires was divided into several provinces
and "intendencias," which later on became provinces. Of the
Viceroyalty Buenos Aires was the capital city, being the seat of the
Viceregal government, and the general residence of the Viceroy. The
province of Buenos Aires was thus under the immediate rule of the
Viceroy. The other provinces were ruled by governors appointed by
him, but were in their internal administration, completely
independent of Buenos Aires.
The Spanish colonial system, not only prohibited direct commercial
intercourse with foreign nations, but also imposed great restrictions
upon the intercourse of the several provinces with each other, the
aim of Spanish rule, being to secure the dependence of each
separate colony upon herself.
The whole of these provinces were independent colonies, bound
together only by their common allegiance to Spain, under the rule of
one Viceroy. The conquest of Spain by Napoleon destroyed the only
bond which held these provinces together.
The several events which followed the capture of Buenos Aires by
Beresford in the year 1806, and which it is the object of this book to
elucidate, gradually raised the citizens of Buenos Aires from a state
of blind subservience to Spanish rule, taught them their strength,
and accustomed them to criticise the acts of their rulers. Thus the
revolution of the 25th May, 1810, was nothing more to them than
the spontaneous outburst of popular will, a will which they had
already exercised on previous occasions with most glorious results.
But the provinces had undergone no such training. Thus, when the
conquest of Spain was apparently complete, and the whole
Viceroyalty was left without any legal authority, the citizens of
Buenos Aires did not hesitate as to what they should do. They saw
at once that the appointment of a new government rested with
themselves, and, taking such means of expressing their will as they
had already in other cases found efficient, they named the Junta
Gubernativa. But upon the provinces the news of the conquest of
Spain fell as a thunderbolt. The fall of Spain left them at the mercy
of any ruler who should call upon them to obey.
Such was the condition of the masses of the Argentine people on the
25th May, 1810, but both in Buenos Aires and in the provincial cities,
there was a small minority of educated men who had learned and
had accepted with eagerness, the principles inculcated by the
revolutionary leaders of France. "Le Contrat Social" and "Les Droits
de l'Homme" were for these men the gospel.[15] It was they who
directed the popular enthusiasm of Buenos Aires to one definite
object, the establishment of a Junta composed for the most part of
men of Argentine birth; it was they who throughout the provinces
echoed the cry of "Liberty" raised by the patriots of the capital.
[14] "La Historia de la Republica Argentina," by Don Luis Josè
Dominguez.
[15] Mitre.
III. PARAGUAY
Paraguay had suffered more than any other province of the
Viceroyalty from the tyrannical exactions of Spanish rulers, but the
rule of Velazco, the then governor, was extremely popular, and
General Belgrano with his small army, instead of meeting with a
friendly reception, found the whole country in arms against the
Porteños; the country people fled before him, driving off their horses
and cattle, leaving nothing behind them that could in any way assist
his progress, but without venturing to molest him.
Through forests and swamps Belgrano forced his way with infinite
labour to within eighteen leagues of Asuncion, where, at Paraguay,
on the 19th January, 1811, he with 800 men attacked the
Paraguayan army under Velazco, which numbered 9000. The
impetuous valour of the volunteers at first carried all before them,
but, disordered by success, one part of them was surrounded by
overwhelming numbers and cut to pieces, and the rest under the
immediate command of Belgrano were forced to retire. On the banks
of the Tacuari, Belgrano halted with the remnant of his small army,
was there attacked by a pursuing column of 3000 men, repulsed
them, and then offered to retire across the Paranà if allowed to
march unmolested, saying it was not his object to conquer Paraguay.
In a lengthened conference Belgrano fully explained his views to the
Paraguayan generals and officers, his proposition was accepted, he
recrossed the Paranà, but the object of his expedition was achieved.
Soon after his retreat the Paraguayans rose against their Spanish
rulers, deposed them, and placed the government in the hands of a
triumvirate of natives. Of this triumvirate Dr Francia, a lawyer of
Asuncion, was the leader, a man of considerable mental attainments
and of great suavity of address, but withal of an iron will and of a
most ruthless disposition. Before long he had made himself the sole
ruler of Paraguay, and presently, seeing that anarchy was gradually
spreading over the other provinces of the late Viceroyalty, he cut off
all intercourse between Paraguay and the rest of the world.
The authors of the revolution of the 25th May, 1810, had sought to
establish a new government upon the democratic basis of the
sovereignty of the people. Many of them were men of great
intellectual attainments, but they had adopted the ideas of the
revolutionary leaders of France, in the full persuasion that that form
of government, which is in theory the best, must necessarily be the
best in practice. The failure of democracy in France had not opened
their eyes to the fact that a government, to be securely based upon
the will of the people, must be constructed in conformity with the
traditions, circumstances, and instincts of the people.
The first five years of revolutionary government were thus a series
of political experiments, a series of abortive attempts to govern a
number of distinct provinces by schemes of administration, which
might have been fully adequate for the government of the small
republics of ancient Greece, or of the Italian cities of the middle
ages, when each city was a separate state, but were totally
inadequate for the government of an immense territory, peopled
chiefly by herdsmen and shepherds. They totally failed to give the
people any adequate means of expressing their will, and the result
was that during these years the people, who had responded eagerly
to the cry of liberty, interpreted in their own way the theory of
popular sovereignty.
The nature of the country and the traditions and instincts of the
people all inclined them to an aristocratic form of government; the
attempt to form an administration on a democratic basis was
consequently a complete failure.
The mass of the Argentine people were herdsmen and shepherds,
who lived scattered over immense plains, who were yet in a state of
semi-barbarism; the theory of the sovereignty of the people was
interpreted to mean that each man had a right to choose his own
ruler. The qualities which they could most fully appreciate were
dauntless courage, a strong seat on horseback, and a ruthless will.
Men possessed of such qualifications were those to whom they
would naturally look as their leaders, and to whom they were ready
to yield the most unquestioning obedience; but men like these were
not the men to work cordially with the authors of the revolution in
the regeneration of their country. Thus the leading Democrats,
almost ignoring the existence of the mass of the people, except
when they looked to them for aid against the Spaniards, sought only
the co-operation of the towns and cities in their attempts to form a
national government.
The revolution of the 25th May, 1810, was exclusively the work of
the citizens of Buenos Aires. The nucleus of all the armies which
fought in the subsequent campaigns was formed of the militia of
Buenos Aires; the Patricios, and other regiments levied in Buenos
Aires, bore the brunt in every conflict. It was the militia of Buenos
Aires who marched with Belgrano through the dense woods and
endless swamps of Paraguay, and held their own against the
overwhelming odds of fourteen to one. It was the militia of Buenos
Aires who kept the Portuguese armies in check in the Banda
Oriental, laid siege to Monte Video, where the garrison outnumbered
them three to one, gained the victory of the Cerrito, and eventually
compelled the surrender of the city. It was the militia of Buenos
Aires who penetrated with Balcarce, Diaz Velez, Puyrredon, and
Belgrano to the confines of Upper Peru. It was the militia of Buenos
Aires who decided with their bayonets the fields of Suipacha,
Tucuman, and Salta; they stood round Belgrano and the blue-and-
white standard among the rocks on that dismal night which followed
the rout of Vilcapugio; they retreated with him from the still more
disastrous field of Ayouma. Argentines from other provinces, Paz,
Arenales, Martin Güemes, and many others, vied with their
comrades from Buenos Aires in gallantry and endurance on many a
hard-fought field; on two occasions Belgrano saved the remnant of
his army solely through the devoted bravery of his "gaucho" allies of
the interior, but in every conflict the brunt fell upon the infantry of
Buenos Aires.
Buenos Aires not only furnished the nucleus to every army, but her
citizens impoverished themselves to provide by voluntary
contributions for the support and equipment of these armies, while
her trade was harassed, and at times destroyed, by the hostility of
the Spanish cruisers. Of all the cities of the interior, Tucuman alone
displayed equal patriotism, equal zeal for the cause of all.
But Buenos Aires in return for the great sacrifices she made, claimed
for herself the chief place in the direction of affairs. The Cabildo of
Buenos Aires took upon itself on more than one occasion the right of
nominating the Government which ruled in the name of the
Argentine people. The "Constituent Assembly" of the year 1813 was
the first legislative body which in any degree represented the united
provinces. This assembly soon fell under the influence of the secret
society, then known as "Los Caballeros Racionales," and later on as
"La Sociedad de Lautaro."
The provincial jealousy of Buenos Aires, which almost disappeared in
the first burst of enthusiasm that welcomed the cry of "Liberty"
raised by Buenos Aires on the 25th May, 1810, soon revived; the
provincial cities began to ask themselves whether the domination of
Buenos Aires, the domination of a secret and irresponsible society,
was not worse than the domination of Spain. The disastrous issue of
some of the campaigns, and the continued demands upon them for
supplies, exhausted their patience. Then rose up a new power in the
state, to which both the provincial cities and Buenos Aires, had
hitherto given but slight attention—the people.
The army of Peru under Rondeau, the army of the Andes under San
Martin, refused to obey the orders of a Government which was
merely the mouth-piece of a clique. In their dilemma the citizens of
Buenos Aires looked about for a deliverer who should free them from
a despotism which threatened them with the loss of all for which
they had fought. Their gaze fell upon the new power which had
risen up amongst them, they appealed to the people.
In the year 1815 Josè Artigas stood forth prominently as "the man of
the people." The people were in a state of semi-barbarism. He
himself was little better, but he understood them, knew how to
attract their sympathies to himself, and how to rule over them. The
Banda Oriental, Entre Rios, and Corrientes obeyed him. In answer to
the appeal of the citizens of Buenos Aires, he crossed the Parana
into Santa Fè with the pompous title of "Chief of the Orientales and
Protector of the Free Peoples." The men of Santa Fè received him as
their deliverer. Cordova declared herself independent of Buenos
Aires.
The people, knowing nothing of representative Government, chose
for themselves their leaders, and prepared to yield them unlimited
obedience. In every province there rose up petty chieftains, ruling
with absolute sway over their followers, ready for any sacrifice to
defend their country against Spain, equally ready to defend their
provincial rights against the domination of Buenos Aires. These
popular chieftains throughout the provinces hailed Artigas as their
champion.
Alvear bestirred himself against this new enemy, and despatched an
army to drive him from the province of Santa Fè. But on the frontier
of Buenos Aires this army joined the popular movement, and
fraternised with the barbaric hordes of Artigas. Then the citizens of
Buenos Aires arose and decreed the downfall of the Government,
the assembly was dissolved, and Alvear took refuge on board a
foreign vessel anchored in the roadstead.
The Argentine people were left without a government, and, in
presence of the anarchy which prevailed, without any legal means of
appointing one. Again Buenos Aires put herself forward as the
arbiter of the destinies of the nation. The Cabildo of Buenos Aires
resumed to itself the powers of government, and decreed the
election by the citizens of Buenos Aires of a "Junta de Observacion,"
which should form a provisional government until the convention of
a sovereign congress. This Junta named General Rondeau, then in
command of the army of Upper Peru, Supreme Director.
The new Government found itself face to face with three distinct
enemies, Spain, the provinces, the people. Two provinces of the old
Viceroyalty of Buenos Aires, Paraguay and the Banda Oriental, were
now completely independent of Buenos Aires; every other province
had an equal right to such independence; Cordova and Santa Fè
utterly refused to recognise the new government; Entre Rios and
Corrientes had chosen a ruler for themselves, and obeyed the orders
of Josè Artigas. The people everywhere, weary of the exactions of
the nominees of the capital, looked to Josè Artigas as their
champion.
Artigas, obeying the universal law which impels "the man of the
people" to become a despot, sought only to consolidate and extend
his own power.
The Government, after a vain attempt to come to some definite
arrangement with Artigas, concluded a truce with him. He retired
across the Parana, and they despatched an army to occupy Santa
Fè. But this Army was compelled to capitulate to the "Montonera," or
"gaucho" cavalry of Santa Fè. A second army, stationed at Rosario,
revolted, and demanded the resignation of the Supreme Director.
The Government yielded, the "Junta de Observacion" named General
Antonio Gonsalez Balcarce, Supreme Director, and the army of
Buenos Aires was withdrawn from Santa Fè.
VIII. INDEPENDENCE
In June Belgrano and San Martin arrived in Tucuman; neither of
them were members of Congress, but their personal influence had
great weight in the decisions of that body. In pursuance of their
counsels, on the 9th July, 1816, a day ever memorable in the annals
of the Argentine people, the secretary of Congress proposed this
question to the deputies:
"Do you desire that the provinces of the union form a nation free
and independent of the kings of Spain?"
"Yes," answered every deputy, springing to his feet.
That answer was the true, outspoken will of the Argentine people,
and has been maintained by them with unshaken heroism ever
since. By that answer the Argentine people took their place in the
world as an independent nation. Nothing less than that answer
would have justified the revolution of the 25th May, 1810. That
answer was the seal to the liberties of the New World, it carried with
it the independence of all the infant peoples then groaning under the
tyranny of Spain.
The Act of Independence was then drawn out as follows:
"We, the representatives of the united provinces of South America,
invoking that eternal Power which presides over the universe, in the
name and by the authority of the people we represent, protesting
before Heaven and before all nations and men of the globe, the
justice of our vote, solemnly declare before all the world, that it is
the unanimous and undoubted will of these provinces to break the
chains which bind them to the kings of Spain, to reassert the rights
of which they have been despoiled, and to take upon themselves the
high character of a free nation. In consequence of which they
remain with ample and full power to adopt such form of government
as justice and their circumstances may require. All and each one of
us so publish, declare, and notify, binding ourselves to the fulfilment
and support of this their will, under the security and guarantee of
our lives, fortunes, and good name."
Twenty-nine deputies signed their names to this Declaration of
Independence. To maintain this independence the Argentine people,
by their deputies and their authorities of every class, devoted
themselves, their lives, and their properties, and amid all the
convulsions through which they have since passed they have never
faltered for one moment in their adhesion to this solemn declaration
which was made for them by the Sovereign Congress of Tucuman on
the 9th July, 1816.
Since then the anniversary of that great day has been yearly
welcomed with rejoicings throughout the length and breadth of the
land. Amid the vineyards of Mendoza, on the sunny plains of Santa
Fè, in the peaceful seats of learning at Cordova, and amid the busy
hum of commerce at Buenos Aires, the yearly recurrence of that day
has been welcomed ever since. Arribeños, Rivereños, and Porteños,
whatever their passing differences, alike look back in boastful pride
to the day when their forefathers boldly asserted their right to a
place among the nations of the world.
Through much turmoil and sorrow, through anarchy, tyranny, and
bloodshed the Argentine people have struggled since the day when
Buenos Aires first raised the standard of freedom. For six years they
laboured before they could unite to declare themselves a nation,
even to the present day their efforts to form themselves into one
homogeneous people have not met with full accomplishment. But
the Argentine Republic now exists, she holds her acknowledged
place among the nations. The dream of those gallant men who, on
the 25th May, 1810, shook themselves free from the traditions of
centuries, is fulfilled.
Transcriber's Note:
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.
testbankbell.com