Teste de Avaliação - Programação Orientada a Objetos Avançada (C#)
star
star
star
star
star
Last updated almost 4 years ago
20 questions
Note from the author:
Visual C#
1
Required
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Verdadeiro | Falso | |
|---|---|---|
Private Protected | ||
Public | ||
Internal | ||
Private Public | ||
Protected Internal | ||
Public Void |
| Draggable item | arrow_right_alt | Corresponding Item |
|---|---|---|
Matriz para guardar as notas das disciplinas | arrow_right_alt | if (tb_nome.Text == "") |
Vetor para guardar os nomes | arrow_right_alt | nomes[registo] = tb_nome.Text; |
Guardar as notas das disciplinas dentro da matriz notas | arrow_right_alt | notas[registo, 2] = int.Parse(nud_Tic.Value.ToString()); |
Ativar o click no botão Limpar | arrow_right_alt | registo++; |
Atualizar a variável registo | arrow_right_alt | btn_limpar.PerformClick(); |
Criar um objeto do tipo de form ConsultaRegisto | arrow_right_alt | string[] nomes = new string[10]; |
Verificar se preencheu o campo nome | arrow_right_alt | int[,] notas = new int[10, 3]; |
Guardar o nome digitado na textbox dentro do vetor nomes | arrow_right_alt | ConsultaRegisto consulta = new ConsultaRegisto(); |