True/False Questions for Arrays

  • 1 When you delete an item from an unordered array, in most cases you shift other items to fill in the gap. True View Answer

  • 2 Deletion in ordered array takes O(1) running time in Big O notation False View Answer

  • 3 In computer science the rough measure to say how efficient a computer algorithm is called “Big O” notation. True View Answer

  • 4 In a binary search each guess allows you to divide the range of possible values in half. True View Answer

  • 5 Using ordered array we can speed up search times dramatically with a binary search. True View Answer

  • 6 Because class fields are typically private, when we talk about the interface, we usually mean the class methods—what they do and what their arguments are. True View Answer

  • 7 Because an array is an object, its name is a reference to an array; it’s not the array itself. True View Answer

  • 8 In C++ arrays are treated as objects False View Answer

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn and Evaluate

Follow Us
© 2020 - Subject Expert