Posts

python debugger

Python Debugger  In python for debugging we can import pdb module which come along with python itself . for more information you can refer link import pdb val=int(input("Enter Value")) pdb.set_trace() #breakpoint print(val) val=30 pdb.set_trace() print(val) pdb.pm() # end python debugging

Membership Operator & Identity Operator of Python programming language

Membership Operator & Identity Operator : Membership Operator : in , not in are  membership operator in python programming . These are used for checking whether value exist in the sequence or not e.g  1 in [1,2,3,4] --> True        5 not in [1,2,3,4,] -->True Identity Operator : is , is not are identity operator in python programming. These are used for checking the type of the value  e.g  x=12        type(x) is int ---> True       type(x) is str ---> False     

Feature and drawback of Python Language

Python programming language have many feature as follow 1.  Dynamic typing programming 2.  Open source programming language 3.  Easy to learn  4.  Great community of python developers 5.  Easily readable 6.  Object oriented programming language 7.  Cross platform support 8.  Python is extensible programming language 9.  Functions are first class objects  i.e variable can store function Now lets talk about the drawback of Python as follow 1.It is not typesafe language 2.It is slower than many language 3.It is not good for memory intense programming. 4.It programming is not suitable for mobile programming 5.It has more runtime errors due dynamic typing of it.

What is Environment variable in system ?

Environment variable are used by the system and user to find the location of various path which are initialized at the time of booting operating system on the system.

Design Patterns

Design patterns are the standard solution to frequently occurring problem. it should be reusable. for instance if we use square shape of wheel in vehicle, then it will be designing fault on daily actions.                                                                 OR  Design Patterns: Elements of Reusable Object-Oriented Software", published by Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides, often referred to as the Gang of Four (GoF) Most important and popular design pattern are: 1. Decorator pattern 2. Singleton pattern 3. Initialization on demand holder 4. The strategy and the factory pattern 5.Adapter pattern

Linux commands

Image
cat  /et c/os-release cat /etc/os-release command list down the important information operating system currently used by the system. in Red-hat cat /etc/redhat-release command will work. pstree

Most notable person of Computer Science Engineering Field

Alan Turing -Turing's proof,Turing machine,Turing test. Dennis Ritchie  - Father of c,unix. Alan Kay - Concept of object oriented programming , small talk pure oops language. James Gosling  - Father of  java programming language. Bjarne Stroustrup  - Creator    of  cpp. Ken Thompson -   designed and implemented the original  Unix  . Guido Van Rossum  -   " Benevolent Dictator For Life  , Creator of python Linus Torvalds - creator of Linux , Git Roger Mougalas  coin term Big Data in 2005