GoConqr has a new look! Let us know what you think.

Flashcards

Arrays

Bruno Gomes Data Structure Pós-Graduado English 3 cards

Cards in this deck (3)

  1. 1Explain how arrays work and how can we get access to its elementsCollection of elements stored in sequence and where each element is identified and accessed by an index.
  2. 2What are the two types of sized arrays?And what are the differences?The two types are:
    Static sized
    - determined at compile time;
    - cannot be changed;
    + perfomance;
    - memory use;
    Dynamic sized
    - determined at runtime;
    - can grow, shrink;
    + flexibility;
  3. 3When to use fixed or dynamic sized arrays?You should use fixed arrays, when you have an small collection of static value, like days of the week.
    Dynamic arrays should be used when you want to store/manipulate a list of objects

Information

Description
Pós-Graduado Data Structure Flashcards on Arrays, created by Bruno Gomes on 02/04/2024.
Created by
Bruno Gomes
Views
1
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?