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

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

University

17 Qs

quiz-placeholder

Similar activities

SE  - Test for Reporting Team

SE - Test for Reporting Team

University

22 Qs

APA1-Week2-assignment2-quiz

APA1-Week2-assignment2-quiz

University

17 Qs

JavaScript

JavaScript

University

12 Qs

Javascript & DOM model

Javascript & DOM model

University

18 Qs

Quiz 1 (Web App Dev)

Quiz 1 (Web App Dev)

University

15 Qs

JavaScript Basics

JavaScript Basics

12th Grade - University

15 Qs

Introducing Web Security

Introducing Web Security

University

20 Qs

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

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

Assessment

Quiz

Computers

University

Medium

Created by

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?

  1. They represent boolean values

  1. They indicate absence of a value

  1. They are used for type casting

  1. 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

  1. True

  1. False

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the difference between interface and abstract class in TypeScript inheritance?

  1. Interfaces define structure, abstract classes define behavior and partial structure.

  1. Both define structure, but interfaces cannot have implementations.

  1. Both define behavior, but interfaces cannot be instantiated.

  2. 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?

  1. It indicates whether the form is visible.

  1. It checks if the form is submitted.

  1. It checks if the form is in a valid state based on defined validation rules.

  1. 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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?