Explore topic-wise InterviewSolutions in .

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

1.

___________ file is the entry point to the application.

Answer»

___________ FILE is the ENTRY POINT to the APPLICATION.
(1)main-view-model.js
(2)main-page.js
(3)app-index.js
(4)app.js

Answer-(4)app.js

2.

tns doctor' command is used to __________.

Answer»

tns doctor' COMMAND is used to __________.
(1)Check the project directory for a file
(2)list the files in the directory
(3)verify the setup and your INSTALLATION.
(4)INSTALL native cli

Answer:-(3)verify the setup and your installation.

3.

What is tns in Nativescript?

Answer»

What is tns in Nativescript?
(1)Telerik NativeScript.
(2)NONE of these
(3)Transaction Network SERVICES
(4)TESTED NATIVE tyle

Answer:-(1)Telerik NativeScript.

4.

Lib folder contains the __________ and dependencies to other platform specific libraries.

Answer»

Lib FOLDER contains the __________ and dependencies to other platform SPECIFIC libraries.
(1)Runtimes native C# implementation
(2)Compiletimes native C++ implementation
(3)Runtimes native C++ implementation

Answer:-(3)Runtimes native C++ implementation

5.

How to install NativeScript CLI?

Answer»

How to INSTALL NATIVESCRIPT CLI?
(1)NPM install-g-nativescript
(2)npm install g native_script
(3)npm install -g nativescript
(4)npm install g nativescript

Answer:-(3)npm install -g nativescript

6.

tns doctor command is used to __________.

Answer»

tns doctor COMMAND is used to __________.
(1)INSTALL native CLI
(2)list the FILES in the directory
(3)Check the project directory for a file
(4)verify the setup and your installation.

Answer:-(4)verify the setup and your installation.

7.

NativeScript provides single codebase for both android and iOS.

Answer»

NativeScript PROVIDES single CODEBASE for both ANDROID and IOS.
(1)TRUE
(2)False

Answer-(1)True

8.

NativeScript can be described as write once, run anywhere.

Answer»

NativeScript can be described as write once, RUN anywhere.
(1)True
(2)False

Answer:-(1)True

9.

How many types of selectors are supported in NativeScript?

Answer»

How MANY TYPES of selectors are supported in NativeScript?
(1)two
(2)THREE
(3)one
(4)five

Answer:-(2)three

10.

The source code resides in the ________ folder.

Answer»

The source code RESIDES in the ________ FOLDER.
(1)lib
(2)all of these
(3)app
(4)platform

Answer:-(3)app

11.

NativeScript supports LESS (LEaner cSS ) and SASS (Syntactically Awesome Style Sheets).

Answer»

NativeScript supports LESS (LEANER cSS ) and SASS (Syntactically Awesome Style Sheets).
(1)False
(2)TRUE

Answer:-(2)True

12.

NativeScript has cross compiler like Xamarin.

Answer» NATIVESCRIPT has cross compiler like XAMARIN.
(1)FALSE
(2)True

Answer:-(1)False
13.

Select one which is not a layout type of NativeScript.

Answer» SELECT one which is not a layout TYPE of NativeScript.
(1)AbsoluteLayout
(2)WrapperLayout
(3)FlexboxLayout
(4)DockLayout

Answer:-(2)WrapperLayout
14.

__________ is the root-level container for your app's UI and you can use it for navigation inside your app.

Answer»

__________ is the root-level CONTAINER for your APP's UI and you can use it for navigation inside your app.
(1)topmost frame
(2)Page module
(3)navigate METHOD
(4)Frame module

Answer:-(1)topmost frame

15.

In NativeScript, the UI is written in _________ and coding is done with __________.

Answer»

In NATIVESCRIPT, the UI is written in _________ and CODING is DONE with __________.
(1)XML, JavaScript/TypeScript
(2)NONE of these
(3)Html,JavaScript
(4)Platform specific UI, Java/Swift or Objective-C

Answer:-(1)XML, JavaScript/TypeScript

16.

Which of the selector type has highest priority in NativeScript CSS?

Answer»

Which of the SELECTOR type has highest priority in NativeScript CSS?
(1)ID
(2)CLASS
(3)none of these
(4)element

Answer:-(1)ID

17.

To include geolocation in your app, which command has to be executed?

Answer»

To include geolocation in your app, which command has to be executed?
(1)tns PLUGIN add nativescript-geolocation
(2)tns add plugin nativescript-geolocation
(3)tns add plugin nativescript-geolocation
(4)tns include plugin nativescript-geolocation

Answer:-(1)tns plugin add nativescript-geolocation

18.

camera.isAvailable() method will return false when used in iOS simulator/Android Emulator.

Answer»

camera.isAvailable() METHOD will RETURN false when used in iOS simulator/Android Emulator.
(1)False
(2)TRUE

Answer:-(2)True

19.

An event can be generated by __________.

Answer»

An event can be GENERATED by __________.
(1)both
(2)PROGRAM logic
(3)a USER action

Answer:-(1)both

20.

__________ has the default UI code.

Answer»

__________ has the DEFAULT UI code.
(1)main-page.js
(2)main-view-model.js
(3)main-page.xml
(4)NONE of these

Answer-(3)main-page.xml

21.

What are all the three selector types supported by NativeScript?

Answer»

What are all the three SELECTOR TYPES supported by NativeScript?
(1)CLASS
(2)all of these
(3)ELEMENT
(4)ID

Answer:-(2)all of these