JavaScript Basics Quiz

JavaScript Basics Quiz

10th Grade

15 Qs

quiz-placeholder

Similar activities

AV1 - 2º Trimestre - O que é o DOM?

AV1 - 2º Trimestre - O que é o DOM?

3rd Grade - University

20 Qs

ACP ArrayLists #2

ACP ArrayLists #2

10th - 12th Grade

11 Qs

Intro to Python Project Stem Unit 8 Vocab Test

Intro to Python Project Stem Unit 8 Vocab Test

9th - 12th Grade

18 Qs

Recuperação Se liga

Recuperação Se liga

10th Grade

13 Qs

Avaliação AV2_2025_3A - JavaScript e DOM

Avaliação AV2_2025_3A - JavaScript e DOM

3rd Grade - University

20 Qs

TICS03

TICS03

10th Grade

10 Qs

Python Functions and Method

Python Functions and Method

10th - 12th Grade

15 Qs

scratch recuperação

scratch recuperação

10th Grade

16 Qs

JavaScript Basics Quiz

JavaScript Basics Quiz

Assessment

Quiz

Instructional Technology

10th Grade

Medium

DOK Level 1: Recall

Standards-aligned

Created by

Leandro Oliveira

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a sintaxe correta para criar uma função em JavaScript?

function myFunction {}

function myFunction() {}

function: myFunction() {}

myFunction function() {}

Tags

DOK Level 1: Recall

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes é a maneira correta de declarar um array em JavaScript?

var myArray = "1, 2, 3";

var myArray = [1, 2, 3];

var myArray = (1, 2, 3);

var myArray = {1, 2, 3};

Tags

DOK Level 1: Recall

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Como você acessa o primeiro elemento de um array chamado `myArray`?

myArray[0]

myArray[1]

myArray.first()

myArray.get(0)

Tags

DOK Level 1: Recall

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

O que o seguinte código imprimirá? console.log("Hello" + " " + "World");

HelloWorld

Hello World

Hello

World

Tags

DOK Level 1: Recall

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes é uma maneira correta de definir uma função com parâmetros em JavaScript?

function myFunction(param1, param2) {}

function myFunction(param1; param2) {}

function myFunction(param1 param2) {}

function myFunction(param1: param2) {}

Tags

DOK Level 1: Recall

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é o valor de retorno da seguinte função? function add(a, b) { return a + b; } console.log(add(2, 3));

2

3

5

undefined

Tags

DOK Level 1: Recall

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes afirmações é verdadeira sobre arrays em JavaScript?

Os arrays só podem conter números.

Os arrays podem conter diferentes tipos de dados.

Os arrays são imutáveis.

Os arrays não podem ser aninhados.

Tags

DOK Level 1: Recall

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?