Test Bank for Starting Out with Python (4th Edition) 4th Editionpdf download
Test Bank for Starting Out with Python (4th Edition) 4th Editionpdf download
http://testbankbell.com/product/test-bank-for-starting-out-with-
python-4th-edition-4th-edition/
http://testbankbell.com/product/starting-out-with-python-4th-edition-
gaddis-test-bank/
Test Bank for Starting Out with Python (4th Edition) 4th
Edition
http://testbankbell.com/product/test-bank-for-starting-out-with-
python-4th-edition-4th-edition/
Test Bank for Starting out with Python, 5th Edition, Tony
Gaddis
http://testbankbell.com/product/test-bank-for-starting-out-with-
python-5th-edition-tony-gaddis/
http://testbankbell.com/product/test-bank-for-pharmacology-for-
canadian-health-care-practice-3rd-edition-by-lilley/
Solution Manual for Operations and Supply Chain
Management, 2nd Edition David Alan Collier James R. Evans
http://testbankbell.com/product/solution-manual-for-operations-and-
supply-chain-management-2nd-edition-david-alan-collier-james-r-evans/
http://testbankbell.com/product/solution-manual-for-accounting-
essentials-of-advanced-financial-accounting-richard-e-baker-1st-
edition/
http://testbankbell.com/product/test-bank-for-contemporary-
advertising-16th-edition-william-arens-michael-weigold/
http://testbankbell.com/product/solution-manual-for-government-and-
not-for-profit-accounting-concepts-and-practices-7th-edition/
http://testbankbell.com/product/solutions-manual-for-comprehensive-
assurance-systems-tool-3e-by-ingraham-0133099210/
Test Bank for Intermediate Accounting, 13th Edition:
Donald E. Kieso
http://testbankbell.com/product/test-bank-for-intermediate-
accounting-13th-edition-donald-e-kieso/
Starting Out with Python 4e (Gaddis)
Chapter 1 Introduction to Computers and Programming
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
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
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.
ANS: flash
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
the liturgical worship became more highly organized. With the
capture of Jerusalem and the establishment of the royal residence
within its ramparts, the worship of Jehovah increased in splendor; the
love of pomp and display, which was characteristic of David, and still
more of his luxurious son Solomon, was manifest in the imposing rites
and ceremonies that were organized to the honor of the people’s
God. The epoch of these two rulers was that in which the national
force was in the flower of its youthful vigor, the national pride had
been stimulated by continual triumphs, the long period of struggle
and fear had been succeeded by glorious peace. The barbaric
splendor of religious service and festal pageant was the natural
expression of popular joy and self-confidence. In all these ebullitions
of national feeling, choral and instrumental music on the most brilliant
and massive scale held a conspicuous place. The description of the
long series of public rejoicings, culminating in the dedication of
Solomon’s temple, begins with the transportation of the ark of the
Lord from Gibeah, when “David and all the house of Israel played
before the Lord with all manner of instruments made of fir-wood, and
with harps (kinnor), and with psalteries (nebel), and with timbrels
[20]
(toph), with castanets (sistrum), and with cymbals (tzeltzelim).”
And again, when the ark was brought from the house of Obed-edom
into the city of David, the king danced “with all his might,” and the
ark was brought up “with shouting and with the sound of a
[21]
trumpet.” Singers were marshalled under leaders and [25
supported by bands of instruments. The ode ascribed to David was
given to Asaph as chief of the choir of Levites; Asaph beat the time
with cymbals, and the royal paean was chanted by masses of chosen
[22]
singers to the accompaniment of harps, lyres, and trumpets. In
the organization of the temple service no detail received more careful
attention than the vocal and instrumental music. We read that four
thousand Levites were appointed to praise the Lord with instruments.
[23]
There were also two hundred and eighty-eight skilled singers who
[24]
sang to instrumental accompaniment beside the altar.
The function performed by instruments in the temple service is also
indicated in the account of the reëstablishment of the worship of
Jehovah by Hezekiah according to the institutions of David and
Solomon. With the burnt offering the song of praise was uplifted to
the accompaniment of the “instruments of David,” the singers intoned
the psalm and the trumpets sounded, and this continued until the
sacrifice was consumed. When the rite was ended a hymn of praise
was sung by the Levites, while the king and the people bowed
[25]
themselves.
With the erection of the second temple after the return from the [26
Babylonian exile, the liturgical service was restored, although not
with its pristine magnificence. Ezra narrates: “When the builders laid
the foundation of the temple of the Lord, they set the priests in their
apparel with trumpets, and the Levites the sons of Asaph with
cymbals, to praise the Lord, after the order of David king of Israel.
And they sang one to another in praising and giving thanks unto the
Lord, saying, For he is good, for his mercy endureth forever toward
[26]
Israel.” And at the dedication of the wall of Jerusalem, as recorded
by Nehemiah, instrumentalists and singers assembled in large
numbers, to lead the multitude in rendering praise and thanks to
[27]
Jehovah. Instruments were evidently employed in independent
flourishes and signals, as well as in accompanying the singers. The
trumpets were used only in the interludes; the pipes and stringed
instruments strengthened the voice parts; the cymbals were used by
the leader of the chorus to mark the rhythm.
All patriotic songs and religious poems properly called hymns belong
in the second division of lyrics; and in the Hebrew psalms devotional
feeling touched here and there with a patriot’s hopes and fears, has
once for all projected itself in forms of speech which seem to exhaust
the capabilities of sublimity in language. These psalms were set to
music, and presuppose music in their thought and their technical [28
structure. A text most appropriate for musical rendering must be
free from all subtleties of meaning and over-refinements of
phraseology; it must be forcible in movement, its metaphors those
that touch upon general observation, its ideas those that appeal to
the common consciousness and sympathy. These qualities the psalms
possess in the highest degree, and in addition they have a sublimity
of thought, a magnificence of imagery, a majesty and strength of
movement, that evoke the loftiest energies of a musical genius that
ventures to ally itself with them. In every nation of Christendom they
have been made the foundation of the musical service of the Church;
and although many of the greatest masters of the harmonic art have
lavished upon them the richest treasures of their invention, they have
but skimmed the surface of their unfathomable suggestion.
That the psalms were sung with the help of instruments seems [32
indicated by superscriptions, such as “With stringed instruments,”
and “To the flutes,” although objections have been raised to these
translations. No such indications are needed, however, to prove the
point, for the descriptions of worship contained in the Old Testament
seem explicit. The instruments were used to accompany the voices,
and also for preludes and interludes. The word “Selah,” so often
occurring at the end of a psalm verse, is understood by many
authorities to signify an instrumental interlude or flourish, while the
singers were for a moment silent. One writer says that at this point
[28]
the people bowed in prayer.
Such, generally speaking, is the most that can definitely be stated
regarding the office performed by music in the worship of Israel in
the time of its glory. With the rupture of the nation, its gradual
political decline, the inroads of idolatry, the exile in Babylon, the
conquest by the Romans, the disappearance of poetic and musical
inspiration with the substitution of formality and routine in place of
the pristine national sincerity and fervor, it would inevitably follow
that the great musical traditions would fade away, until at the time of
the birth of Christ but little would remain of the elaborate ritual once
committed to the guardianship of cohorts of priests and Levites. [33
The sorrowing exiles who hung their harps on the willows of
Babylon and refused to sing the songs of Zion in a strange land
certainly never forgot the airs consecrated by such sweet and bitter
memories; but in the course of centuries they became lost among the
strange peoples with whom the scattered Israelites found their home.
Many were for a time preserved in the synagogues, which, in the
later years of Jewish residence in Palestine, were established in large
numbers in all the towns and villages. The service of the synagogue
was a liturgical service, consisting of benedictions, chanting of psalms
and other Scripture passages, with responses by the people, lessons
from the law and the prophets, and sermons. The instrumental music
of the temple and the first synagogues eventually disappeared, and
the greater part, if not the whole, of the ancient psalm melodies
vanished also with the dispersion of the Levites, who were their
especial curators. Many details of ancient ritual and custom must
have survived in spite of vicissitude, but the final catastrophe, which
drove a desolate, heart-broken remnant of the children of Judah into
alien lands, must inevitably have destroyed all but the merest
fragment of the fair residue of national art by sweeping away all the
conditions by which a national art can live.
Does anything remain of the rich musical service which for fifteen
hundred years went up daily from tabernacle and temple to the
throne of the God of Israel? A question often asked, but without a
positive answer. Perhaps a few notes of an ancient melody, or a horn
signal identical with one blown in the camp or in the temple court, [34
may survive in the synagogue to-day, a splinter from a mighty edifice
which has been submerged by the tide of centuries. As would be
presumed of a people so tenacious of time-honored usages, the voice
of tradition declares that the intonations of the ritual chant used in
the synagogue are survivals of forms employed in the temple at
Jerusalem. These intonations are certainly Oriental in character and
very ancient, but that they date back to the time of David cannot be
proved or disproved. A style of singing like the well-known
“cantillation” might easily be preserved, a complete melody possibly,
but the presumption is against an antiquity so great as the Jews, with
pardonable pride, claim for some of their weird, archaic strains.
CHAPTER II
RITUAL AND SONG IN THE EARLY CHRISTIAN
CHURCH
A.D. 50-600
The epoch of the apostles and their immediate successors is that
around which the most vigorous controversies have been waged ever
since modern criticism recognized the supreme importance of that
epoch in the history of doctrine and ecclesiastical government. Hardly
a form of belief or polity but has sought to obtain its sanction from
the teaching and usages of those churches that received their
systems most directly from the personal disciples of the Founder. A
curiosity less productive of contention, but hardly less persistent,
attaches to the forms and methods of worship practised by the
Christian congregations. The rise of liturgies, rites, and ceremonies,
the origin and use of hymns, the foundation of the liturgical chant,
the degree of participation enjoyed by the laity in the offices of praise
and prayer,—these and many other closely related subjects of inquiry
possess far more than an antiquarian interest; they are bound up
with the history of that remarkable transition from the homogenous,
more democratic system of the apostolic age, to the hierarchical
organization which became matured and consolidated under the
Western popes and Eastern patriarchs. Associated with this
administrative development and related in its causes, an elaborate [37
system of rites and ceremonies arose, partly an evolution from
within, partly an inheritance of ancient habits and predispositions,
which at last became formulated into unvarying types of devotional
expression. Music participated in this ritualistic movement; it rapidly
became liturgical and clerical, the laity ceased to share in the worship
of song and resigned this office to a chorus drawn from the minor
clergy, and a highly organized body of chants, applied to every
moment of the service, became almost the entire substance of
worship music, and remained so for a thousand years.
In the very nature of the case a new energy must enter the art of
music when enlisted in the ministry of the religion of Christ. A new
motive, a new spirit, unknown to Greek or Roman or even to Hebrew,
had taken possession of the religious consciousness. To the adoration
of the same Supreme Power, before whom the Jew bowed in awe-
stricken reverence, was added the recognition of a gift which the Jew
still dimly hoped for; and this gift brought with it an assurance, and
hence a felicity, which were never granted to the religionist of the old
dispensation.
Not at once, however, could musical art spring up full grown and
responsive to these novel demands. An art, to come to perfection,
requires more than a motive. The motive, the vision, the emotion
yearning to realize itself, may be there, but beyond this is the mastery
of material and form, and such mastery is of slow and tedious
growth. Especially is this true in respect to the art of music; musical
forms, having no models in nature like painting and sculpture, no
associative symbolism like poetry, no guidance from considerations of
utility like architecture, must be the result, so far as any human work
can be such, of actual free creation. And yet this creation is a
progressive creation; its forms evolve from forms preëxisting as
demands for expression arise to which the old are inadequate. Models
must be found, but in the nature of the case the art can never go
outside of itself for its suggestion. And although Christian music must
be a development and not the sudden product of an exceptional [40
inspiration, yet we must not suppose that the early Church was
compelled to work out its melodies from those crude elements in
which anthropology discovers the first stage of musical progress in
primitive man. The Christian fathers, like the founders of every
historic system of religious music, drew their suggestion and perhaps
some of their actual material from both religious and secular sources.
The principle of ancient music, to which the early Christian music
conformed, was that of the subordination of music to poetry and the
dance-figure. Harmony was virtually unknown in antiquity, and
without a knowledge of part-writing no independent art of music is
possible. The song of antiquity was the most restricted of all melodic
styles, viz., the chant or recitative. The essential feature of both chant
and recitative is that the tones are made to conform to the metre and
accent of the text, the words of which are never repeated or
prosodically modified out of deference to melodic phrases and
periods. In true song, on the contrary, the words are subordinated to
the exigencies of musical laws of structure, and the musical phrase,
not the word, is the ruling power. The principle adopted by the
Christian fathers was that of the chant, and Christian music could not
begin to move in the direction of modern artistic attainment until, in
the course of time, a new technical principle, and a new conception
of the relation between music and poetry, could be introduced.
With the spread of the Gospel among the Gentiles, the increasing [42
hostility between Christians and Jews, the dismemberment of the
Jewish nationality, and the overthrow of Jewish institutions to which
the Hebrew Christians had maintained a certain degree of
attachment, dependence upon the Jewish ritual was loosened, and
the worship of the Church came under the influence of Hellenic
systems and traditions. Greek philosophy and Greek art, although
both in decadence, were dominant in the intellectual life of the East,
and it was impossible that the doctrine, worship, and government of
the Church should not be gradually leavened by them. St. Paul wrote
in the Greek language; the earliest liturgies are in Greek. The
sentiment of prayer and praise was, of course, Hebraic; the psalms
formed the basis of all lyric expression, and the hymns and liturgies
were to a large extent colored by their phraseology and spirit. The
shapeliness and flexibility of Greek art, the inward fervor of Hebrew
aspiration, the love of ceremonial and symbolism, which was not
confined to any single nation but was a universal characteristic of the
time, all contributed to build up the composite and imposing structure
of the later worship of the Eastern and Western churches.
The singing of psalms formed a part of the Christian worship from the
beginning, and certain special psalms were early appointed for
particular days and occasions. At what time hymns of contemporary
origin were added we have no means of knowing. Evidently during
the life of St. Paul, for we find him encouraging the Ephesians and
[30]
Colossians to the use of “psalms, hymns, and spiritual songs.” [43
In the liturgy of St. James, the liturgy of the Jerusalem Church, a very
similar share, in many instances with identical words, is assigned to
the people; but a far more frequent mention is made of the choir of
singers who render the Trisagion hymn, which, in St. Mark’s [50
liturgy, is given by the people: besides the “Allelulia,” the hymn to
the Virgin Mother, “O taste and see that the Lord is good,” and “The
Holy Ghost shall come upon thee, and the power of the Highest shall
overshadow thee.”
The history of the music of the Christian Church properly begins with
the establishment of the priestly liturgic chant, which had apparently
supplanted the popular song in the public worship as early as the
fourth century. Of the character of the chant melodies at this period
in the Eastern Church, or of their sources, we have no positive
information. Much vain conjecture has been expended on this
question. Some are persuaded that the strong infusion of Hebraic
feeling and phraseology into the earliest hymns, and the adoption of
the Hebrew psalter into the service, necessarily implies the
inheritance of the ancient temple and synagogue melodies also.
Others assume that the allusion of St. Augustine to the usage at
Alexandria under St. Athanasius, which was “more like speaking than
[38]
singing,” was an example of the practice of the Oriental and
Roman churches generally, and that the later chant developed out [52
of this vague song-speech. Others, like Kiesewetter, exaggerating
the antipathy of the Christians to everything identified with Judaism
and paganism, conceive the primitive Christian melodies as entirely
[39]
an original invention, a true Christian folk-song. None of these
suppositions, however, could have more than a local and temporary
application; the Jewish Christian congregations in Jerusalem and
neighboring cities doubtless transferred a few of their ancestral
melodies to the new worship; a prejudice against highly developed
tune as suggesting the sensuous cults of paganism may have existed
among the more austere; here and there new melodies may have
sprung up to clothe the extemporized lyrics that became perpetuated
in the Church. But the weight of evidence and analogy inclines to the
belief that the liturgic song of the Church, both of the East and West,
was drawn partly in form and almost wholly in spirit and complexion
from the Greek and Greco-Roman musical practice.
Before the age of the Greek Christian poets whose names have
passed into history, the great anonymous unmetrical hymns appeared
which still hold an eminent place in the liturgies of the Catholic and
Protestant Churches as well as of the Eastern Church. The best
known of these are the two Glorias—the Gloria Patri and the Gloria in
excelsis; the Ter Sanctus or Cherubic hymn, heard by Isaiah in vision;
and the Te Deum. The Magnificat or thanksgiving of Mary, and the
Benedicite or Song of the Three Children, were early adopted by the
Eastern Church. The Kyrie eleison appears as a response by the
people in the liturgies of St. Mark and St. James. It was adopted into
the Roman liturgy at a very early date; the addition of the Christe [58
eleison is said to have been made by Gregory the Great. The
Gloria in excelsis, the “greater doxology,” with the possible exception
of the Te Deum the noblest of the early Christian hymns, is the
angelic song given in Luke ii. 14, with additions which were made not
later than the fourth century. “Begun in heaven, finished on earth.” It
was first used in the Eastern Church as a morning hymn. The Te
Deum laudamus has often been given a Western origin, St. Ambrose
and St. Augustine, according to a popular legend, having been
inspired to improvise it in alternate verses at the baptism of St.
Augustine by the bishop of Milan. Another tradition ascribes the
authorship to St. Hilary in the fourth century. Its original form is
unknown, but it is generally believed to have been formed by
accretions upon a Greek original. Certain phrases contained in it are
also in the earlier liturgies. The present form of the hymn is probably
[40]
as old as the fifth century.
Of the very few brief anonymous songs and fragments which have
come down to us from this dim period the most perfect is a Greek
hymn, which was sometimes sung in private worship at the lighting of
the lamps. It has been made known to many English readers through
Longfellow’s beautiful translation in “The Golden Legend:”
“O gladsome light
[59
Of the Father immortal,
And of the celestial
Sacred and blessed
Jesus, our Saviour!
Now to the sunset
Again hast thou brought us;
And seeing the evening
Twilight, we bless thee,
Praise thee, adore thee
Father omnipotent!
Son, the Life-giver!
Spirit, the Comforter!
Worthy at all times
Of worship and wonder!
testbankbell.com