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
Qual método de array em JavaScript é usado para adicionar um ou mais elementos ao final de um array?
`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 Wayground
10 questions
2TDS - Banco de Dados - Recuperação 2

Quiz
•
12th Grade
7 questions
3TDS - Programação Mobile - Aula 08

Quiz
•
12th Grade
10 questions
Marketing Digital -Exercício Aula 1

Quiz
•
11th Grade - University
8 questions
Javascript Intro Parte II

Quiz
•
12th Grade
10 questions
3TDS - Programação Backend - Aula 81

Quiz
•
12th Grade
10 questions
Quiz Array

Quiz
•
10th Grade - University
10 questions
3F_14042025_Verifica per orale Informatica

Quiz
•
11th Grade - University
10 questions
Aula 09

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)

Quiz
•
9th - 12th Grade
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade
9 questions
Geometry and Trigonometry Concepts

Interactive video
•
9th - 12th Grade
10 questions
Angle Relationships with Parallel Lines and a Transversal

Quiz
•
9th - 12th Grade