You are trying to get a current forecast of weather from a specific location in the world. There are a couple open API sites that allow you to extract the data. What request should you be using to acquire this data?(1 point) Responses else else get get if if print

The correct request to acquire weather data from a specific location using an API would be a "GET" request.

Which of the following is a quoted string which contains data in a format that is interchangeable between multiple different coding languages?(1 point) Responses module module head head post post JSON

JSON is a quoted string that contains data in a format that is interchangeable between multiple different coding languages.

Which of the following is a method request that the entity is to be stored or put at a specific URL?(1 point) Responses head head put() put() get get post

The correct method request to store or put an entity at a specific URL is "PUT".

Which line in the following code is creating the spot Dog? 1 class Dog: 2 def __init__(self, breed, color): 3 self.breed = breed 4 self.color = color 5 def output(self): 6 print(self.breed + " " + self.color) 7 spot = Dog("lab","black") 8 spot.output() (1 point) Responses line 1 line 1 line 8 line 8 line 2 line 2 line 7

The line in the code that is creating the spot Dog is line 7: `spot = Dog("lab","black")`.

Suppose you want to change an existing program to have more of a modular architecture. The program contains a basic calculator program. Which of the following would be an appropriate attribute for the calculator class?(1 point) Responses addition addition number 1 number 1 calculate calculate subtraction

An appropriate attribute for the calculator class in order to make it more modular could be `"calculate"`. This attribute can be used to encapsulate the logic and functionality of performing calculations in the calculator class.

Which of the following would properly create a new student? class Student: def __init__(self, name, gpa, grade): self.name = name self.gpa = gpa self.grade = grade (1 point) Responses s1 = Student(self,“Jorge”, 3.4, 12) s1 = Student(self,“Jorge”, 3.4, 12) s1 = Student( “Jorge”, 12) s1 = Student( “Jorge”, 12) s1 = Student(“Jorge”, 3.4, 12) s1 = Student(“Jorge”, 3.4, 12) s1 = Student(3.4, “Jorge”, 12)

The correct way to create a new student using the given class is:

`s1 = Student("Jorge", 3.4, 12)`