Answer:
to make peaceful mind.to develop our character..
Answer: True
Explanation: Domain name system(DNS) is the kind of attack that exploits the functioning of the DNS .This process is also known as the DNS spoofing .The corrupted data is invoked in the cache database and thus creates spoof.
It creates diversion of the traffic from the actual servers to the fake servers and entering the exploited data in the cache database.Thus, the given statement is true.
Answer:
The solution code is written in Python 3
- def findStr(stringList, c):
- output = []
- for currentStr in stringList:
- if c not in currentStr.lower():
- output.append(currentStr)
- return output
-
- strList = ["Apple", "Banana", "Grape", "Orange", "Watermelon"]
- print(findStr(strList, "g"))
Explanation:
Firstly, we can create a function and name it as findStr which takes two input parameters stringList and a character, c (Line 1).
Create a list that will hold the list of strings that do not contain the input character (Line 2).
Create a for-loop to traverse through each string in the list (Line 3).
In the loop, check if the input character is not found in the current string (Line 4), if so, add the current string to the output list (Line 5). Please note we also need to convert the current string to lowercase as this program should ignore the casing.
After completion the loop, return the output list (Line 7).
We can test the function using a sample string list and input character "g" (Line 9 - 10). We shall get the output as follows:
['Apple', 'Banana', 'Watermelon']
Answer:
The program to this question can be given as:
Program:
#include<stdio.h>//include header file
int main() //defining main method
{
printf("Hello..! and please vote the answer."); //print value.
return 0;
}
Output:
Hello..! and please vote the answer.
Explanation:
In the given question some information is missing that is the message to be printed, In this code assume some message to be displayed, and the description to the above code as follows:
- In the above code firstly header file is included for using a basic function like print method, input method, etc.
- In the next line main method is defined, inside the main method a print function is used in this function a message is passed with a double-quote ("'). When the code will execute it will print the message that is given in the output section.