Qual método de array em JavaScript é usado para adicionar um ou mais elementos ao final de um array?
3TDS - Programação Backend - Aula 12

Quiz
•
Information Technology (IT)
•
12th Grade
•
Hard
JOAO MONTEIRO
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
`shift()`
`push()`
`unshift()`
`pop()`
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dado o array `const numeros = [1, 2, 3, 4, 5];`, qual será o resultado de `numeros.map(x => x * 2);`?
`[1, 2, 3, 4, 5]`
`[2, 4, 6, 8, 10]`
`[3, 6, 9, 12, 15]`
`[0, 1, 2, 3, 4]`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual método de string em JavaScript é usado para dividir uma string em um array de substrings?
`split()`
`join()`
`slice()`
`concat()`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual método de array em JavaScript é usado para ordenar os elementos de um array?
`filter()`
`map()`
`sort()`
`reduce()`
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dado o array `const palavras = ['banana', 'maçã', 'laranja', 'abacaxi'];`, qual será o resultado de `palavras.filter(palavra => palavra.includes('a'));`?
`['banana', 'maçã', 'laranja', 'abacaxi']`
`['banana', 'maçã', 'laranja']`
`['maçã', 'laranja', 'abacaxi']`
`['banana', 'laranja', 'abacaxi']`
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual método de array em JavaScript é usado para reduzir um array a um único valor?
`reduce()`
`map()`
`filter()`
`concat()`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual será o resultado da expressão `['a', 'b', 'c'].join('-');`?
`'a-b-c'`
`['a', '-', 'b', '-', 'c']`
`'abc'`
`'a,b,c'`
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dado o array `const numeros = [10, 20, 30, 40];`, qual será o resultado de `numeros.reduce((acc, curr) => acc + curr, 0);`?
`100`
`10`
`40`
`0`
Similar Resources on Quizizz
10 questions
3TDS - Programação Backend - Aula 20

Quiz
•
12th Grade
10 questions
3F_14042025_Verifica per orale Informatica

Quiz
•
11th Grade - University
7 questions
Understanding Arrays and Loops in JavaScript

Quiz
•
11th Grade - University
11 questions
Quiz aula 3

Quiz
•
9th - 12th Grade
10 questions
Python Variables Quiz

Quiz
•
12th Grade
10 questions
Understanding Computer Hardware Basics

Quiz
•
12th Grade - University
10 questions
3TDS - Programação Mobile - Recuperação 2

Quiz
•
12th Grade
10 questions
Quiz aula 8

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