(Chapter Wise) Python Basic MCQs for Class 11

Python Basic MCQ for CBSE Class 11 In this section we will learn the python fundamental MCQ for CBSE class 11 Computer Science.  This exercise will also help the students of CBSE Computer Science class 12 students who are appearing in Multiple Choice Question based, Term 1 examination in November/ December 2021. 1. What is … Read more

Love Calculator Python Program

Love Calculator Python Program Source Code: #https://cbsepython.in from string import ascii_lowercase import random import time name1 = input(“Please type Your Name >\n”) name2 = input(“Please type Your Crush Name >\n”) vowels = {‘a’, ‘e’, ‘i’, ‘o’, ‘u’} consonants = set(ascii_lowercase) ^ vowels def count_vowels(name): count = 0 for i in vowels: count += name2.count(i) return … Read more

Simple Text Editor- Python Project for Class 12

Simple Text Editor- Python Project for Class 12   Source Code: #https://cbsepython.in import sys import os import shutil def leave(): sys.exit(“You are exiting from Editor”) def read(): try: file_name = input(“Enter file name: “) target = open(file_name, “r”) readfile = target.read() print(readfile) except Exception as e: print(“There was a problem: %s” % (e)) def delete(): … Read more

Bank Management- Python Project for class 12 MySQL Connectivity

Bank Management- Python Project Class 12   Source Code: #https://cbsepython.in print(“****BANK TRANSACTION****”) #creating database import mysql.connector mydb=mysql.connector.connect (host=”localhost”,user=”root”, passwd=”admin”) mycursor=mydb.cursor() mycursor.execute(“create database if not exists bank”) mycursor.execute(“use bank”) #creating required tables mycursor.execute(“create table if not exists bank_master(acno char(4) primary key,name varchar(30),city char(20),mobileno char(10),balance int(6))”) mycursor.execute(“create table if not exists banktrans(acno char (4),amount int(6),dot date,ttype char(1),foreign … Read more

Rainbow Generator-Python Program for Class 12

Rainbow Generator-Python Program Source Code: import turtle colours=[‘#801ED0′,’#962CE4′,’#912CE2’, ‘#7C21D4′,’#731FCF’, ‘#6113C1′,’#4005AD’,’#2B049F’, ‘#28039E’,’#060390′, ‘#00038E’,’#001C9A’,’#0033A8′, ‘#014AB3′,’#0094DE’ ,’#00C8F9′,’#01E7CD’,’#01CE8B’, ‘#01B750′,’#07B635′ ,’#20BD26′,’#7CE413′,’#9CEE0D’, ‘#DFFC02′,’#F2FB00’, ‘#FEED01′,’#FFAF02′,’#FF9501’, ‘#FE5500′,’#FF2404′ ,’#FE0700’, ‘#FF0100’] wn=turtle.Screen() wn.bgcolor(‘black’) skk=turtle.Turtle() skk.speed(0) skk.width(1.5) skk.hideturtle() skk.left(90) x=0 a=100 b=45 while x<len(colours): skk.color(colours[x]) skk.penup() skk.setpos(b,0) skk.pendown() skk.circle(a,180,4000) skk.right(180) x=x+1 b=b+1.5 a=a+1.5 turtle.mainloop()   Output:    

Simple Calculator- Python Project for Class 11

Simple Calculator- Python Project for Class 11 Source Code: #Creater info print(“cbsepython.in:”) print(” covering all content for the cbse computer science students “) print(” “) print(“These Are the folowing set of Operations you can use :)”) print(“+ for ADDITION, “,”- for SUBSTRACTION, “,” * for MULTIPLICATION, “,”/ for DIVISION, “,”n for Power value”) print(” “) … Read more

Cricket Game- Python Project for CBSE Class 12

Cricket Game- Python Project for CBSE Class 12   Source Code: # Cricket Game print(“”” ~~~~~~~~~~ Game of Cricket ~~~~~~~~~~ Instructions: 1. You have to select any random number from 1 to 6. 2. The computer will also select a number. 3. While batting, if the number selected by you and computer is different, then … Read more

Number System Converter- Python Project for CBSE Class 11

Number System Converter- Python Project Source Code: # -*- coding: utf-8 -*- “”” @author: cbsepython “”” while 1>0: inp=int(input(“enter the number:”)) org=int(input(“enter it base:”)) to=int(input(“enter the base in which it is to be converted:”)) print(“\n”) ######################################################################@ if to==2 or to==8 or to==16 or to==10: out1=0 power=0 while inp>0: out1+=org**power*(inp%10) inp//=10 power+=1 print(“after conversion the result … Read more

CBSE Computer Science Practical Question Paper Sample

Computer Science Practical Question Paper Sample A.I.S.S.C.E. Practical Examination Subject: Computer Science (083) Time 3 Hrs/MM:30   SET- 1 1- Write a program to input a list and interchange first with last, second with second last …. Print the list in reverse order.(7 marks) 2- Write a program to create interface with MySQL database and … Read more

What is MongoDB?

What is MongoDB? MongoDB is a cross-platform, simple document-oriented NoSQL database that provides high performance, high availability and easy scalability. It is used for high volume data storage.   It is a platform-independent interface which means that it can run on any platform like Windows, Linux, Unix, etc. It was designed to work with community servers. … Read more

Copywrite © 2020-2025, CBSE Python,
All Rights Reserved