Search Header Logo

Treinamento JS - Capítulo 3

Authored by J.P. Vendramini

Computers

Professional Development

Used 1+ times

Treinamento JS - Capítulo 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A seguinte expressão:
result == true ? “Acertou” : “Erro”

Faz parte de qual categoria de operadores?

Unário

Ternário

Binário

Quaternário

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual o output do seguinte código:
"true" && "false"

true

false

"true"

"false"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

let x = 3;

x = x * x;

A linha "x = x * 3" poderia ser substituída por qual comando:

x += x;

x **= x;

x *= 2;

x **= 2;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

let x = 10;

let y = x++;

console.log(x, y);

Qual o valor de x e de y?

x: 10, y: 10

x: 11, y: 11

x: 11, y: 10

x: 10, y: 11

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

let x = 10;

let y = ++x;

console.log(x, y);

Qual o valor de x e de y?

x: 10, y:11

x: 11, y:11

x: 11, y:10

x: 10, y:10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual o resultado da seguinte comparação:

10 === "10"

true

undefined

false

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual o valor de x?

let x = 10 * 2 ** 2 / 4 + 2;

102

12

24

42

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?