MKC Material PythonProgramming
MKC Material PythonProgramming
COLLEGE
(An Autonomous Institution)
(Approved by AICTE, New Delhi, Accredited by NAAC & Affiliated to Anna University)
Rasipuram - 637 408, Namakkal Dist., Tamil Nadu.
CSE 2024-25
Course Code & Course Name : 23GES03-Python Programming
Year/Sem/Sec: I / II / -
Notation Concept/Definition/Meaning/
S.No. Term Units
(Symbol) Units/Equation/Expression
Unit-I : Introduction
Python High-level, Interpreted, Interactive and
1. - -
Object-Oriented Scripting Language.
Interpreted language
Dynamically typed
Key features
2. - Cross-platform language -
Highly portable
GUI programming support
Speed and Productivity
Extensive Support for Libraries
Benefits User-friendly Data Structures
3. - -
Existence of Third Party
Modules
Easy Learning
GUI based desktop applications
Image processing applications
Business and Enterprise
Applications
4. - applications -
Prototyping
Web and web framework
application
Integer
Complex numbers
Built in Data types
5. Floating-point numbers
- -
Strings
Built-in functions
A program is a sequence of
Program instructions that specifies how to
6.
- -
perform a computation.
Natural Languages, Natural languages are the languages
Formal Languages people speak, such as English, Spanish,
7. - -
and French. They were not designed by
people they evolved naturally.
Programming Programming languages are formal
8. - -
Languages languages that have been designed to
express computations.
Data from keyboard, a file, network or
Input, Output some other device. Data displayed on
9. - -
the screen, saved in a file or sent over
the network.
Math Perform basic arithmetic operations
10. - like addition, multiplication etc. -
Conditional Check for certain conditions and run
11. execution - the appropriate code. -
A special symbol that represents a
Operators simple computation like addition,
12. -
-
multiplication, or string concatenation.
Value is a basic thing a program works
13. Value -
- with like a number or letter.
Python Interpreter The Python interpreter is a program that
14. - reads and executes Python code. -
Tokens are the basic elements of the
Tokens language, such as words, numbers, and
15. - -
chemical elements.
An error in a program. The process of
Bug, Debugging finding and correcting bugs in the
16. - -
program.
The process of formulating a problem,
Problem Solving:
17. finding a solution, and expressing it is -
-
called as Problem Solving.
Numbers
Strings
18. Data types - Lists -
Tuples
Dictionaries
A name that refers to a value. One of
Variable, Operand the values on which an operator
19. - -
operates.
Assignment A statement that assigns a value to a
20. - variable. -
State Diagram A graphical representation of a set of
21.
- variables and the values they refer to. -
Information in a program that is meant
Comment
22. - for other programmers and has no -
effect on the execution of the program.
Syntax Error An error in a program that makes it
23. - -
impossible to parse.
Boolean Expression An expression whose value is either
24. -
- True or False.
Conditional A statement that controls the flow of
25. Statement execution depending on some
- -
condition.
Unit-II: Functions, Strings
A named sequence of statements that
performs some useful operation.
Function Functions may or may not take -
26. -
arguments and may or may not
produce a result.
A statement that creates a new
Function function, specifying its name,
27. - -
Definition parameters, and the statements it
contains.
A value created by a function
Function object definition. The name of the function is
28. - -
a variable that refers to a function
object.
29. Header The first line of a function definition.
- The sequence of statements inside a -
Body
30.
- function definition. -
Parameter A name used inside a function to refer
31. - to the value passed as an argument. -
A statement that runs a function. It
Function call
32. - consists of the function name followed -
by an argument list in parentheses.
A value provided to a function when
Argument the function is called. This value is
33. -
- assigned to the corresponding
parameter in the function.
A variable defined inside a function. A
Local variable
34. local variable can only be used inside -
-
its function.
The result of a function. If a function
Return value -
35. call is used as an expression, the return -
value is the value of the expression.
36. Fruitful Function A function that returns a value.
-
Void Function A function that always returns None. -
37. - -
None A special value returned by void
38. - -
functions.
Flow Of The order statements run in.
39. -
Execution -
40. String A string is a sequence of characters.
- len is a built-in function that returns -
len
41. - the number of characters in a string. -
42. Slice A segment of a string is called a slice.
- -
“in” is a boolean operator that takes
in operator two strings and returns True if the first
43. - -
appears as a substring in the second.
Immutable The property of a sequence whose
44.
- items cannot be changed. -
Search A pattern of traversal that stops when it
45.
- finds what it is looking for. -
46. Invocation A statement that calls a method.
-
Optional A function or method argument that is -
47. - -
Argument not required.
A variable used to count something,
Counter
48. usually initialized to zero and then -
-
incremented.
An integer value used to select an item
Index in a sequence, such as a character in a
49. -
- string. In Python indices start from 0.
A graphical representation of a stack of
Stack Diagram functions, their variables, and the
50.
- -
values they refer to.
Unit-III : Lists, Tuples, Dictionaries
51. - -
List A sequence of values.
Element
52. - One of the values in a list (or other -
sequence), also called items.
53. Nested List
- -
A list that is an element of another list.
54. A variable used in a loop to add up or
Accumulator - -
accumulate a result.
Augmented A statement that updates the value of a
55. Assignment - variable using an operator like +=. -
A processing pattern that traverses a
56. Reduce - sequence and accumulates the elements -
into a single result.
Reference The association of a variable with an
57. - -
object is called a reference.
An object with more than one
Aliases
58. - reference has more than one name is -
called aliases.
A processing pattern that traverses a
Reduce sequence and accumulates the elements
59.
- -
into a single result.
A processing pattern that traverses a
Map
60. sequence and performs an operation on
- -
each element.
A processing pattern that traverses a
61. Filter - list and selects the elements that satisfy -
some criterion.
Object Something a variable can refer to. An
62. - -
object has a type and a value.
Key-Value pair
71. - The representation of the mapping -
from a key to a value.
Categories Layer
117. - -
Core Modules
Regularizers
Input numbers may be single
Input shape dimensional array, two dimensional
120. - array (matrix) or multi-dimensional -
array.
Sequence Sequence Analysis is used frequently
121. Analysis - in natural language processing to find
-
the sentiment analysis.
122. Date A date in Python is not a data type of
- -
its own, but we can import a module
An iterator is an object that contains a
123. Iterators - -
countable number of values.
Inheritance Inheritance allows us to define a class
124. - that inherits all the methods and -
properties from another class.
1.
2.
3.
HoD