Class 12 Computer Science Unit Test Paper

Class 12 Computer Science Unit Test Paper Unit Test – I ( 2021-22) Q.1  a) Name the Python Library modules which need to be imported to invoke the following functions :- (1) i) sqrt ii) random b) Rewrite the following code in python after removing all syntax error(s). Underline each corrections done in the code. … Read more

Database Management System MCQ Class 10

Database Management System MCQ Class 10    1. Which of the following is not a database programs? a) MySQL b) Oracle c) Writer ✓ d) OObase   2. Duplication of data is called _________. a) Inconsistency b) Consistency c) Redundancy ✓ d) Foreign Key   3. Which of the following is not the advantage of … Read more

Advanced Electronic Spreadsheet MCQ Class 10

Electronic Spreadsheet MCQ Class 10  In this section we will cover unit 2 Electronic Spreadsheet MCQ Class 10 Information Technology (402).     1. Computer spreadsheet cell that is highlighted with heavy border is : a) Active cell b) Passive cell c) Locked cell d) Formatted cell   2. Rohan selected the 4th row and 3rd … Read more

(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

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