
D15B/ Web X.0 / Ca / Quiz 1 / 23-24 Even

Quiz
•
Computers
•
University
•
Medium
Sukanya Roychowdhury
Used 1+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the purpose of the "null" and "undefined" types in TypeScript?
They represent boolean values
They indicate absence of a value
They are used for type casting
They are interchangeable with the "any" type
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
'keyof' can be used with index signatures to extract the index type
True
False
3.
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.
There's no difference, they are interchangeable.
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the purpose of the $valid property in AngularJS form validation?
It indicates whether the form is visible.
It checks if the form is submitted.
It checks if the form is in a valid state based on defined validation rules.
It controls the visibility of form elements.
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following popular frameworks is primarily written in TypeScript?
jQuery
React
Angular
Bootstrap
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a dependency in the context of Dependency Injection?
The AngularJS module
A service, object, or function that a component needs
The HTML template of a component
A type of directive in AngularJS
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the purpose of the ng-view directive in ngRoute?
It defines the structure of the HTML template
It specifies the controller for a particular view
It is a placeholder where the content of the current route will be inserted
It handles AJAX requests in AngularJS
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
Javascript & DOM model

Quiz
•
University
20 questions
PWA Progress Web Aplication

Quiz
•
University
15 questions
Quiz 1 (Web App Dev)

Quiz
•
University
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
20 questions
Introducing Web Security

Quiz
•
University
22 questions
SE - Test for Reporting Team

Quiz
•
University
17 questions
APA1-Week2-assignment2-quiz

Quiz
•
University
12 questions
JavaScript

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade