Qual a diferença entre uma variável e uma constante?

Quiz sobre Kotlin

Quiz
•
Information Technology (IT)
•
12th Grade
•
Hard
Matheus Silva
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Variáveis podem mudar de valor, constantes não
Variáveis são mais rápidas que constantes
Variáveis são usadas para números, constantes para texto
Variáveis são declaradas com "val", constantes com "var"
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Quais os principais operadores aritméticos em Kotlin?
+, -, *, /
++, --, **, //
&&, ||, !, ==
<, >, <=, >=
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Como funciona a estrutura condicional if em Kotlin?
Verifica uma condição e executa um bloco de código se for verdadeira
Executa um bloco de código repetidamente
Define uma função
Declara uma variável
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
O que é uma classe em programação orientada a objetos?
Um modelo para criar objetos
Uma função que retorna um valor
Um tipo de dado primitivo
Um operador lógico
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
O que é herança?
Um mecanismo onde uma classe herda características de outra
Um tipo de dado primitivo
Uma função que retorna um valor
Um operador lógico
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Como declarar uma função em Kotlin?
Usando a palavra-chave "fun"
Usando a palavra-chave "def"
Usando a palavra-chave "function"
Usando a palavra-chave "method"
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
O que é uma lista em Kotlin?
Uma coleção ordenada de elementos
Um tipo de dado primitivo
Uma função que retorna um valor
Um operador lógico
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Quiz sobre Machine Learning na Vendas

Quiz
•
12th Grade
20 questions
Introduction to C# Programming

Quiz
•
10th Grade - University
10 questions
2TDS - Banco de Dados - Recuperação 2

Quiz
•
12th Grade
20 questions
Atividade Avaliativa Robótica /Aula Projetos

Quiz
•
9th - 12th Grade
12 questions
Computação Básica, Hardware e Software

Quiz
•
12th Grade - University
20 questions
Quiz sobre Google Forms

Quiz
•
12th Grade
10 questions
Quiz aula 7

Quiz
•
9th - 12th Grade
10 questions
Aula 09

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University