Python History
Python History
Project Report
On
RESULT MANAGEMENT
SYSTEM
Undertaken At
Maharaja Agrasen Vidyalaya
Memnagar, Ahmedabad - 380052
By
Priyanshu Shah
Sanskar Agrawal
Guided By
Mr. Vipul V. Srivastava
Submitted To
Maharaja Agrasen Vidyalaya
(Affiliated to Central Board of Secondary Education)
Gujarat-India.
2019 2020
1|Page
CONTENTS
SR.NO. TOPIC PAGE NO.
1. CERTIFICATE
2. ACKNOWLEDGEMENT
3. INTRODUCTION
4. PROJECT PROFILE
5. ABOUT PYTHON
6. PROJECT OVERVIEW
7. SOURCE CODE
8. OUTPUT SCREENS
9. BIBLIOGRAPHY
2|Page
CERTIFICATE
This is to certify that the project entitled
RESULT MANAGEMENT SYSTEM is done by
Mast. PRIYANSHU SHAH Of class XI - A of
Maharaja Agrasen Vidyalaya, As per the
requirement of All India Senior School
Certificate Examination during the
academic year 2019 - 2020.
3|Page
ACKNOWLEDGMENT
The phenomenon remains same that no project ever can be
executed proficiently and efficiently without sharing the meticulous
ideas, technical expertise and innovative thoughts put forwarded by the
technical and non-technical veterans.
In this regard first of all we would like to express deep gratitude to
Mr. Vipul V. Srivastava for sharing his precious knowledge and
innovative ideas for the successful execution of the project.
Whenever a technical project is developed, eventually it requires
conductive technical environment and technical guidance to get in
involved in the assigned project enthusiastically.
PRIYANSHU SHAH
‘XI’ - ‘A’
4|Page
INTRODUCTION
The outcome of any software is the most
important thing because it will directly
relate to the user. The school result
software generates an outline of all
modules in the form of reports. The
software generates the merit list of the
students. The project is to automate the
result related activities in the school. One
can use this project to evaluate one’s
detailed result analysis. The results
section should state the findings of the
research arranged in a logical sequence
without bias or interpretation.
5|Page
PROJECT PROFILE
RESULT MANAGEMENT
NAME OF THE PROJECT
SYSTEM
Maharaja Agrasen
DEVELOPED AT
Vidyalaya
PRIYANSHU SHAH,
DEVELOPED BY
SANSKAR AGRAWAL
Maharaja Agrasen
SUBMITTED TO
Vidyalaya
6|Page
ABOUT PYTHON
HISTORY
Python is an interpreted, high-level, general-purpose programming language. Created by
‘Guido van Rossum’ and first released in 1991, Python's design philosophy
emphasizes code readability with its notable use of significant whitespace. Its language
constructs and object-oriented approach aim to help programmers write clear, logical
code for small and large-scale projects.
Python was conceived in the late 1980s as a successor to the ABC language. Python 2.0,
released in 2000, introduced features like list comprehensions and a garbage collection
system capable of collecting reference cycles. Python 3.0, released in 2008, was a major
revision of the language that is not completely backward-compatible, and much Python
2 code does not run unmodified on Python 3.
The Python 2 language, i.e. Python 2.7.x, "sunsetted" on January 1, 2020 (after
extension; first planned for 2015), and the Python team of volunteers will not fix
security issues, or improve it in other ways after that date. With the end-of-life, only
Python 3.5.x and later will be supported.
Python interpreters are available for many operating systems. A global community of
programmers develops and maintains CPython, an open source reference
implementation. A non-profit organization, the Python Software Foundation, manages
and directs resources for Python and CPython development.
7|Page
FEATURES
Python is a multi-paradigm programming language. Object-oriented programming and
structured programming are fully supported, and many of its features support functional
programming and aspect-oriented programming (including by meta-programming and
meta-objects (magic methods)). Many other paradigms are supported via extensions,
including design by contract and logic programming.
Python uses dynamic typing and a combination of reference counting and a cycle-
detecting garbage collector for memory management. It also features dynamic name
resolution (late binding), which binds method and variable names during program
execution.
Python's design offers some support for functional programming in the Lisp tradition. It
has filter, map, and reduce functions; list comprehensions, dictionaries, sets, and
generator expressions. The standard library has two modules (iter-tools and func-tools)
that implement functional tools borrowed from Haskell and Standard ML.
Rather than having all of its functionality built into its core, Python was designed to be
highly extensible. This compact modularity has made it particularly popular as a means
of adding programmable interfaces to existing applications. Van Rossum's vision of a
small core language with a large standard library and easily extensible interpreter
stemmed from his frustrations with ABC, which espoused the opposite approach.
Python strives for a simpler, less-cluttered syntax and grammar while giving developers
a choice in their coding methodology. In contrast to Perl's "there is more than one way
to do it" motto, Python embraces a "there should be one—and preferably only one—
obvious way to do it" design philosophy. Alex Martelli, a Fellow at the Python
Software Foundation and Python book author, writes that "To describe something as
'clever' is not considered a compliment in the Python culture.”
8|Page
Indentation
Python syntax and semantics & Indentation
Python uses whitespace indentation, rather than curly brackets or keywords, to delimit
blocks. An increase in indentation comes after certain statements; a decrease in
indentation signifies the end of the current block. Thus, the program's visual structure
accurately represents the program's semantic structure. This feature is sometimes termed
the off-side rule, which some other languages share, but in most languages indentation
doesn't have any semantic meaning.
Flow Of Control
Python's statements include (among others):
• The assignment statement (token '=', the equals sign). This operates differently than in
traditional imperative programming languages, and this fundamental mechanism
(including the nature of Python's version of variables) illuminates many other features
of the language. Assignment in C, e.g., x = 2, translates to "typed variable name x
receives a copy of numeric value 2". The (right-hand) value is copied into an allocated
storage location for which the (left-hand) variable name is the symbolic address. The
memory allocated to the variable is large enough (potentially quite large) for the
declared type. In the simplest case of Python assignment, using the same example, x =
2, translates to "(generic) name x receives a reference to a separate, dynamically
allocated object of numeric (int) type of value 2." This is termed binding the name to the
object. Since the name's storage location doesn't contain the indicated value, it is
improper to call it a variable. Names may be subsequently rebound at any time to
objects of greatly varying types, including strings, procedures, complex objects with
data and methods, etc.
9|Page
• The if statement, which conditionally executes a block of code, along with else and
elif (a contraction of else-if).
• The for statement, which iterates over an iterable object, capturing each element
to a local variable for use by the attached block.
• The while statement, which executes a block of code as long as its condition is
true.
• The try statement, which allows exceptions raised in its attached code block to be
caught and handled by except clauses; it also ensures that clean-up code in a finally
block will always be run regardless of how the block exits.
• The class statement, which executes a block of code and attaches its local
namespace to a class, for use in object-oriented programming.
• The continue statement, skips this iteration and continues with the next item.
• The assert statement, used during debugging to check for conditions that ought to
apply.
10 | P a g e
Expressions
Some Python expressions are similar to languages such as C and Java, while some are
not:
• Addition, subtraction, and multiplication are the same, but the behavior of division
differs. There are two types of divisions in Python. They are floor division (or integer
division) // and floating point/division. Python also added the ** operator for
exponentiation.
• From Python 3.5, the new @ infix operator was introduced. It is intended to be used
by libraries such as NumPy for matrix multiplication.
• From Python 3.8, the syntax :=, called the 'walrus operator' was introduced. It assigns
values to variables as part of a larger expression.
• Python uses the words ‘and’, ‘or’, ‘not’ for its boolean operators rather than the
symbolic &&, ||, ! used in Java and C.
11 | P a g e
LISTS AND TUPLES
• Python makes a distinction between lists and tuples. Lists are written as [1, 2, 3],
are mutable, and cannot be used as the keys of dictionaries (dictionary keys must be
immutable in Python). Tuples are written as (1, 2, 3), are immutable and thus can be
used as the keys of dictionaries, provided all elements of the tuple are immutable.
The + operator can be used to concatenate two tuples, which does not directly
modify their contents, but rather produces a new tuple containing the elements of
both provided tuples. Thus, given the variable t initially equal to (1, 2, 3), executing t
= t + (4, 5) first evaluates t + (4, 5), which yields (1, 2, 3, 4, 5), which is then
assigned back to t, thereby effectively "modifying the contents" of t, while
conforming to the immutable nature of tuple objects. Parentheses are optional for
tuples in unambiguous contexts.
• Python has a "string format" operator %. This functions analogous to print format
strings in Python, e.g. "spam=%s eggs=%d" % ("blah", 2) evaluates to "spam=blah
eggs=2". In Python 3 and 2.6+, this was supplemented by the format() method of
the str class, e.g. "spam={0} eggs={1}".format("blah", 2). Python 3.6 added "f-
strings": blah = "blah"; eggs = 2; f'spam={blah} eggs={eggs}'.
12 | P a g e
STRING LITERALS
• Strings delimited by single or double quote marks. Unlike in Unix shells, Perl and
Perl-influenced languages, single quote marks and double quote marks function
identically. Both kinds of string use the backslash (\) as an escape character. String
interpolation became available in Python 3.6 as "formatted string literals".
• Triple-quoted strings, which begin and end with a series of three single or
double quote marks. They may span multiple lines and function like here
documents in shells, Perl and Ruby.
• Raw string varieties, denoted by prefixing the string literal with an r. Escape
sequences are not interpreted; hence raw strings are useful where literal backslashes
are common, such as regular expressions and Windows-style paths. Compare "@-
quoting" in C#.
• Python has array index and array slicing expressions on lists, denoted as a[key],
a[start:stop] or a[start:stop:step]. Indexes are zero-based, and negative indexes
are relative to the end. Slices take elements from the start index up to, but not
including, the stop index. The third slice parameter, called step or stride, allows
elements to be skipped and reversed. Slice indexes may be omitted, for example a[:]
returns a copy of the entire list. Each element of a slice is a shallow copy.
13 | P a g e
METHODS
Methods on objects are functions attached to the object's class; the syntax
instance.method(argument) is, for normal methods and functions, syntactic sugar for
Class.method(instance, argument). Python methods have an explicit self parameter to
access instance data, in contrast to the implicit self (or this) in some other object-
oriented programming languages (e.g., C++, Java, Objective-C, or Ruby
14 | P a g e
PROJECT OVERVIEW
FILES IMPORTED
1)
FUNCTIONS : USER DEFINED
FUNCTIONS : BUILT-IN
15 | P a g e
SOURCE CODE
// MY PROJECT – RESULT MANAGEMENT SYSTEM
16 | P a g e
OUTPUT SCREENS
1. MAIN PAGE
17 | P a g e
2. MAIN MENU
18 | P a g e
19 | P a g e
BIBLIOGRAPHY
COMPUTER SCIENCE WITH PYTHON
-BY SUMITA ARORA
20 | P a g e