Friday, July 19, 2013

Google Maps API - oDesk Skills Test Answer 2013


Dear valued visitors,
This time i will provide for everyone Google Maps API - oDesk Skills Test Answer 2013.

In Google Maps Javascript API, Scale Control is disabled by default.
a. True
b. False
Given the following lines of code, what is the correct definition of the 'Marker' constructor that will give the output as shown in the figure?


var myLatlng = new google.maps.LatLng(-25.363882,131.044922);
var myOptions = { zoom: 4, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP }
var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
a. var marker = new google.maps.Marker({position: myLatlng, map: map });
b. var marker = new google.maps.Marker({position: myLatlng, title:"Hello World!" });
c. var marker = new google.maps.Marker({position: myLatlng, map: map, title:"Hello World!" });
d. var marker = new google.maps.Marker({position: myLatlng, map: map title:"Hello World!" });
Which file format is used to display geographic data in an Earth browser such as Google Earth, Google Maps, and Google Maps for mobile?
a. KML
b. HTML
c. XML
d. KMZ
Which of the following interfaces provides the 'getTranslationGeometry()' method in the Google Maps API for Flash 3D Maps?
a. ICamera
b. IMap
c. IMap3D
d. ICamera3D
What is the purpose of 'sensor=true' in the following Google Maps Javascript API script tag?

<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true">
a. The purpose is to indicate whether or not your application is using a W3C Geolocation standard to determine the user's location.
b. The purpose is to indicate whether or not your application is using a sensor such as a GPS locator to determine the user's location in any Maps API library or service requests.
c. The purpose is to indicate that the user must set the location parameter as well.
d. The purpose is to indicate that the user doesn't have to set the location parameter.
Which of the following Geocoding API requests demonstrate the correct way to use longitude and latitude and will NOT return ZERO_RESULTS in the XML status tag?
a. http://maps.google.com/maps/api/geocode/xml?latlng=65.58,22.14&sensor=true
b. http://maps.google.com/maps/api/geocode/xml?latlng=65.58%22.14&sensor=false
c. http://maps.google.com/maps/api/geocode/xml?latlng=65.58/22.14&sensor=true
d. http://maps.google.com/maps/api/geocode/xml?latlng=65.58,22.14&sensor= false
Which of the following statements is correct regarding the difference between satellite and hybrid Google maps?
a. Satellite maps display a mix of photographic tiles and a tile layer for prominent features, whereas hybrid maps display photographic tiles.
b. Satellite maps display photographic tiles, whereas hybrid maps display a mix of photographic tiles and a tile layer for prominent features.
c. Satellite maps display the normal, default 2D tiles of Google Maps, whereas hybrid maps display physical relief tiles for displaying elevation and water features.
d. Satellite maps display physical relief tiles for displaying elevation and water features, whereas hybrid maps display the normal, default 2D tiles of Google Maps.
What is denoted by the second and third parameters of the ControlPosition method as shown in the following Google Maps API for Flash code?

ControlPosition(ControlPosition.ANCHOR_BOTTOM_RIGHT, 16, 10);
a. Horizontal and vertical padding from the edge of the map.
b. Horizontal and vertical margin from the edge of the map.
c. Horizontal and vertical pixels from the edge of the map.
d. Latitude and longitude points.
Which of the following statements is correct about the MarkerImage object of the Google Maps Javascript API?
a. It can be used to define the image.
b. It can be used to define the size of the image.
c. It can be used to define the origin of the image.        
d. It can be used to define the anchor where the icons hotspot will be located.
Which of the following are valid properties of the 'View' class which specify what sort of view the 3D map should exhibit in Google Maps API for Flash 3D Maps?
a. VIEWMODE_2D
b. VIEWMODE_PERSPECTIVE
c. VIEWMODE_ORTHOGONAL
d. VIEWMODE_3D
Which of the following is the correct syntax using which you can retrieve the ith element of a Polyline array when using the Google Maps Javascript API?
a. mvcArray[i];
b. mvcArray.getAt(i);
c. mvcArray(i);
d. mvcArray.getAt[i];
Which of the following methods is defined under the MapEvent.MAP_PREINITIALIZE event handler with regard to Google Maps API for Flash?
a. Map.setLoadOptions() method
b. Map.setInitOptions() method
c. Map.setPreInitOptions() method
d. Map.setPostInitOptions() method
On which of the following browsers can you install the Google Earth plugin for Windows?
a. Google Chrome 1.0+
b. Internet Explorer 6.0+
c. Firefox 2.0+
d. Flock 1.0+
e. All of the above
When working with Google Maps API for Flash, when is the 'MapEvent.MAP_PREINITIALIZE' event triggered?
a. After a map is ready to receive initialization parameters and before the map is ready for general use.
b. After the map is ready for general use.
c. After a default map has already been drawn.
d. Before the map has been drawn.
What does enc: prefix within the location declaration of the path specify in a Google Static Map API request ?
a. It specifies that the path that you have declared is an encoded polyline.
b. It specifies that the path that you have declared is an encoded polygon.
c. It specifies that the path that you have declared is a non-encoded polyline.
d. It specifies that the path that you have declared is a non-encoded polygon.
Which of the following can be contained in a Google Maps InfoWindow?
a. A string of text
b. An image
c. A snippet of HTML
d. A DOM element
e. All of the above
What is the default travel mode in a Directions API request?
a. Driving
b. Walking
c. Bicycling
What is the difference between the following two map feed URLs which are used to retrieve a list of maps in Google Maps Data API?

1 http://maps.google.com/maps/feeds/maps/default/owned
2 http://maps.google.com/maps/feeds/maps/default/public
a. 1 returns all the maps created by the user whereas 2 returns all the public maps created by the user.
b. 2 returns all the unlisted maps created by the user whereas 2 returns all the maps created by the user.
c. 1 returns all the maps created by the user whereas 2 returns all the unlisted maps created by the user.
Maps created using the My Maps web interface have api_visible set to true.
a. True
b. False
Which of the following is true about the 'ZERO_RESULTS' value of the status field in the Geocoding response object?
a. It indicates that no errors occurred, the address was successfully parsed and at least one geocode was returned.
b. It indicates that your request was denied.
c. It indicates that the geocode was successful but returned no results.
Which of the following types of information CANNOT be included in the balloons of Google Earth API?
a. HTML
b. CSS
c. XML
d. JAVASCRIPT
Which of the following is a valid Google Static Maps URL?
a. http://maps.google.com/maps/api/staticmap?&size=400x400&markers=11211|11206&sensor=false
b. http://maps.google.com/maps/api/staticmap?&size=400x400&markers=11211,11206&sensor=false
c. http://maps.google.com/maps/api/staticmap?&size=400x400&markers=11211.11206&sensor=false
d. http://maps.google.com/maps/api/staticmap?&size=400x400&markers=11211-11206&sensor=false
Which of the following statements will force the Google Maps Javascript APIs to ignore the browser setting and display the content in Japanese?
a. <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&lang:ja">
b. <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&lang=ja">
c. <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false,language=ja">
d. <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&language=ja">
Which of the following statements is true with regard to public maps of the Google Maps Data API?
a. Public maps do not get indexed but may show up in search results.
b. Public maps get indexed but do not show up in search results.
c. Public maps do not get indexed, nor do they show up in search results.
d. Public maps get indexed and may show up in search results.
In which of the following units must the radius be specified in the Place Search API request?
a. kilometers
b. meters
c. centimeters
d. feet
Which of the following classes has to be overridden to create a custom control when using Google Maps API for Flash?
a. ControlBase's loadControlWithMap()
b. ControlBase's PreinitControlWithMap()
c. ControlBase's initControlWithMap()
d. ControlBase's PreloadControlWithMap()
With regard to Google Maps API for Flash, which of the following events is received by Markers by default?
a. MapMouseEvent.CLICK
b. MapMouseEvent.DBCLICK
c. MapMouseEvent.HOVER
d. MapMouseEvent.MOVE
What is the largest map image size allowed to be retrieved using the Google Static Maps API?
a. 500x500 pixels
b. 320x640 pixels
c. 640x320 pixels
d. 640x640 pixels
Which of the following things CANNOT be done through the Google Maps Data API?
a. Requesting a feed of a user's maps.
b. Requesting a feed of all features across all maps.
c. Requesting a feed of features contained within a specific map.
Which of the following classes will be used to create your own Custom Overlays when using the Google Maps Javascript API?
a. GroundOverview
b. GroundOverview Option
c. Projections
d. OverlayView
Which Google Maps Javascript API object listens to the mouse or keyboard events such as 'click', 'mouseup', etc?
a. google.maps.Marker
b. google.maps.Map
c. google.maps.DirectionRenderer
What is the second parameter in the following method of Google Earth API call used to specify?

google.load("earth", "1");
a. The number of instances.
b. The number of maps to load.
c. The number of containers in the page.
d. The version number of the API.
What is the purpose of the 'getMap' method of the GroundOverlay class?
a. It sets the map on which the ground overlay is displayed.
b. It is used to check whether a valid map exists or not.
c. It returns the map on which the ground overlay is displayed.
If you don't specify any map type, then which type of map will the Google Maps Javascript API load by default?
a. Satellite
b. Hybrid
c. Roadmap
d. None of the above
Which of the following initialization parameters are supported by the MapOption object for a Map object with regard to Google Maps API for Flash?
a. attitude
b. dragging
c. mouseClickRange
d. crosshairs
What is the use of the clearOverlays() method of the Google Maps Javascript API V3?
a. It is used to delete all the overlays.
b. It is used to remove all the overlay references .
c. It removes all the overlays from the map but does not delete their references.
d. This method does not exist in Google Map API V3.
Which of the given options are true about the following line of code related to the Google Maps Javascript API?

<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
a. It specifies that the map is resizable by the user.
b. It specifies that this map should be displayed full-screen.
c. It specifies that this map is not resizable by user.
d. It specifies that this map will use the version name 1.0.
When working with Google Maps Javascript API, how can you delete an overlay from a map?
a. By passing NULL in the overlay's setMap() Method.
b. By removing the overlay from the map and then passing NULL in the overlay's setMap() method.
c. By passing NULL in the overlay's setMap() Method and then reMoving the overlay froM the Map.
d. By removing it from the map.
How can you define more than one map in your page with Google Maps Javascript API?
a. You cannot define more than one map in your page.
b. By creating more than one instance of a Map class.
c. By adding an extra parameter in the Map options.
Which of the following is the correct statement to localize your Google Maps Javascript API application for the United Kingdom?
a. <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false,region=GB">
b. <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&region:GB">
c. <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&region=GB">
d. <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true&region=GB">
What is the default size of the Navigation Control in iPhone?
a. Small Mini-Zoom for sizes smaller than 400x350px.
b. Large Pan/Zoom for sizes larger than 400x350px.
c. Medium Pan/Zoom Mini-Zoom for sizes smaller than 400x350px.
d. Navigation Control is not present in iPhone.
What is the difference between the following two map feed URLs which are used to retrieve a list of maps in Google Maps Data API?

1 http://maps.google.com/maps/feeds/maps/default/owned
2 http://maps.google.com/maps/feeds/maps/default/public
a. 1 returns all the maps created by the user whereas 2 returns all the public maps created by the user.
b. 1 returns all the unlisted maps created by the user whereas 2 returns all the maps created by the user.
c. 1 returns all the maps created by the user whereas 2 returns all the unlisted maps created by the user.
With regard to the Google Maps Javascript API, which value is NOT valid for the 'strokeOpacity' stroke styles used to draw polylines on the map?
a. 0.5
b. 1.0
c. 2.0
d. 0.8       
What is true about the 'INVALID_REQUEST' value of the status field of the Elevation response object?
a. It indicates that the requestor has exceeded quota.
b. It indicates that the API request was malformed.
c. It indicates that the API request was not successful.
How many characters can there be in a Google Static Maps URL request?
a. 255
b. 1024
c. 2048
d. 128
Which of the following are valid Geocoding API requests?
a. http://maps.google.com/maps/api/geocodexml?address=1600+Amphitheatre+Parkway+CA&sensor=true
b. http://maps.google.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway+CA&sensor=false
c. http://maps.google.com/maps/api/geocode/XML?address=1600+Amphitheatre+Parkway+CA&sensor=true
d. http://maps.google.com/maps/api/geocode/xml?address=1600+Amphitheatre+Parkway+CA
Which of the following is true about the 'appender' role in the Maps Data API?
a. A user who has been granted the appender role can view the map.
b. A user who has been granted the appender role can edit the map.
c. A user who has been granted the appender role can add features to the map.
d. A user who has been granted the appender role can view the ACL list.
On which of the following browsers can you install the Google Earth plugin for Windows?
a. Google Chrome 5.0+
b. Internet Explorer 7+ (32 bit)
c. Firefox 2.0+
d. Flock 1.0+
e. All of the above
Custom controls are positioned on the map by placing them at appropriate positions within the Map object's _________.
a. Direction property
b. Object property
c. Map property
d. Control property
What is the minimum and the maximum value of latitudes and longitudes respectively?
a. -90 and 90 ; -180 and 180
b. -90 and 180 ;-180 and 90
c. -180 and 90 ;-90 and 180
d. -180 and 180 ;-90 and 90
What is the use of the method 'getSelfLink().getHref()' of the Google Maps Data API?
a. It is used to retrieve all the features of a map.
b. It is used to retrieve an individual feature URL.
c. It is used to retrieve an individual feature.
d. It is used to retrieve a feature list.

Google SketchUp Pro 7 Skills Test Answer 2013


What is the basic pre-requisite for the Flip Edge tool in Sandbox tools to operate?
a. The surface needs to be a grid.
b. The surface needs to be a group.
c. The surface needs to contain triangulations.
d. The surface needs to contain adjacent edges.
In the given illustrations, what is the difference between the types of selection?


a. A selects the polygon and B selects the arc.
b. A gives Entity Info of the ellipse and B gives Entity Info of the path.
c. A gives Entity Info of the selected face and B gives Entity Info of the segment.
d. A and B are identical selections.
Which toolbar has been enabled in the given illustration?


a. Views
b. Sections
c. Faces
d. Layers
Where can you locate the geometric parameters/attributes of an imported component or a model in Google SketchUp?
a. Right click > Entity Info
b. Window menu > Components > Statistics tab
c. Window > Preferences > Component Info
d. View menu > Toolbars > Dynamic Components
The SimplifyContours.rb Ruby script file is available for free download from www.sketchup.com/downloads. What does this file do?
a. It enhances Soften/Smooth Edges feature.
b. It improves the performance of Sandbox tools.
c. It displays the model edges more accurately.
d. It renders contours of hidden surfaces inside the model.
Which of the following statements about 3D Warehouse is UNTRUE?
a. From within SketchUp, you can search thousands of models stored in the 3D Warehouse.
b. You can download the models from 3D Warehouse and use them in your SketchUp models.
c. You can share your favorite 3D models by uploading them from SketchUp into the 3D Warehouse.
d. My Models and My Collections links appear By Default in 3D Warehouse window.
In order to convert a single surface into a component, you may not get the option of Make Component in the context menu, as shown in the figure. What could be a possible workaround for this?


a. A single surface cannot be converted into a component.
b. Select bounding edges to enable the option Make Component.
c. Press Ctrl and right click on the surface again.
d. Go to Edit menu and choose Make Component from the drop down.
When does Google SketchUp display a warning message to the user as shown in the figure?


a. While using Scale tool on multiple components.
b. While using the Tape Measure tool to resize models with imported components.
c. While using the Offset Tool on components loaded from external files.
d. When you try to resize multiple components with single selection window.
How can the transformation as shown in the given illustrations be brought about?



a. View > Face Style > Wireframe
b. Right click > Explode
c. View > Hidden Geometry
d. Right click > Intersect > Intersect Selected
Of the following, which tool is not found in the construction tools of Google SketchUp 7?
a. 3D Text
b. Tape Measure
c. Protractor
d. Renderer
Which of the following options would result in drawing of a triangle?
a. Select Circle tool > Draw circle > Type 3s in the Value Control Box
b. Select Rectangle tool > Draw rectangle > Type 3s in the Value Control Box
c. Select Polygon tool > Draw a polygon > SketchUp draws a triangle by default
d. None of these options will end up as a triangle
Which settings window has been displayed in the given figure? Where can you access it from?



a. Geometry Settings. It can be accessed under Toolbars > Geometry
b. Shadow Settings. It can be accessed under Windows > Shadows
c. Style Settings. It can be accessed under Windows > Style
d. Layer Settings. It can be accessed under Toolbars > Layers
In the Layers Palette shown in the given figure, what happens when you uncheck the box under Visible for Layer 1?



a. Layer 1 disappears from the model.
b. Layer 1 gets deleted from the model.
c. Layer 1 appears grayed out.
d. SketchUp doesn't allow to hide active layers.
When do you see the given dialog box in Google SketchUp?



a. When you right click on a component containing 3 dimensional planes and choose Soften/Smooth Edges.
b. When you double click on a component.
c. Soften/Smooth edges feature requires a third party plug-in.
d. When you right click on a component containing perpendicular lines and choose Soften/Smooth Edges.
Which of the following options will not help you import models from 3D Warehouse?
a. Get models from the Components window.
b. Go to SketchUp Help and Downloads.
c. Use the Get Models Option under the File menu.
d. Open the 3D Warehouse in your Internet browser.
Which of the following four methods would not work for the Follow Me tool?
a. Preselect a face or an enclosed surface as a path.
b. Use the Alt key to define a path around a face.
c. Preselect edges of a path that may or may not lie on the surface.
d. Select curved, folded and internal edged surfaces.
What is the correct procedure to create a duplicate of a component in Google SketchUp 7?
a. Select component > Ctrl C > Click a different location > Ctrl V
b. Select component > Go to Tools > Duplicate
c. Select component > Alt + Left click > Click to drag the duplicate
d. Select component > Ctrl + Move tool > Click to drag the duplicate
Which of the following context menu sub-options will NOT work for the Intersect tool in SketchUp?
a. Intersect with Model.
b. Intersect Selected.
c. Intersect with Group.
d. Intersect with Context.
How can you perform the transformation as shown in the illustration, in Google SketchUp?



a. Draw a rectangle on the face > Go to Push/Pull > Select the face and pull
b. Select Push/Pull tool > Click on the face and pull
c. Draw a rectangle on the face > Select Move tool > Press Alt and click to pull up
d. Select object > Draw a rectangle on the face > Go to Tools > Extrude up
How can one use the pan tool navigation feature with the scroll button of the mouse in Google SketchUp?
a. Ctrl key + Scroll button
b. Alt key + Scroll button
c. Shift key + Scroll button
d. Scroll button can only help you zoom in or zoom out
When will you see three reference axes and the active area embedded in three concentric enclosures, as in Figure Z?



a. When you Edit Component inside a component.
b. When you double click on an embedded component.
c. When you Edit Component inside a component, which is inside a component.
d. When you right click and choose Explode on multiple components.
Which single window, as shown in the figure, will enable you to access all the groups, components and layers used in your model?


a. Groups
b. Outliner
c. Components
d. Scenes
How can you remove the unused components from the model so that they do not appear in the Components window?
a. Go to Window menu > Preferences > Components settings
b. Select and delete each unused component from Component window
c. Click on details submenu on the Components window and choose Purge Unused
d. Unused components cannot be removed from a SketchUp model
What happens when you click on the image at which the arrow points?



a. It opens Styles window for Materials.
b. It toggles view with hidden geometry.
c. It updates the Materials window.
d. It sets the material to paint with default.
What is the default number of segments of circle drawn in SketchUp?
a. 30
b. 24
c. 16
d. 34
What happens when you click on the icon being pointed at, in the Google toolbar of SketchUp?



a. A 2D image of the current view in Google Earth is placed in SketchUp.
b. A 3D image of the current view in Google SketchUp is placed in Google Earth.
c. A 2D image of the current view in Google LayOut is placed in SketchUp.
d. A 3D image of the current view in Google StyleBuilder is placed in SketchUp.
What happens when you press the Alt key while using the Walk tool in Google SketchUp?
a. The walk speed increases.
b. The perspective height increases along the Z-axis.
c. It enables you to walk through objects taller than 22 inches.
d. It enables you to jump over objects shorter than 22 inches.
Which tool can help you perform the given transformation most effectively?




a. Extrude
b. Push/Pull
c. Follow me
d. None of these
Using the Smoove tool from Sandbox menu over a grid, how can you move the vertical offset, as shown in the figure, accurately at 12 inches below the grid?



a. Type 12" and press Enter
b. Type Offset 12" and press Enter
c. Type -12" and press Enter
d. Type o-12" and press Enter
The basic difference between the Push/Pull tool and the Sandbox Smoove tool is that the:
a. Push/Pull tool works on all surfaces.
b. Smoove tool requires a 2D surface.
c. Push/Pull tool requires a grid.
d. Smoove tool works on surfaces with a grid.
You can generate a report of a SketchUp model in an HTML file or a CSV file. The CSV file format is supported by:
a. MS PowerPoint
b. MS Word
c. MS Excel
d. No application from Microsoft
Where in Google SketchUp 7 can you access the Sample Paint tool? The Sample Paint tool appears as shown above.




a. Window menu > Materials window
b. Tools menu > Color Picker tool
c. View menu > Sample Paint tool
Google Style Builder embedded with Google SketchUp Pro, helps in:
a. applying pre-existing or customized line strokes to models.
b. applying rendering styles to models.
c. importing style sheets from online 3D warehouse.
d. creating AutoCAD compatible models.
Which of the following statements is FALSE about the Dynamic Components in Google SketchUp 7?
a. Dynamic Components can be accessed under Menu > Window > Components.
b. Attributes of Dynamic Components are limited to 3 dimensional models which have spatial orientation.
c. Attributes of Dynamic Components can also contain spatial relationships and pre-assigned behaviors.
d. Dynamic Components can have attributes assigned to them like Part Number, Cost and Weight.
How can you enable single click access for Isometric view of a model?
a. Go to View menu > Toolbars > Views
b. Ctrl + right click on the model
c. Models created with Architectural Design as Default Drawing Template enable access to Iso view.
d. None of these.
With the Ctrl key you can toggle between two modes of the Tape Measure tool. Which enhanced function does 'mode a' perform?



a. Draws a solid line.
b. Tool gets locked to an inference.
c. Draws a dotted construction guide.
d. Tool gets locked to a section.
Which one of the following reasons will NOT justify converting a number of objects into a group?
a. Objects that need to be kept separate from other objects.
b. Objects that will be saved into their own file.
c. Objects that will be used only once (and hence will not be copied).
d. Objects that will eventually be exploded (such as objects used only for cutting or trimming).
What happens when you click on the plus sign as shown in the figure?



a. Another window called Component Info pops up.
b. Entity Info shortcut gets added to the Toolset.
c. Additional options appear in an expanded drop down.
d. Optional information related to the entity is displayed.
If you press Ctrl and double click on the face of a model, which of the selections shown occurs?



a. A
b. B
c. C
d. D
Which of the following steps can help you convert two adjoining segments of a line into a single line segment?
a. Draw another line overlapping the two segments, then delete the original segments.
b. Draw another line segment from the common end point of two segments, then delete the new segment.
c. Select the two segments, right click and select Make Group.
d. Select the two segments, choose Intersect, followed by Intersect Selected.