Search Header Logo

Module 1.4 Questions

Authored by Courtney Yatteau

Computers

12th Grade

Module 1.4 Questions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JavaScript function is used in Module 1.4.1 to request the GeoJSON data over HTTP?

console.log()

fetch()

setTimeout()

alert()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

After loading the GeoJSON, which array method is used to pull out the numeric values for styling?

filter()

reduce()

map()

sort()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The goal of computing quantile breaks is to:

Randomly color features

Split data into equal count classes

Calculate distance between points

Zoom the map

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Math function gives the largest value in a list of numbers?

Math.min()

Math.floor()

Math.max()

Math.round()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What d3 color ramp is suggested as an example in Module 1.4.2?

d3.schemeOranges[3]

d3.schemeBlues[5]

d3.schemeGreens[7]

d3.schemeReds[9]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Leaflet, which function is used to create a custom control element like a legend?

L.layerGroup()

L.marker()

L.control()

L.tileLayer()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the example legend, where is the legend positioned on the map?

top left

top right

bottom left

bottom right