
Quiz sobre Memória e Variáveis em C#
Authored by MÁRIO NASCIMENTO
Computers
1st Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual dos seguintes é um nome de variável válido em C#?
1nome
nome_variavel
nome-variavel
nome variável
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é o tipo de variável mais adequado para armazenar um número inteiro em C#?
string
int
double
bool
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que acontece com uma variável local quando o método em que ela foi declarada termina sua execução em C#?
Ela se torna global
Ela é destruída
Ela se torna estática
Ela se torna dinâmica
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das seguintes atribuições está correta para uma variável do tipo `double`?
double valor = "10.5";
double valor = 10.5;
double valor = true;
double valor = '10.5';
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é o tipo de dado mais apropriado para armazenar um valor verdadeiro ou falso em C#?
int
string
bool
char
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é o tamanho em bytes de uma variável do tipo `int` em C#?
2 bytes
4 bytes
8 bytes
16 bytes
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é o tipo de variável mais adequado para armazenar um caractere único em C#?
string
char
int
bool
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?