Answer:
The solution or expression for each part is given below:
Explanation:
Following are attached the images that show how these expressions will be used. I hope they will make the concept clear.
All the images below are respective to the questions given.
Answer:
Role of websites in internet
Importance of internet in our daily life
Answer:
It's pie chart because it shows the percentage of multiple things.
Explanation:
And I did an exam aced it and got this question right.
Answer:
a. social engineering attack
Explanation:
Two-factor authentication requires that the user/owner of the account enter a second verification code alongside their password in order to access the account. This code is usually sent to a personal phone number or email address. Therefore in order to breach such a security measure the best options is a social engineering attack. These are attacks that are accomplished through human interactions, using psychological manipulation in order to trick the victim into making a mistake or giving away that private information such as the verification code or access to the private email.
Answer:
print("enter starting time hours")
st_hours=int(input()) #starting time hours
print("minutes")
st_minutes=int(input()) #starting time minutes
print("enter ending time hours")
et_hours=int(input()) #ending time hours
print("minutes")
et_minutes=int(input()) #ending time minutes
cost=2.50
if (st_hours<21 and et_hours>21): #if starting time is less than 21 and ending time is greater than 21
a_hours=et_hours-21
a_minutes=et_minutes #taking time after 21 from ending time ending time-21
time_minutes=60-st_minutes #converting all the time into minutes
time_hours=21-(st_hours+1)
time_hours=time_hours*60
time=time_hours+time_minutes
cost=(cost/60)*time
time=(a_hours*60)+a_minutes
cost=cost+(1.75/60)*time
print("cost=$",cost)
elif(st_hours>=21): #if starting time is greater than 21
time_hours=et_hours-(st_hours+1)
time_minutes=(60-st_minutes)+et_minutes #converting time into minutes
time=(time_hours*60)+time_minutes
cost=(1.75/60)*(time)
print("cost=$",cost)
elif(et_hours<=21): #if ending time is less than 21
time_hours=et_hours-(st_hours+1)
time_minutes=(60-st_minutes)+et_minutes
time=(time_hours*60)+time_minutes
cost=(2.50/60)*time
print("cost=$",cost)
Explanation:
This is a conditional program, the conditions applied are if and else if.
The resultant output was gotten using this three steps:
(1) If starting time is less than 21 and ending time is greater than 21
Then I converted the time into minutes before 21
ex:- 8:30
21-9= 12*60= 720 + 30 = 750
Then I calculated the bill.
750 * (2.50 / 60)
Then I converted the time after 21 and then calculated the bill and printed it.
(2)If starting time is greater than 21
Converted time into minutes and multiplied it with (1.75 / 60) to get the bill.
(3) If ending time is less than 21
Converted time into minutes and multiplied it with (2.50 / 60) to get the bill.
Please check attachment for program code screenshot.
#
#To do this, you want to write a function called
#check_availability. check_availability will have two
#parameters: a list of instances of the Meeting class, and
#proposed_time, a particular date and time.
#
#check_availability should return True (meaning the person
#is available) if there are no instances of Meeting that
#conflict with the proposed_time. In other words, it should
#return False if proposed_time is between the start_time and
#end_time for any meeting in the list of meetings.
#
#The Meeting class is defined below. It has two attributes:
#start_time and end_time. start_time is an instance of the
#datetime class showing when the meeting starts, and
#end_time is an instance of the datetime class indicating
#when the meeting ends.
#
#Hint: Instances of the datetime have at least six
#attributes: year, month, day, hour, minute, and second.
#
#Hint 2: Comparison operators work with instances of the
#datetime class. time_1 < time_2 will be True if time_1 is
#earlier than time_2, and False otherwise.
#
#You should not assume that the list is sorted.
#Here is our definition of the Meeting class:
from datetime import datetime
class Meeting:
def __init__(self, start_time, end_time):
self.start_time = start_time
self.end_time = end_time
#Write your function here!
#Below are some lines of code that will test your function.
#You can change the value of the variable(s) to test your
#function with different inputs.
#
#If your function works correctly, this will originally
#print: True, then False
meetings = [Meeting(datetime(2018, 8, 1, 9, 0, 0), datetime(2018, 8, 1, 11, 0, 0)),
Meeting(datetime(2018, 8, 1, 15, 0, 0), datetime(2018, 8, 1, 16, 0, 0)),
Meeting(datetime(2018, 8, 2, 9, 0, 0), datetime(2018, 8, 2, 10, 0, 0))]
print(check_availability(meetings, datetime(2018, 8, 1, 12, 0, 0)))
print(check_availability(meetings, datetime(2018, 8, 1, 10, 0, 0)))
Answer:
i hope the program below will help you!
Explanation:
Answer:
Yes
Explanation:
I will say Yes. There are very much limitless possible and future we can expect from social media and even more from social networking. Its capabilities from upcoming software in the future. Since the Internet is in its early days of growing and cloud computing being introduced there are way more possibilities in the future.
Social media can be duely applied by CIT (Computer Information Technologies) graduates. It can be used to improve them in their career and also will helps them connect professionally. Quora is one such platform which is not exactly like LinkedIn but pretty much serves the purpose.