Search Header Logo

TypeScript Basico

Authored by Coachs Desarrollo

Engineering

University

Used 2+ times

TypeScript Basico
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es una ventaja principal de TypeScript frente a JavaScript?

Menor tamaño de archivo

Soporte para PHP

Tipado estático

Soporte para bases de datos

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué tipo representa string | number en TypeScript?

Array

Tipo unión

Objeto

Tipo literal

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se declara una variable de tipo booleano?

let flag = true:boolean

flag:bool = true;

let flag: boolean = true;

boolean flag = true;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué palabra clave se usa para crear una interfaz?

type

interface

struct

schema

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es el tipo de dato any?

Un número

Cualquier tipo

Solo objetos

Solo texto

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué hace as en TypeScript?

Declara una variable

Realiza una conversión de tipo

Elimina un valor

Declara una función

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué palabra se usa para declarar constantes?

let

const

define

permanent

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?