Search Header Logo

TypeScript - змінні та типи

Authored by Ivan Kornyk

Computers

8th Grade

Used 12+ times

TypeScript - змінні та типи
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

let student = 'John';
Якого типу змінна student?

Boolean

Text

String

Number

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

let student = 5;
Якого типу змінна student?

Boolean

Text

String

Number

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Що з наведеного є правильним записом?

let a = true;

let a = true: bolean;

let a: boolean = true;

let boolan: a = true;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Вкажіть оператор присвоєння:

=

-=

==

===

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Вкажіть, що відноситься до типи Boolean?

false, null

true, undefined

true, false

null, undefined

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Вкажіть оператор, за допомогою якого можна перевірити чи числа рівні?

+==

==+

=

===

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

const count = (a: number, b: number) => { console.log(a + b + 5); }
count(5,10);

Який результат виведе функція count(5,10) ?

5

10

15

20

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?