Loading

Quipoin Menu

Learn • Practice • Grow

angular / Angular File Ecosystem
mcq
Direction: Choose the correct option

Q1.

What is the purpose of `angular.json` file?
A. Application module definition
B. Package dependencies
C. Configuration file for Angular CLI workspace
D. Component styles
Direction: Choose the correct option

Q2.

Which file defines the root module of an Angular application?
A. app.component.ts
B. index.html
C. app.module.ts
D. main.ts
Direction: Choose the correct option

Q3.

What is the purpose of `tsconfig.json`?
A. Testing configuration
B. TypeScript compiler configuration
C. Package dependencies
D. Angular CLI configuration
Direction: Choose the correct option

Q4.

Where are global styles typically placed in an Angular project?
A. src/app/app.component.css
B. src/styles.css
C. assets/styles.css
D. styles/global.css
Direction: Choose the correct option

Q5.

What is the purpose of the `assets` folder?
A. To store configuration files
B. To store component templates
C. To store Angular modules
D. To store images, fonts, and other static files
Direction: Choose the correct option

Q6.

What is the purpose of `environment.ts` files?
A. To store CSS variables
B. To store database credentials
C. To store environment-specific configuration variables
D. To store routing configuration
Direction: Choose the correct option

Q7.

What is the role of `app.component.ts`?
A. Defines the root component logic
B. Defines the root module
C. Bootstraps the app
D. Defines routing
Direction: Choose the correct option

Q8.

Where are unit test files typically placed?
A. In a separate test folder
B. In the e2e folder
C. In the assets folder
D. Alongside the component files with .spec.ts extension
Direction: Choose the correct option

Q9.

What is the purpose of `karma.conf.js`?
A. CSS configuration
B. JavaScript configuration
C. HTML configuration
D. Configuration file for Karma test runner
Direction: Choose the correct option

Q10.

What is the role of `package.json` in Angular?
A. Lists dependencies and scripts for the project
B. Defines routes
C. Defines components
D. Defines Angular modules