Solved Computer Science Sample Paper Term 2 Class 12

Computer Science Sample Paper Term 2 Class 12 Sample Question Paper COMPUTER SCIENCE (Code: 083) Maximum Marks: 35 /Time: 2 hours   General Instructions *  The question paper is divided into 3 sections – A, B and C * Section A, consists of 7 questions (1-7). Each question carries 2 marks. * Section B, consists … Read more

Create a CSV file by entering user-id and password, read and search the password for given userid

Create a CSV file by entering user-id and password, read and search the password for given userid # Python Program   import csv with open(“user_info.csv”, “w”) as obj: fileobj = csv.writer(obj) fileobj.writerow([“User Id”, “password”]) while(True): user_id = input(“enter id: “) password = input(“enter password: “) record = [user_id, password] fileobj.writerow(record) x = input(“press Y/y to … Read more

Implement a stack using list Python Program for Class 11

Implement a stack using list Python Program   #Python Program to implement stack, Stack operation (PUSH, POP, DISPLAY) stack=[] choice=”y” while (choice==”y”): print(“1.Push”) print(“2.Pop”) print(“3.Show”) your_choice=int(input(“Enter your choice”)) if (your_choice==1): num=input(“Input any number”) stack.append(num) elif(your_choice==2): if (stack==[]): print(“Stack is empty”) else: print(“The deleted element is:”,stack.pop()) elif (your_choice==3): l=len(stack) for i in range(l-1,-1,-1): print(stack[i]) else: print(“Wrong … Read more

Create a dictionary with the roll number, name and marks of n students in a class and display the names of students who have scored marks above 75.

Create a dictionary with the roll number, name and marks of n students in a class and display the names of students who have scored marks above 75.   Program no_of_std = int(input(“Enter number of students: “)) result = {} for i in range(no_of_std): print(“Enter Details of student No.”, i+1) roll_no = int(input(“Roll No: “)) … Read more

Computer Networking Terms Full Forms for Class 12

Computer Networking Terms Full Forms   Sr.No. Acronym Definition 1 ACL Access Control List 2 AM Amplitude Modulation 3 ARP Address Resolution Protocol 4 ARPANET Advanced Research Projects Agency Network 5 BGP Border Gateway Protocol 6 CDMA Code Division Multiple Access 7 CSMA/CA Carrier Sense Multiple Access/Collision Avoidance 8 CSMA/CD Carrier Sense Multiple Access/Collision Detection … Read more

80+ Important MCQ on Computer Network Class 12

80+ Important MCQ on Computer Network Class 12   1. A Computer Network: a) Is a collection of hardware components and computers? b) Is interconnected by communication channels c) Allows sharing of resources and information d) All of the above   2. What is a Firewall in computer network? a) The physical boundary of network … Read more

50+ Important Data Structure MCQ for Class 12

50+ Important Data Structure MCQ for Class 12   1. ___________________ is a way to represent data in memory. a) Data Handling b) Data Structure c) Data Dumping d) Data Collection   2. Python built-in data structures are a) integer,float,string b) list,tuple,dictionary,sets c) math,pyplot d) All of the above   3. Data structure can be … Read more

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