
Quiz 1
Authored by Abhishek Chaudhari
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the difference between interface and abstract class in TypeScript inheritance?
Interfaces define structure, abstract classes define behavior and partial structure.
Both define structure, but interfaces cannot have implementations.
Both define behavior, but interfaces cannot be instantiated.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which component in TypeScript compiles .ts files into .js files?
TypeScript Parser
TypeScript Compiler
JavaScript Engine
TypeScript Module
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to declare a block-scoped variable in TypeScript?
var
let
const
Both b and c
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you import a module in TypeScript?
import { myModule } from './myModule';
require('./myModule');
load('./myModule');
fetch('./myModule');
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is not allowed in TypeScript because of strict type checking?
==
===
!==
All are allowed
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary advantage of TypeScript over JavaScript?
Faster execution time
Enhanced type safety during development
More concise syntax
Built-in support for browser execution
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax for defining a named function in TypeScript?
function myFunction() {}
let myFunction = () => {}
const myFunction = function() {}
All of the above
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
25 questions
EMPOWERMENT TECHNOLOGY
Quiz
•
KG - University
25 questions
Office Word
Quiz
•
University
23 questions
6. Microsoft Cost Management and service level agreements
Quiz
•
University
21 questions
Multimedia Authoring Tools
Quiz
•
University
21 questions
3°D_SAV2_R2 3TECBE_ Algoritmos Estruturas Dados_17_36 QUIZIZZ
Quiz
•
11th Grade - University
21 questions
HTTP and the Web
Quiz
•
University
21 questions
Examen final curso Internet Avanzado
Quiz
•
University
21 questions
SE2 (LEC) Week 1-2 Project Management Essentials
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University