Answer: Worm
Explanation: Worm is the malicious software program which acts as the infection in the computer system. It has the ability to replicate itself and spread in the other systems .It is found in those parts that have automatic operation and non-noticeable.
The effect of the worm is slowing down the operations ,disturb the network etc.Other options are incorrect because virus is the malicious program that infects the host, key-loggers are used for monitoring of system and time bomb is the program for releasing the virus in computer network. Thus, the correct option is worm.
Sample Run
Enter a text: Good morning Good afternoon Good evening
Good afternoon evening morning
The programreturns uniqueelements in the string passed in with no duplicates. The programis written in python 3 thus :
text = input('Enter text : ')
#promptsuserto enterstring inputs
split_text = text.split()
#splitinputtedtext basedonwhitespace
unique = set(split_text)
#usingtheset function,takeonlyuniqueelementsin thestring
combine = ' '.join(unique)
#usethejoinfunctiontocombinethestringstoformasingle lengthstring.
print(combine)
Asamplerunoftheprogramisattached
Learn more : brainly.com/question/15086326
Answer:
The program to this question as follows:
Program:
value = input("Input text value: ") #defining variable value and input value by user
word = value.split() #defining variable word that split value
sort_word = sorted(word) #defining variable using sorted function
unique_word = [] #defining list
for word in sort_word: #loop for matching same value
if word not in unique_word: #checking value
unique_word.append(word) #arrange value using append function
print(' '.join(unique_word)) #print value
Output:
Input text value: Good morning Good afternoon Good evening
Good afternoon evening morning
Explanation:
In the above python code, a value variable is defined that uses input function to input value from the user end, and the word variable is declared, which uses the split method, which split all string values and defines the sort_word method that sorted value in ascending order.
Answer:
See explaination
Explanation:
class Episode{
//Private variables
private String title;
private int seasonNumber;
private int episodeNumber;
//Argumented constructor
public Episode(String title, int seasonNumber, int episodeNumber) {
this.title = title;
this.seasonNumber = seasonNumber;
this.episodeNumber = episodeNumber;
}
//Getter and setters
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public int getSeasonNumber() {
return seasonNumber;
}
public void setSeasonNumber(int seasonNumber) {
this.seasonNumber = seasonNumber;
}
public int getEpisodeNumber() {
return episodeNumber;
}
public void setEpisodeNumber(int episodeNumber) {
this.episodeNumber = episodeNumber;
}
public boolean comesBefore(Episode e){
//Check if titles' match
if(this.title.equals(e.getTitle())){
//Compare season numbers
if(this.seasonNumber<e.seasonNumber){
return true;
}
//Check if season numbers match
else if(this.seasonNumber==e.getSeasonNumber()){
return this.episodeNumber<e.getEpisodeNumber();
}
}
return false;
}
atOverride // replace the at with at symbol
public String toString() {
return title+", season "+seasonNumber+", episode "+episodeNumber;
}
}
class Main{
public static void main(String[] args) {
Episode e = new Episode("Friends",1,1);
System.out.println(e);
Episode e2 = new Episode("The Wire",3,5);
System.out.println(e2);
System.out.println(e.getTitle()+" comes before "+e2.getTitle()+" = "+e.comesBefore(e2));
}
}
Answer:
public int RandNum();
* Assuming it returns an integer
Explanation:
I believe you mean to write the function header of randNum.
To write the header of the function, we need to specify its return type, name, parenthesis and parameters inside the parenthesis - if exist.
If it returns an integer it should have int, if it returns a double it should have double in the header. In the answer, I assumed it returns an integer.
The name is already given, RandNum
Since, the function does not take any parameter, inside of the parenthesis will be empty.
Answer:
See attached pictures.
Explanation:
order. B, TB,KB, GB,MB
Answer:
TB,GB,MB,KB,B
Explanation:
Answer:
The correct answers are A,C,D,E or Remove unwanted files, Back up her data. Scan for viruses, Delete the browsing history.
Explanation:
I just did the test and got it right