O que é um vetor em programação?

Quiz Módulo 11_PSI

Quiz
•
Other
•
9th Grade
•
Hard
Isabel Poças
Used 3+ times
FREE Resource
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Um tipo de dado que armazena apenas números inteiros
Uma estrutura de dados composta e unidimensional que armazena elementos do mesmo tipo
Um método para criar listas dinâmicas
Uma função que gera números aleatórios
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Como se declara um vetor de inteiros com 10 elementos em VB.NET?
Dim vetor(10) As Integer
Dim vetor() As Integer = {1,2,3,4,5,6,7,8,9,10}
Dim vetor(9) As Integer
Dim vetor As Integer(10)
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Qual a propriedade que permite saber quantos elementos existem num vetor?
Size
Length
Count
GetIndex
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Como se inicializa um vetor com valores predefinidos?
Dim notas() As Integer = {7,8,12,10,9,8,14,8}
Dim notas(7) As Integer = {7,8,12,10,9,8,14,8}
Dim notas As Integer = {7,8,12,10,9,8,14,8}
Dim notas(7) As Integer
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que acontece quando usamos ReDim Preserve?
O vetor é redimensionado e os valores antigos são mantidos
O vetor é apagado e todos os valores são perdidos
O vetor aumenta de tamanho, mas os novos valores são preenchidos aleatoriamente
O vetor é transformado em uma lista
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Qual das seguintes opções representa um método para manipular itens de um ListBox?
Clear()
Add(valor)
RemoveAt(índice)
Todas as anteriores
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Como se obtém o último índice de um vetor?
vetor.Length
vetor.UpperBound()
vetor.GetUpperBound(0)
vetor.LastIndex()
Create a free account and access millions of resources
Similar Resources on Quizizz
27 questions
uff - fundamentos de geofísica - petrofísica

Quiz
•
University
30 questions
Atividade Avaliativa de Robótica 3 º trimestre

Quiz
•
6th Grade - University
28 questions
Estatuto do Conhecimento Científico

Quiz
•
University
27 questions
sociologia 1° ano

Quiz
•
10th Grade - University
27 questions
Investimentos - Renda fixa e variável - 2º série

Quiz
•
1st Grade - University
29 questions
Ajustagem

Quiz
•
University
29 questions
Quizz - 9º ano - 2º bimestre de 2024

Quiz
•
9th Grade
30 questions
Sermão de Santo António aos Peixes

Quiz
•
11th 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 Other
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