Test Bank for Introduction to Programming Using Visual Basic 10th Edition Schneider 0134542789 9780134542782 - Download PDF
Test Bank for Introduction to Programming Using Visual Basic 10th Edition Schneider 0134542789 9780134542782 - Download PDF
http://testbankpack.com/download/test-bank-for-introduction-to-
programming-using-visual-basic-2012-9th-edition-
schneider-0133378500-9780133378504/
http://testbankpack.com/download/test-bank-for-introduction-to-
programming-using-python-1st-edition-
schneider-0134058224-9780134058221/
http://testbankpack.com/download/solution-manual-for-introduction-to-
managerial-accounting-6th-edition-brewer-0078025419-9780078025419/
Solution Manual for 3 2 1 Code It 5th Edition Green
128586722X 9781285867229
http://testbankpack.com/download/solution-manual-for-3-2-1-code-
it-5th-edition-green-128586722x-9781285867229/
http://testbankpack.com/download/solution-manual-for-issues-in-
economics-today-7th-edition-guell-0078021812-9780078021817/
http://testbankpack.com/download/test-bank-for-general-chemistry-
atoms-first-2nd-edition-by-mcmurry-fay-isbn-0321809262-9780321809261/
Solution Manual for Abnormal Psychology Plus NEW
MyPsychLab 15th Edition Butcher Mineka Hooley 0205880266
9780205880263
http://testbankpack.com/download/solution-manual-for-abnormal-
psychology-plus-new-mypsychlab-15th-edition-butcher-mineka-
hooley-0205880266-9780205880263/
Test Bank for Introduction to Programming Using Visual Basic 10th
Edition Schneider 0134542789 9780134542782
Full link download:
Test Bank:
https://testbankpack.com/p/test-bank-for-introduction-to-programming-
using-visual-basic-10th-edition-schneider-0134542789-9780134542782/
Solution Manual:
https://testbankpack.com/p/solution-manual-for-introduction-to-programming-
using-visual-basic-10th-edition-schneider-0134542789-9780134542782/
Chapter 2 Visual Basic, Controls, and Events
1. Press F4 to
(A) run a program.
(B) display the Properties window.
(C) display the Solution Explorer window.
(D) terminate a program.
B
2. Which of the properties in a control's list of properties is used to give the control a
meaningful name?
(A) Text
(B) ContextMenu
(C) ControlName
(D) Name
D
4. Which of the following steps specifies P as the access key for a button?
(A) Set the Text property to Com_pute.
(B) Set the Text property to Com&pute.
(C) Set the Text property to &Com_pute.
(D) Set the Text property to comPute.
B
5. When a Visual Basic program is running, the user can move from one control to another
using the keyboard by pressing the
(A) Tab key.
(B) Space bar.
(C) Enter key.
(D) Backspace key.
A
6. Which of the following properties determines the words appearing in a form's title bar?
(A) Text
(B) Caption
(C) Name
(D) Title
A
8. When creating a new program in Visual Basic, you are asked to supply a name for the
program. If you do not specify a name, a default name is used. What is this default name?
(A) Wapplication followed by a number.
(B) Application followed by a number.
(C) WindowsApplication.
(D) WindowsApplication followed by a number.
D
10. The Properties window plays an important role in the development of Visual Basic
programs. It is mainly used
(A) to change how objects look and feel.
(B) when opening programs stored on a disk.
(C) to allow the developer to graphically design program components.
(D) to set program related options like Program Name, Program Location, etc.
A
11. Sizing Handles make it very easy to resize virtually any control when developing programs
with Visual Basic. When working in the Form Designer, how are these sizing handles
displayed?
(A) A rectangle with 4 arrows, one in each corner, around your control.
(B) A 3-D outline around your control.
(C) A rectangle with small squares around your control.
(D) None of the above
C
12. The Font dialog box allows you to select different Fonts, their style, their size, and some
other special effects. How do you bring up this Font dialog box?
(A) In the Properties window, click the ellipsis (…) on the right side of the settings box for
the Font property.
(B) Double-click the control, and select Font Property.
(C) Right-click the control, and select Font Property.
(D) None of the above
A
15. What feature in Visual Basic allows you to make more room on your screen by temporarily
concealing certain windows?
(A) Help
(B) Auto Hide
(C) Auto Minimize
(D) Expert-View
B
16. What property is available for most controls that allows you to hide/unhide them either
manually by setting the property or by setting it during run time via code?
(A) Clear
(B) Refresh
(C) Visible
(D) View-Control
C
17. What property of controls tells the order they receive the focus when the tab key is pressed
during run time?
(A) Focus order
(B) Focus number
(C) Tab index
(D) Control order
C
18. What is the default tab index of the first object placed on a form?
(A) 0
(B) 1
(C) First
(D) None of the above
A
19. What property of a control determines whether the control can receive the focus during run
time?
(A) TabOrder
(B) Focus
(C) TabIndex
(D) TabStop
D
23. What property restricts the use of a control when set to False?
(A) Available
(B) Accessible
(C) Enabled
(D) Supported
C
24. Changing a control's Text property also changes how you refer to the control in code. (T/F)
F
25. You can display the Properties window by pressing F4. (T/F)
T
26. The Properties window is used to change how objects look and react. (T/F)
T
27. When working with text boxes, the sizing handles allow you to resize the object by
dragging to make it wider or narrower. (T/F)
T
28. Once a text box control is placed on a form, it cannot be resized or moved. (T/F)
F
29. F5 is the keyboard shortcut used to activate the Properties window. (T/F)
F
31. The Description pane, located below the Properties windows, shows a brief explanation of
the highlighted property. (T/F)
T
32. The ForeColor property of a text box changes the color of the form containing the text box.
(T/F)
F
33. Shortcut keys like F5 (Run), allow you to perform certain tasks without the use of the
mouse. (T/F)
T
34. The recommended prefix for the name of a button control is btn. (T/F)
T
35. The Auto Hide feature of the Toolbox is active when the pushpin is horizontal. (T/F)
T
37. The control with tab index 1 is always the first control to receive the focus when the
program is run. (T/F)
F
38. Snap lines can be used to align the bottoms, middles, and tops of controls. (T/F)
T
39. The key combination Shift + arrow key can be used to resize a control or a group of
controls. (T/F)
T
3. IntelliSense is a technology built into Visual Basic that assists the programmer by
(A) automatically inserting text and words that have similar meaning to those currently
being entered by the programmer.
(B) allowing the programmer to edit object properties from inside the code window.
(C) replacing misspelled words with the correct spelling as soon as the programmer presses
the Enter key.
(D) automatically displaying the methods and properties available to a control.
D
4. What of the following is a correct statement for specifying the words to appear in the title
bar of Form1?
(A) Form1.Text = "My Text"
(B) Form1.TitleBar = "My Text"
(C) Me.Text = "My Text"
(D) Me.Caption = "My Text"
C
6. Which of the following statements specifies that the color of the text in txtBox be red?
(A) txtBox.Text = Color.Red
(B) txtBox.ForeColor = Color.Red
(C) txtBox.ForeColor = Red
(D) txtBox = Color.Red
B
8. Which of the following statements sets the words on a button to "Push Me"?
(A) btnButton.Name = "Push Me"
(B) btnButton.Text = Push Me
(C) btnButton.Text = "Push Me"
(D) btnButton = "Push Me"
C
12. Which of the following statements will place "Greetings" in the title bar of a form?
(A) Me.Title = "Greetings"
(B) Me.Text = "Greetings"
(C) Me.Name = "Greetings"
(D) Me.Heading = "Greetings"
B
15. Complete Word is a helpful feature produced by the Microsoft Technology called
IntelliSense. (T/F)
T
16. The Visual Basic Code Editor will automatically detect certain types of errors as you are
entering code. (T/F)
T
18. The Visual Basic Code Editor automatically capitalizes the first letters of reserved words.
(T/F)
T
19. The first line of an event procedure must contain both the keyword Sub and Handles. (T/F)
T
21. The Properties window cannot be used to display the events associated with a control. (T/F)
F
Language: English
A POPULAR ACCOUNT
OF THE
GERMAN GENERAL STAFF
BY
SPENSER WILKINSON
NEW EDITION
WESTMINSTER
ARCHIBALD CONSTABLE
& CO 1895
BY THE SAME AUTHOR
IMPERIAL DEFENCE
[Transcriber's note: the errata items below have been applied to this text.]
ERRATA.
But while the essence of the Prussian general staff lies deeply embedded
in the organization of the Prussian army, the interest of the general public
has been attracted by the fact that the great strategist to whom the victories
of 1866 and 1870 are ascribed was not the commander of the Prussian army,
but merely the chief of the general staff of a royal commander-in-chief. It
may well be doubted whether this feature of the Prussian system is suitable
for imitation elsewhere. The Germans themselves evidently regard it as
accidental rather than essential, for in organizing their navy they have, after
much experiment and deliberation, adopted a different plan. They have
appointed their chosen admiral to be, not chief of the staff to an Emperor
who in war, as he takes the field with the army, cannot undertake the
command of the navy, but to be "the commanding admiral."
I refrained in the first edition of this essay from drawing from the German
institution which it describes a moral to be applied to the British army, and
was content with a warning against overhasty imitation. At that time the
nature of the relation between Moltke and the King was still to some extent
veiled in official language, and nothing so far as I am aware had been
published which allowed the facts to rest upon well authenticated, direct
evidence as distinguished from inference. Since then the posthumous
publication of Moltke's private correspondence,[1] and of the first instalment
of his military correspondence,[2] has thrown a flood of light upon the
whole subject. I had the good fortune to be furnished with an earlier clue. As
soon as my essay was ready for the press I ventured to send a proof to Count
Moltke, with a request that he would allow me in a dedication to couple his
name with studies of which his work had been the subject. He was good
enough to reply in a letter of which the following is a translation:—
DEAR SIR,—
I have read your essay on the German general staff with great interest.
If the commander after consultation with his authorized adviser feels the
need of asking others what he ought to do, the command is in weak hands.
If King William I. ever really used the expression attributed to him on p.
58, he did himself a great injustice. The king judged the perpetually
changing military situation with an uncommonly clear eye. He was much
more than "a great strategist." It was he who took upon himself an
immeasurable responsibility, and for the conduct of an army character
weighs more than knowledge and science. I think your excellent work would
lose nothing if that passage were omitted.
You touch on p. 112[3] upon the relation between the commander and the
statesman. Neither of the two can set up for himself in advance a goal to be
certainly reached. The plan of campaign modifies itself after the first great
collision with the enemy. Success or failure in a battle occasions operations
originally not intended. On the other hand the final claims of the statesman
will be very different according as he has to reckon with defeats or with a
series of uninterrupted victories. In the course of the campaign the balance
between the military will and the considerations of diplomacy can be held
only by the supreme authority.
Great is the advantage if the head of the State is also the leader in war. He
knows his general staff and his troops, and is known by them. In such armies
there are no pronunciamentoes.
The constitution, however, does not in every country admit of placing the
head of the State at the head of the army. If the Government will and can
select in advance the most qualified general for the post, that officer must
also be given during peace the authority to influence the troops and their
leaders and to create an understanding between himself and his general staff.
This chosen general will seldom be the minister of war, who during the
whole war is indispensable at home, where all the threads of administration
come together.
You have expressed the kind intention of dedicating your interesting
essay to me, but I suggest that you should consider whether without such a
dedication it would not still better preserve the character of perfectly
independent judgment.
It was hardly possible for Moltke, bound as he was by his own high
position, to have expressed more plainly his opinion of the kind of reform
needed in the British army, nor to have better illustrated than by that opinion
the precise nature of his own work.[4]
With Moltke's view that the peculiar position which he held was not
necessarily the model best suited for the circumstances of the British army it
is interesting to compare the judgment expressed quite independently by
Lord Roberts, who kindly allows me to publish the following letter:—
SIMLA,
11th September, 1891.
The idea of a Chief of the Staff who is to regulate the preparations for and
the operations during a campaign, and who is to possess a predominant
influence in determining the military policy of a nation, is quite opposed to
the views of some of the ablest commanders and strategists, as summarized
at pages 17 and 18 of Home's Précis of Modern Tactics, Edition 1882; and I
doubt whether any really competent general or Commander-in-Chief would
contentedly acquiesce in the dissociation of command and responsibility
which the German procedure necessarily entails. That Von Moltke was the
virtual Commander-in-Chief of the German forces during the wars in
question, and that the nominal commanders had really very little to say to the
movements they were called upon to execute, seems to be clearly proved by
the third volume of the Field Marshal's writings, reviewed in The Times of
the 21st August last. Von Moltke was a soldier of extraordinary ability, he
acted in the Emperor's name, the orders he initiated were implicitly obeyed,
and the military machine worked smoothly. But had the orders not been
uniformly judicious, had a check or reverse been experienced, and had one
or more of the subordinate commanders possessed greater capacity and
resolution than the Chief of the Staff, the result might have been very
different.
In military nations a Chief of the Staff of the German type may perhaps
be essential, more especially when, as in Germany, the Emperor is the head
of the Army and its titular Commander-in-Chief. The reasons for this are
that, in the first place, he may not possess the qualities required in a
Commander-in-Chief who has to lead the Army in war; and in the second
place, even if he does possess those qualities, there are so many other
matters connected with the civil administration of his own country, and with
its political relations towards other countries, that the time of a King or
Emperor may be too fully occupied to admit of his devoting that exclusive
attention to military matters which is so necessary in a Commander-in-Chief,
if he desires to have an efficient Army. A Chief of the Staff then becomes
essential; he is indeed the Commander-in-Chief.
I think, too, that an Emperor or King would be more likely than a man of
inferior social standing to take the advice of a Chief of the Staff. The former
would be so immeasurably above all those about him that he could afford to
listen to advice—as the Emperor of Germany undoubtedly did to that of Von
Moltke on the occasion mentioned in the note at page 14 [64]. But the
Commander of about much the same standing socially as his Chief of the
Staff, and possibly not much the latter's senior in the Army, would be apt to
resent what he might consider uncalled-for interference; and this would be
specially the case if he were of a narrow-minded, obstinate disposition.
Indeed, I think that such a feeling would be almost sure to arise, unless the
Commander-in-Chief were one of those easy-going, soft natures which
ought never to be placed in such a high position.
I have been referring hitherto more to war than peace, but even in peace
time I doubt if a Chief of the Staff of the German type is suitable to our
organization, and to the comparative smallness of our army. In war time it
might easily lead to disaster. The less capacity possessed by the nominal
Commander-in-Chief the greater might be his obstinacy, and the more
capacity he possessed the more he would resent anything which might
savour of interference. Altogether I think that the office of Chief of the Staff,
as understood in Germany, might easily be made impossible under the
conditions of our service. My opinion is that the Army Head-Quarters Staff
are capable of doing exactly the same work as the Grand General Staff of the
German Army perform, and that there is no need to upset our present system.
We have only to bring the Intelligence and Mobilization Departments more
closely into communication with, and into subordination to, the Adjutant-
General and Quarter-Master-General, as is now being done in India with the
best results.
You will understand that the foregoing remarks are based on the
assumption that in the British Service the office of Commander-in-Chief is
held by the soldier who, from his abilities and experience, has commended
himself to the Government as being best qualified to organize the Army for
war, and if requisite to take command in the field. If, however, for reasons of
State it is thought desirable to approximate our system to the German system
in the selection of the head of the Army, it might become necessary to
appoint a Chief of the Staff of the German type to act as the responsible
military adviser of the Commander-in-Chief and the Cabinet. But in this case
the responsibility of the Officer in question should be fully recognised and
clearly defined.
Believe me,
Yours very truly,
FRED ROBERTS.
The work of generalship can rarely be given to any one but the
commander of an army. When the commander owes his position to other
than military considerations, as is the case in Prussia, where the king is born
to be commander-in-chief as he is born to be king, he is wise to select a good
professional general to do the work. But where a government is free to
choose its commander, that officer will wish to do his own work himself,
and will resent the suggestion that an assistant should prompt and guide him.
The Hartington Commission proposed at the same time to abolish the office
of commander-in-chief, and to create that of a "chief of the staff." This new
officer was to advise the Secretary of State—that is, the Government—upon
all the most important military questions. He was to discuss the strength and
distribution of the army, and the defence of the Empire; to plan the general
arrangements for defence, and to shape the estimates according to his plan.
In a word, he was to perform many of the most important duties of a
commander-in-chief. But he was to be the adviser or assistant, not of a
military commander, but of a civilian governor-general of the army.
Mr. Balfour's first point is that the burden thrown upon a single
Commander-in-Chief is too great for one man to bear. Marlborough,
Wellington or Napoleon would, perhaps, hardly have accepted this view. But
supposing it were true, the remedy proposed is infinitely worse than the
disease. In 1887 the Royal Commission, over which the late Sir James
Stephen presided, examined with judicial impartiality the duties of the
Secretary of State for War. That Commission in its report wrote as follows:
—
"It is morally and physically impossible that any one man should
discharge all these functions in a satisfactory manner. No one man could
possess either the time or the strength or the knowledge which would be
indispensable for that purpose; but even if such a physical and intellectual
prodigy were to be found, he would have to do his duty under disadvantages
which would reduce him practically to impotence."
Mr. Balfour's objection to this arrangement is, however, not that it sins
against the principles of good organization, but that it practically abolishes
the Secretary of State. It leaves the decision of questions which arise within
the War Office and the army in the hands of a person who is outside the
Cabinet. In this way it diminishes the power of the Cabinet, which rests
partly upon the solidarity of that body, and partly upon the practice by which
every branch of Government business is under the control of one or other of
its members.
There are many important matters which cannot be confined either to the
department of command or to that of supply. Under this head fall the terms
of service for soldiers, the conditions of recruiting, the regulations for the
appointment and promotion of officers. These are properly the subjects of
deliberation in which not only military, but civil opinions and interests must
be represented; for their definition the Secretary of State will do well to refer
to a general council of his assistants, and the ultimate settlement will require
the judgment of the Cabinet, and sometimes also the sanction of Parliament.
In time of war it is generally necessary quickly to levy extra men, and to
drain into the army a large part of the resources of the country. Such
measures must be thought out and arranged in advance during peace, for the
greatest care is required in all decisions which involve the appropriation by
the State of more than the usual share of the energies, the time and the
money of its citizens. Regulations of this kind can seldom be framed except
as the result of the deliberations of a council of military and civil officers of
experience. These, then, are the rational sub-divisions of army business.
There is the department of command, embracing the discipline and training
of the troops, their organization as combatant bodies, the arrangement of
their movements and distribution in peace and war, and all that belongs to
the functions of generalship. These matters form the proper domain of a
Commander-in-Chief. Side by side with them is the department of supply,
which procures for the commander the materials out of which his fighting
machine is put together and kept in condition. Harmony between them is
secured by the authority of the Government, wielded by the Secretary of
State, who regulates according to the state of the national policy and of the
exchequer the amount to be spent by each department, and who presides
over the great council which lays down the conditions under which the
services of the citizens in money, in property, or in person are to be claimed
by the State for its defence.
3, MADEIRA ROAD,
STREATHAM, S.W.
September 3rd, 1895.
[1] See in particular the passage in Moltke, Gesammelte Schriften, V. 298-9, which
I have translated in an essay entitled "The Brain of the Navy," p. 28.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
testbankpack.com