Ajude a dar forma ao GoConqr. O que a gente deve adicionar?

Quiz

go part2 khan

Khamit Zhussip 36 perguntas

Fazer o quiz

Perguntas do quiz (36)

  1. 1What is the index number of the last element of an array with 29 elements?
    1. A29
    2. B28
    3. C27
    4. D0
    5. E1
  2. 2What's the output of following code?

    package main
    import "fmt"
    func main()\{
    c \:\= [...]int\{\}
    fmt.Println(len(c))
    \}
    1. A0
    2. B1
    3. C3
    4. Dcompile error
  3. 3Go supports type inheritance.
    1. AVerdadeiro
    2. BFalso
  4. 4In Go language, variables of different types can be declared in one statement.
    1. AVerdadeiro
    2. BFalso
  5. 5A slice is an abstraction over __________.
    1. Aarray
    2. Bvariable
    3. Cstructure
    4. Dinterface
  6. 6If a slice is declared with no inputs, then by default, it is initialized as nil. Its length and capacity are _________.
    1. A0
    2. B1
    3. C-1
    4. DInf
  7. 7One can increase the capacity of a slice using the ___________ function.
    1. Aappend()
    2. Bcopy()
    3. Cincrease()
    4. Dadd()
  8. 8Given a key and a value, you can store the value in a ________ object.
    1. AMap
    2. BArray
    3. CStructure
    4. DData
  9. 9You must use _________ function to create a map.
    1. Amake
    2. Bcreate
    3. Cadd
    4. Ddo
  10. 10__________ function is used to delete an entry from a map.
    1. Adelete()
    2. Berase()
    3. Cclean()
    4. Dremove()

Informações

Descrição
Quiz sobre go part2 khan, criado por Khamit Zhussip em 23-05-2019.
Idioma
English
Visualizações
16
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que a gente deve adicionar?