CBSE Revision Notes Class 11 Computer Science Python

CBSE Revision Notes Class 11 Computer Science Python in PDF format covers the new syllabus of computer science (python). You will get download link immediately after online payment.

  • Class : 11 CBSE
  • Subject : Computer Sciene (Python)
  • Product : Revision Notes

CBSE Revision Notes Class 11 Computer Science Python in PDF are available for free download in myCBSEguide mobile app. The best app for CBSE students now provides Computer Science Python class 11 Notes Computer Science latest chapter wise notes for quick preparation of CBSE exams and school based annual examinations. Class 11 Computer Science notes on Python class 11 Notes Computer Science are also available for download in CBSE Guide website.

Revision Notes Class 11 Python Download as PDF

CBSE Revision Notes Class 11 Computer Science Python

CBSE Guide Class 11 Computer Science Python Notes

CBSE Python Notes which covers the latest syllabus of CBSE and NCERT. It includes all the topics given in NCERT class 11 Computer Science text book. Users can download CBSE guide quick revision notes from myCBSEguide mobile app and my CBSE guide website.

CBSE chapter-wise notes cover the whole syllabus and includes:

1.Programming and Computational Thinking ..1-37

  1. Basic Python Programming and Simple Data Types
  2. Variables and Manipulating Methods
  3. Data Types and Operators
  4. Conditional Statements and Simple Programs
  5. Iterative computation and control flow
  6. Debugging
  7. Lists, tuples and dictionary
  8. Sorting algorithm
  9. Strings

2.Computer Systems and Organisation .. 38-59

  1. Basic computer organization
  2. Types of Software
  3. Language of Bits and Boolean logic
  4. Information representation and Strings
  5. Execution of Program, Interpreters and OS
  6. Concept of cloud computing

3.Data Management .. 60-70

  1. Database
  2. SQL Commands
  3. Basics of NoSQL Databases

4. Society Law and Ethics Cyber safety .. 71-82

  1. Cyber safety
  2. Appropriate usage of social networks
  3. Safely accessing websites
  4. Safely communicating data

Buy all Notes Download as PDF

CBSE Revision Notes Class 11 Computer Science Python

CBSE Revision Notes
Class-11 Computer Science (New Syllabus)
Unit 1: Programming and Computational Thinking (PCT-1)


Basic Python Programming and Simple Data Types:

Familiarization with the basics of Python programming

Guido van Rossum created the Python programming language in the late 1980s. In contrast to other popular languages such as C, C++, Java, and C#, Python strives to provide a simple but powerful syntax. Python is used for software development at companies and organizations such as Google, Yahoo and NASA.

Simple Hello program: Python programs must be written with a particular structure. The syntax must be correct, or the interpreter will generate error messages and not execute the program. When we want to write a program, we use a text editor to write the Python instructions into a file, which is called a script. By convention, Python scripts have names that end with .py. For example we will name our first program as “hello.py”.

>>print(“This is my first program”)

We will consider two ways in which we can run “hello.py”:

  1. Enter the program directly into IDLE’s interactive shell
  2. Enter the program into IDLE’s editor, save it, and run it.

CBSE Revision Notes Class 11 Computer Science Python

IDLE’s interactive shell:

IDLE is a simple Python integrated development environment available for Windows, Linux, and Mac OS X. To open IDLE interactive shell “Goto start menu on windows -> open IDLE”. You may type the above one line Python program directly into IDLE and press enter to execute the program. Since it does not provide a way to save the code you enter, the interactive shell is not the best tool for writing larger programs. The IDLE interactive shell is useful for experimenting with small snippets of Python code.

IDLE’s editor: IDLE has a built in editor. From the IDLE menu, select New Window, Type the text print(“This is my first program”)  into the editor. You can save your program using the Save option in the File menu. Save the code to a file named “hello.py”. The extension .py is the extension used for Python source code. We can run the program from within the IDLE editor by pressing the F5 function key or from the editor’s Run menu: Run -> Run Module. The output appears in the IDLE interactive shell window.


CBSE Revision Notes Class 11 Computer Science Python

Print(“This is my  first program”)

This is a Python statement. A statement is a command that the interpreter executes. This statement prints the message “This is my first program” on the screen. A statement is the fundamental unit of execution in a Python program. Statements may be grouped into larger chunks called blocks, and blocks can make up more complex statements.

The statement print(“This is my first program”) makes use of a built in function named “print”. Python has a variety of different kinds of statements that may be used to build programs.

**We generally write a computer program using a high-level language. A high-level language is one which is understandable by us humans. It contains words and phrases from the English (or other) language. But a computer does not understand high-level language. It only understands program written in 0’s and 1’s  in binary, called the machine code. A program written in high-level language is called a source code. We need to convert the source code into machine code and this is accomplished by compilers and interpreters. Hence, a compiler or an interpreter is a program that converts program written in high-level language into machine code understood by the computer.
**Interpreter: Interpreter executes one statement at a time.
**Compiler: Compiler scans the entire program and translates it as a whole into machine code.


CBSE Revision Notes Class 11 Computer Science Python

Simple Data-Types

A data type, in programming, is a classification that specifies which type of value a variable has and what type of mathematical, relational or logical operations can be applied to it without causing an error. A string, for example, is a data type that is used to classify text and an integer is a data type used to classify whole numbers.

Some basic data types that python support are integer, float, string.

Integer (int): Int, or integer, is a whole number, positive or negative, without decimals, of unlimited length. The number four (4) is an example of a numeric value. In mathematics, 4 is an integer value. Integers are whole numbers, which means they have no fractional parts, and they can be positive, negative, or zero. Examples of integers include 4, −19, 0, and −1005. In contrast, 4.5 is not an integer, since it is not a whole number. Python supports a number of numeric and non-numeric values. In particular, Python programs can use integer values. Let’s take an example integer.py

X=10

Y=223313445534

Z=-987

Print(X)

Print(Y)

Print(Z)

Print(X+Y+Z)

In above program there are three variable holding integer values in x,y and z. Then there are three print statements which will display the three integer variables and last print statement will display addition of all the 3 numbers that are in the variables.

Float: Many computational tasks require numbers that have fractional parts. For example, to compute the area of a circle given the circle’s radius, the value pi, or approximately 3.14159 is used. Python supports such non integer numbers, and they are called floating point numbers. The name implies that during mathematical calculations the decimal point can move or “float” to various positions within the number to maintain the proper number of significant digits. The Python name for the floating-point type is float. Let’s take an example of float in this program we will calculate area of circle

PI=3.14

Radius=5.5

Area=PI*Radius*Radius

Print(‘Area of circle is ‘, Area)

In the above example we are taking 3 float variables PI Radius and area. In a statement Area=PI*Radius*radius we are calculating the area of circle and putting the value in variable area. Then in print statement we are printing the area of circle with a message.

String: String literals in python are surrounded by either single quotation marks, or double quotation marks. ‘hello’ is the same as “hello”. String variable holds the text.
Let’s take an example in this example we will see how to print string variables and how to take input from the user.

x=”hello”
print(“Enter text”)
y=input()
print(x,y)

In above program there are 2 variables x and y. x is holding the string “hello” and y will take text from the keyboard at run time and next line will print both the strings.

CBSE Class 11 Revision Notes and Key Points

CBSE Revision Notes Class 11 Computer Science Python note for class 11 Mathematics, Physics, Chemistry, Computer Science and other subject are very helpful to revise the whole syllabus during exam days. The revision notes covers all important formulas and concepts given in the chapter. Even if you wish to have an overview of a chapter, quick revision notes are here to do if for you. These notes will certainly save your time during stressful exam days.

To download CBSE Revision Notes Class 11 Computer Science Python, sample paper for class 11 Chemistry, Physics, Computer Science, History, Political Science, Computer Science, Geography, Computer Science, Home Science, Accountancy, Computer Science and Home Science; do check myCBSEguide app or website. myCBSEguide provides sample papers with solution, test papers for chapter-wise practice, NCERT solutions, NCERT Exemplar solutions, quick revision notes for ready reference, CBSE guess papers and CBSE important question papers. Sample Paper all are made available through the best app for CBSE students and myCBSEguide website.

Deal of the Day
Latest Sample Papers 149/-
Test Paper & Worksheets 299/-
Click Here & Tap Shop

myCBSEguide App


Install myCBSEguide mobile app for FREE sample papers, Test Papers, Revision Notes, Previous year question papers, NCERT solutions and MCQ tests. Refer myCBSEguide App to your friends and Earn upto Rs.500/-.
myCBSEguide AppmyCBSEguide app install

Leave a Comment