Preview

Chapter 8 Quiz

Good Essays
Open Document
Open Document
469 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Chapter 8 Quiz
Chapter 8 Quiz 1. Processing a large number of items in a(n) ________ is usually easier than processing a large number of items stored in separate variables. (Points : 6) Constant Variable Array Loop None of the above | 2. What is the term used for the number inside the bracket that specifies the number of values that an array can hold? (Points : 7) Size Size declarator Number Number declarator None of the above | 3. Access the individual elements in an array by using their _____________. (Points : 6) Sizes Numbers Integers Subscripts None of the above | 4. Which is the simplest search technique to use to find an item in an array? (Points : 7) Sequential Binary Bubble Select None of the above | 5. Which of the following arguments must be passed when passing an array as an argument? (Points : 6) The array itself An integer that specifies the number of elements in the array The data type of the array A and B A and C | 6. ________________ arrays are two or more arrays that hold related data, and the elements are accessed using a common subscript. (Points : 7) Sequential Binary Parallel Linear None of the above | 7. How many subscripts do you need to access one element in a two-dimensional array? (Points : 6) One Two Three Four None of the above | 8. Two- dimensional arrays can be thought of as containing ___________. (Points : 6) Rows and columns Lines and pages Rows and pages Lines and columns Rows and pages | 9. A three-dimensional array can be thought of as ______ of two-dimensional arrays. (Points : 7) Rows Columns Lines Pages None of the above | 10. In the following declaration, what

You May Also Find These Documents Helpful

  • Good Essays

    it the functions listed below for Exercise 2. In each case, the appropriate error message should be generated if an invalid condition occurs. For example, an error message should be generated when trying to insert an item in a given location in the list and the location is out of range, a. ArrayList(inl size): create a constructor that sets the size of the array list to the value passed in size (note that the class variable SIZE cannot be final anymore), b. int length(): create this function to determine the number of items in the list (accessor function), c. int gelSize(): create this function to determine the size of the list (accessor function), d. void clear(): create this function to remove all of the items from the list. After this operation, the length of the list is zero, e. void replace(int location, int item): create this function to replace the item in the list at the position specified by location. The item should be replaced with item. f. void insert(int location, int item): create this function to add an item to the list at the position specified by location, g. void remove(int item): create this function to delete an item from the list. All ...…

    • 714 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Array Structure Paper

    • 833 Words
    • 4 Pages

    “An array is a collective name given to a group of similar quantities. These similar quantities could be percentage marks of 100 students, number of chairs in home, or salaries of 300 employees or ages of 25 students. Thus an array is a collection of similar elements. These similar elements could be all integers or all characters, and so on” (Thompson, 2007). Building an array can be confusing for the Bug Blasters can be very confusing for a programmer who does not fully understand how they work.…

    • 833 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Chapter 3-5 Quiz

    • 736 Words
    • 3 Pages

    The marketer wants to understand how the stimuli are changed into responses inside the consumer's ________, which has two parts: the buyer's characteristics that influence how he or she perceives and reacts to the stimuli and the buyer's decision process itself.Answer…

    • 736 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    UNIT 2

    • 470 Words
    • 3 Pages

    4.) Write assignment statements that perform the following operations with the variables a, b, and c:…

    • 470 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    carloe :)

    • 253 Words
    • 2 Pages

    Problem 2. a) Write an application containing three parallel arrays that hold 10 elements each. The first array holds four-digit student ID numbers, the second holds first names, and the…

    • 253 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Array Structure Proposal

    • 574 Words
    • 3 Pages

    An array is a variable that holds multiple values of the same kind. Nearly every…

    • 574 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    a. In linear algebra, determinants have many uses. Like with inverses, finding the determinants can prove difficult. However, on a 2x2 matrix, determinants are easy. b. Determinants are usually abbreviated "det". So:…

    • 320 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Fluids

    • 2539 Words
    • 11 Pages

    1. Identify each of the following statements as either true or false. If false, explain why.…

    • 2539 Words
    • 11 Pages
    Good Essays
  • Satisfactory Essays

    Math 540

    • 6687 Words
    • 27 Pages

    5) A variable is a value that is usually a coefficient of a parameter in an equation.…

    • 6687 Words
    • 27 Pages
    Satisfactory Essays
  • Satisfactory Essays

    13. Dimension numbers should be centered between arrowheads, except when using stacked dimensions where the numbers should be staggered.…

    • 295 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    7. Space: can be thought of as the distance or area between, around, above, below, or within things.…

    • 255 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    guide to tut

    • 832 Words
    • 6 Pages

    there? How does one refer to the initial array element? To the final array element?…

    • 832 Words
    • 6 Pages
    Better Essays
  • Better Essays

    Data Type and Array

    • 760 Words
    • 4 Pages

    An array is a collection of values of the same data type. The variables in an array are called the array elements. Array elements are accessed using a single name and an index number representing the position of the element within the array. Array is a reference type data type.…

    • 760 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    c) Assume that the list of holes in a variable partitions memory system contains the following entries (in the given order): 400K, 150K, 270K and 500K. Consider the following sequence of requests :…

    • 2709 Words
    • 11 Pages
    Satisfactory Essays
  • Good Essays

    mca syllabus

    • 3084 Words
    • 13 Pages

    Course Name: Fundamentals of Programming Course Code: MCA111 Objectives: The aim of this course is to introduce the rudiments of programming to the students. Students will become familiar with problem solving techniques and algorithm development using computers. This will include structured programming using C, a high-level programming language. Prerequisites: None Contents: 1.Introduction to programming& Basics of C: Concepts of Algorithm and Flowcharts, Process of compilation, Generation of languages, Basic features of C Language like Identifier, Keywords, Variable, data types, Operators and Expression.…

    • 3084 Words
    • 13 Pages
    Good Essays