Chapter 10 Flashcards

1
Q

Pointer events are supported only by certain versions of which browser?

A

​Microsoft Internet Explorer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The object returned by the getCurrentPosition() method of the Geolocation API contains a single property named ____.

A

coords

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following is NOT removed when minifying a file?​

A

spaces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

To request a user’s position a single time, you use the ____ method of the Geolocation API.​

A

​getCurrentPosition()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A device’s ____ detects changes in speed.​

A

​accelerometer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

You access methods of the Geolocation API using the geolocation property of the ____ object.​

A

Navigator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

To disable interface gestures in response to pointer events, you change the value off the ____ property.​

A

​msTouchAction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

​Which of the following is a touch event?

A

touchend

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The success and fail arguments of the getCurrentPosition() method, which are executable code, are examples of ____.​

A

callbacks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

​Devices that allow for multiple touches on the screen at the same time

A

multitouch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

​Provides user’s latitude and longitude coordinates

A

​Geolocation API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A specification created by Microsoft for Windows Phone and Windows 8

A

​pointer events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

​Reports charge level of device battery

A

​Battery Status API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

​Provides access to device orientation and changes in orientation

A

​Device Orientation API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

​A set of events created by Apple for iOS

A

​touch events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

​Provides access to device camera, microphone, and/or screen

A

​WebRTC API

17
Q

​A browser or device interaction performed using touch, such as for scrolling the page

A

gesture

18
Q

​A pointing device that looks like a pencil and allows for precise touch input on a touchscreen

A

stylus

19
Q

​An argument that contains or references executable code

A

callback

20
Q

​Which of the following is a pointer event?

A

pointerdown

21
Q

To continually monitor a user’s position, you use the ____ method of the Geolocation API.​

A

​watchPosition()

22
Q

Which type of events focus on responding to finger touches on a touchscreen?​

A

​Touch events

23
Q

​The touchstart event is roughly analogous to the ____ event.

A

mousedown

24
Q

In the Google Maps API, you specify coordinates with the ____ constructor.​

A

​LatLng()

25
Q

Which array contains coordinates of all touches currently on the screen?​

A

​touches

26
Q

A device’s ____ detects its orientation in space.​

A

gyroscope

27
Q

In the Google Maps API, the ____ constructor creates a map object.​

A

​Map()

28
Q

​Which of the following is a mouse event?

A

click

29
Q

Which type of events aim to handle input from a mouse, finger, or stylus with each event?​

A

​Pointer events

30
Q

Which event is fired when a user moves a finger off the screen or outside of an object’s containing element?​

A

​touchcancel