0% found this document useful (0 votes)
13 views34 pages

E-Learning and Fun

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views34 pages

E-Learning and Fun

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 34

BNP T/S

CLASS-XII FINAL YEAR PROJECT-REPORT


(065)
SESSION (2020-2021)

Affiliated to CBSE up to +2 level: Affiliation No:430092


Managed by: DAV College Managing Committee
BNP T/S, Garhwa Jharkhand
Email: [email protected]

PROJECT WORK

1
ON
e-Learning and Fun
SUBMITTED BY
NAME-RAJNISH KUMAR
CLASS- XII A
ROLL NO.-22697803
UNDER GUIDANCE- Mr. Anup Kumar Singh

2
DECLARATION

I RAJNISH student of class XII Roll no.-


22697803 here by that the presented
project work on e-Learning and Fun is an
original copy. This project work had not
been submitted earlier to any other board
or to the same board for fulfillment of
course of study. It has been done by me
with guide of Mr. Anup Kumar Singh .

Signature of student:………….
Date:………….

3
ACKNOWLEDGEMENT

This is to acknowledge the co-operation of all the individuals


who have inspired, mentored, directed and seen the project
through to its completion.

I am especially grateful to Mr. Anup Kumar Singh my project


guide BNP T/S for allotting me work that entailed
responsibility and for his guidance, help and constant
encouragement throughout this project.

I express my gratitude to my friends and my parents for


their encouragement and support in our endeavor.

Name:-Rajnish Kumar
Enrollment:-22697803

4
INDEX

Topic Page no.

06
TOOLS AND PLATFORM USED

Python 7

08-25
INPUT(CODING)

26-32
PYTHON (OUTPUT)

33
LIMITATIONS

34
BIBLIOGRAPHY

5
TOOLS AND PLATFORM USED
SOFTWARE
Operating system: WINDOWS 10(64-bit)
Front END : PYTHON 3.9

HARDWARE
Processor : AMD A8

RAM : Min 256mb

6
Python
Python is a popular programming language. It was created by
Guido van Rossum, and released in 1991.

It is used for:

 web development (server-side),


 software development,
 mathematics,
 system scripting.

Modules or Package installed for using


this Project
1. pandas: To install this run command (pip install
pandas)

Description: It is one of the most commonly used


Python packages for arranging the data.

2. emoji: to install this run command (pip install


emoji)

Description: This package is used to use emoji to


looking attractive theme of the program.

7
CODING

 Main Python program

#welcome

print(" _ _ _ _\n ||| |||\n ||| |||\n ||| |||\n |||

|||\n ||| |||\n ||| |||\n ||| |||\n ||| |||\n |||

|||\n °°° °°°\n °°° °°° \n °°°°°°°°°°° jjwal's")

print("\n")

print(" _ _\n |||°°°°°°°°\n ||| °°°° \n ||| °°°°\n ||| °°°° \n |||

°°°°\n ||| °°°° \n ||| °°°°\n |||°°°°°°° \n ||| \n ||| \n |||roject")

8
import emoji

import math

import random

import pandas as pd

import numpy as np

c='y'

while(c=='y'):

print(" ___________________________________\n

""\U0001F490" "WELCOME TO e-LEARNING and

FUN" "\U0001F490" "\n °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°")

m=(" What do you want to do?? \n 1. Quiz \n 2. Game")

print(m)

a=int(input("Enter Your Choice: "))

if a==1:

print (" Welcome""\U0001F64F" "to quiz section!")

9
print ("Choose subject!")

subject=(" 1. IP \n 2. Physics \n 3. Chemistry")

print("General instruction:- \n Fill your response as a

b c d:-")

print(subject)

b=int(input(" Select the subject"))

if b==1:

p=input("Write your Name:")

print("Hello",p,"!""\U0001F60A")

print(" Let's examine what you know" " about IP."

"\U0001F5A5"" \n Best of luck!""\U0001F44D")

print("Read questions carefully!""\U0001F440""\

U0001F9D0")

m=0

print("Que1: Which of the following functions is a

built-in function in python? \n a) seed() \n b) sqrt() \n c)

factorial \n d) print()")

Que1=input("Write your response!")

if Que1=="d":

10
m=m+1

print("Que2: What is the output of the

expression: round(4.567) \n a) 4.5 \n b) 5 \n c) 4 \n d) 4.6")

Que2=input("Write your response!")

if Que2=="b":

m=m+1

print("Que3: Missing data in pandas object is

represented throgh: \n a) Null \n b)None \n c) Missing \n d)

NaN")

Que3=input("Write your response!")

if Que3=="d":

m=m+1

print("Que4: What is the output of the expression

round (4.5676,2)? \n a)4.5 \n b)4.6 \n c)4.57 \n d) 4.56")

Que4=input("Write your response!")

if Que4=="c":

m=m+1

print("Que5: What is the output of the following

function? any([2>8,4>2,1>2]) \n a) Error \n b) True \n c) False \n

d) 4>2")

11
Que5=input("Write your response!")

if Que5=="b":

m=m+1

print("Que6: What is the output of the function

shown below? \n import math \n abs(math.sqrt(25)) \n\n

a)Error \n b) -5 \n c) 5 \n d) 5.0")

Que6=input("Write your response!")

if Que6=="d":

m=m+1

print("Que7: What are the outcomes of the

functions shown below? \n sum(2,4,6) \n sum([1,2,3]) \n\n a)

Error, 6 \n b) 12, Error \n c) 12, 6 \n d) Error, Error")

Que7=input("Write your response!")

if Que7=="a":

m=m+1

print("Que8: What is the output of the function: \

n all(3,0,4.2) \n\n a) True \n b) False \n c) Error \n d) 0")

Que8=input("Write your response!")

if Que8=="c":

m=m=m+1

12
print("Que9: What is the output of the functions

shown below? \n min(max(False,-3,-4), 2,7) \n\n a) 2 \n b) False

\n c) -3 \n d) -4")

Que9=input("Write your response!")

if Que9=="b":

m=m+1

print("Que10: What is the output of the following

function? \n complex(1+2j) \n\n a) Error \n b) 1 \n c) 2j \n d) 1+2j

")

Que10=input("Write your response!")

if Que10=="d":

m=m+1

print(p,"Your marks is",m)

print("To see right answer \n Press enter")

l=input()

d={'Que

no.':pd.Series([1,2,3,4,5,6,7,8,9,10]),'Answer':pd.Series(["d","b",

'd',"c","b","d","a","c","b","d"])}

df=pd.DataFrame(d)

print(df.to_string(index=False))

13
if b==2:

p=input("Write your Name:")

print("Hello",p,"!""\U0001F60A")

print("Let me check how much you know about

physics.""\U0001F9F2""\n Best of luck! ""\U0001F44D")

print("Read questions carefully!""\U0001F440""\

U0001F9D0")

m=0

print("Que1: Who established that electric

charge is quantised? \n (a) J.J. Thomson \n (b) William Crookes

\n (c) R.A. Millikan \n (d) Wilhelm Rontgen")

Que1=input("Write your response!")

if Que1=="c":

m=m+1

print("Que2: Cathode rays were discovered by \n

(a) Maxwell Clerk James \n (b) Heinrich Hertz \n (c) William

Crookes \n (d) J.J. Thomson")

Que2=input("Write your response!")

if Que2=="c":

14
m=m+1

print("Que3: The minimum energy required for

the electron emission from the metal surface can be supplied to

the free electrons by which of the following physical processes?

\n (a) Thermionic emission \n (b) Field emission \n (c)

Photoelectric emission \n (d) All of these")

Que3=input("Write your response!")

if Que3=="d":

m=m+1

print("Que4: The phenomenon of photoelectric

emission was discovered in 1887 by \n (a) Albert Einstein \n (b)

Heinrich Hertz \n (c) Wilhelm Hallwachs \n (d) Philipp Lenard")

Que4=input("Write your response!")

if Que4=="b":

m=m+1

print("Que5: A metal surface ejects electrons

when hit by green light but nothing when hit by yellow light. The

electrons will be ejected when the surface is hit by \n (a) blue

light \n (b) heat rays \n (c) infrared light \n (d) red light")

Que5=input("Write your response!")

15
if Que5=="a":

m=m+1

print("Que6: Which of the following statements is

correct regarding the photoelectric experiment? \n (a) The

photocurrent increases with intensity of light. \n (b) Stopping

potential increases with increase in intensity of incident light.\n

(c) The photocurrent increases with increase in frequency. \n

(d) All of these")

Que6=input("Write your response!")

if Que6=="a":

m=m+1

print(" Que7: In photoelectric effect, the

photocurrent \n (a) depends both on intensity and frequency of

the incident light. \n (b) does not depend on the frequency of

incident light but depends on the intensity of the inci-dent light. \

n (c) decreases with increase in frequency of inci-dent light.\n

(d) increases with increase in frequency of inci-dent light.")

Que7=input("Write your response!")

if Que7=="b":

m=m+1

16
print("Que8: The maximum value of

photoelectric current is called \n (a) base current \n (b)

saturation current \n (c) collector current \n (d) emitter current")

Que8=input("Write your response!")

if Que8=="b":

m=m+1

print("Que9: In photoelectric effect, the

photoelectric current is independent of \n (a) intensity of

incident light \n (b) potential difference applied between the two

electrodes \n (c) the nature of emitter material \n (d) frequency

of incident light")

Que9=input("Write your response!")

if Que9=="d":

m=m+1

print ("Que10: In photoelectric effect, stopping

potential depends on \n (a) frequency of incident light \n (b)

nature of the emitter material \n (c) intensity of incident light \n

(d) both (a) and (b)")

Que10=input("Write your response!")

if Que10=="d":

17
m=m+1

print(p,"Your marks is",m)

print("To see right answer \n Press enter")

l=input()

d={'Que

no.':pd.Series([1,2,3,4,5,6,7,8,9,10]),'Answer':pd.Series(["c","c",'

d',"b","a","a","b","b","d","d"])}

df=pd.DataFrame(d)

print(df.to_string(index=False))

if b==3:

p=input("Write your Name:")

print("Hello",p,"!""\U0001F60A")

print ("Let me check how much you know in

chemistry" "\U0001F321" "\n Best of luck! ""\U0001F44D")

print("Read questions carefully!""\U0001F440""\

U0001F9D0")

m=0

print("Que1: In Freundlich adsorption isotherm

x/m = Kp1/n, the value of ‘n’ at low pressure is \n (a) more than

18
one. \n (b) less than one. \n (c) equal to one. \n (d) from zero to

one.")

Que1=input("Write your response!")

if Que1=="c":

m=m+1

print("Que2: According to adsorption theory of

catalysis, the speed of the reaction increases because \n (a)

the concentration of the reactant molecules at the active

centres of the catalyst becomes high due to adsorption. \n (b) in

the process of adsoption, the activation energy of the molecules

becomes large. \n (c) adsorption produces heat which

increases the speed of the reaction. \n (d) adsorption lowers the

activation energy of the reaction.")

Que2=input("Write your response!")

if Que2=="d":

m=m+1

print("Que3: Which shape selective catalyst is

used to convert alcohol to gasoline? \n (a) Trpsin \n (b) Calgon \

n (c) ZSM-5 \n (d) Zeigler-Natta catalyst")

Que3=input("Write your response!")

19
if Que3=="c":

m=m+1

print("Que4: When a small amount of FeCl3 is

added to a freshly precipitated Fe(OH)3, b reddish brown

colloidal solution is obtained. This phenomenon is known as \n

(a) dialysis \n (b) peptization \n (c) protection \n (d) dissolution")

Que4=input("Write your response!")

if Que4=="c":

m=m+1

print("Que5: Lyophillic colloids are stable due

to \n (a) charge on the particles. \n (b) large size of the

particles. \n (c) small size of the particles. \n (d) layer of

dispersion of medium on the particles.")

Que5=input("Write your response!")

if Que5=="d":

m=m+1

print("Que6: Cottrell precipitator is used to \n (a)

precipitate mud from muddy water. \n (b) precipitate carbon

particles from smoke. \n (c) purify the ordinary drinking water. \n

(d) precipitate salts in qualitative analysis.")

20
Que6=input("Write your response!")

if Que6=="b":

m=m+1

print("Que7: The potential difference between

the fixed charged layer and the diffused layer having opposite

charge is called \n (a) Zeta potential \n (b) Electrokinetic

potential \n (c) Both (a) and (b) \n (d) Streaming potential")

Que7=input("Write your response!")

if Que7=="a":

m=m+1

print("Que8: Peptization is a process of \n (a)

precipitation of colloidal particles. \n (b) purification of colloids. \

n (c) dispersing precipitate into colloidal solution. \n (d)

movement of colloidal particles in the electric field.")

Que8=input("Write your response!")

if Que8=="c":

m=m+1

print("Que9: An emulsifier is a substance which \

n (a) stabilises the emulsion. \n (b) homogenises the emulsion. \

21
n (c) Coagulates the emulsion. \n (d) Accelerates the disperson

of liquid in liquid.")

Que9=input("Write your response!")

if Que9=="a":

m=m+1

print("Que10: The charge required for the

reduction of 1 mol of MnO4– to MnO2 is \n (a) 1 F \n (b) 3 F \n

(c) 5 F \n (d) 6 F")

Que10=input("Write your response!")

if Que10=="b":

m=m+1

print(p,"Your marks is",m)

print("To see right answer \n Press enter")

l=input()

d={'Que

no.':pd.Series([1,2,3,4,5,6,7,8,9,10]),'Answer':pd.Series(["c","d",'

c',"c","d","b","a","c","a","b"])}

df=pd.DataFrame(d)

print(df.to_string(index=False))

elif a==2:

22
print(" Let's play game!")

game=("1. Mind reading \n Sorry but I'm making

some new games stay updated")

print(game)

print ("press enter")

d=input()

c=int(input("Choose the game to play \n for Mind

reading game press 1"))

if c==1:

print(" Welcome to mind reading games!""\

N{winking face}""\N{winking face}""\N{winking face}")

print("Think a no. in your mind")

a=input("Press Enter")

print ("Take same no. from your friend")

m=input("Press Enter")

c=random.randrange(2,100,2)

print("I give you", c)

n=input("Press Enter")
23
print("Add all numbers")

l=input("Press Enter")

print ("Give half of total to god")

o=input("Press Enter")

print("Give the no. which you have taken from your

friend")

u=input("Press Enter")

print("Hehe!","\U0001F605","\U0001F642", "If I'm not

wrong you have left with")

d=c//2

print(d)

else:

print("Invalid choice!")

c=input("You want to play again (y/n): ")

24
25
26
HOME

27
QUIZ

28
IP

29
PHYSICS

30
CHEMISTRY

31
GAME

32
LIMITATIONS
1. ONCE YOU START THE PROGRAM; YOU CAN’T
GO BACK.
2. QUESTION NUMBER WILL NOT CHANGE.
3. YOU HAVE TO WRITE CASE SPECIFIC LETTER TO
GET MARKS.
4. ANY TYPE OF RECORDS OF STUDENTS WILL
NOT SAVED.

33
BIBLIOGRAPHY

HELP TAKEN TO COMPLETE THIS PROJECT IS FROM:


 GUIDE MR. ANUP KUMAR SINGH
 MY FRIEND VIKAS

34

You might also like