Typescript

Typescript

University

46 Qs

quiz-placeholder

Similar activities

Let's Study NetFund ❦ 2

Let's Study NetFund ❦ 2

University

50 Qs

Introduction to Multimedia

Introduction to Multimedia

University

45 Qs

Latihan CAT PPPK 2022 - Pemadam Kebakaran Pemula

Latihan CAT PPPK 2022 - Pemadam Kebakaran Pemula

University - Professional Development

47 Qs

Pre-Test NS123

Pre-Test NS123

University

47 Qs

AP CS P 5.1

AP CS P 5.1

10th Grade - University

50 Qs

Lesson 1 Quiz: Spreadsheets using Excel

Lesson 1 Quiz: Spreadsheets using Excel

University

45 Qs

Data Communication and Network

Data Communication and Network

11th Grade - University

50 Qs

IP MIDTERM

IP MIDTERM

University

45 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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?