TypeScript

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Generics is a/an _______. function template object class

template

Static Type Checking Examples

C, C++, JAVA, C#, Fortran, Pascal, Scala etc.

Dynamic type Checking Examples

JavaScript, Python, VBScript etc.

Which of the following is the right way of defining enum? enum Enum {} const enum DNA {} declare enum Enum {} all the above

all

static type checking is done at

compile time

Generics allows accepting arguments of _________. only one type different types none of the options

different types

any is a generic type.

false

TypeScript is __________. procedural symbolic functional object oriented

functional ?

Annotations can be implemented as __________. length=12 var lengthC='1' length: number static length=12

length: number

Typescript compiler tsc converts code to _________.

machine language

A type system is a set of ________. data rules variables predefined functions

rules

Dynamic Type Checking is done at

run time [compiler automatically detects the type of the variable, so therefore, we do not need to declare it]

The value of TypeScript is writing _________. less code safer code

safer code

the above quiz received a score of :

score 3/4

TypeScript is a __________. compiler super-set of javascript dynamically type-checked language new version of javascript

super-set of js

We can rename a .js file to .ts file generally (t/f)

true


Set pelajaran terkait

1.0 Attacks threats and vulnerabilities 24%

View Set

The list of the most popular web browsers

View Set

Introduction to Networks (Version 6.00) - ITN Chapter 10 Exam

View Set

Chemistry II, CHM102 MasteringChemistry Ch. 15, 14.2 Acid-base Properties of Water, ALL KNEWTON TESTS, chemistry quiz 1, Gen Chem 2 Acid-Base Review, Fundamentals of Equilibrium, Le Chatelier's Acids Bases Intro, Knewton's Alta Module 14, CH 13 HW 5...

View Set

Module 15 Plant Structure and Growth

View Set

Chapter 1: Technology and Cybercrime Part 2

View Set