Class 11 Notes
Class 11 Notes
Class 11 Notes
Ans- All the devices attached with a computer system which usually take input
from the user are called input devices. Such as Keyboard, Mouse, Scanner etc
Ans- All the tangible devices that are connected to a computer system called
hardware. Such as Monitor, Printer, Mouse, Keyboard etc.
Ans-
RAM ROM
The full form of RAM is Random Access The full form of ROM is Read Only
Memory. Memory.
Information can be read as well as Information can only be read in this
written in this memory memory.
It is a volatile/temporary memory. It non-volatile/permanent memory.
Page 1 of 5
The rules that one should follow while creating a variable-
Page 2 of 5
Q: Write a program to find the perimeter of a Rectangle.
Ans:
perimtr=2*(length+br)
Ans:
pi=3.14
area=pi*radius*radius
Ans:
half=num/2
Ans:
sqr=num*num
Page 3 of 5
Q. Write a program to check whether a number is positive or negative.
if(num>0):
else:
Ans:
if num%2==0:
else:
Ans:
pi=3.14
circum=2*pi*radius
Page 4 of 5
Q: Write a program to find the addition, subtraction, multiplication and division
of two numbers.
Ans:
Sum=Num1+Num2
Sub=Num1-Num2
Prod=Num1*Num2
Div=Num1/Num2
Ans:
area=(base*height)/2
Page 5 of 5