Explore topic-wise MCQs in Technical Programming.

This section includes 177 Mcqs, each offering curated multiple-choice questions to sharpen your Technical Programming knowledge and support exam preparation. Choose a topic below to get started.

151.

You can use languages like . . . . . . . . . to write Angular 2 code.

A. ES5
B. ES6
C. TypeScriptor
D. Dart
Answer» B. ES6
152.

What MVC stands for?

A. Model View Control
B. Model View Controller
C. Main View Controller
D. Main View Control
Answer» C. Main View Controller
153.

AngularJS is a JavaScript framework written in ______

A. data binding
B. java script
C. php
D. SPA
Answer» C. php
154.

AngularJS can show or hide HTML depending on the state of data in the model. You do so using a set of AngularJS directives such as . . . . . . which are created specifically for that purpose.

A. ng-shown, ng-hidden
B. ng-show, ng-hide
C. nt-show, nt-hide
D. ng-shows, ng-hides
Answer» C. nt-show, nt-hide
155.

AngularJS is an MVC based framework?

A. True
B. False
C. none
D. all
Answer» B. False
156.

Scope contains the ___?

A. model data
B. JavaScript Objects
C. variables
D. None of these
Answer» B. JavaScript Objects
157.

angular.module is primarily used to create application module.

A. true
B. false
C. none
D. all
Answer» B. false
158.

The _______ directive .it is used to binds application data to the HTMLview

A. ng-app
B. ng-model
C. ng-bind
D. none of these.
Answer» D. none of these.
159.

AngularJS expressions are written using.

A. double braces like {{ expression}}
B. single braces like {expression}
C. small bracket like (expression)
D. capital bracket like [expression]
Answer» B. single braces like {expression}
160.

Can an HTML page have multiple “ng-app” directive for bootstrapping multiple AngularJS application?

A. Yes
B. No
C. None
D. All
Answer» C. None
161.

 Is AngularJS extensible?

A. false
B. true
C. All of the above
D. None
Answer» C. All of the above
162.

What are various possible prefixes such as 'ng-' using which Angular directives (for example, ng-app) can be defined?

A. ng-, data-ng-, ng:
B. ng-
C. ng-, data-ng-, ng:, x-ng-
D. ng-, data-ng-,x-ng-
Answer» D. ng-, data-ng-,x-ng-
163.

 In AngulsrJS HTML document is loaded and evaluated first in the browser. Mean while in AngularJS _________ ?

A. JavaScript file is loaded
B. The angular global object is created
C. Your JavaScript which registers controller functions is executed
D. All of above
Answer» E.
164.

Which of the following directive allows us to use form?

A. ng-include
B. ng-form
C. ng-bind
D. ng-attach
Answer» C. ng-bind
165.

There is a controller which takes a single parameter. We call it . . . . . parameter.

A. $param
B. $control
C. $scope
D. $scont
Answer» D. $scont
166.

How does an object or function can get hold of its dependencies in angular js?

A. Typically using the new operator, dependency can be created
B. By referring to a global variable, dependency can be looked up
C. Dependency can be passed into where it is required
D. All of the above
Answer» E.
167.

AngularJS directives are used in ________

A. Model
B. View
C. Controller
D. Module
Answer» C. Controller
168.

What angular function is used to manually start up an angular application?

A. angular.bootstrap
B. angular.element
C. angular.copy
D. None of the above
Answer» B. angular.element
169.

 AngularJS expressions are written using.

A. double braces like {{ expression}}
B. single braces like {expression}
C. small bracket like (expression)
D. capital bracket like [expression]
Answer» B. single braces like {expression}
170.

Angular initializes based upon which of the following scenario?

A. DOMContentLoaded event happens
B. document.readyState is set to complete
C. Both of the above
D. None of the above
Answer» D. None of the above
171.

What is link function is used for in angular js?

A. It is used for registering DOM listeners as well as instance DOM manipulation
B. It is used to retrieve object instances as defined by provider
C. It is used for template DOM Manipulation and collect all of the directives
D. The method traverses the DOM and matches the directives
Answer» B. It is used to retrieve object instances as defined by provider
172.

AngularJS module can be created using ________

A. angular.module();
B. var myModule = new module();
C. module.create();
D. angular.create();
Answer» B. var myModule = new module();
173.

Which of the following is true about AngularJS expressions

A. Expressions behave in same way as ng-bind directives
B. All of these
C. Expressions are written inside double braces like {{ expression}}
D. Expressions are used to bind application data to html
Answer» C. Expressions are written inside double braces like {{ expression}}
174.

Who is sometimes called as Father of AngularJS?

A. Brad Green
B. Igor Minor
C. Misko Hevery
D. Brian Ford
Answer» D. Brian Ford
175.

Which components can be injected as a dependency in AngularJS?

A. Application Module
B. constant
C. value
D. factory
Answer» B. constant
176.

Which of the followings are validation directives?

A. ng-required
B. ng-minlength
C. ng-pattern
D. All of the above
Answer» E.
177.

What is a controller in MVC?

A. It is a software Code that stores the data
B. It is a software Code that renders the user interface
C. It is a software Code that controls the interactions between the Model and View
D. None of the above
Answer» D. None of the above