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
Quiz aula 8

Quiz
•
9th - 12th Grade
5 questions
3TDS - Programação Backend - Aula 15

Quiz
•
12th Grade
10 questions
Quiz sobre Vetores e Matrizes em C++

Quiz
•
12th Grade
11 questions
Структурированный тип данных массив

Quiz
•
10th Grade - University
5 questions
3TDS - Programação Backend - Aula 06

Quiz
•
12th Grade
7 questions
Understanding Arrays and Loops in JavaScript

Quiz
•
11th Grade - University
10 questions
Posttest for UKIN

Quiz
•
10th Grade - University
5 questions
3TDS - Programação Mobile - Aula 07

Quiz
•
12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Information Technology (IT)
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University