#loop through displayList
for i in range(0,len(displayList)):
#Test if the fist item in the current sub-list contains the text "Price Level
#Tip: Remeber that each sub-list is a (displayList). So you have
# to access its items via displayList followed by TWO indexes.
if
#Extract the second item from the current sub-list into variable called priceLevel
#Test if priceLevel is between previousPrice and currentPrice OR
# priceLevel == previousPrice OR
# priceLevel == currentPrice
if priceLevel >= previousPrice and priceLevel <= currentPrice or priceLevel == previousPrice or priceLevel == currentPrice:
#Sound the alarm. Pass in the frequency and duration.
if self.__currentPrice > self.__previousPrice:
frequency = 800
duration = 700
else:
frequency = 400
duration = 700
winsound.Beep(frequency, duration)
#Print the text 'Alarm' with a green background color, so that the user
#can go back and check when the alarm was sounded.Describe a type scenario involving 2 computer Devices transferring a video file using an unsecured ftp connection where TCP three-way handshake is susceptible to vulnerability
fill in the correct line of code
const int PASS = 50;
int numPass = 0, numFail = 0, totalMarks = 0;
double mark, perPass = 0, perFail = 0;
} while (mark > 100);
// if the inputted mark is not the sentinel value, process it
while (mark >= 0)
{
// increment the counter for the total number of data values
// *** Insert code
// Determine if the mark is a pass or fail (If statement)
// *** Insert code
// Read next mark
// *** Insert code
}
// Calculate the percentage of marks that were passes and fails
// *** Insert code
q1) fill in the required code line where //*** insert code is
const int PASS = 50;
int numPass = 0, numFail = 0, totalMarks = 0;
double mark, perPass = 0, perFail = 0;
while (mark >= 0)
{
// increment the counter for the total number of data values
// *** Insert code
// Determine if the mark is a pass or fail (If statement)
// *** Insert code
// Read next mark
// *** Insert code
}
// Calculate the percentage of marks that were passes and fails
// *** Insert code
Describe four units that makes IEEE 802.11 Architecture
Describe a typical scenario involving 2 computer Devices transferring a video file using an unsecured ftp connection where TCP three-way handshake is susceptible to vulnerability.
Describe a typical scenario involving 2 Computer Devices transferring a video file using an unsecured ftp connection where TCP three-way handshake is susceptible to vulnerability
Describe the four abstraction layers of TCP/IP
Describe the steps involved in a distributed coordination function using a simple carrier sense multiple access algorithm with interframe space delay to transmit frames in a wireless LAN