?For array data that should be treated as a queue, the _____ method is used, which is similar to thepop()method except that it removes the first array item and not the last.

A. ?reverse()
B. ?shift()
C. ?assert()
D. ?sort()


Answer: B

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. Object-oriented programming is today's key programming methodology. b. C++ is one of today's most popular software development languages. c. Software commands computer hardware to perform tasks. d. In use today are more than a trillion general-purpose computers and trillions more cellphones, smartphones and other handheld devices.

Computer Science & Information Technology

Which of the following properties changes the text color?

A. font-color B. color C. back-color D. background-color

Computer Science & Information Technology

(Reversing a string with Iterators using Recursion) Write a recursive version of Exercise 18.21.

What will be an ideal response?

Computer Science & Information Technology

The Word Options dialog box can be reached from the ________

A) Trust Center B) Backstage View C) Customize Ribbon D) Home tab

Computer Science & Information Technology