TypeScript for Beginners - Class Modules

Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in converting a function-based module to a class-based module?
Go to calcs and convert it
Create an instance of the class
Add the export keyword
Compile the program
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What should be removed from the functions when converting to a class-based module?
Keywords
Export statements
Brackets
Function names
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you export a class in a module?
By using the import keyword
By using the export keyword
By compiling the program
By creating an instance
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to import the calculator class?
import calculator from './calc'
import { calculator } from 'calc'
import calculator from 'calc'
import { calculator } from './calc'
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the final step after creating an instance of the class?
Compile and run the program
Go to calcs
Add the export keyword
Remove all keywords
Similar Resources on Wayground
5 questions
The Modern JavaScript Bootcamp (2019) - JavaScript Modules: Part I

Interactive video
•
University
2 questions
The Modern JavaScript Bootcamp (2019) - Exploring Webpack

Interactive video
•
University
6 questions
Web Scraping Tutorial with Scrapy and Python for Beginners - Using Item in Spiders

Interactive video
•
University
2 questions
Python In Practice - 15 Projects to Master Python - Modules and Packages

Interactive video
•
University
2 questions
Learn Java from Scratch - A Beginner's Guide - Step 03 - Getting Started with Java Modularization

Interactive video
•
University
2 questions
Python 3 for Beginners: Importing, Using, and Managing Module Search Path

Interactive video
•
University
2 questions
Python for Everybody: The Ultimate Python 3 Bootcamp - Introduction to Modules

Interactive video
•
University
6 questions
ECMAScript (ES) Modules in Node.js

Interactive video
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University