Python-notes-for-UPPCL-or-other-Exam-2024

Sachin Arora-Python language notes for UPPCL or other Exam 2024

5/5 - (1 vote)

दोस्तों अगर आप सरकारी एग्जाम्स की तैयारी कर रहे हैं और आपके एग्जाम में जो लेवल रखा गया है वह कंप्यूटर का O level तो आपको पाइथन लैंग्वेज का ज्ञान होना अति आवश्यक है आज के इस लेख के माध्यम से हम आपको पाइथन लैंग्वेज से संबंधित कुछ महत्वपूर्ण तथ्यों से रूबरू कराएंगे | जो आपके सरकारी जॉब से रिलेटेड सभी प्रकार के एग्जाम चाहे फिर वह यूपीपीसीएल UPPCL हो या फिर आपका upsssc का एग्जाम क्यों ना हो | वर्तमान समय में पाइथन लैंग्वेज से काफी बड़ी मात्रा में प्रश्न पूछे जा रहे हैं -और इस लेख में जो भी आपको नोट्स प्रोवाइड किया जा रहे हैं वह पूरी तरह से सचिन अरोरा ( Sachin Arora) और Exampur के नोट से बनाए गए हैं

join our WhatsApp channel l

पाइथन एक उच्च-स्तरीय, सामान्य-उद्देश्य वाली, इंटरैक्टिव, ऑब्जेक्ट-ओरिएंटेड, स्क्रिप्टिंग भाषा है। यह एक व्याख्यात्मक भाषा है, जिसका अर्थ है कि कोड को चलाने के लिए इसे पहले संकलित करने की आवश्यकता नहीं है। पाइथन कोड को पढ़ना और समझना आसान है, जो इसे शुरुआती लोगों के लिए एक अच्छी भाषा बनाता है।

जैसा कि आप सभी जानते हैं कि कंप्यूटर विषय में जो एग्जाम होते हैं उसको इंग्लिश भाषा में देना अधिक आसान होता है तो जो हम नोट से आपको प्रोवाइड कर रहे हैं वह इंग्लिश में होंगे | आप आसानी से समझ पाएंगे |

Python is high level programming language.
Developed by Guido van Rossum in feb 20, 1991
It is a general purpose programming language
It is a functional programming language
It is an object oriented programming language
It is an interpreted language(first compile and then interpret}
Easy language for coding
Python language comes from C language
Python is case sensitive language
It is an machine independent language
File extension of python language is – Py
We can use Python language for software development or website development
We can use this language for games development
List item

1. Python 0.9Developed in 1989 but released in 1991
2. Python 1.0Developed in 1994
3. Python 2.0Developed in 2000
4. Python 3.0Developed in 2008 ( Total keywords 33 )
5 Python 3.8Developed in 2019 (Total keyboards 33 )
6. Python 3.11.0Developed in 22 October 2022 (35 Keywords)
7. Python 3.11.1Developed in 6 December 2022 (35 Keywords)
8. Python 3.12.0Developed in on October 2, 2023

पाइथन इंटरप्रेटर एक ऐसा प्रोग्राम है जो अन्य पाइथन प्रोग्राम को एग्जीक्यूट करता है एक पाइथन प्रोग्राम में सोर्स कोड (उदाहरण- pyRoot.py) और पाइथन लैंग्वेज में सोर्स कोड को कंपाइलर द्वारा बाइट कोड में बदला जाता है जो एक्सटेंशन .pyc (ex:pyRoot.phy) के साथ फाइल बनता है| पाइथन इंटरप्रेटर की सबसे बड़ी खासियत क्या है कि कंपाइलेसन प्रक्रिया होती है वह आंतरिक रूप से यानी हिडन रूप से होती है | बाइट कोड पाइथन वर्चुअल मशीन को दिया जाता है जो बाइट कोर्ट को मशीन कोर्ट में परिवर्तित करता है या मशीन कोड प्रोसेसर द्वारा रन कराया जाता है और अंत में या हमें परिणाम प्रदर्शित करता है

J python
C python
Iron python
pypy Python
Ruby python
Anaconda python
stackless python

पायथन कीवर्ड आरक्षित शब्द( reserved words) हैं जिनका पायथन भाषा में विशेष अर्थ होता है| Reserved words का उपयोग variable names, function names, or any other identifier के रूप में किया जा सकता है कोडिंग के सिंटैक्स को परिभाषित करने के लिए कीवर्ड का उपयोग किया जाता है। इनका उपयोग classes, functions, loops, conditions और अन्य पायथन भाषा के महत्वपूर्ण पहलुओं को परिभाषित करने के लिए किया जाता है।

No.Keyword
1.False
2.None
3.True
4.and
5.as
6.assert
7.async
8.await
9.break
10.class
11.continue
12.def
13.del
14.elif
15.else
16.except
17.finally
18.for
19.from
20.global
21.if
22.import
23.in
24.is
25.lambda
26.nonlocal
27.not
28.or
29.pass
30.raise
31.return
32.try
33.while
34.with
35.yield
keywords Definition
AndLogical operator
AsFor alias creation (pronoun)
BreakTo exist from a loop
ClassTo define a class
ContinueTo continue to the next iteration off loop
elifConditional statement
exceptTo catch and exceptional ( mistake)
ForFor looping
GlobalTo declare Global variable
IfConditional statement
ImportTwo import all module
InTo check value is presented in the list , tupple
IsTo test equality
LambdaFor anonymous function
Nonenull vale no return
Non localNon local variable
Notnegations logical operators
OrLogical operator
PassNothing execute
ReturnExit from function and return value
TrueBoolean value
falseBoolean value
TryTo catch statement
WhileWhile loop
defDefine of function
AssertUsed for debugging
DelDelete an object
FromImport specific module
FinallyHandling of except
raiseraise Exception
WithException handling
YieldReturning value
  1. Class: group of similar objects
  2. Object: it is entity that exit
  3. Encapsulation: packing of data and function in a single component
  4. Data abstraction: hiding background details
  5. Polymorphism: allow same function name to act differently in different class
  6. Inheritance object of child class get the properties of object of parent class
  1. Simula 1967
  2. Smalltalk
  3. C++
  4. Python
  5. JavaScript
  6. Visual Basic
  7. PHP
  8. Ruby

Python data type

डाटा टाइप का उपयोग प्रोग्राम में variables को परिभाषित करने के लिए किया जाता है

1. Numeric

a. Int

b Float

c. Complex

2. Dictionary

a. Name= “vinay”

b. Contact number= “91xxxxxxx95”

c. Car = ” Maruti”

3.Boolean

a. true , false

b. Yes or no

c. On ,off

4. Set

इसका प्रयोग किसी भी वेरिएबल के लिए मेमोरी असाइन करने में होता है

5. Sequence type

a. List

b. Tuple

Text type – string ( X= ” hellow world” = str )
Numeric type-float ,int , complex ( 20 = int ) (20.5 = float ) ( 1J= complex)
Sequence type-list, Tuple ,range ( list को सदैव बड़े ब्रैकेट से प्रदर्शित करते हैं[list] or tuple को सदैव छोटे ब्रैकेट (tuple) मैं प्रदर्शित करते हैं
Mapping type-Dic मंजाले ब्रैकेट { } से dic को प्रदर्शित करते हैं x= { “name” “vinay” , “age” ” 26″} = Dic
Set-set, frozen set सेट को भी मंजाले ब्रैकेट{} उसे कर कर प्रदर्शित किया जाता है {“ram”,”shyam”,”gopal”}= set तथा frozen set के लिए छोटे ब्रैकेट के अंदर मंजाले ब्रैकेट ब्रैकेट को use ({}) करके प्रदर्शित किया जाता है जैसे की- ({“apple”,”banana”})=fozen set
Boolean type– Ex: (a>b && a> c) is a Boolean expression.
None type
Binary typebytes , byte array , memory view

हमारे द्वारा इस लेख में प्रदर्शित की गई सभी जानकारी पूरी तरह से हमने YouTube अपने खुद के हैंडरायटन नोट्स की मदद से बनाया है| आशा करते हैं हमारे द्वारा आपके एग्जाम संबंधित पैटर्न से रिलेटेड जो हमने आपको सामग्री प्रदान किया वह आपके लिए उपयोगिता साबित होगी अगर आपका हमारा इलेक्शन आता है तो अपने दोस्तों के साथ साझा करें और अगर आपके पास कुछ ज्यादा है तो हमें ईमेल कर सकते हैं

अधिक जानकारी के लिए सचिन अरोरा सर के चैनल को सब्सक्राइब कर सकते हैं

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top