Answer:
Explanation:
The following is written in Python. It creates the dictionary as requested and prints it out to the output file as requested using the correct format for various shows with the same number of seasons.The output can be seen in the attached picture below.
mydict = {}
with open("file1.txt", "r") as showFile:
for line in showFile:
cleanString = line.strip()
seasons = 0
try:
seasons = int(cleanString)
print(type(seasons))
except:
pass
if seasons != 0:
showName = showFile.readline()
if seasons in mydict:
mydict[seasons].append(showName.strip())
else:
mydict[seasons] = [showName.strip()]
f = open("output.txt", "a")
finalString = ''
for seasons in mydict:
finalString += str(seasons) + ": "
for show in mydict[seasons]:
finalString += show + '; '
f.write(finalString[:-2] + '\n')
finalString = ''
f.close()
Answer:
The correct answer for the given question is option(A) i.e File History.
Explanation:
In computer system file history is an backup application which create backup of your data which are stored in your libraries, desktops, contacts, and favorites to another storage location .It creates back up of your data to another location when your personal files has been changed.
The user can check the file history option in computer system
open control panel >>system and security >> file system
Answer:
/ReversedEvenOddString.java
import java.util.Scanner;
public class ReversedEvenOddString {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
String evens = "";
String odds = "";
for(int i = s.length()-1;i>=0;i--){
if(i%2==1){
odds += s.charAt(i);
}
else{
evens += s.charAt(i);
}
}
String res;
if(s.length()%2==1){
res = evens+odds;
}
else{
res = odds+evens;
}
System.out.println(res);
}
}
Answer:
c.Ports Fa3/1 and Fa3/2 on DSW1 will be defined as secondary VLAN isolated ports. Ports Fa3/34 and Fa3/35 will be defined as primary VLAN promiscuous ports.
Explanation:
Primary VLANs which can only be reached by using promiscuous port, comprises of the gateway and isolated VLANs for users to get out of a network.
The isolated ports can only communicate i.e send and receive data with the promiscuous ports; Fa3/34 and Fa3/35.
Also, WS_1 and WS_2 can neither send nor receive data with the data server, thus we isolate them.
Answer:
The group policy management is one of the policy which used in the microsoft window that basically control the server working environment in the organization. It mainly control the user account and the personal computer account.
The group policy is the centralized management and the provide the various configuration of the operating system. It also manage and control the users setting in the active directory of the management.
Therefore, the group policy management matter in the server environment.