Mark the following statements as true or false. a. A sequential search of a list
ID: 672415 • Letter: M
Question
Mark the following statements as true or false.
a. A sequential search of a list assumes that the list is in ascending order.
b. A binary search of a list assumes that the list is in sorted order.
c. A binary search works on ordered lists and on unordered lists, but is faster on ordered lists.
d. The elements of a Vector object are always sorted.
e. The String method regionMatches can be used to determine if two strings have the same substring.
f. BorderLayout requires the placement of at least one component in each region.
g. The amount of space required for a menu is dependent upon the number of menu items.
h. Applets are so called because they were written originally for Apple computers.
i. When an object of the class Graphics is needed by an applet, it is created by the system rather than by an explicit program statement written by the user.
j. As with applications, the.class file produced by compiling the .java file is all that is needed to run an applet.
Explanation / Answer
a.false
b.true
c.false
d.false
e.true
f.true
g.true
h.false
i.true
j.true
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.