Class XI
Class XI
INFORMATICS PRACTICES
2020-21
Total : 100 marks
Theory : 70 marks
Practical : 30 marks
TOPICS TO BE COVERED IN THEORY PORTION
1.Programming in Python 30
Introduction to python
Conditional and Looping Constructs in Python
Working with Strings
List, Tuples and Dictionary
NUMPY IN PYTHON
PANDAS
VISUAL DATA ANALYSIS
2.COMPUTER NETWORK 8
3.DATA MANAGEMENT(USING MYSQL) 25
4.Security cyber 7
Practical 30
File 5
Project 5
Exam 15
Viva 5
Python works in two
different mode interactive
and script mode
VIDEO
WRITE A PROGRAM TO OBTAIN
TWO NUMBER AND DISPLAY THEIR
SUM.
a=int(input("enter first number "))
b=int(input("enter second number "))
c=a+b
print("sum is ",c)
VIDEO
If we are not usingint method theninput
method will input as string not
As numeric and then it will join two numbers instead
of doing sum.
“4”+”5”= “45”
PRACTICE PROGRAM
QUES - WRITE A PROGRAM TO OBTAIN LENGTH AND
BREADTH OF THE RECTANGLE AND CALCULATE ITS
AREA AND PERIMETER.
import math
a=float(input("enter side 1 "))
b=float(input("enter side 2 "))
c=float(input("enter side 3 "))
s=(a+b+c)/2
k=s*(s-a)*(s-b)*(s-c)
area=math.sqrt(k)
print("area of triangle is ",area)
PRACTICE PROGRAM
WAP TO CALCULATE COMPUND INTEREST.(Also Design The Flowchart For This)
import math
principle=float(input("enter principle "))
rate=float(input("enter rate "))
time=float(input("enter time "))
ci = principle * (pow((1 + rate / 100), time))
print("Compound interest is", ci)
Q-1 WAP TO OBTAIN 2 NUMBERS FROM THE
USER AND INTERCHANGE THEIR VALUES.
Two ways of swapping
1.Using a third variable
2.Without using a third variable