Typescript class 02

Quiz
•
Computers
•
University
•
Hard
Wania Kazmi
Used 15+ times
FREE Resource
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does TypeScript add to JavaScript that makes it more robust?
Strongly-typed variables
Dynamic typing
Automatic memory management
Built-in debugging tools
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of TypeScript's "Type Declaration"?
To define the types of data a variable can hold
To declare a new variable
To perform type casting
To add comments to the code
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Typescript is
interpreted language
compiled language
Answer explanation
The compiler takes TypeScript code, removes the type information, and generates JavaScript code
The target of this compilation is itself a "source language" makes this a special case of compilation.
This is often called 'transpilation' because it is translating from one source language to another and transpilation is a form of compilation.
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does TypeScript add to JavaScript to help catch errors at compile time?
Static typing
Dynamic typing
Runtime checks
Enhanced performance
5.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
In TypeScript, which keyword is used to declare a variable?
let
const
var
type
variable
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is used to indicate the type of a variable in TypeScript?
typeOf
isType
:
#
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What tool can you use to transpile TypeScript code into JavaScript code?
TypeScript Compiler (tsc)
JavaScript Transformer (jst)
TypeScript Formatter (tsf)
JavaScript Linter (eslint)
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
4to. Informática Prueba diagnóstica

Quiz
•
University
25 questions
DSU-NTD-Quiz

Quiz
•
University
25 questions
Quiz 2 (Module 3) - BSIT 2-2

Quiz
•
University
24 questions
Javascript Basics

Quiz
•
7th Grade - University
25 questions
Web Application Frameworks

Quiz
•
University
26 questions
HTML Forms - CIW SDA Lesson 6

Quiz
•
9th Grade - University
25 questions
UTS Susulan Web Development

Quiz
•
University
25 questions
Takeshi's Castle Code bingo

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University