Answer:
Last
Explanation:
Routing is a term in engineering which involves the process of selecting a path for traffic in a network or across multiple networks. It is applicable in circuit-switched networks, such as the public switched telephone network (PSTN), and computer networks, such as the Internet. It is mostly used as a term for IP Routing.
Hence, in IP Routing, the first step is comparing the packet's destination IP address to all rows, followed by selecting the nest-match row. However, If no other row matches, the router will select the LAST row as its best match.
James has a USB flash drive that he has used at work. The drive needs to be thrown away, but James wants to make sure that the data is no longer on the drive before he throws it away. What can James use to wipe the data clean?
a. Zero-fill utility
b. Format the drive
c. ATA Secure Erase
d. Smash the USB drive
Answer:
C. ATA Secure Erase
D. Smash the USB drive
Explanation:
Zero fill utility is a specialized way of formatting a storage device particularly secondary storage such as hard disk, flash drive e.t.c. In this process, the disk contents are overwritten with zeros. Once this has been done, undoing is essentially hard but possible. In most cases, this might just mean that the data content is corrupt and as such might still be recovered, maybe not in its pure entirety.
Formatting the drive on another hand does not essentially mean cleaning the drive and wiping off data. It just means that operating systems cannot see those data contents anymore. They are still present in the drive and can be recovered.
ATA Secure Erase is actually a way of completely and permanently erasing the content in a drive. Once the function has been done, undoing is not possible. Both the data content and even the data management table will be completely gone.
Smashing the USB drive is the surest way of cleaning data as that will permanently destroy the working components of the drive such as the memory chip. And once that happens then there's no drive let alone its contents.
All the protocol layers of the internet (Application, Transport. Network) were originally without any security. TLS is one of the security architectures added later. In the Internet protocol stack. TLS is located:________. 1. right above the application layer 2. right below the application layer 3. right below the transport layer 4. right above the IP layer
Answer:
2. right below the application layer
Explanation:
TLS (Transport Layer Security) is an improved and more secured version of the SSL (Secure Socket Layer) used as cryptographic protocol for providing authentication and encryption over a network. It is initialized at the transport layer of the IP stack and finalized at the application layer. In other words, it is located between the transport and application layer of the Internet protocol stack. And this is necessary so that data received in the application layer from the transport layer are protected from start to end between these two layers.
Therefore, it is safe to say that the TLS is located right below the application layer.
A script sets up user accounts and installs software for a machine. Which stage of the hardware lifecycle does this scenario belong to?
Answer:
deployment phase
Explanation:
This specific scenario belongs to the deployment phase of the hardware lifecycle. This phase is described as when the purchased hardware and software devices are deployed to the end-user, and systems implemented to define asset relationships. Meaning that everything is installed and set up for the end-user to be able to use it correctly.
DOLLAR GENERAL
x
Knowledge Check
Non-employees are allowed in the store before the store opens and after
closing time.
True
False
SUBMIT
Answer:
False
Explanation:
Unless authorized by a manager. Only staff members are allowed in the store before and after normal store hours.
Answer:
The correct answer is
False
If you are not an employee you are not allowed in stores before opening hours or after closing time. The only times non-staff are allowed in the store is for purchasing of products during hours of operation.h
Hope this helps!
The is_positive function should return True if the number received is positive, otherwise it returns None. Can you fill in the gaps to make that happen?
The is_positive function should return True if the number received is positive, otherwise it returns None. Can you fill in the gaps to make that happen?
def is_positive(number):
if _____ :
return _____
Answer:
def is_positive(number):
if (number > 0):
return True
else:
return "None"
---------------------------------------------------------------------------------
Code Test and Sample Output:print(is_positive(6))
>> True
print(is_positive(-7))
>> None
----------------------------------------------------------------------------------
Explanation:The code above has been written in Python.
Now, let's explain each of the lines of the code;
Line 1: defines a function called is_positive which takes in a parameter number. i.e
def is_positive(number):
Line 2: checks if the number, supplied as parameter to the function, is positive. A number is positive if it is greater than zero. i.e
if (number > 0):
Line 3: returns a boolean value True if the number is positive. i.e
return True
Line 4: defines the beginning of the else block that is executed if the number is not positive. i.e
else:
Line 5: returns a string value "None" if the number is not positive. i.e
return "None"
All of these put together gives;
===============================
def is_positive(number):
if (number > 0):
return True
else:
return "None"
================================
An example test of the code has also been given where the function was been called with an argument value of 6 and -7. The results were True and None respectively. i.e
print(is_positive(6)) = True
print(is_positive(-7)) = None
Following are the python program to check input number is positive or negative:
Program:def is_positive(n):#defining the method is_positive that takes one variable in parameter
if (n > 0):#defining if block that check input number is positive
return True#return boolean value that is True
else:#else block
return "None"#return string value
n=int(input("Enter number: "))#defining n variable that input a number
print(is_positive(n))#using print method that calls and prints method return value
Output:
please find the attached file.
Program Explanation:
Defining the method "is_positive" that takes one variable "n" in the parameter.Inside the method, if conditional block is defined that checks the input number is positive, if it's true, it will return a boolean value that is "True". Otherwise, it will go to the else block, where it will return a string value that is "None".Outside the method, the "n" variable is declared to be an input number.After the input value, a print method is used that calls the "is_positive" method and prints its return value.Find out more about the method here:
brainly.com/question/5082157
If you have taken any drugs, it's not safe to drive.
A. True
B. False
Answer:
True
Explanation:
It is risky to drive while you are on drugs!
Implement the function:
string get_ap_terms(int a, int d, size_t n);
which returns a string containing the first n terms of the arithmetic progression (AP) as a sequence of comma-separated values.
Answer:
This is written in C++
Check comments for explanations
Program starts here
#include<iostream>
#include<string>
using namespace std;
//The function get_ap_terms begins here
string get_ap_terms(int a, int d, int size_tn)
{
// This line initializes the expected string to empty string
string result = "";
//The for iteration loops through the number of terms the function is expected to return
for(int i = 1; i<= size_tn;i++)
{
//This line checks if the loop is less than the number of terms
if(i < size_tn)
{
//This string gets the current term of the progression
result+=to_string(a)+ ", ";
//This line calculates the next term
a+=d;
}
else
{
//This line calculates the last term
result+=to_string(a);
}
}
//This line returns the string containing the first n terms of the arithmetic progression
return result;
}
//The main function starts here
int main()
{
//This line declares the first term (a), the common difference (d) and the number of terms (size_tn)
int a,d,size_tn;
//This line prompts the user for the first term
cout<<"First Term: ";
//This line gets the first term
cin>>a;
//This line prompts the user for the common difference
cout<<"Common Difference: ";
//This line gets the common difference
cin>>d;
//This line prompts the user for number of terms
cout<<"Number of Terms: ";
//This line gets the number of terms
cin>>size_tn;
//This line calls the function to print the string containing the first n terms
cout<<get_ap_terms(a, d, size_tn);
return 0;
}
//Program ends here
If your computer freezes on a regular basis and you checked your hard drive and you have insufficient space you've not installed any software that could cause disruption you have recently added more around so you realize that you have enough memory and that isn't causing a problem what could you do to check next? A) Ensure that the computer is disconnected from the internet by removing any Ethernet cables. B) Use scandisk to ensure that the hard drive is not developing errors or bad sectors. C) Replace the CPU and RAM right away. D) Install additional fans to cool the motherboard.
Answer:
d
Explanation:
If your computer freezes on a regular basis, and you have enough memory and that isn't causing a problem. You should install additional fans to cool the motherboard. The correct option is D.
What is computer freezing?Computer freezing means the computer is not running smoothly. It is causing concerns in opening any application or running software. It is also called computer hanging. The freezing can occur due to the heating of the motherboard. The addition of the fans would be good.
Freezing on the computer happens when the memories of the computer are full, or any virus has been installed on the computer. Hanging or freezing of computers can be avoided by emptying some data or installing an antivirus.
Thus, the correct option is D. Install additional fans to cool the motherboard.
To learn more about computer freezing, refer to the link:
https://brainly.com/question/15085423
#SPJ2