Answer:
Following is the code in python language
team_names = ('Rockets','Raptors','Warriors','Celtics')#holding the string value
print(team_names[0],team_names[1],team_names[2],team_names[3])#display
Output:
Rockets Raptors Warriors Celtics
Explanation:
Following is the description of above statement .
- Create a dictionary "team_names" that is holding the string value Rockets Raptors Warriors and Celtics.
- Finally we used the print function in that function we pass the index of corresponding dictionary i.e team_names[0] . it will display the first index value similarly we pass team_names[1], team_names[2] team_names[3].
Answer:
we need PLC(Programmable Logic Units) attached to the sensors and those sensors will take the signals/values and transfer them to the cloud .In cloud we store that information and send that information to the web application where user is able to view
Explanation:
it looks like a SCADA system. we can integrate PLC with SCADA
or
for developing PLC we can use c or c++.it contain logic to transfer data to cloud
for cloud storage we can use Microsoft azure which is useful for data storage in sql servers
for web application we can use ASP.Net to interact with cloud and get data from there and display the results to the user on UI
What time ? I play on Xbox
Answer:
- def Lambda(strList):
- return list(filter(lambda s: (s.startswith("e")), strList))
-
- print(Lambda(["meaning", "cart", "engine", "egg"]))
Explanation:
The solution code is written in Python 3.
Lambda function is an anonymous function. It is a function without any name and it is started with keyword lambda. To write a lambda function to filter the string started with an 'e', we can write a lambda expression, s.startswith("e") that work on one input strList. If any word from strList started with letter "e", the word will be added into a list generated by filter function. At the end, the Lambda function will return the list of strings as output.
When we test the Lambda function using the sample string list (Line 4), we shall get ['engine', 'egg'] printed to terminal.
The answer is by earn a recognized diploma get a guaranteed job.