Professional Documents
Culture Documents
The download Test Bank for Introduction to Programming with C++ 4th Edition Diane Zak 0619217111 9780619217112 full chapter new 2024
The download Test Bank for Introduction to Programming with C++ 4th Edition Diane Zak 0619217111 9780619217112 full chapter new 2024
https://testbankpack.com/download/solution-manual-for-
introduction-to-programming-with-c-4th-edition-diane-
zak-0619217111-9780619217112/
https://testbankpack.com/download/test-bank-for-c-programming-
from-problem-analysis-to-program-design-8th-edition-by-malik-
isbn-9781337102087/
https://testbankpack.com/download/test-bank-for-starting-out-
with-visual-c-4th-edition-gaddis-0134382609-9780134382609/
https://testbankpack.com/download/test-bank-for-c-programming-
from-problem-analysis-to-program-design-6th-edition-by-malik-
isbn-1133626386-9781133626381/
Test Bank for Introduction to Programming Using Python
1st Edition Schneider 0134058224 9780134058221
https://testbankpack.com/download/test-bank-for-introduction-to-
programming-using-python-1st-edition-
schneider-0134058224-9780134058221/
https://testbankpack.com/download/test-bank-for-introduction-to-
java-programming-comprehensive-version-9th-edition-
liang-9780132936521/
https://testbankpack.com/download/test-bank-for-introduction-to-
java-programming-comprehensive-version-10th-edition-
liang-0133761312-9780133761313/
https://testbankpack.com/download/test-bank-for-introduction-to-
java-programming-brief-version-10th-edition-
liang-0133592200-9780133592207/
https://testbankpack.com/download/test-bank-for-introduction-to-
programming-using-visual-basic-10th-edition-
schneider-0134542789-9780134542782/
Test Bank for Introduction to Programming with C++ 4th Edition Diane
Zak 0619217111 9780619217112
Solution Manual:
https://testbankpack.com/p/solution-manual-for-introduction-to-programming-
with-c-4th-edition-diane-zak-0619217111-9780619217112/
True/False
Indicate whether the statement is true or false.
1. A computer program is considered to be a solution to a problem, but one that is implemented with a
computer.
2. The purpose of analyzing a problem is to determine the goal of solving the problem, and the items that are
needed to achieve that goal.
3. When analyzing a problem, you always search first for the input, and then for the output.
4. When planning the algorithm, you must create both a flowchart and pseudocode.
5. A problem can have more than one solution.
6. Though you may have solved a problem similar to the one you are solving now, you should avoid using
that problem’s algorithm to solve the current problem.
7. You can desk-check an algorithm using its pseudocode but not its flowchart.
8. Most algorithms end with an instruction to print, display, or store the output items.
9. Pseudocode is a standardized language for writing algorithms.
10. It is a good practice to be consistent when referring to the input, output, and processing items in the IPO
chart.
11. The final step in the problem-solving process is to implement the program.
12. As a programmer, it is important to distinguish between information that truly is missing in the problem
specification, and information that simply is not stated, explicitly, in the problem specification.
13. After the instruction to enter the input items, you usually provide instructions to process those items,
typically by performing some calculations on them, to achieve the problem’s required results.
14. Let’s say you have not solved a similar problem to the one you are working on and you cannot find a
portion of an existing algorithm that you can use. You can reasonably conclude that not enough
information is present in the problem specification for you to solve it.
15. You can use a desk-check table to help you desk-check an algorithm. The table should contain one
column for each input item shown in the IPO chart, but, to avoid confusion, should not contain any
columns for the output items.
16. The term “data-checking” means that you use pencil and paper, along with sample data, to walk through
each of the steps in the algorithm manually, just as if you were the computer.
17. When the programmer is satisfied that the algorithm is correct, he or she then translates the algorithm into
a language that the computer can understand. Programmers refer to this step as tracing the algorithm.
18. Most algorithms begin with an instruction that enters the input items into the computer.
19. During the planning step, programmers write the steps that will transform the input into the output.
20. As with the output, the input typically is stated as nouns and adjectives in the problem specification.
21. Before you begin the desk-check, you first choose a set of sample data for the output values.
22. Pseudocode is a tool programmers use to help them test an algorithm.
23. Algorithms use standardized symbols to show the steps the computer needs to take to accomplish the
program’s goal.
24. After analyzing the problem, you start planning an algorithm.
25. Asymmetric data is data that the program is not expecting the user to enter.
Multiple Choice
Identify the choice that best completes the statement or answers the question.
TRUE/FALSE
MULTIPLE CHOICE
{ Carriage 13 3 2
32 Pounder Brass
{ Limber 10 11
} 23 3 13
{Howitzer 12 2 }
24 Pounder Brass {Carriage 12 2 13 }
Howitzer {Side-arms 25 } 39 1 11
Gen. Millar’s {Limber 8 2 4 }
{Ammunition 24 4 3 2 }
{Stores 2 23 }
{Limber 8 2 4 }
24 Pounder Brass {Ammunition 24 4 3 2 }
Howitzer {Stores 2 27 } 35 1 20
Ammunition {Body 10 3 4 }
Waggon {Ammunition 36 6 3 24 }
{Stores 3 2 15 }
No. of Weight. Total.
Nature of Carriage. cwt. qrs. cwt. qrs.
Rounds.
lb. lb.
{ Howitzer 6 2 }
12 Pr. Brass { Carriage 9 3 14 }
Howitzer { Side-arms 23 } 29 17
Gen. Millar’s { Limber 8 21 }
{ Ammunition 36 3 2 20 }
{ Stores 2 23 }
{ Limber 8 1 3 }
12 Pr. Brass { Ammunition 36 3 2 20 }
Howitzer { Stores 2 27 } 31 2 13
Ammunition { Body 8 3 22 }
Waggon. { Ammunition 64 6 1 12 }
{ Stores 3 2 13 }
3 Pr. Colonial { Gun 3 }
service Gun { Carriage 4 3 } 12 15
4 feet { Limber, Stores, &c. 34 5 12 }
{{ Car 3 3 14
{{ Stores, &c. 60 2 2 10
}} 6 1 24
{ Limber 7 2 4 }
Ball cartridge { Body lb.oz. 7 26 }
Waggon { 20 Boxes at 12 4 2 21 } 34 2 7
Gen. Millar’s { 20,000 Rounds 16 2 27 }
{ 2,000 Flints &
3 13 }
Boxes
Sling Cart 16 1 17 } 16 1 17
{ Gyn 9 2 22
Large Gyn
{ Blocks and Tackles 2 3 25
} 12 2 19
{ Gyn 7 3 3
Common Gyn
{ Blocks and Tackles 2 3 1
} 10 2 4
Baggage cart 9 0 7
Hand cart 4 3 4
French cart 5 2 13
Ball Cartridge cart 7 3 4
Diameter. Weight.
WHEELS.
Class. feet. cwt. qrs.
Guns, Howitzers, &c.
inches. lb.
per pair.
or Heavy 6-Pounder Wheel,
used by 12-Pr. Gun and
Limber, by 9-Pr. and heavy
1 5 4 2 4
6-Pr. Gun carriage, and by
heavy 5½ inch, and 24-Pr.
Howitzer Carriage
2 or Light 6-Pr. Wheel, used by 5 3 3 18
Limbers of the above, and by
light 6-Pr. heavy 3-Pr., light
5½ inch and 12-Pr. Howitzer
carriage and Limber, and by
Body and Limber of
ammunition Waggon
3 used by Light 3-Pr. 4 4 2 1
4 used by mountain Guns, &c. 3 3 22
24 Pr. Gun and 10-inch Howitzer 5 8 1 12
18 Ditto 8-inch ditto 5 7
Limber to the above 3 10 3 2 10
Platform Waggon, hind 5 5 1 26
Ditto ditto fore 4 4 2
Devil Carriage, hind 7 12 1 18
Ditto ditto fore 5 5 1 26
Sling cart, Gun or Mortar 5 6 8 3 10
Flanders Waggon, hind 5 3 3 18
Ditto ditto fore 4 2 2 3 20
Hand cart 4 4 2 1
Weight of Carriages for Iron guns, Heavy howitzers, &c.,
also Weight of Traversing platforms.
Garrison, with Traversing
Travelling.
Nature of trucks, &c., complete. Platforms.
Ordnance. Gun
Limber. Wood. Iron. Wood. Iron.
Carriage.
5½ 11 2 23 6 10 15 1 24
cwt. qrs.
ft. in. in. in. cwt. qrs. lb. ft. in. in. in.
lb.
42
1 7 7·5 6·62 3 0 20 1 4 7·5 5· 2 0 4
Pr.
32 1 7 7·5 6·62 3 0 20 1 4 7·5 5·5 2 0 4
24 1 7 6·5 5· 2 1 26 1 4 6·5 4·5 1 2 5
18 1 7 6·5 5· 2 1 26 1 4 6·5 4·5 1 2 5
12 1 7 6·5 5· 2 1 26 1 4 6·5 4·5 1 2 5
9 1 7 6·5 5· 2 1 26 1 4 6·5 4·5 1 2 5
6 1 6 5·5 4·25 1 3 4 1 4 6·5 3·5 1 1 6
3 1 6 5·5 4·25 1 3 4 1 4 6·5 3· 1 1 6
NEW PATTERN.
Shell filled 10 lb. 13¼ oz. Shell filled 8 lb. 1¼ oz. Shell filled 5 lb. 7¼ oz.
Shell empty 5 lb. 10 oz. Shell empty 4 lb. 9½ oz. Shell empty 3 lb. 2 oz.
Number of Balls 63 Number of Balls 41 Number of Balls 27
Letter & Eleva- Range. Letter & Eleva- Range. Letter & Eleva- Range.
Length tion. Length tion. Length tion.
of Fuze. from to of Fuze. from to of Fuze. from to
in.10ths. deg. yds. yds. in.10ths. deg. yds. yds. in.10ths. deg. yds. yds.
B ·2 1⅜ 660 960 B ·2 1⅜ 640 920 1 380 640
C ·3 1⅞ 820 1110 C ·3 1⅞ 800 1060 B ·2 1¼ 570 800
D ·4 2¼ 960 1230 D ·4 2¼ 930 1180 C ·3 1⅝ 720 930
E ·5 2¾ 1080 1340 E ·5 2¾ 1050 1290 D ·4 2¼ 845 1045
·6 3¼ 1195 1445 ·6 3¼ 1160 1390 E ·5 2⅞ 955 1145
·7 3¾ 1301 1545 ·7 3¾ 1260 1480 ·6 3⅜ 1060 1240
·8 4⅜ 1415 1645 ·8 4⅜ 1360 1570 ·7 4 1160 1330
·9 5⅛ 1520 1740 ·9 5⅛ 1455 1655 ·8 4⅝ 1255 1415
1 · 5¾ 1620 1830 1 · 5¾ 1550 1740 ·9 5¼ 1345 1500
1 ·1 6⅜ 1720 1920 1 ·1 6⅜ 1640 1820 1 · 5⅞ 1430 1580
1 ·2 7 1815 2005 1 ·2 7 1725 1895 1 ·1 6⅝ 1510 1655
1 ·3 7⅝ 1905 2085 1 ·3 7⅝ 1805 1965 1 ·2 7¼ 1585 1725
1 ·4 8¼ 1990 2160 1 ·4 8¼ 1885 2035 1 ·3 7⅝ 1655 1785
1 ·5 8⅞ 2070 2230 1 ·5 8¾ 1960 2100 1 ·4 8¼ 1720 1840
1 ·6 9⅜ 2140 2290 1 ·6 9⅜ 2030 2160 1 ·5 8⅞ 1780 1890
1 ·7 10 2200 2340 1 ·7 10 2095 2215 1 ·6 9⅝ 1835 1940
1 ·8 10¾ 2165 2275 1 ·7 10¼ 1885 1980
1 ·8 11 1953 2020
SHRAPNELL SHELLS.
Part 2 of 2
1
5 9½ 4¾ 10 5 12 9
Note.—When Shot are fired from the 24 Pounder and 12 Pounder Howitzers, the Elevation
must be about half a degree more than when Shells are used.
For Boats.
lb. oz.
{ 24 Pounder 2 8
Cartridges
{ Howitzer { Heavy 2 0
{ 12 Pounder
filled with { { Light 1 4
Powder { Gun { 1 8
6 Pr. Light
{ { 0 4
{ Carronade 12 Pounder 1 0
Charges for the Royal Navy.
High; Medium; Low: equivalent to Distant; Full;
Reduced.
Gun. High. Medium. Low. Proof.
cwt. lb. lb. lb. lb.
18-
42 6 4½ 3 15
Pounder.
” ” 38 6 4½ 3 15
” ” 22 3 2 7
” ” 20 3 2 7
” ” 15 2 — 5
24-
50 8 6 4 18
Pounder.
” ” 48 8 6 4 18
” ” 33 6 4 12
” ” 20 2½ — 6
32-
64 10 8 6 21½
Pounder*.
” ” 58 10 8 6 21½
” ” 56 10 8 6 21½
” ” 46 8 6 — 21½
” ” 48 }
8 6 5 21½
” ” 50 }
” ” 50 A 8 6 4 18
” ” 45 B 8 7 5 16
” ” 42 C 6 4 2½ 14
” ” 41 6 4 2½ 12
” ” 40 6 4 2½ 12
” ” 32 5 3 and 4 2½ 10
” ” 25 4 2½ 9
” ” 25 4 2½ 9
42-
84 14 10 5 25
Pounder.
” ” 75 14 10 5 25
” ” 67 — 10 6 23
56-
98 16 10 5 28
Pounder.
” ” 87 14 10 5 25
68-
112 20 10 5 30
Pounder.
” ” 95 16 12 8 28
” ” 87 14 10 6 25
8-Inch
65 10 8 5 20
Gun.
” ” 60 10 8 5 20
” ” 52 8 — 5 16
” ” 50 — 8 5 14
10-Inch
112 16 — — 25
Gun.
” ” 86 12 — 6 20
* Charge of powder, for firing 32-pounder shells, 8 lb.
With double shot and reduced charge, give double the elevation,
and half a degree additional,
for the reduced charge.
Range, Charge, Elevation, &c., of Iron Ordnance.
Nature 68 Pr. 42 32 24 18 12
lb. oz. lb. oz. lb. oz. lb. lb. oz. lb.
Charge
5 8 3 8 2 10 2 1 8 1
yards.
P. B. 450 400 330 300 270 230
SHRAPNELL SHELLS.