fa
Feedback
CBSE COMPUTER SCIENCE

CBSE COMPUTER SCIENCE

رفتن به کانال در Telegram

QUESTION BANK, REFERENCE BOOK, LAB MANUAL , WORKSHEET ETC., PYTHON TEXT BOOK AND REFERENCE BOOKS, 01. ASK QUESTIONS AT https://t.me/joinchat/FJ1noGs-64I0OWI1

نمایش بیشتر
549
مشترکین
اطلاعاتی وجود ندارد24 ساعت
اطلاعاتی وجود ندارد7 روز
اطلاعاتی وجود ندارد30 روز

در حال بارگیری داده...

ابر برچسب‌ها
هیچ داده‌ای
مشکلی وجود دارد؟ لطفاً صفحه را تازه کنید یا با مدیر پشتیبانی ما تماس بگیرید.
اشارات ورودی و خروجی
---
---
---
---
---
---
جذب مشترکین
اوت '24
اوت '24
+11
در 0 کانال‌ها
ژوئیه '24
+11
در 0 کانال‌ها
Get PRO
ژوئن '24
+21
در 0 کانال‌ها
Get PRO
مه '24
+17
در 0 کانال‌ها
Get PRO
آوریل '24
+22
در 0 کانال‌ها
Get PRO
مارس '24
+36
در 0 کانال‌ها
Get PRO
فوریه '24
+13
در 0 کانال‌ها
Get PRO
ژانویه '24
+9
در 0 کانال‌ها
Get PRO
دسامبر '23
+10
در 0 کانال‌ها
Get PRO
نوامبر '23
+2
در 0 کانال‌ها
Get PRO
اکتبر '23
+3
در 0 کانال‌ها
Get PRO
سپتامبر '23
+6
در 0 کانال‌ها
Get PRO
اوت '23
+17
در 0 کانال‌ها
Get PRO
ژوئیه '23
+24
در 0 کانال‌ها
Get PRO
ژوئن '23
+10
در 0 کانال‌ها
Get PRO
مه '23
+6
در 0 کانال‌ها
Get PRO
آوریل '23
+4
در 0 کانال‌ها
Get PRO
مارس '23
+10
در 0 کانال‌ها
Get PRO
فوریه '23
+9
در 0 کانال‌ها
Get PRO
ژانویه '23
+13
در 0 کانال‌ها
Get PRO
دسامبر '22
+10
در 0 کانال‌ها
Get PRO
نوامبر '22
+20
در 0 کانال‌ها
Get PRO
اکتبر '22
+6
در 0 کانال‌ها
Get PRO
سپتامبر '22
+8
در 0 کانال‌ها
Get PRO
اوت '22
+13
در 0 کانال‌ها
Get PRO
ژوئیه '22
+25
در 0 کانال‌ها
Get PRO
ژوئن '22
+40
در 0 کانال‌ها
Get PRO
مه '22
+28
در 0 کانال‌ها
Get PRO
آوریل '22
+22
در 0 کانال‌ها
Get PRO
مارس '22
+35
در 0 کانال‌ها
Get PRO
فوریه '22
+27
در 0 کانال‌ها
Get PRO
ژانویه '22
+24
در 0 کانال‌ها
Get PRO
دسامبر '21
+55
در 0 کانال‌ها
Get PRO
نوامبر '21
+88
در 0 کانال‌ها
Get PRO
اکتبر '21
+59
در 0 کانال‌ها
Get PRO
سپتامبر '21
+30
در 0 کانال‌ها
Get PRO
اوت '21
+47
در 0 کانال‌ها
Get PRO
ژوئیه '21
+12
در 0 کانال‌ها
Get PRO
ژوئن '21
+10
در 0 کانال‌ها
Get PRO
مه '21
+238
در 0 کانال‌ها
تاریخ
رشد مشترکین
اشارات
کانال‌ها
06 اوت+1
05 اوت0
04 اوت+2
03 اوت0
02 اوت+8
01 اوت0
پست‌های کانال
ALL THE BEST... MY DEAR ACHIEVERS... 👍

2
+9
12-CS-BOARD-SET-2-QP.pdf
309
3
+9
12-CS-SAMPLE PAPER-QA.pdf
264
4
-11%4, mean 4*3-11 where as 11%-4 mean -4*3+11
242
5
CS Python Basics 1 : https://forms.gle/M6dDNphiHh4bRgxs8 Python Basics 2 : https://forms.gle/dUxG6ZHHXYknNLxS6 Python Basics 3 : https://forms.gle/jo5emGGiMy6Pwhft8 Python Basics 4 : https://forms.gle/APYRruoMjMszWr1Q6 Functions 1 : https://forms.gle/xoV6fstREXndY3CG8 Functions 2 : https://forms.gle/FFcMpV2ERrCNenK46 List : https://forms.gle/KdV4iz8Y765Z27Fc7 String : https://forms.gle/Te8nzz3iPcTHppji6 Tuple : https://forms.gle/iGd6KudqwmZSRzWi6 Dictionary : https://forms.gle/uUqc8vZdrc6FzgSG8 Data Structure 1 : https://forms.gle/BLob2Y7hxqKBszk28 Data Structure 2 : https://forms.gle/SSe8pJhpVberpZ7A9 Computer Networks 1 : https://forms.gle/PBYLuAKzRmZ7r9Rw7 Computer Networks 2 : https://forms.gle/nRWNqGaW6xFRMHiB6 Computer Networks 3 : https://forms.gle/gXHErV2oXfscFycq7 Binary File : https://forms.gle/yVaV2GhSEwKvu4w88 PT2 : https://forms.gle/uisopa6KWnHBuCAXA Sample QP : https://forms.gle/TQLs5f7BNGP5hXi86 Online Class : https://forms.gle/AtYV6o2pmCJFE2Wr9
248
6
بدون متن...
202
7
+1
Worksheet - List.pdf
216
8
بدون متن...
217
9
+9
0swaal_CBSE_Computer_Science_QB_Chapterwise_Solved_Papers_2024.pdf
257
10
import pickle def writedata( ): list =[ ] while True: roll = input("Enter student Roll No:") sname = input("Enter student Name :") student = {"roll":roll,"name":sname} list.append(student) choice= input("Want to add more record(y/n) :") if(choice=='n'): break file = open("student.dat","wb") pickle.dump(list,file) #list of dictionary dumped only once in file as now dictionary is appended inside the list file.close( ) def readdata( ): file = open("student.dat", "rb") list1 = pickle.load(file) print(list1) for i in list1: print(i['roll'],i['name']) file.close() def search(): file = open("student.dat", "rb") list1 = pickle.load(file) pname=input("enter the name to be searched:") for i in list1: if (i['name']==pname): print("record found!") print("rollno=",i['roll'],"name=",i['name']) break else: print("not found!") print("Press-1 to write data and Press-2 to read data Press 3 to search record ") choice=int(input( "enter choice:")) if choice==1: writedata() elif choice==2: readdata() elif choice==3: search() else: print("You entered invalid value")
189
11
#Write a program to insert, display and search a number in a binary file. If number is not found then display appropriate message. #single list program import pickle def write(): f=open("sample.dat",'wb') rec=[3,5,7,2,6,7,1] #pre-defined list #user input code below ''' while True: x=int(input("enter value:")) rec.append(x) ch=input("enter more?:") if(ch=='n'): break ''' pickle.dump(rec,f) # entire list written to file once print("added") f.close() def read(): print("reading...") f=open("sample.dat",'rb') p=pickle.load(f) print(p) f.close() def search(): print("searching....") f=open("sample.dat",'rb') found=0 x=int(input("enter the number you want to search:")) rec=pickle.load(f) print(rec) for R in rec: if x==R: found=1 print("record found") break if(found==0): print("record not found") f.close() print("*"*20,"MENU","*"*20) print("1.write\n2.read\n3.search") choice=int(input("enter your choice:")) if(choice==1): write() elif choice==2: read() elif choice==3: search() else: print("invalid input") ------------------------------------------------------------------------------- #Write a program to search a record using its roll number and display the name of student. If record not found then display appropriate message. #nested list import pickle def write(): f=open("sample.dat",'wb') rec=[[1,'sakshi',45],[2,'kiara',66],[3,'inaya',47],[4,'anjali',76]] #pre-set list pickle.dump(rec,f) print("added") f.close() def read(): print("reading...") f=open("sample.dat",'rb') p=pickle.load(f) #print(p) # will print the nested list #display element by element print("rno name marks") for i in p: print(" ",i[0],i[1]," ",i[2]) f.close() def search(): print("searching....") f=open("sample.dat",'rb') found=0 x=int(input("enter the rno you want to search:")) rec=pickle.load(f) #print(rec) #... will print nested list for i in rec: if x==i[0]: found=1 print("record found") print("name=",i[1],"marks=",i[2]) break if(found==0): print("record not found") f.close() print("*"*20,"MENU","*"*20) print("1.write\n2.read\n3.search") choice=int(input("enter your choice:")) if(choice==1): write() elif choice==2: read() elif choice==3: search() else: print("invalid input") ---------------------------------------------------------------------------------------------------- #Write a program to write and display the contents of a dictionary into a binary file. #only dictionary but multiple records import pickle def write(): f=open("maps.dat","ab") ch="y" while ch == "y": r=int(input("input enter rno ")) s=input("enter name ") m=int(input("input enter marks ")) d={"rno":r,"name":s,"MARKS":m} pickle.dump(d,f) # only 1 record dumped in file.loop repeats, next dumped. # dictionaries dont have append() function, so each record needs to be written separately #using loop ch=input("want to enter more rec ") f.close() def read(): f=open("maps.dat","rb") d={} try: while True: # as long as there is data in the file d=pickle.load(f) print(d['rno'],':',d['name']) #print(d) except EOFError: f.close() write() read() ------------------------------------------------------------------- #WAP to read,write and seach a record in a binary file using list of dictionaries. #binary file - list of dictionary
190
12
t1="Ind-23" t2="" i=1 while i<len(t1): if t1[i]>="0" and t1[i]<="9": #50>=48 and 50<=57 51>=48 and 51<=57 val=int(t1[i]) val=val+2 t2=t1+str(val) #print(t1,val,t2) elif t1[i]>"A" and t1[i]<="Z": t2=t2+(t1(i+1)) else: t2=t2+"*" i+=1 print(t2) #A=65 a=97 0=48
243
13
+1
12-IP-CS-COMPUTER NETWORK REVISIONS-23-24-QP-ANSKEY.pdf
278
14
12-IP-CS-MYSQL-TABLES REVISIONS-23-24-ANSKEY.pdf
275
15
12-IP-CS-MYSQL-TABLES REVISIONS-23-24-QP.pdf
275
16
12-CS-CHAPTERWISE MCQ.pdf
309
17
12CS-REVISION MCQ-2324.pdf
436
18
12 CS -IP - PYTHON INTERFACE WITH MYSQL.pdf
387
19
import mysql.connector as mcr cn=mcr.connect(host='localhost',user='root',passwd='Admin') cr=cn.cursor() #Create and Use Database cr.execute('create database if not exists TEST') cr.execute('use TEST') #Create Table cr.execute('create table if not exists member(M_ID char(5),Name Varchar(30),Activity varchar(10))') #Inserting Records qry="insert into member values('M1001','Amina','Gym'),('M1002','Pratik','Gym')\ ,('M1003','Simon','Swimming'),('M1004','Rakesh','Gym'),('M1005','Avneet','Swimming')" cr.execute(qry) cr.execute('Select * from member where activity="Gym"') R=cr.fetchone() #print(R) for i in range(2): R=cr.fetchone() print(R[0],R[1],sep='#') ''' M1002#Pratik M1004#Rakesh '''
383
20
CS Python Basics 1 : https://forms.gle/M6dDNphiHh4bRgxs8 Python Basics 2 : https://forms.gle/dUxG6ZHHXYknNLxS6 Python Basics 3 : https://forms.gle/jo5emGGiMy6Pwhft8 Python Basics 4 : https://forms.gle/APYRruoMjMszWr1Q6 Functions 1 : https://forms.gle/xoV6fstREXndY3CG8 Functions 2 : https://forms.gle/FFcMpV2ERrCNenK46 List : https://forms.gle/KdV4iz8Y765Z27Fc7 String : https://forms.gle/Te8nzz3iPcTHppji6 Tuple : https://forms.gle/iGd6KudqwmZSRzWi6 Dictionary : https://forms.gle/uUqc8vZdrc6FzgSG8 Data Structure 1 : https://forms.gle/BLob2Y7hxqKBszk28 Data Structure 2 : https://forms.gle/SSe8pJhpVberpZ7A9 Computer Networks 1 : https://forms.gle/PBYLuAKzRmZ7r9Rw7 Computer Networks 2 : https://forms.gle/nRWNqGaW6xFRMHiB6 Computer Networks 3 : https://forms.gle/gXHErV2oXfscFycq7 Binary File : https://forms.gle/yVaV2GhSEwKvu4w88 PT2 : https://forms.gle/uisopa6KWnHBuCAXA Sample QP : https://forms.gle/TQLs5f7BNGP5hXi86 Online Class : https://forms.gle/AtYV6o2pmCJFE2Wr9
428