Explore topic-wise MCQs in Bachelor of Business Administration in Computer Applications (BBA [CA]).

This section includes 48 Mcqs, each offering curated multiple-choice questions to sharpen your Bachelor of Business Administration in Computer Applications (BBA [CA]) knowledge and support exam preparation. Choose a topic below to get started.

1.

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

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-'
3.

With more than one ng-app in an HTML document (an HTML page), are all of them automatically initialized?

A. Yes
B. No
C. No, only one app is automatically initialized. Others have to manually initialized.
D. none of the above
Answer» D. none of the above
4.

Angular 2 components can be described using . . . . . . A . . . . . . is a way to do some meta-programming.

A. controllers, controller
B. loaders, loader
C. typescripts, typescript
D. decorators, decorator
Answer» E.
5.

Angular 1 core concept was $scope, and you will not find $scope in angular 2.0. Angular 2 is using . . . . . . . . to detect changes.

A. zone$.js
B. Scope.js
C. zone.js
D. zones.js
Answer» D. zones.js
6.

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

Angular 2 is an open source JavaScript framework to build web applications in HTML and JavaScript and has been conceived as a . . . . . . . . .

A. mobile first approach
B. UI first approach
C. web first approach
D. all of above
Answer» B. UI first approach
8.

In Angular 2, applications rely upon the . . . . . . . method to load top-level components

A. loadstrap
B. bootstrap
C. bootload
D. none of above
Answer» C. bootload
9.

angular js is an open source full featured JavaScript framework developed by Google.

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

AngularJS is a powerful javascript framework, used for developing SinglePageApplication(SPA) projects in very clean and maintainable way.

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

ngshow directive is used to show a div tab by linking it to a Boolean variable in the script. If the value of the variable is true then the item is displayed.

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

The ng-init directive initializes application data. ,it is used to initializes the data.

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

___________ is a web application or website that interacts with the user by dynamically rewriting the current page rather than loading entire new pages from a server).

A. run time
B. java script
C. php
D. SPA
Answer» E.
14.

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

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

AngularJS is an open source full featured JavaScript framework developed by __________ It was designed to build dynamic web apps in the first place

A. GOOGLE
B. MICROSOFT
C. SUN
D. none of these
Answer» B. MICROSOFT
16.

The ______ tag is an inline container used to mark up a part of a text, or a part of a document.

A. <div>
B. <block>
C. <span>
D. none of these.
Answer» B. <block>
17.

AngularJS is a powerful javascript framework, used for developing _________ projects in very clean and maintainable way.

A. SinglePageApplication(SPA)
B. doublepage application
C. multipage application
D. none of these
Answer» B. doublepage application
18.

________is a web application or website that interacts with the user by dynamically rewriting the current page rather than loading entire new pages from a server).

A. SinglePageApplication(SPA)
B. doublepage application
C. multipage application
D. non of these
Answer» B. doublepage application
19.

The ______ directive initializes application data. ,it is used to initializes the data.

A. ng-app
B. ng-model
C. ng-bind
D. ng-init
Answer» E.
20.

______ directive is used to show a div tab by linking it to a Boolean variable in the script. If the value of the variable is true then the item is displayed.

A. ng-app
B. ngshow
C. ng-init
D. none
Answer» C. ng-init
21.

The router in Angular 2.0 has been reworked to be simple, yet extensible. It will include the following basic features:

A. Simple JSON-based Route Config
B. Optional Convention over Configuration
C. Static, Parameterized and Splat Route Patterns
D. URL Unresolver
Answer» B. Optional Convention over Configuration
22.

You can create bindings only for the data values that are added to the . . . . . object by the controller.

A. $action
B. $control
C. $scope
D. none of above
Answer» D. none of above
23.

The drawback of inline bindings is that AngularJS will not find and process every set of {{ and }} characters in your content.

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

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

A. ng-switch
B. ng-model
C. ng-Disabled
D. ng-Cloak
Answer» B. ng-model
25.

Any change to the . . . . and . . . . . properties affects these bindings and consequently the user interface content.

A. noOfTries, deviations
B. restart, tries
C. noOfTries, deviation
D. noOfTry, deviation
Answer» D. noOfTry, deviation
26.

Angular 2 has a . . . . . . . service that allows us to dynamically load a component in a certain position on the page.

A. DynamicControlLoader
B. DynamicControllerLoader
C. DynaCompLoader
D. DynamicComponentLoader
Answer» E.
27.

You can use the . . . . . . directive, in order to bind the innerHTML of the element to the specified model property.

A. ng-bind
B. ng-binding
C. ng-binds
D. ng-bindings
Answer» B. ng-binding
28.

Angular 2 can detect when component data changes, and then automatically re-render the view to reflect that change.

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

Angular 2 is entirely component based. Controllers and $scope are no longer used. They have been replaced by . . . . . . . and . . . . . . . .

A. components, controllers
B. $scopes, components
C. components, directives
D. controllers, directives
Answer» D. controllers, directives
30.

$rootScoperefers to an object which is accessible from everywhereof theapplication.

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

Events on child elements are propagated upwards, and hence event binding is also possible on a parent element.

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

In two-way binding, changes done to a model are reflected in the view, but the reverse also holds true sometimes.

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

EventEmitter class is used by directives and components to emit custom Events.

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

The . . . . . . . . . . directive substitutes the normal href property and makes it easier to work with route links in Angular 2.

A. RouterLink
B. RouterRend
C. RouterLike
D. RouterLayer
Answer» B. RouterRend
35.

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

A. ng-switch
B. ng-model
C. ng-Disabled
D. ng-Cloak
Answer» B. ng-model
36.

Which angular function is used to wrap a raw DOM element or HTML string as a jQuery element?

A. angular.element
B. angular.bootstrap
C. none
D. all
Answer» B. angular.bootstrap
37.

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

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

SPA (Single Page Application). This means that the navigation within Netflix is performed without refreshing the whole page.

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

The tag is much like the element, but is a _________ and is an ______________.

A. Block level element , inline element
B. Container element, directive element
C. directive element, directive element
D. none of these.
Answer» B. Container element, directive element
40.

The . . . . . . directive is one of the most fundamental directives in AngujarJS. The . . . . . directive inserts the result of an expression into the HTML template.

A. Debug
B. Interpolation
C. Matching
D. Controller
Answer» E.
41.

Events in Angular 2 behave like normal DOM events. They can bubble up but cannot propagate down.

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

First the HTML document is loaded into the browser, and evaluated by the browser. At this time the 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.
43.

Angular 2.0 contains a logging service called . . . . . which is very useful feature measuring where time is spent in your application.

A. config.js
B. logging.js
C. diary.js
D. none of above
Answer» D. none of above
44.

Angular 2 integrates easily with NativeScript, allowing you to code your native app in a . . . . . . . . . style that can run on any mobile device platform.

A. declarative
B. imperative
C. interrogative
D. exclamatory
Answer» B. imperative
45.

In AngularJS, views are pure html pages, and controllers written only in php do the business processing.

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

AngularJS, provides data binding capability to HTML. Thus, it gives user a rich and responsive experience TRUE

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

Published by Google in ____AngularJS has become one of the most popular JavaScript frameworks till now

A. 2009
B. 2010
C. 2011
D. 2020
Answer» B. 2010
48.

ng-hide directive is used to hide a div tab by linking it to a Boolean variable in the script. If the value of the variable is false then the item is not displayed.

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