Coursera Using python to access Web data quiz6

这篇博客介绍了第六周的学习内容,主要涉及REST、JSON和API的概念。内容包括:JSON的创始人、API的定义、在Python中解析JSON的方法、JSON数据结构在Python中的表示、服务导向型架构的特点、从JSON数据中提取信息的方法、URL参数的编码、Google Geocoding API的速率限制处理、Twitter API的安全协议以及如何查看API请求剩余配额等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Quiz 6(第六周)
REST, JSON, and APIs

1.Who is credited with getting the JSON movement started?
Pooja Sankar
Mitchell Baker
Douglas Crockford
Bjarne Stroustrup

2.Which of the following is true about an API?
An API is a contract that defines how to use a software library
An API defines the pin-outs for the USB connectors
An API defines the header bits in the first 8 bits of all IP packets
An API keeps servers running even when the power is off

3.What is the method used to parse a string containing JSON data so that you can work with the data in Python?
json.loads()
json.connect()
json.parse()
json.read()

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 dic

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值