日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 前端技术 > javascript >内容正文

javascript

Coursera课程Python for everyone:Quiz: REST, JSON, and APIs

發(fā)布時間:2025/3/21 javascript 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Coursera课程Python for everyone:Quiz: REST, JSON, and APIs 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

REST, JSON, and APIs

10?試題

1.?

Who is credited with getting the JSON movement started?

Pooja Sankar

Mitchell Baker

Douglas Crockford

Bjarne Stroustrup

2.?

What Python library do you have to import to parse and handle JSON?

ElementTree

BeautifulSoup

import re

import json

3.?

What is the method used to parse a string containing JSON data so that you can work with the data in Python?

json.read()

json.connect()

json.loads()

json.parse()

4.?

What kind of variable will you get in Python when the following JSON is parsed:

[ "Glenn", "Sally", "Jen" ]

A list with three items

A dictionary with three key / value pairs

A dictionary with one key / value pair

Three tuples

One Tuple

5.?

Which of the following is?not?true about the service-oriented approach?

Web services and APIs are used to transfer data between applications

Standards are developed where many pairs of applications must work together

An application makes use of the services provided by other applications

An application runs together all in one place

6.?

Which of these two web service approaches is preferred in most modern service-oriented applications?

REST - Representational state transfer

SOAP - Simple Object Access Protocol

7.?

What library call do you make to append properly encoded parameters to the end of a URL like the following:

http://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=Ann+Arbor%2C+MI

re.encode()

re.match()

urllib.urlencode()

urllib.urlcat()

8.?

What happens when you exceed the Google geocoding API rate limit?

The API starts to perform very slowly

Your application starts to perform very slowly

You canot use the API until you respond to an email that contains a survey question

You cannot use the API for 24 hours

9.?

What protocol does Twitter use to protect its API?

OAuth

WS*Security

PKI-HMAC

Java Web Tokens

SOAP

SHA1-MD5

10.?

What header does Twitter use to tell you how many more API requests you can make before you will be rate limited?

content-type

x-max-requests

x-rate-limit-remaining

x-request-count-down

總結(jié)

以上是生活随笔為你收集整理的Coursera课程Python for everyone:Quiz: REST, JSON, and APIs的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。