Answer:
Program :
list_1=[]#take the empty list.
size=int(input("Enter the size of the list: "))#take the size of the list from the user
for x in range(size): #for loop which insert the elemnt on the list.
list_1.append(int(input("Enter the "+str(x+1)+" element of the list: ")))#take the user input and insert the element.
element=int(input("Enter the element to be searched: "))#it take the elemnt to search.
loc=1#intialize the location value.
count=0
for x in list_1:#for loop to check the element.
if(x==element): #check the element.
print(loc,end=", ")#print the location of the element.
count=count+1
loc=loc+1
if(count==0):
print("The element is not present on the list")#print when elemnt are not present.
Output:
- If the user input 5 for the size and 1,2,3,4,5 for the list and 5 for the element, then it will print 5.
Explanation:
- The above code is in python language which is used to take the size for the list, then take the value to add on the list.
- Then the element is entered from the user to search on the list.
- Then the element is searched on the list with the help of for loop.
- It prints the location when the element is matched.
Answer:
Configure DC1 to forward name resolution requests to 192.168.3.0
Explanation:
DC1 is configured in order to use forwarders so that they can send unresolvable host name requests to a DNS server at the main office or the head quarters.
This also prevent sending of DNS spoofing attack to a DNS client
Answer:
B) slide layout
Explanation:
Slide layout, since you can choose what type of design you want, I'm guessing this is for power point.
My day has been good
hope this helps
Answer:
The robot has several inputs for speech recognition and sight like a microphone (as its ears) and cameras for sight. The robot has neural networks of programmed instructions in its processor which is used to process data received from the input devices and the result comes out as a response (like the robot speaking with a speaker as its mouth). This clearly defines the robot as a computer system.
Explanation:
A computer system is an electronic device that accepts input from a user or its surrounding, processes the data received and returns the output of the processed data.
The robot is able to receive data, process the data with its processor and responds or sends feedback to the user.