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

Quiz

Arquivo string.xml - Android Studio

Wilbsom Gonçalves da Silva 10 questions

Take the quiz

Questions in this quiz (10)

  1. 1Qual é a principal função do arquivo strings.xml em um projeto Android?
    1. AArmazenar imagens do aplicativo
    2. BArmazenar strings de texto reutilizáveis
    3. CArmazenar arquivos de configuração
    4. DArmazenar dados do usuário
  2. 2Onde está localizado o arquivo strings.xml em um projeto Android?
    1. Ares/layout
    2. Bres/drawable
    3. Cres/values
    4. Dres/raw
  3. 3Qual é a tag raiz do arquivo strings.xml?
    1. Aa) <string>
    2. Bb) <resources>
    3. Cc) <value>
    4. Dd) <xml>
  4. 4Qual atributo é usado para definir o identificador único de uma string no arquivo strings.xml?
    1. Aid
    2. Bkey
    3. Cname
    4. Dvalue
  5. 5Como você define uma string com formatação no arquivo strings.xml?
    1. AUsando a tag <format>
    2. BUsando placeholders como %s e %d
    3. CUsando a tag <string-format>
    4. DUsando a tag <formatted-string>
  6. 6Qual é a sintaxe correta para adicionar um comentário no arquivo strings.xml?
    1. A<!-- Comentário -->
    2. B// Comentário
    3. C/* Comentário */
    4. D# Comentário
  7. 7Como você define uma string multilinha no arquivo strings.xml?
    1. AUsando a tag <multiline>
    2. BUsando \n para quebras de linha
    3. CUsando a tag <string-multiline>
    4. DUsando a tag <line-break>
  8. 8Para que serve a internacionalização (i18n) no contexto do arquivo strings.xml?
    1. APara armazenar imagens em diferentes resoluções
    2. BPara suportar várias traduções para diferentes idiomas
    3. CPara melhorar a segurança do aplicativo
    4. DPara aumentar a velocidade de execução do aplicativo
  9. 9Como você define um array de strings no arquivo strings.xml?
    1. AUsando a tag <array>
    2. BUsando a tag <string-array>
    3. CUsando a tag <list>
    4. DUsando a tag <string-list>
  10. 10Qual é a tag usada para definir variações de singular e plural no arquivo strings.xml?
    1. A<plural>
    2. B<string-plural>
    3. C<plurals>
    4. D<string-plurals>

Information

Description
Questões sobre o arquivo strings.xml do Android Studio, criado por Wilbsom Gonçalves estudante de ADS - 26/09/24
Language
Português
Views
3
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?