O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

Data Structures

Dustin White 40 perguntas

Fazer o quiz

Perguntas do quiz (40)

  1. 1How do referenced types differ from primitive types?
    1. APrimitive types are integers.
    2. BReferenced types are strings.
    3. CPrimitive types use memory addresses.
    4. DReferenced types use pointers to addresses.
  2. 2Why do programmers use data structures rather than individual values?
    1. Afor reduced storage
    2. Bfor multiple data types
    3. Cfor ease of access
  3. 3Which data type only uses one bit per instance?
    1. AShort
    2. Bchar
    3. Cdouble
    4. Dboolean
  4. 4Which data type uses the most storage per value?
    1. Ashort
    2. Bint
    3. Clong
    4. Dfloat
  5. 5What is the output of the following JavaScript code?
    var Salutations = [["Dear", "Hello", "Howdy"], ["Friend", "Judy", "Concerned", "Good Old Pal"]]
    console.log(Salutations[1][1])
    1. ADear
    2. BJudy
    3. CFriend
    4. DHello
  6. 6How many elements are there in a two-dimensional array with length (4,7)?
    1. A21
    2. B4
    3. C7
    4. D28
  7. 7What is the output of the following Swift code?
    var noKeys = [5,4,7,8,10,22]
    var noChains=noKeys.count
    print(noChains)
    1. A4
    2. B7
    3. C22
    4. D6
  8. 8Why is a linear search slow?
    1. AIt uses conditional statements.
    2. BIt tests every element.
    3. CIt copies the array.
  9. 9Why should you exercise restraint and care in the use of mutable arrays?
    1. AThe syntax for their use is extremely tedious and sensitive.
    2. BTheir use can slow down performance dramatically.
    3. CThe code may become difficult to translate to other languages.
  10. 10What is the output of the following C# code?
    using System;
    class Program
    {
    static void Main() {
    int[ ][ ] jagged = new int[3][];
    jagged[0]=new int[4];
    jagged[1] = new int[2];
    jagged[2]=new int[7];
    Console.WriteLine(jagged[1][1]);
    }}
    1. A3
    2. B2
    3. C0
    4. D7

Informações

Descrição
Software Development Computer Science Quiz sobre Data Structures, criado por Dustin White em 15-12-2021.
Idioma
English
Visualizações
21
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?