Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
108 views
5 pages
? Python?interview Questions & Answer
Uploaded by
Himagiri Rao Kuna
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save ? PYTHON?INTERVIEW QUESTIONS & ANSWER For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
108 views
5 pages
? Python?interview Questions & Answer
Uploaded by
Himagiri Rao Kuna
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save ? PYTHON?INTERVIEW QUESTIONS & ANSWER For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save ? PYTHON?INTERVIEW QUESTIONS & ANSWER For Later
You are on page 1
/ 5
Search
Fullscreen
® python 4. hat is Python? > Fejthon was created by Guide van Rossum, in 1991. + Web appiicatfon are Made by python with the neip of Sexvers. . Fytnon handles huge amount of data % perform mathematics. + Pyinon works on different Platform tice (Mac, Linux, windows , Raspberry pi ete). . Python 1s q object orlented Prog ramming Ignguage - + Python is high level § most popular Progvamm)ng language « =o -6-m- ry You py file Interpreter Bytecodefile. Output 2. Ts the Python case sensitive janjuage - > Yes, Python isa case sensitive language - Because It differentiates +the lower case & upPer cOse IdentfFters. 3. What is Lambda furietion in_fytnon 2 = Lambda function In Python having no name. Lambag forms are uHifzed to Construct anonymous functions. A normal Functions aye defined by lambda Keyword. example :— addev = lambda xX, ys x + Print (adder (4, 8) ) asc Dt Dt il ll al Al ll all ll ll ll all Al A Al el 4. what are th? advantages of Python 2 + Python is very flexible & extenstble language + « Python Is Object oriented Program min | language. 3 «In Python there are Tule , list and dictionary ave ysetul da fs present In the lanquage. grructure grur cumAR (LINKEDIN)Sass ses Dah Dak ak ek Bk Da Dl Dl ll ll al al al ll sl ll al ll ll le Puthon yuns on yayious Plarform ike Mac, Window, Linux , yaspberry pi ete. + Python fs Free and open source language. 5. lthat is PEP 8? adn Futron PEP has appears as the style guide that most Projects hold 40 tts + Ir Provides @ very readable and eye- pteasing code style. » A fun form of PEF ts Python Enhancement Pyoposal - + PEP ® yecommends use G space +0 show Indentation and +abs should only be used +o maintain consistancy tn tne Proqyam. 6 jalhat is seié in Ryton? 7+ By using self Keyinard we can access the athibute ¥ methods ©F class fn Python. +The self Keyword is Used to yepresent the instance oF the class. «The self variable fn the init method yefer to ne newly Created object while In Other methods. + Seik ts glso used to refer 40.9 varianie Field within the class. 4-_What fs Init gunction fn Python ? 4 +_init. is one of the veserved method In Pytnon. « The init. method can be called when an object ts created #x0M the class. ~ An class have a Function called fnit_¢ >. which fs always executed vohen tht class Is being IniHated. + Use the Init_() Function 4o assign values to object Properttes. 2 The init. method doesn't created the objet but only Initialize te object's attributes. ATUL KUMAR CLINKEDIA)eet tad al ll ll le ll ll ll €. What is Pass in Python? 23 The Pass Keyword yepresent @ null operation In Python. ot is Generaiiy used for the purpose of Filling up empty block of code Which may execute during yuntime « +The pass statement }s generally used as 4 Placeholder - = he pass statement is useful when you don't vorite Implement of function . a lalhat is_sitce function In Py thon ? aie furhon gitee( ) function 3s used to get a sitce oF elements from collection of elements. + Stice C) functton used with string , list, tupte, set, bytes Or yange objects. . Syorax : Slice C stop) Stice (start, stop, step) 10. How is Memory managed fn Python ? a: Memory management In python involves @ private heap containing ail python objects £ data structure. + The Python memory manager is deals with storage management aspects, ike shaving , seqmentation and caching - The core API Qlves access +0 some tools for Programmer to code. -idn python stnere Is also garbage collectton ts present. Tt yeeyoes al) the unused memory and so H makes free space in memory. i. alnat Te tuple In Python ? +A tupte ts 9 bullt In data type. « We can stores a value In tuple. + A tuple tn python Ts gimilay to q Itst. « Juples ave immutable so we cannot change its Values. + Tuples vespond to the + and x Operators muth Ike Strings.hl ll a ll a cl al ll NE a Jathat is an operator In Python? aC peratoy is q Symbol which ts used on values to produce output on it + Arithematic operators are used to performing mathematical operation. Vike qdatton, subtract, mulllpitcatton & diviston. + Comparison Operator Lompares tne values and yeturns true of false Values on Conditon. ae Logical operator Perform Log! ca) AND, Loyteal OR and Logica a) NOT operattons. It is used +0 combine conditonag) statements. + Bitwhse operator act on bit £ perform bit- by - blt operattens + Assignment operators used to assigning values 40 the variables. 13. Ts the python Interpreted language? +A Pytnon Is Gn Interpreted language - + Fython tonquage Program yuns dirvectiy from the code- : Ayrhon converts the Source code Into !angquage code. And It ts again translated Into machine tanguage- «An Interpreted language te any Programming language that jsn't alyeady tn mathine code prior to runtime. + Python 1s Fal under byte code Interpreted. « The‘PY code source code te flrst compiled +o byte code as -FYC V4. lnat ave fy thon iterators + — + The Herators ave objects which can be travesed through or Herred upon. + Tterator contgins countable number of vaiues: + Python Iterator used to tterate Object Uke Itst, tuple, and sets. The iterator object Inltialized ustng Trex cy method, 5. What is namespace In fyshon ? 4 A namespace fs naming system used to make cure that names are unlgne to avold naming Conifers. AR _ClinkeoIN)Mek sek Nk ak Dk ll al at a al a ll al alll ll le ll ll lt Yo. Ts Tndentatton vequtred In Python 2 > +Tndentatton ts most net Rue for Python. oTt specifies blows of code- All code with In loops classes functtons ete. + Tt is usuay done using four space character» + Tt your code ts not Intended a + Tt will not execute accurately and wit) through eryor as well 17» What are local and _g1ob4) vartable tn_ Python ? > + There ave two types oF variables local and o10ba) Varigbles. Local Vavlables :— * Local variables can only be yeathed within their scope- + Any variable declared Inside a function fs Known ac 9 Local variable This varlable fs Oresent In the 10ca) and not In +he global space. Global variables :— » A Global varlable Can be used anywhere in the Progvam as irs reope ts entive Program. » Variable declared outside a functon or in globa) pace are called global vartables.. c + These vartables can be accessed by any function in the Progyam.
You might also like
internship-REPORT Python
PDF
0% (1)
internship-REPORT Python
40 pages
Interview Python: Most Asked Interview Questions
PDF
No ratings yet
Interview Python: Most Asked Interview Questions
24 pages
Python Interview Questions
PDF
No ratings yet
Python Interview Questions
8 pages
Python Interview Questions Part 1 Handwritten Notes
PDF
No ratings yet
Python Interview Questions Part 1 Handwritten Notes
5 pages
Hotel
PDF
No ratings yet
Hotel
6 pages
Python Theory
PDF
No ratings yet
Python Theory
8 pages
INTERVIEW
PDF
No ratings yet
INTERVIEW
33 pages
PythonVK Notes
PDF
No ratings yet
PythonVK Notes
219 pages
Python Viva
PDF
No ratings yet
Python Viva
20 pages
Python Interview Questions
PDF
No ratings yet
Python Interview Questions
20 pages
52 Python Question Answers
PDF
No ratings yet
52 Python Question Answers
71 pages
52 Python Question Answers
PDF
No ratings yet
52 Python Question Answers
71 pages
Pytth
PDF
No ratings yet
Pytth
33 pages
Top Python Interview Questions and Answers
PDF
100% (1)
Top Python Interview Questions and Answers
14 pages
Python Lab Viva Que
PDF
No ratings yet
Python Lab Viva Que
15 pages
52 Python Question Answers
PDF
No ratings yet
52 Python Question Answers
71 pages
Python Interview Qustions
PDF
No ratings yet
Python Interview Qustions
24 pages
Python Unit 1
PDF
No ratings yet
Python Unit 1
64 pages
Preparing For Your Python Interview - The Basics - Techwers (Your Technical Interview Book 2) - KT Lindemann
PDF
No ratings yet
Preparing For Your Python Interview - The Basics - Techwers (Your Technical Interview Book 2) - KT Lindemann
83 pages
Top 150 Python Interview Questions and Answers (2023)
PDF
No ratings yet
Top 150 Python Interview Questions and Answers (2023)
64 pages
Notes
PDF
No ratings yet
Notes
10 pages
Python Q - 2
PDF
No ratings yet
Python Q - 2
14 pages
Python Interview Questions For Freshers
PDF
No ratings yet
Python Interview Questions For Freshers
48 pages
Python Notes - Unit1
PDF
No ratings yet
Python Notes - Unit1
20 pages
Python Interview Questions For Freshers
PDF
No ratings yet
Python Interview Questions For Freshers
4 pages
Top Python Interview Questions and Answers
PDF
No ratings yet
Top Python Interview Questions and Answers
17 pages
8FC21 PP&A Key
PDF
No ratings yet
8FC21 PP&A Key
13 pages
Python Unit 1
PDF
No ratings yet
Python Unit 1
19 pages
Python Interview Questions For Freshers
PDF
No ratings yet
Python Interview Questions For Freshers
19 pages
Manvi Report
PDF
No ratings yet
Manvi Report
23 pages
Python Programming Interview Questions and Answers PDF 100
PDF
No ratings yet
Python Programming Interview Questions and Answers PDF 100
13 pages
Python Questions
PDF
No ratings yet
Python Questions
62 pages
Python GTU Study Material E-Notes Unit-1 12012021081509AM
PDF
100% (1)
Python GTU Study Material E-Notes Unit-1 12012021081509AM
29 pages
Interview Questions
PDF
No ratings yet
Interview Questions
105 pages
Python Interview Question Compiled
PDF
No ratings yet
Python Interview Question Compiled
43 pages
What Are The Key Features of Python?: Object Orientated Programming
PDF
No ratings yet
What Are The Key Features of Python?: Object Orientated Programming
27 pages
Internet of Things UNIT-III
PDF
100% (1)
Internet of Things UNIT-III
23 pages
Pds Imp
PDF
No ratings yet
Pds Imp
60 pages
Master Python in 15 Days 1734609496
PDF
No ratings yet
Master Python in 15 Days 1734609496
16 pages
100 Python Interview Questions
PDF
No ratings yet
100 Python Interview Questions
60 pages
Object Oriented Programming Using Python: Name:Ankeet Giri Reg No.: 11904096
PDF
No ratings yet
Object Oriented Programming Using Python: Name:Ankeet Giri Reg No.: 11904096
20 pages
Python Data Science 05 06 23
PDF
No ratings yet
Python Data Science 05 06 23
62 pages
Lab 1 - Introduction To Python
PDF
No ratings yet
Lab 1 - Introduction To Python
12 pages
Industrial Training 2
PDF
No ratings yet
Industrial Training 2
17 pages
Unit 2 Python
PDF
No ratings yet
Unit 2 Python
13 pages
Introdution To Python
PDF
No ratings yet
Introdution To Python
60 pages
E-Book Python Programming
PDF
No ratings yet
E-Book Python Programming
39 pages
18mit14c U1
PDF
No ratings yet
18mit14c U1
76 pages
Python Django Internship Report 5 - Pagenumber
PDF
No ratings yet
Python Django Internship Report 5 - Pagenumber
52 pages
Python Material
PDF
No ratings yet
Python Material
52 pages
Python Core Part
PDF
No ratings yet
Python Core Part
32 pages
Python 1
PDF
No ratings yet
Python 1
11 pages
Unit III - 1
PDF
No ratings yet
Unit III - 1
57 pages
Chapter - 1 - Python Overview and Fundamentals
PDF
No ratings yet
Chapter - 1 - Python Overview and Fundamentals
14 pages
50 Python Interview Questions PDF 1748080994
PDF
No ratings yet
50 Python Interview Questions PDF 1748080994
52 pages
UNIT 1 PPT - Final-Compressed
PDF
No ratings yet
UNIT 1 PPT - Final-Compressed
88 pages
Python Programming
PDF
No ratings yet
Python Programming
151 pages
Labour Report May 2023
PDF
No ratings yet
Labour Report May 2023
64 pages
Advait Homes LLP & Gorlas Constructions PVT LTD: Labour Distrubtion For Infra & Construction
PDF
No ratings yet
Advait Homes LLP & Gorlas Constructions PVT LTD: Labour Distrubtion For Infra & Construction
1 page
NCR 002 (KLC)
PDF
No ratings yet
NCR 002 (KLC)
1 page
WMS - Waterproofing For External Retaining Wall
PDF
No ratings yet
WMS - Waterproofing For External Retaining Wall
2 pages
Block - A (Foundations)
PDF
No ratings yet
Block - A (Foundations)
2 pages
Lintels For 4BHK
PDF
No ratings yet
Lintels For 4BHK
5 pages
Govindaraj (Resume)
PDF
No ratings yet
Govindaraj (Resume)
3 pages
TCL Open Canal Civil Work BOQ
PDF
No ratings yet
TCL Open Canal Civil Work BOQ
1 page