Nowadays, it's really just convention to use lowercase file names.
Answer:
import csv
with open('employee_birthday.txt') as csv_file:
csv_reader = csv.reader(csv_file, delimiter=',')
line_count = 0
for row in csv_reader:
if line_count == 0:
print(f'Column names are {", ".join(row)}')
line_count += 1
else:
print(f'\t{row[0]} works in the {row[1]} department, and was born in {row[2]}.')
line_count += 1
print(f'Processed {line_count} lines.')
Explanation:
Heres an example of how to read csvs
Answer:
a. to use a password of a certain composition and strength, such as minimum 8 characters.
Explanation:
Cyber security can be defined as preventive practice of protecting computers, software programs, electronic devices, networks, servers and data from potential theft, attack, damage, or unauthorized access by using a body of technology, frameworks, processes and network engineers.
In the absence of a cybersecurity theory, we have security standards, frameworks and best practices.
An example of best practices in cybersecurity is the use of a password of a certain composition and strength, such as minimum 8 characters. This would ensure there's a formidable wall to protect data and an unauthorized access or usage of the system network.
Answer:
B) String[ ] names = {"Huey", "Duey", "Louie"};
Explanation:
In Java programming language, arrays are declared by first Writing the data type of the elements that will be stored in the array, in this case String. This is followed by square brackets indicating that the variable is an array, followed by the array name which must follow the rules of naming variables. The example below is a valid declaration of an array.
String[ ] names;
Next in java we can initialize the elements either by using the new keyword and specifying the length of the array to create the array in memory like this;
String[ ] names = new String[3];
Or we initialize by assigning values in curly braces seperated by commas like in the question ablove.