Home
Skill Test
Program Languages
Java
php
Python
Pyspoke
Database Management
Sql
Oracle
snowflex
NoSQL
UI/UX Design
Html
Css
Angular
React
App Development
Android
Flutter
Framework7
Xamarin
interview questions
Programe Languages
Java
PHP
Python
Pyspoke
Database Management
Sql
Oracle
snowflex
NoSQL
UI/UX Design
Html
Css
Angular
React
App Development
Android
Flutter
Framework7
Xamarin
Job Post
 
Employer Login
 
Candidates login
Call us
123 456 7890
329 Queensberry Street, North Melbourne VIC
3051, Australia.
support@superio.com
Employer Login /
 
Candidates login
UI/UX Design
Angular
Angular Home
Angular Quiz
Time Left:
30:00
Total Questionss:
Question 1
1. Which command is used to create a new Angular project?
npm create project
ng new project-name
node new project-name
angular start project-name
2. Which command is used to create a new Angular component?
ng create component
ng generate component
ng new component
ng build component
3. Angular is primarily written in which programming language?
Java
JavaScript
TypeScript
Python
4. What is the purpose of ngOnInit() in Angular?
It initializes routing configuration
It is called once the component is created and initialized
It runs every time change detection occurs
It destroys a component instance
5. 5. Which command is used to serve an Angular application locally?
ng start
npm start
ng serve
ng run
6. Which Angular directive is used to loop through a list of items?
*ngIf
*ngFor
*ngSwitch
*ngModel
7. What is the main purpose of Angular Modules (@NgModule)?
To define styles for components
To group related components, directives, and pipes
To configure dependency injection
To handle asynchronous operations
8. Which file defines the root module of an Angular application?
app.component.ts
main.ts
app.module.ts
index.html
9. Which directive is used for two-way data binding in Angular forms?
[(ngModel)]
[data]
(bindModel)
*ngBind
10. Which command is used to create a new Angular project?
npm init angular
ng new project-name
ng create project-name
npm create angular-app
Previous
Next
Submit Quiz
© 2021 Superio. All Right Reserved.