Angular MCQ Quiz Question and Answer Set 2

Categories: Interview questions and answers Angular Angular JS MCQ

Angular MCQ Quiz Question and Answer Set 2

 

Q1- Which are the different Data Types supported by Typescript? 

  1.  Boolean var bValue: boolean = false
  2. Number var age: number = 16
  3. String var name: string = "jon"
  4. All of the above   

Answer: D

 

Q2 - Which of the following is a valid AngularJS expression?

  1. {{ 2 + 2 }} 
  2. { 2 + 2 }
  3. (( 2 + 2 ))
  4. { (2 + 2) }

 Answer: A

 

Q3 - Which of the following is true about ng-init directive?

  1. ng-init directive initializes an AngularJS Application data.
  2. ng-init directive is used to put values to the variables to be used in the application.
  3. both
  4. none

Answer: C

 

Q4 - Which of the following directive bootstraps AngularJS framework?

  1. ng-init
  2. ng-app
  3. ng-controller
  4. ng-bootstrap

Answer: C

 

Q5 - The . . . . . directive is used if you want to add or remove HTML elements from the DOM based on data in the model.

  1. yes
  2. no

Answer: A  

 

Q6 - Which of the below commands are used for installing dependencies in Node.

  1. npm add dependencyName
  2. npm i / install -g dependencyName
  3. node i / install dependencyName
  4. node i / install dependencyName

Answer : B

 

Q7 - How many types of Data Binding are there?

  1. 1 type
  2. 2 type
  3. 3 type
  4. 4 type

Answer: C  

 

Q8 - If I write <button (click) = "onClick ()"> in a template, I use?

  1. interpolation
  2. property binding
  3. event binding
  4. none of the above

Answer: C  

Q9 - What is the @Output decorator for? 

  1. Share data from a parent component to a child
  2. Share data from a child component to a parent*
  3. Use event binding
  4. Use a service

AnswerB

 

Q10 - What is the @Output decorator for?

  1. Share data from a parent component to a child
  2. Share data from a child component to a parent
  3. Use event binding
  4. Use a service

 Answer: B

Top articles
Servlet interview questions and answers for experienced Published at:- Spring Interview Questions and Answer for Experienced Published at:- Spring Boot Features for Java Developers (2022) Published at:- Detecting build version and time at runtime in Spring Boot Published at:- AWS Interview Questions Answers for Freshers and Experienced Published at:- Laravel Interview Question Answer for Freshers and Experienced Published at:- Splunk Interview Questions and Answers for freshers and Experienced Published at:- IOS Interview Questions for freshers and experienced Published at:- Red Hat Interview Question Answers for Freshers and experienced Published at:- Python Interview Question and Answer Published at:- Basic Indian History General Knowledge Question and Answer (Quiz) Published at:- AWS Interview Question and Answer for freshers and Experienced Published at:- Angular 13 interview Question and Answer Published at:- Question bank for Limited Departmental Competitive Examination (LDC) examination Published at:- Question bank for Limited Departmental Competitive Examination (LDC) examination (Set 2) Published at:- Question bank for Limited Departmental Competitive Examination (LDC) examination (Set 3) Published at:- Limited Departmental Competitive examination (LDC) examination (Water supply) Published at:- Interview Question and answer for Limited Departmental Competitive Examination Published at:- Question bank for Limited Departmental Competitive Examination (LDC) examination (Soil mechanics) Published at:- Question bank for Limited Departmental Competitive Examination (LDC) examination Sanitary Engineering Published at:- Interview Question for Limited Departmental Competitive Examination (LDC) Principles of Surveying Published at:- Interview MCQ question for railways New Lines, Doublings & Gauge Conversion Projects Published at:- MCQ Interview Question and answer for Railway Station and Passenger Amenities Published at:- Interview Question and Answer for Railway preparation Published at:- PHP MCQ Quiz Question with Answer Published at:- PHP MCQ Quiz Question with Answer (set 2) Published at:- Angular MCQ Quiz Question and Answer Published at:- Angular MCQ Quiz Question and Answer Set 2 Published at:- Java General Interview Questions and Answer Published at:- Java Threads Interview Question and Answer for experienced Published at:- Java Collections Interview Question and Answer for freshers and experienced Published at:- Garbage Collector in Java Frequently Asked Questions and Answers Published at:- Difference between Exception and Error in java Exception Handling Published at:- Java Applets Interview Questions with Answer Published at:- Java Swing Interview Questions with Answer for freshers and experienced Published at:- Java Database Connectivity (JDBC) Interview Question and answer Published at:- Remote Method Invocation (RMI) Interview Question and Answer Published at:- Jakarta Server Page (JSP) programming language Interview Question and Answer Published at:- Write a program in Java to display the first 10 terms of the following series: 10, 20, 30, 40, …….. Published at:- Write the program in Java to display the first ten terms of the following series: 1, 4, 9, 16, Published at:-
R4Rin Team
The content on R4Rin.com website is created by expert teams.