Search Header Logo

Introdução ao JavaScript

Authored by CLEYTON PINHEIRO

Computers

2nd Grade

Used 4+ times

Introdução ao JavaScript
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quais são os tipos primitivos em JavaScript?

String, Number, Boolean, Object, Array

String, Number, Boolean, Undefined, Null, Symbol, BigInt

String, Number, Boolean, Function, Object

String, Number, Boolean, Array, Function

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a diferença principal entre `var`, `let` e `const` em JavaScript?

`var` é global, `let` e `const` são locais

`var` e `let` podem ser reatribuídos, `const` não

`let` e `const` são globais, `var` é local

`var` e `const` são locais, `let` é global

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das opções abaixo é uma coleção em JavaScript?

String

Array

Number

Boolean

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Para que serve o JavaScript?

Criar documentos de texto

Estilizar páginas web

Adicionar interatividade a páginas web

Criar bancos de dados

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a sintaxe correta para declarar uma variável usando `let`?

`let x = 10;`

`var x = 10;`

`const x = 10;`

`x = 10;`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é o valor padrão de uma variável não inicializada em JavaScript?

null

0

undefined

NaN

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes opções é um exemplo de tipo primitivo?

Array

Object

Boolean

Function

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?