Posts

Showing posts from November, 2019

Cyber crime overview

what is cyber crime and explain its type Cybercrime is defined as a crime in which a computer is the object of the crime (hacking, phishing, spamming) or is used as a tool to commit an offense (child pornography, hate crimes). Cybercriminals may use computer technology to access personal information, business trade secrets or use the internet for exploitative or malicious purposes. Types of cyber crimes 1.hacking:- Gaining unauthorized access to data in a system or computer. 2.Denial of services:- A denial-of-service attack overwhelms a system’s resources so that it cannot respond to service requests. 3.viruses dissemination:- It is process of a malicious software that attach itself to other software.(virue,worms,trajon) 4.creadit card fraud The unauthorized use of an individual credit cards or card information to make purchase or to remove fraud 5.spniffing:- Sniffing is a process of monitoring and capturing all data packets pa...

Introducation of cyber security

Image
Different between TCP/IP and OSI model BASIS FOR COMPARISON TCP/IP MODEL OSI MODEL Expands To Transmission Control Protocol/ Internet Protocol Open system Interconnect Meaning It is a client server model used for transmission of data over the internet. It is a theoretical model which is used for computing system. Number Of Layers 4 Layers 7 Layers Developed by Department of Defense (DoD) ISO (International Standard Organization) Tangible Yes No Usage Mostly used Never used Obeys Horizontal approach Vertical approach Public key cryptography Public key cryptography (PKC) is an encryption technique that uses a paired public and private key (or asymmetric key) algorithm for secure data communication. A message sender uses a recipient's public key to encrypt a message. To decrypt the sender's message, ...

computation model

Image
                                  Computation Model HYPERCUDE :- Ø    Each node of a d-dimensional hupercude is numbered using d-bits. hence , there are 2^d  processor in a d-dimensional hypercude. Ø Two node are connected by a direct link if their number differ only by one bit. Ø The diameter of d-dimensional hupercude is d as we need to filp at most d bits to reach one processor from another. Ø    The bisection width of a d-dimensional hypercude is 2^d-1 . “hypercude is a highly scalable architecture. Two d-dimensional hypercude can be easily combined to form a d+1-dimensioanl hypercude.” Two variants of hypercude. 1.In sequential of hypercude:-          One processor can communicate only with one neighbour at a time. 2.In parallel of hypercude:-          It can c...

Difference Between Python method and Function

Python Function  Python function is a sequence of statements that execute in a certain order, given a name. They let us implement code reusability. When we talked about Python Functions, we talked about built-in and user-defined functions. Python Method Python method is like a function, except it is attached to an   object . We call a method on an object, and it possibly makes changes to that object. A method, then, belongs to a  class . Comparison Between Method and Function in Python Python method is called on an object, unlike a function. In our example above, we call start() on the object ‘car’. Conversely, we call Python function quite generically- we don’t call it on any object. Since we call a method on an object, it can access the data within it. A method may alter an object’s state, but Python function usually only operates on it, and then prints something or returns a value.

Difference Between List,Set,Tuple and Dictionary

Image
1. Python List A list in python is a collection of various items  which may be either of the same or of different data types.  The items in a list are separated by commas and enclosed in square braces. Listing 1.0 shows how to create a list in python list1=[22,4,7,77,4,5,5] list2=[34,67,44] print(min(list1)) print(max(list1)) tuple=('abcd',453,6,44,'pqr') print("list",list(tuple)) str=input("enter a list(space separated):") lis=list(map(int,str.split())) print(lis) 2. Python Tuple A tuple in python is also a collection of items just like list. Take note of the two key difference: A tuple is immutable (you can’t change the elements once created) A tuple is created with rounded braces list=[45,76,66,98] tuple1=(1,2,5,6,85) tuple2=(85,34,) print(tuple1[2]) print(tuple1[1:3]) print(tuple2*2) print(tuple1 + tuple2) print(len(tuple1)) print(min(tuple1)) print(max(tuple1)) print(tuple(list)) ...