Answer:
A firewall is used to monitor and control incoming and outgoing (or in better terms, inbound and outbound) traffic in a network based on some pre-defined security rules set by either an individual or a business.
Now, using firewall to block outgoing packets that have source addresses which are not in an organization's address space means rejecting requests that, though originate from the organization's address space, are not in the organization's allowable address.
This is necessary and of utmost importance because even though an hacker (or simply an attacker) gains access into the organization's network, there is a limit to what harm they can do. If for example, they manage to get some malicious programs into the system's via network processes such as using infected e-mails or using a browser, they might also want to make some requests to the Internet to get some additional programs downloaded which altogether is harmful to the system. Disabling or blocking outgoing packets or traffic will stop this combined hazard from happening.
Which test refers to the retesting of a unit, integration and system after modification, in order to ascertain that the change has not introduced new faults?
Answer:
Regression test
Explanation:
There are different types of testing in software development. Some of them are;
i. Smoke test
ii. Interface test
iii. Alpha test
iv. Beta/Acceptance test
v. Regression test
vi. System test
While all of these have their individual meanings and purposes, the regression test seeks to confirm that a recent update, modification or change in the underlying program code of the application (software) has not affected the existing features. This test ensures that a change to a software has not introduced new bugs or vulnerabilities to the state of the software before the change was made.
Regression test is actually done when;
i. there is a change in requirements of the software and thus the code is modified.
ii. a new feature is added to the software.
When you program in a language that uses GUI components, you need to create them from scratch.
a. True
b. False
Answer:
B. False
Explanation:
You do NOT need to start from scratch when you program in a language that uses GUI components. You can think of it like the components are add-ons to your programming language.
Answer:
The correct answer is b. False
Explanation:
You don't need to create them from scratch.
Hope this helps!
A copy of the copyrighted work must be exactly the same as the original to infringe a copyright.
1. True
2. False
Answer:
true
Explanation:
The advantage of returning a structure type from a function when compared to returning a fundamental type is that
Answer:
The function can return multiple values and the function can return an object
Explanation:
The advantage of returning a structure type from a function when compared to returning a fundamental type is that the function can return multiple values and also the function can return an object
A function in a structure can be passed to a function from any other function or from the main function itself and the definition of a structure can be seen in the function where it is found
#Write a function called random_marks. random_marks should #take three parameters, all integers. It should return a #string. # #The first parameter represents how many apostrophes should #be in the string. The second parameter represents how many #quotation marks should be in the string. The third #parameter represents how many apostrophe-quotation mark #pairs should be in the string. # #For example, random_marks(3, 2, 3) would return this #string: #'''""'"'"'" # #Note that there are three apostrophes, then two quotation #marks, then three '" pairs. #Add your function here!
Answer:
def random_marks(apostrophe, quotation, apostrophe_quotation):
return "'"*apostrophe + "\""*quotation + "'\""*apostrophe_quotation
print(random_marks(3, 2, 3))
Explanation:
Create a function called random_marks that takes apostrophe, quotation, and apostrophe_quotation as parameters. Inside the function, return apostrophe sign times apostrophe plus quotation mark times quotation plus apostrophe sign quotation mark times apostrophe_quotation.
Note that plus sign (+) is used to concatenate strings. Also, if you multiply a string with a number, you get that number of strings ("#"*3 gives ###).
Then, call the function with given parameters and print
Write code that uses the input string stream inSS to read input data from string userInput, and updates variables userMonth, userDate, and userYear. Sample output if the input is "Jan 12 1992": Month: Jan Date: 12 Year: 1992
Following are the java program to separing the string value:
Program Explanation:
Import package.Defining a class Main.Defining the main method.Inside the method, a Scanner class type variable "inSS" is define that reads "userInput" a string variable value.In the next step, one string and two integer variable "userMonth, userDate, and userYear" is defined that separe its value by using "useDelimiter" method, and print its value with the message.Program:
import java.util.*;//import package
public class Main //defining a class main
{
public static void main (String [] ars) //main method
{
Scanner inSS = null;//using Scanner
String userInput="Jan 12 1992";//defining a String variable userInput that holds a string value
inSS = new Scanner(userInput);//passing userInput value into Scanner class
String userMonth = "";//defining a String variable
int userDate = 0,userYear = 0;//defining an integer variable
inSS.useDelimiter(" ");//calling method useDelimiter
userMonth=inSS.next();//holding value in to the variable
userDate=inSS.nextInt();//holding value in to the variable
userYear=inSS.nextInt();//holding value in to the variable
System.out.println("Month: " + userMonth);//print value with message
System.out.println("Date: " + userDate);//print value with message
System.out.println("Year: " + userYear);//print value with message
return;
}
}
Output:
Please find the attachment file.
Learn more:
brainly.com/question/14063644
A security analyst is performing a BIA. The analyst notes that in a disaster, failover systems must be up and running within 30 minutes. The failover systems must use back up data that is no older than one hour. Which of the following should the analyst include in the business continuity plan?
A. A maximum MTTR of 30 minutes
B. A maximum MTBF of 30 minutes
C. A maximum RTO of 60 minutes
D. An SLA guarantee of 60 minutes
Answer:
D. A maximum RPO of 60 minutes
Explanation:
Note that an option is not included in this list of options.
The complete list of options is:
A. A maximum MTTR of 30 minutes
B. A maximum MTBF of 30 minutes
C. A maximum RTO of 60 minutes
D. A maximum RPO of 60 minutes
E. An SLA guarantee of 60 minutes
The Recovery Point Objective tells how old a backup file must be before it can be recovered by a system after failure.
Since the data in the failover systems described in this question must be backup and recovered after the failure, it will be important to include the Recovery Point Objective (RPO) in the Business Continuity Plan.
Since the failover systems must use back up data that is no older than one hour, the backup of the system data must be done at intervals of 60 minutes or less. Meaning that the maximum RPO is 60 minutes.
Note that RPO is more critical than RTO in data backup
Suppose you are provided with 2 strings to your program. Your task is to join the strings together so you get a single string with a space between the 2 original strings. This is a common case is coding and you will need to create your output by joining the inputs and adding the space in the middle.
# Input from the command line
import sys
string1 = sys.argv[1]
string2 = sys.argv[2]
Answer:
public class TestImport{
public static void main(String[] args) {
String string1 = args[1];
String string2 = args[2];
System.out.println(string1 +" " +string2);
}
}
Explanation:
The solution here is to use string concatenation as has been used in this statement System.out.println(string1 +" " +string2);
When this code is run from the command line and passed atleast three command line arguments for index 0,1,2 respectively, the print statment will return the second string (that is index1) and the third argument(that is index2) with a space in-between the two string.
Write a program named Deviations.java that creates an array with the deviations from average of another array. The main() method
Answer:
hello your question is incomplete attached is the complete question and solution
answer : The solution is attached below
Explanation:
Below is a program named Derivations.java that creates an array with the deviations from average of another array.
Which of the following could an attacker use to overwrite instruction pointers in order to execute malicious code?
a) Memory leak
b) SQL injection
c) Resource exhaustion
d) Buffer overflow
Answer:
d) buffer overflow
Explanation:
When buffer overflow happens, data gets overwritten by caller data that is not supposed to be overwritten.
If the caller data is carefully crafter instruction code, this would be a way to execute malicious code.
A hard disk has four surfaces (that's top and bottom of two platters). Each track has 2,048 sectors and there are 131,072 (217) tracks per surface. A block holds 512 bytes. The disk is not "zoned." What is the total capacity of this disk
Answer:
128 GB
Explanation:
Here, we are interested in calculating the total capacity of the disk.
From the question, we can identify the following;
Number of surfaces = 4
Tracks per surface = 131,072
Number of sectors = 2,048
Each Block size = 512 bytes
Mathematically;
Total data capacity of the disk = no of tracks * no of sectors * block size
= 131,072 * 2048 * 512 bytes
= 2^17 * 2^11 * 2^9 bytes = 2^37 bytes
1 GB = 2^30 bytes
So 2^37 = 2^7 * 2^30
= 128 GB
The main path of the Internet along which data travels the fastest is known as the Internet ________. Group of answer choices
Answer:
Internet backbone
Explanation:
The internet backbone is made up of multiple networks from multiple users. It is the central data route between interconnected computer networks and core routers of the Internet on the large scale. This backbone does not have a unique central control or policies, and is hosted by big government, research and academic institutes, commercial organisations etc. Although it is governed by the principle of settlement-free peering, in which providers privately negotiate interconnection agreements, moves have been made to ensure that no particular internet backbone provider grows too large as to dominate the backbone market.
What is the difference between requirements and controls in the security process? Give examples of each.
Answer:
Security controls are those measures taken to prevent, identify, counteract, and reduce security risks to computer systems, whereas, Security Requirements are guidelines or frameworks that stipulates measures to ensure security control.
Explanation:
Security controls encompass all the proactive measures taken to prevent a breach of the computer system by attackers. Security requirements are those security principles that need to be attained by a system before it can be certified as safe to use.
Security controls are of three types namely, management, operational, and technical controls. Examples of technical controls are firewalls and user authentication systems. A statement like 'The system shall apply load balancing', is a security requirement with an emphasis on availability.
Write a statement that assigns total_coins with the sum of nickel_count and dime_count. Sample output for 100 nickels and 200 dimes is: 300
Answer:
total_coins = nickel_count + dime_count
Explanation:
The statement that performs the operation in the question is total_coins = nickel_count + dime_count
Full Program (Written in Python)
nickel_count = int(input("Nickel Count: "))
dime_count = int(input("Dime Count: "))
total_coins = nickel_count + dime_count
print("Total coins: ",total_coins)
The first two lines prompt user for nickel and dime count respectively
The third line adds the two coins categories together
The last line prints the total count of coins
The statement which gives the sum of nickel and dime is written below :
total_coins = nickel_count + dime_count
The statement required is written using Python 3 :
We could write these as a function :def total(nickel_count, dime_count) :
total_coins = dime_count + nickel_count
print(total_coins)
total(100, 200)
#the function total takes in two arguments(number of nickels and number of dimes)
#assigns the varibale total_coins to the sum of nickel_count and dime_count
We could also write this in the form of a program which prompts users to enter values :nickel_count = int(input('Enter count of nickel : '))
# User is prompted to enter number of nickels
dime_count = int(input('Enter count of dime : '))
# User is prompted to enter number of dimes
total_coins = nickel_count + dime_count
#assigns the varibale total_coins to the sum of nickel_count and dime_count
print(total_coins)
#outputs the value of total_coins
Learn more : https://brainly.com/question/17615351
You are an ISP. For the Address Block 195.200.0.0/16 a. If you have 320 Customers that need 128 addresses/customer - will there be enough addresses to satisfy them? and explain why? b. Say the first block of 64 customers want 128 addresses/customer - what would the address space look like?
Answer:
a. The network will not satisfy the customers because the required addresses is 128 but what can be offered is 126.
b. 195.200.0.0/22
Explanation:
195.200.0.0/16
The number of bits to give 512 is 9
2^9=512
2^8=256 which is not up to our expected 320 customers that requires a network ip
Note we have to use a bit number that is equal or higher than our required number of networks.
The number of host per each subnet of the network (195.200.0.0/25) is (2^7)-2= 128-2=126
The network will not satisfy the customers because the required addresses is 128 but what can be offered is 126.
b. 64 customers requires 6 bits to be taken from the host bit to the network bit
i.e 2^6 = 64
195.200.0.0/22
The number of host per each subnet of the network (195.200.0.0/22) is (2^10)-2=1024 - 2 = 1022 hosts per subnet
This network meet the requirement " 64 customers want 128 addresses/customer "
4.Three years ago your company bought a new RAID 5 array. All the disks in the RAID were brand new, all manufactured within a month of each other. Today one disk has failed in this RAID. How many disks do you replace
Answer:
one disk
Explanation:
RAID 5:is an independent disks configuration of redundant array that utilizes disk striping in addition to parity. Data and parity bits are striped uniformly across the entire the disks configuration, so that no any single disk can create a bottleneck.
"Today one disk has failed in this RAID. How many disks do you replace"
Since RAID 5 guard against data through implementation of stripping of both data and parity bits, the failed disk can be replaced to restore the company's RAID 5 array fully back into service.
What is the name of the provision of services based around hardware virtualization?
Explanation:
Hardware virtualization refers to the creation of virtual (as opposed to concrete) versions of computers and operating systems. ... Hardware virtualization has many advantages because controlling virtual machines is much easier than controlling a physical server.
The name of the provision of services based around hardware visualization is called cloud computing
The cloud hypervisor is the software that is made use of during hardware visualization. The hypervisor does the function of managing hardware resources involving the customer and the service provider.
The work of hypervisor is that it manages the physical hardware resource which is shared between the customer and the provider.
Read more on https://brainly.com/question/13088836?referrer=searchResults
g Write a C program that prompts the user for a string of, up to 50, characters and numbers. It can accept white spaces and tabs and end with a return. The program should keep track of the number of different vowels (a,e, i, o, u) and the number of digits (0, 1, 2, 3, 4, 5, 6, 7, 8,9). The program should output the number of occurrences of each vowel and the number of occurrences of all digits.
Answer:
Following are the code to this question:
#include <stdio.h> //defining header file
#include <string.h>//defining header file
int main()//defining main method
{
char name[50]; //defining character variable
int A=0,E=0,I=0,O=0,U=0,value=0,i,l; //defining integer variables
printf("Enter string value: ");//print message
gets(name);//input value by gets method
l=strlen(name);//defining l variable to store string length
for(i=0; i<50; i++) //defining loop to count vowels value
{
if(name[i] == 'A' || name[i] == 'a') //defining if condition count A value A++;//increment value by 1
else if(name[i] == 'E' || name[i] == 'e')//defining else if condition count E value
E++;//increment value by 1
else if(name[i] == 'I' || name[i] == 'i') //defining else if condition count I value
I++;//increment value by 1
else if(name[i] == 'O' || name[i]== 'o') //defining else if condition count O value
O++;//increment value by 1
else if(name[i] == 'U' || name[i] == 'u')//defining else if condition count U value
U++;//increment value by 1
else if(name[i]>= '0' && name[i] <= '9')//defining else if condition count digits value
value++;//increment value by 1 }
printf("A: %d\n",A);//print A value
printf("E: %d\n",E); //print E value
printf("I: %d\n",I);//print I value
printf("O: %d\n",O);//print O value
printf("U: %d\n",U);//print U value
printf("value: %d",value);//print digits value
return 0;
}
Output:
please find the attachment.
Explanation:
In the above code, a char array "name" and integer variables "A, E, I, O, U, i, value and l" declared, in which name array store 50 character value, which uses the gets function to take string value.after input value strlen method is used to store the length of the input string in l variable.In the next step, for loop is declared that uses multiple conditional statements to counts vowels and the values of the digits,if it is more then one it increments its value and at the last print method is used to print its count's value.hard disk drive has 16 platters, 8192 cylinders, and 256 4KB sectors per track. The storage capacity of this disk drive is at most Select one: a. 32 GB. b. 128 GB. c. 128 TB. d. 32 TB.
Answer:
B
Explanation:
Here, we want to calculate the storage capacity of the disk drive.
We proceed as follows;
Per track capacity = 4 * 256 KB = 1024 KB = 1 MB
per platter capacity = 1 MB * 8192 = 8192 MB
total capacity = 16 * 8192 MB = 131072 MB
converting total capacity to GB,
1024 MB = 1 GB
thus, 131,072 MB to GB would be;
total capacity =131072/1024 = 128GB
C++ PROGRAM THAT DOES THE FOLLOWING:
Problem You Need to Solve for This Lab:
You are asked to write an app to keep track of a relatively small music library. The app should load song information from a data file once the app is started. It should allow user to view, add, remove, and search for songs. The app should save the data back to the same data file when the program exits.
What Your Program Should Do:
Write an interactive text based menu interface (using a loop) that will allow the user to
Enter information for a new song
Display information for all the songs in the database with index for each song
Remove a song by index
Search for songs by a certain artist
Search for songs by a certain album
Quit
Answer:
I have updated answer in google
Explanation:
please chek it. I hope it will nice
When preparing a photo for a magazine, a graphic designer would most likely need to use a program such as Microsoft Excel to keep track of magazine sales. Microsoft Word to write an article about the photo. Adobe Photoshop to manipulate the photo. Autodesk Maya to create 3-D images that match the photo.
Answer:
Adobe Photoshop To Manipulate The Photo.
Explanation:
BLACKPINKS new album is amazing OMG I LOVE Lovesick Girls!!!
Kiaan wants to give people who attend his presentation a printed copy of the slides. Instead of printing one slide on each piece of paper, he wants to print six slides on each piece of paper. Which setting should he select on the Print tab in Backstage view to do this?
Answer:
Under the Print Tab of the Backstage view of his presentation, Kiaan can print 6 slides on each piece of paper by selecting the "Full Page Slides" which is under settings.
Once that is done, he will be presented with an array of choices.
He is to select whether to print 6 pages/sheet vertically or horizontally under the "Handouts" section.
Thereafter, he can proceed to click on "Print".
Cheers!
Write down the information for your system’s active network connection (most likely either Ethernet or Wi-Fi).
Question:
1. Open a command prompt window, type ipconfig/ all and press Enter.
2. Write down the information for your system’s active network connection(most likely either Ethernet or Wi-Fi).
* Physical address in paired hexadecimal form.
* Physical address expressed in binary form.
Answer:
00000000 11111111 00000011 10111110 10001100 11011010
Explanation:
(i)First, open a command prompt window by using the shortcut: Windows key + X then select command prompt in the list.
(ii)Now type ipconfig/ all and press Enter. This will return a few information
(a) To get the Physical address in paired hexadecimal form, copy any of the Physical Addresses shown. E.g
00-FF-03-BE-8C-DA
This is the hexadecimal form of the physical address.
(b) Now let's convert the physical address into its binary form as follows;
To convert to binary from hexadecimal, we can use the following table;
Hex | Decimal | Binary
0 | 0 | 0000
1 | 1 | 0001
2 | 2 | 0010
3 | 3 | 0011
4 | 4 | 0100
5 | 5 | 0101
6 | 6 | 0110
7 | 7 | 0111
8 | 8 | 1000
9 | 9 | 1001
A | 10 | 1010
B | 11 | 1011
C | 12 | 1100
D | 13 | 1101
E | 14 | 1110
F | 15 | 1111
Now, from the table;
0 = 0000
0 = 0000
F = 1111
F = 1111
0 = 0000
3 = 0011
B = 1011
E = 1110
8 = 1000
C = 1100
D = 1101
A = 1010
Put together, 00-FF-03-BE-8C-DA becomes;
00000000 11111111 00000011 10111110 10001100 11011010
PS: Please make sure there is a space between ipconfig/ and all
The attack in which the attacker sends a fragmented message that the victim cannot reconstruct is a(n) ________ attack.
Answer:A teardrop attack
Explanation:
A teardrop attack also called denial-of-service attack is one which an attacker, usually a hacker sends many fragmented bug data messages to a victim's machine causing a crash in the device. This is because data moves in small data packets of whose transmission should follow layers according to the model of the devise be it OSI or TCP/IP model. Now when a hacker continually sends huge amounts of packets of bug data, the process of data transmission fails and packet data becomes overlapped, making the victim 's device machine in disarray and difficult to reconstruct while trying to rearrange them. When the hacker continually sends in more bug data packets to the already confused machine, The machine system crashes.
PARTNERING AS IT RELATES TO BPR.
Answer:
The answer to this question can be defined as follows:
Explanation:
The term BPR stands for "business processes reengineering", It is the recreating of the core business process to improve product performance or reliability or lower costs.
It generally includes analyzing business processes, which identifying sub-par or ineffective processes but identifying ways to dispose of or change it. IT important for improving changes, especially to shift in aspects of the work, its incorporation in business operations, or competitive strength change. It might contribute to making reconfiguration improvements, and is known as a BPR enabler.C++ 3.4.4: If-else statement: Print senior citizen. Write an if-else statement that checks patronAge. If 55 or greater, print "Senior citizen", otherwise print "Not senior citizen" (without quotes). End with newline.
Answer:
#include <iostream>
using namespace std;
int main()
{
int patronAge = 71;
if(patronAge >=55)
cout<<"Senior citizen"<<endl;
else
cout<<"Not senior citizen"<<endl;
return 0;
}
Explanation:
Initialize the patronAge age, in this case set it to 71
Check the patronAge. If it is greater than or equal to print "Senior citizen". Otherwise, print "Not senior citizen". Use "endl" at the end of each print statement to have new lines.
Which of the following manages the flow of products through distribution centers and warehouses to ensure that products are delivered to the right locations in the most efficient manner?
A. Supply chain delivery system.
B. Supply chain demand system.
C. Supply chain execution system.
D. Internal supply chain system.
E. Supply chain planning system.
Answer:
C. Supply chain execution system.
Explanation:
In Business management, supply chain management can be defined as the effective and efficient management of the flow of goods and services as well as all of the production processes involved in the transformation of raw materials into finished products that meet the insatiable want and need of the consumers. Generally, the supply chain management involves all the activities associated with planning, execution and supply of finished goods and services to the consumers. The supply chain management is enhanced through the use of supply chain softwares.
Also the supply chain software can be classified into two (2) main categories and these are;
1. Supply chain planning system.
2. Supply chain execution system.
In this case, supply chain execution system manages the flow of products through distribution centers and warehouses to ensure that products are delivered to the right locations in the most efficient manner. There are various types of supply chain execution systems, these include;
1. Order fulfillment management system software.
2. Transport management system software.
3. Global trade management system software.
4. Warehouse management system software.
Hence, a supply chain execution system if effectively and efficiently used can be used to enhance final production, reverse distribution, distribution management, commitments, and replenishment.
Financial application: calculate future investment value)
Write a program that reads in an investment amount, the annual interest rate, and the number of years, and then displays the future investment value using the following formula:
futureInvestmentAmount = investmentAmount * (1 + monthlyInterestRate) ^ numberOfMonths
For example, if you enter the amount 1000.56, an annual interest rate of 4.25%, and the number of years as 1, the future investment value is 1043.33. Here is a sample run:
Enter investment amount: 1000.56
Enter annual interest rate: 4.25
Enter number of years: 1
Accumulated value is 1043.92.
In Python.
Answer:
Using Python
python code:
investmentAmount=float(input("Enter investment amount: "))
annualInterestRate=float(input("Enter annual interest rate: "))
numberOfYears=int(input("Enter no. of years: "))
futureInvestmentAmount=investmentAmount*((1+(annualInterestRate/1200))**(numberOfYears*12))
#formula defined
print ("Accumulated value: ",round(futureInvestmentAmount,2))
output
Enter investment amount: 1000.56
Enter annual interest rate: 4.25
Enter number of years: 1
Accumulated value is 1043.92
Makers of tablet computers continually work within narrow constraints on cost, power consumption, weight, and battery life. Describe what you feel would be the perfect tablet computer. How large would the screen be? Would you rather have a longer-lasting battery, even if it means having a heavier unit? How heavy would be too heavy? Would you rather have low cost or fast performance Should the battery be consumer-replaceable?
Answer:
In my opinion I would spend my money on a pc, tablets are of no use anymore besides having a larger screen, nowadays you either have a phone or a computer.
In my opinion I would spend my money on a pc, tablets are of no use anymore besides having a larger screen, nowadays you either have a phone or a computer.
What will be the typical runtime of a tablet?The typical runtime of a tablet is between three and ten hours. More charge is typically needed for less expensive models than for more expensive tablets.
The typical runtime of a tablet is between three and ten hours. More charge is typically needed for less expensive models than for more expensive tablets. It might go a week or longer between charges if you only use the tablet once or twice each day.
Many people find that charging merely 80% is ineffective. Your phone won't function if you fully charge it and then use it in a single day. The 40-80% rule applies if, like me, your daily usage is limited to 25–50%.
The typical runtime of a tablet is between three and ten hours. More charge is typically needed for less expensive models than for more expensive tablets.
Therefore, In my opinion I would spend my money on a pc, tablets are of no use anymore besides having a larger screen, nowadays you either have a phone or a computer.
Learn more about battery on:
https://brainly.com/question/19225854
#SPJ2
True or False: It is okay to just paste the URLs of the items you used for references at the end of a paper. Select one: True False
It is not okay to just paste the URLs of the items you used for references at the end of a paper therefore the answer is False
For better understanding, lets explain why the answer is false
When citing a reference it not OK to cite URLs. when you are citing onlh the URL is wrong because theURL could change at any time and the fact remain that it is not everyone who reads your paper can do it electronically or has access to the internet., so the url is not the first step to take. The right thing to do is to give the name of the paper, the author(s), the Journal it was published in and the year it was published.
From the above, we can therefore say that the answer is It is not okay to just paste the URLs of the items you used for references at the end of a paper therefore the answer is False, is correct.
Learn more about referencing from:
https://brainly.com/question/13003724