Basic Hybrid App Development Fiverr Тест

Which of the following features are provided by native applications?
i) Multi touch
ii) Fast graphic API
iii) Fluid animation
iv) Ease of use

Only options i) and ii)
Only options i) and iv)
Only options i), ii) and iv)
All options i), ii), iii) and iv)

In Android, which of the following options is responsible for device drivers, power management and resource access?

Android runtime
Linux kernel
Android framework
Native libraries

In an HTML 5.0 web application, which of the following is an INVALID parameter for the window.navigator.registerContentHandler API method?

url
mimeType
scheme
title

Carefully analyze the following jQuery code snippet:
$('#table1').find('tr').filter(function(index) { return index % 3 == 0}).addClass('firstRowClass');
What will be the result of the above code snippet?

The rows of table1 at order 3n + 1 (n = 0, 1, 2,...) will have the class, firstRowClass.
The rows of table1 at order 3n (n = 1, 2,...) will have the class, firstRowClass.
All rows of table1 will have the class, firstRowClass.
No row of table1 will have the class, firstRowClass.

Which of the following types of applications have a fast performance?

Native applications
HTML5 applications
Hybrid applications
Both b and c

In iOS, which of the following options is an identity operator that is used for testing if two object references refer to the same object instance?

=
===
..<
==

Which of the following is a second generation mobile technology, which acts as a bolt-on enhancement to 2G and 2.5G General Packet Radio Service (GPRS) networks?

Enhanced Data rates for GSM Evolution (EDGE)
Global System for Mobile Communications (GSM)
General Packet Radio Service (GPRS)
High Speed Circuit-Switched Data (HSCSD)

In iOS, which of the following options is used for detecting the changes in the position of a device in three directions: x, y and z?

Delegates
Accelerometer
UI elements
None of the above

Which of the following commands will display the help text for a specific command?
i) phonegap <command> -h
ii) phonegap <command> --help
iii) phonegap help <command>
iv) phonegap <command>.h
v) phonegap <command> help

Only options i) and iii)
Only options i), ii) and iii)
Only options i), ii), iii) and iv)
Only options i), ii), iii) and v)
All options i), ii), iii), iv) and v)

In Android, which of the following is the correct syntax of the emulator command, which is used for starting an instance of the emulator?

start emulator avd <avd_name> [<options>]
emulator –start avd <avd_name> [<options>]
emulator -avd <avd_name> [<options>]
emulator [<options>] --avd <avd_name>

In CSS3, which of the following is a type of the letter-spacing property?

length
number
percentage
integer

While using npm AppBuilder, when a user navigates to the folder that contains his project files, then which of the following commands is run for loading a newly created hybrid app project in the simulator?

$ appbuilder--companion simulate
$ appbuilder simulate
$ appbuilder run simulate
$ simulate appbuilder --companion

Carefully analyze the following CSS3 font definition:
font-weight:normal
What is the other way of achieving the same result as above?

font-weight:100
font-weight:900
font-weight:400
font-weight:700

While using npm, which of the following commands is used for removing a package from the dependencies in package.json?

npm uninstall --save <package>
npm uninstall remove <package>
npm uninstall <package> save
npm uninstall <package>--remove

Which of the following device features can be accessed by the HTML5 applications?

Notifications
Contacts
Geolocation
Camera
All of the above

Which of the following jQuery methods can be used to copy an element?

cloneTo
clone
move
moveTo

In HTML5, which of the following tags is used with the method that allows web designers to take control over the viewport?

<meta>
<nav>
<ol>
<frameset>

In CSS3, which of the following is an invalid value for the font-stretch property?

condensed
normal
semi-narrower
expanded
semi-expanded

In HTML 5.0, which of the following attributes of the <object> element refers to the location of the object's data?

type
codebase
data
usemap

In JavaScript, which of the following statements are correct about the onload event?

The onload event is cancellable.
The onload event can be used to deal with cookies.
The onload event is only used within the <head> element.
The onload event can check visitors' browser type and browser version.

In PhoneGap, which of the following tags is responsible for wrapping all the configuration contents?

<widget>
<preferences>
<icon>
<href>

For which of the following platforms while using npm, the AppBuilder CLI helps users in building, testing, deploying and publishing of cross-platform hybrid and native mobile applications?
i) iOS
ii) Android
iii) Windows

Only option ii)
Only options ii) and iii)
Only options i) and ii)
All options i), ii) and iii)

For HTML5, which of the following statements are correct about the <picture> element?

It does not support any version of the Internet Explorer browser.
While using it, the srcset attribute is optional.
While using it, the media attribute is optional.
For browsers that do not support the <picture> element, the <img> attribute can be defined.

While using npm with Node.js, which of the following methods is used for loading a module?

require()
src{string}
return
options{string}

Which of the following is the correct syntax to emulate iOS operating system while using PhoneGap?

phonegap emulate ios
cordova emulate ios
cordova phonegap emulatator ios
cordova -ios emulator

The JavaScript Object Notation with Padding (JSONP) option supports which of the following cross-origin HTTP verbs?

POST
GET
PUT
DELETE

While using Node.js, which of the following commands is used to update npm?

npm update -g npm@latest<br<; a="">>npm update @latest@npm -g
npm install npm@latest -g
npm install @latest@npm -g

Which of the following statements is/are correct about responsive design?

It is applicable to all screen sizes.
It is a fluid design.
It provides very fast load time.
Both options a and b are correct.
Both options b and c are correct.

Which of the following types of tools provide high degree of script reuse while testing mobile apps?

Object-based tools
Image-based tools
Neither option a nor b
Both options a and b

Using npm, which of the following commands will create a new project with Screen Builder?

appbuilder create <My App> using screenbuilder
appbuilder create screenbuilder <My App>
appbuilder using screenbuilder create <My App>
appbuilder screenbuilder create<My App>

In which of the following types of designs, websites are built using percentages for widths?

Responsive
Adaptive
Fluid
Fixed

In iOS 8.2, which of the following hardware features are NOT supported by simulator and must be tested on the device directly?
i) Barometer
ii) Audio and video input
iii) Motion support
iv) Ambient light sensor

Only option i)
Only options i) and iv)
Only options i), ii) and iv)
All options i), ii), iii) and iv)

Which of the following statements is incorrect about npm?

It enables the sharing and reuse of code.
It helps a team work together in a better way.
Using npm results in difficulty to manage the different versions of code.
In npm, the package.json file contains the metadata about a package.

Which of the following Android libraries provides a rich collection of pre-built user interface components such as buttons, labels, list views, etc.?

android.view
android.webkit
android.os
android.widget

Consider the following jQuery code snippet:
<div id='id1'> <div id='id2'>Div 2</div> </div>
Which of the following tags is/are in the result of $('#id2').parents();?

<html>
<head>
<body>
a and c
b and c

What is the frequency range of first generation mobile technology?

75–100 MHz
454–460 MHz
150–900 MHz
400–450 MHz

Which of the following programming languages are used with PhoneGap and Apache Cordova?

QML
JavaScript
CSS
Java
HTML

Which of the following is a jQuery regular expression built-in function?

test
match
find
jQuery does not have regular expression built-in functions.

In Android Studio, which of the following command line parameters is used for enabling code profiling, which is written to a specific file?

-trace <name>
-netfast
-show-kernel <name>
-shell

Which of the following parameters of the document.addEventListener method is/are required and must be supplied?
i) event
ii) useCapture
iii) function

Only option i)
Only option ii)
Both options i) and ii)
Both options i) and iii)
All options i), ii) and iii)

Which of the following are the advantages of the jQuery Mobile framework?

It can easily provide completely customized visual design.
It allows the same code to automatically scale from mobile screen to desktop screen.
It provides cross platform and cross framework compatibility.
Applications developed using jQuery Mobile are very fast on mobiles.

While using Apache Cordova, Blackberry operating system 5.0 does not support which of the following features?

Accelerometer
Camera
File
Compass

Which of the following jQuery methods can be used to delete a specified tag?

truncate
delete
remove
empty

Which of the following commands is used for starting a local web server for hosting an application for the PhoneGap?

remote
info
serve
check

Which of the following arguments/options are used with the push command, which is used for sending push notification for the PhoneGap Developer app to consume?

deviceID
service
payload
port
autoreload

NPM is written in which of the following languages?

PHP
ColdFusion
JavaScript
Python

In JavaScript, which of the following is the correct syntax of the bubbles event property?

bubbles.event
event.bubbles
set.event(bubbles)
event.bubbles.set

Carefully analyze the following jQuery code snippet:
var message = 'Message';
$('#id1').bind('click', {msg: message}, function(event) {
alert(event.data.msg);
});
message = 'New message';
$('#id2').bind('click', {msg: message}, function(event) {
alert(event.data.msg);
});
What will the alert box display if you click on "id1"?

Message.
New message.
Nothing.
None of the above options will be displayed.

JavaScript bubbles event property supports which of the following browser versions of Internet Explorer?

Internet Explorer 6.0 and above.
Internet Explorer 7.0 and above.
Internet Explorer 8.0 and above.
Internet Explorer 9.0 and above

What triggers a window onstorage event in an HTML document?

It is triggered when the window is resized.
It is triggered when a Web Storage area is updated.
It is triggered when a document performs an undo function.
It is triggered when the window becomes visible.

The PhoneGap CLI uses which of the following shorthand for --verbose?

-b
-d
-v
-s

Which of the given mobile development tools has the following characteristics?
i) It uses the same code for web browsers and mobile devices.
ii) It is a full-stack JavaScript platform used for the development of modern web and mobile applications.
iii) It provides cloud service and large number of packages, which are easy to install and use.

Meteor
Ionic
Cordova
SL4A

Which of the following functions can be performed by media queries?
i) Changing the layout of a page depending on the orientation of the browser.
ii) Adding a breakpoint.

Only option i)
Only option ii)
Both options i) and ii)
Neither option i) nor ii)

While building a PhoneGap application, which of the following commands is used for adding an Android platform?

cordova add platform android
cordova add android
cordova add android platform
cordova platform add android

Which of the following is NOT a valid syntax for the <h1> element in HTML 5.0?

<h1 class="cheader"> This is header 1</h1>
<h1 align="center"> This is header 1</h1>
<h1 onClick="dothis('sc1')">This is header</h1>
<h1 style="cursor:auto;">This is header</h1>

With respect to prototypal inheritance, which of the following methods is used for displaying properties in an object and its prototype chain?

Object.getPrototypeOf(obj)
obj.hasOwnProperty(prop)
for..in loop
None of the above

Which of the following commands will you use in order to install PhoneGap CLI 5.1.1 via npm?

$ npm install phonegap 5.1.1 --g
$ npm install -g phonegap@5.1.1
$ npm install -g phonegap –v 5.1.1
$ npm install phonegap &5.1.1 --g

While using JavaScript, which of the following options is used for attaching an event handler to a specific element?

document.addEventListener()
element.addEventListener()
document.documentElement()
element.insertBefore()

In an HTML 5.0 web application, what will be the return value of the window.navigator.appName API method?

It will return the version of the browser.
It will return the complete User-Agent header.
It will return the name of the platform.
It will return the name of the browser.

Which of the following is the correct syntax of the npm-cofig sub-command, which displays all the config settings?

npm list config
npm list.config
npm config list
npm list config key

Which of the following functions can be used to bind an event handler to display a message when a window is closed, reloaded or navigated to another page?

end
exit
unload
None of the above

Which of the following options is an object used by iOS for managing a set of views and coordinating the flow of information between an app's data model and the views that display that data?

View hierarchy
Unwind segue
View controller
Workspace window

Choose True or False.
SQLite can be used by iOS for data handling.

True
False

With respect to npm AppBuilder, which of the following commands is executed to run a newly created app on an iOS device?

$ appbuilder --companion ios
$ appbuilder build --companion run ios
$ appbuilder ios --companion
$ appbuilder build ios --companion

In JavaScript, which of the following DOM objects can be used to determine screen resolution?

It is not possible to determine screen resolution.
Screen object.
Document object.
Window object.
None of the above.

In JavaScript, which of the following methods are used for finding HTML elements?

document.getElementsByTagName(name)
document.getElementById(id, class name)
document.getElementById(id)
document.getElementsByClassName(name)
document.getElementsByName(tag name)

Which of the following jQuery code snippets insert(s) the code snippet, <div class="footer">footer</div> at the end of div tags?

$('div').append(' <div class="footer">footer</div>');
$('div').appendTo('<div class="footer">footer</div>');
$('<div class="footer">footer</div>').append('div');
$('<div class="footer">footer</div>').appendTo('div');

In JavaScript, which of the following statements is incorrect about prototypal inheritance?

The value of this, for function properties, is set to the prototype.
When the interpreter cannot find a property to be accessed in an object, the _proto_ link is followed and the property is searched there.
Direct access to obj._proto_ is provided by Firefox/Chrome.

Carefully analyze the following HTML code:
<!DOCTYPE html>
<html>
   <body>
       <h1 onclick="changeText(this)">Click Me. </h1>
        <script>
           ???
       </script>
   </body>
</html>
In the above code, which of the given options should replace "???" so that the code displays the text Click Me. on execution and clicking on this text displays Greetings of the day!?

function changeText(this)
{
       this.innerHTML = "Greetings of the day!";
}

function changeText(this)
{
       id.innertext.this = "Greetings of the day!";
}

function changeText(id)
{
       id.innerHTML = "Greetings of the day!";
}

function changeText(id)
{
       innerText.id = "Greetings of the day!";
}

Which of the following statements are correct about Cordova platform for mobile development?

Cordova is one of the best suited platforms for large apps that require lots of data and functionality.
Cordova is compatible with different browsers and hence does not create any cross browser compatibility issues.
With Cordova, a user does not need to learn any platform-specific programming languages as JavaScript is used with Cordova.
Cordova helps in faster development of hybrid apps.

Which of the given Android components perform the following activities?
Displaying a list of contacts.
Launching an activity.
Broadcasting a message.

Service
Activity
Fragment
Intent

In jQuery, which of the following values is/are valid argument(s) of an eq() function?

1
'2'
Both a and b
Neither a nor b

While sizing content to a viewport, which of the following rules should be followed?

Large, fixed-width elements should be used.
User should not let the content rely on a particular viewport width, in order to render well.
CSS media queries should be used for applying different styling to small and large screens.
Both options a and b are correct.
Both options b and c are correct.

Which of the following options will you use to implement a hybrid application?

Packaging HTML and JavaScript code inside mobile application binary.
Using a container as a thin shell over the UIWebview in order to implement a full web application from the server.
Both options a and b.
Neither option a nor b.

Which of the following commands is used for creating a new PhoneGap application project at a provided path?

phonegap create [options] <path> [id [name [config]]]
create phonegap [options] [id [name [config]]] <path>
create new phonegap [options[id [name [config]]]] <path>
phonegap.create <path> [options [id [name [config]]]]

In responsive web design, what will happen if width property of an image is set to 100%?

The image will become responsive and will scale up and down.
The image will scale down but will never scale up to become larger than its original size.
The image will scale up but will never scale down to become smaller than its original size.
None of the above.

In PhoneGap offline apps, which of the following files contains homepage of web contents?

config.xml
index.html
.js file
None of the above

The Corona SDK provides cross-platform deployment for which of the following operating systems?

iOS
Android
Blackberry
Windows

In CSS3, which of the following declarations rotates an element in the counter-clockwise direction?

object-rotation: -30deg
rotate-object: -30deg
transform:rotate(-30deg)
transform:rotateobject(-30deg)

In CSS3, what will happen if the value of the transform-style property is set to flat and the element has children?

The element will be shown with 3D effect, but the children will be rendered flattened into the 2D plane.
The element will be shown with 2D effect, but the children will be rendered into the 3D plane.
Both the element and its children elements will be rendered in 3D effect.
Both the element and its children elements will be rendered in 2D effect.

Which of the following data speeds are offered by 3G mobile technology?

80 kbps
384 kbps
3.6 Mbps
12.5 Mbps

Basic Hybrid App Development Тест Fiverr 2020