Typescript

Typescript

University

46 Qs

quiz-placeholder

Similar activities

COM 122 TEST

COM 122 TEST

University

50 Qs

Robotics lab -S6

Robotics lab -S6

University

50 Qs

soal poster kelas XI DKV

soal poster kelas XI DKV

12th Grade - University

50 Qs

ict 1-50

ict 1-50

University

50 Qs

GCSE Computer Science - 2.1-2.2

GCSE Computer Science - 2.1-2.2

University

43 Qs

Information Technology, the Internet, and You

Information Technology, the Internet, and You

12th Grade - University

46 Qs

Introduction to Computer

Introduction to Computer

University

50 Qs

quiz oop [encapsulation, inherit, interface, abstract]

quiz oop [encapsulation, inherit, interface, abstract]

University

50 Qs

Typescript

Typescript

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Văn Vụ

Used 13+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

46 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

Cho một mảng số nguyên, hãy viết một hàm TypeScript để tính tổng các số trong mảng.

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Trong TypeScript, kiểu dữ liệu cơ bản nào được sử dụng để biểu diễn các số nguyên không dấu 32 bit?

number

bigint

uint32

int

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu nào được sử dụng để biểu diễn các giá trị true hoặc false trong TypeScript?

boolean

bool

truefalse

flag

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong TypeScript, từ khóa nào được sử dụng để khai báo một biến có kiểu dữ liệu không thay đổi sau khi gán giá trị ban đầu?

const

let

var

type

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là cách đúng để xác định một union type trong TypeScript?

type MyType = string | number;

union MyType = string, number;

interface MyType = string, number;

let MyType = string & number;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong TypeScript, để xác định một kiểu enum, ta sử dụng từ khóa nào?

enum

type

let

const

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu nào dưới đây được sử dụng để xác định một kiểu enum trong TypeScript?

enum Type

type EnumType

enum

enumValue

Create a free account and access millions of resources

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?