🎧 New: AI-Generated Podcasts Turn your study notes into engaging audio conversations. Learn more

Programação III Teste Escrito - 2º Ano
6 Questions
1 Views

Programação III Teste Escrito - 2º Ano

Created by
@InnovativeFern

Podcast Beta

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Qual das seguintes declarações possibilita a criação de uma variável do tipo String?

  • var test:Any = 123
  • var test = 123 (correct)
  • var test:Int = 123
  • Todas as anteriores
  • O que a palavra reservada 'struct' define em Swift?

  • Constante
  • Enumerador
  • Struct (correct)
  • Classe
  • No Swift, o que o código 'var array : [String: String]' define?

  • Singleton
  • Todas as anteriores
  • Dicionário (correct)
  • List
  • Qual dos seguintes 'range operators' é possível utilizar em Swift?

    <p>a...b</p> Signup and view all the answers

    O que a palavra reservada 'enum' define em Swift?

    <p>Enumerador</p> Signup and view all the answers

    Para que serve o operador '-> Void' em Swift?

    <p>-&gt; Void indica que a função não retorna nenhum valor</p> Signup and view all the answers

    More Quizzes Like This

    Test Your 'C' Programming Skills with this Comprehensive Quiz
    5 questions
    Programming Concepts Chapter 6 Review
    20 questions
    Programming Chapter 13 Flashcards
    40 questions
    Use Quizgecko on...
    Browser
    Browser