O que é um array em programação?

Understanding Arrays in Programming

Quiz
•
Computers
•
10th Grade
•
Hard
BRUNA KWIATKOVSKI
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Um tipo de loop que itera sobre uma sequência de números.
Uma estrutura de dados que pode armazenar uma sequência de elementos de tamanho fixo do mesmo tipo.
Uma função que retorna o comprimento de uma string.
Uma variável que armazena um único valor.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das seguintes é uma forma válida de declarar um array de inteiros em C++?
`int array[5];`
`array int[5];`
`int[5] array;`
`array[5] int;`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Em Python, como você acessa o terceiro elemento de um array chamado `arr`?
`arr[2]`
`arr[3]`
`arr(3)`
`arr{2}`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a complexidade de tempo para acessar um elemento em um array pelo seu índice?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das seguintes operações não é normalmente suportada por arrays?
Acessar um elemento pelo índice
Inserir um elemento no início
Modificar um elemento pelo índice
Iterar sobre elementos
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Em Java, qual é o valor padrão de um elemento de array de inteiros se ele não for explicitamente inicializado?
1
0
-1
null
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como você encontra o comprimento de um array chamado `numbers` em Java?
`numbers.size()`
`numbers.length`
`numbers.length()`
`length(numbers)`
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
AP Computer Science A Review 1

Quiz
•
10th - 12th Grade
10 questions
AP CS A Unit 6 Quiz PRACTICE

Quiz
•
9th - 12th Grade
10 questions
Arrays and Lists

Quiz
•
6th - 12th Grade
10 questions
Arrays

Quiz
•
10th - 12th Grade
15 questions
AV1\R1 3TEC_BE_Acesso a Propriedades em JavaScript 1 a 16

Quiz
•
1st Grade - University
15 questions
Java Arrays Prt 1Quiz

Quiz
•
9th - 12th Grade
14 questions
Exploring Computer Science

Quiz
•
10th - 12th Grade
15 questions
2D Arrays

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 Computers
17 questions
Chapter 12 - Doing the Right Thing

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

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

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