Answer:
class Phone(object):
def __init__(self, model, partNumber, retailPrice):
self.model = model
self.part_number = partNumber
self.retail_price = retailPrice
def phone_specs(self):
print( "Phone model: {}\nPart number: {}\nRetail price: {}".format( self.model, self.part_number, self.retail_price))
phone1 = Phone("Nokia", "asd234", 200.0)
phone1.phone_specs()
Explanation:
A class is a blueprint of a data structure used to create objects of the same data types and methods. The Phone class is an object that creates an instance of the phone1 object. The phone_specs method is used to display the details of the phone1 object.
Answer:
When we journey from a particular city to another city and we don’t really know the path then we ask for path and go on that which is just the same thing as packet switching.
Explanation:
Suppose system A intends to send packet to system B the steps and procedures are given below
1. A breakdown of large file into smaller bits of data on system A will first occur.
2.It attach separate headers for every portion of the file so that each portion looks like separate packet.
3.Header file in chunks will contain ip address of the file receiver which here is system B.
4. the Switch system will utilize the IP present in header to decide the link to destination.
File -> Save As
Or Shortcut Key CTRL+SHIFT+S
Answer:
There are four options for these questions: and d is correct answer
a. signature
b. priority file
c. moles
d. honeytoken
Explanation:
Honeytokens are words or fictitious records implemented in a database, with this option we can track data in a complex situation, for example, in cloud computing, if someone tries to steal data from the database we can detect, who was the thief, and we can add a honeytoken in every record of our database.