Answer:
***HTTP is a protocol which allows the fetching of resources, such as HTML documents. It is the foundation of any data exchange on the Web and it is a client-server protocol, which means requests are initiated by the recipient, usually the Web browse.
**ftp or File Transfer Protocol is a standard communication protocol used for the transfer of computer files from a server to a client on a computer network. FTP is built on a client–server model architecture using separate control and data connections between the client and the server.
Answer:
The solution code is written in Python 3:
- import keyword
-
- def checkValidVariable(string):
- if(not keyword.iskeyword(string)):
- return True
- else:
- return False
-
- print(checkValidVariable("ABC"))
- print(checkValidVariable("assert"))
Explanation:
Firstly, we need to import keyword module so that we can use its iskeyword method to check if a string is registered as Python keyword (Line 1).
Next, we create a function checkValidVariable that takes one input string (Line 3). Within the function body, we use iskeyword method to check if the input string is keyword. Please note the "not" operator is used here. So, if iskeyword return True, the True value will be turned to False by the "not" operator or vice versa (Line 4-5).
We test the function by passing two input string (Line 9-10) and we shall get the sample output as follows:
True
False
Answer:
following are the OSI Layers
1.physical layer
2.datalink layer
3.network layer
4.transport layer
5.session layer
6.presentation layer
7.application layer
Explanation:
physical layer is used to transmit media,signal and binary information
datalink layer is used for physical addressing MAC and LLC
network layer is used for path determination and ip
transport layer is for end to end communication and reliability
session layer is for interhost communication
presentation layer is for data representation and encryption
application layer is network process to application
Well, it's called Central Processing Unit, or CPU.
Professional: Using social media to advertise a company you created
Unprofessional: Using social media to watch cat videos