{"id":3201,"date":"2022-05-30T23:32:55","date_gmt":"2022-05-30T18:02:55","guid":{"rendered":"https:\/\/cbsepython.in\/?p=3201"},"modified":"2022-06-12T13:22:36","modified_gmt":"2022-06-12T07:52:36","slug":"important-question-answer-class-12-computer-science","status":"publish","type":"post","link":"https:\/\/cbsepython.in\/important-question-answer-class-12-computer-science\/","title":{"rendered":"Important Question Answer Class 12 Computer Science (Python) useful for Term 2 Examination"},"content":{"rendered":"<h1><span style=\"color: #000000;\">Important Question Answer Class 12 Computer Science <\/span><span style=\"color: #000000;\">(Python)<\/span><\/h1>\n<p><span style=\"color: #000000;\">Important Question\u00a0 answer Class 12 Computer Science (Python) useful for Term 2 Examination. In this section you will find some important question answer class 12 Computer Science. These questions will help the Students having Subject Computer Science in Class 12.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3><span style=\"color: #000000;\">Topic: Computer Networking<\/span><\/h3>\n<p><strong><span style=\"color: #000000;\">Q. 1 Expand the following:<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">POP, HTTP, ARPANET, VoIP<\/span><\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">POP : Post Office Protocol<\/span><\/p>\n<p><span style=\"color: #000000;\">HTTP: Hypertext Transfer Protocol<\/span><\/p>\n<p><span style=\"color: #000000;\">ARPANET &#8211; Advanced Research Project Agency Network<\/span><\/p>\n<p><span style=\"color: #000000;\">VoIP : Voice over internet protocol<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 2 What is MAC address? Give example also.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">The NIC manufacturer assign a unique physical address to each NIC cars, this physical address is known as MAC address. A MAC address is a 6-byye address with each byte separated by colon : Example 10:BS:04:56:2E:FC<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 3 Identify the type of topology on the basis of the following:<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">a) Since every node is directly connected to the server, a large amount of cable is needed which increases the installation cost of the network.<\/span><\/p>\n<p><span style=\"color: #000000;\">Ans: Star Topology<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">b) It has a single common data path connecting all the nodes.<\/span><\/p>\n<p><span style=\"color: #000000;\">Ans: Bus Topology<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 4 Define the following:<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">(i) RJ-45<\/span><\/p>\n<p><span style=\"color: #000000;\">Ans: RJ-45: RJ45 is a standard type of connector for network cables and networks. It is an 8-pin connector usually used with Ethernet cables.<\/span><\/p>\n<p><span style=\"color: #000000;\">(ii)Ethernet<\/span><\/p>\n<p><span style=\"color: #000000;\">Ans: Ethernet: Ethernet is a LAN architecture developed by Xerox Corp along with DEC and Intel. It uses a Bus or Star topology and supports data transfer rates of up to 10 Mbps.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 5 What is protocol? Name 5 commonly used protocols.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">A protocol means the rules that are applicable for a network or we can say that the common set of rules used for communication in network. <\/span><\/p>\n<p><span style=\"color: #000000;\">Different types of protocols are : <\/span><\/p>\n<p><span style=\"color: #000000;\">(i) HTTP : Hyper Text Transfer Protocol <\/span><\/p>\n<p><span style=\"color: #000000;\">(ii) FTP : File Transfer Protocol <\/span><\/p>\n<p><span style=\"color: #000000;\">(iii) SLIP : Serial Line Internet Protocol <\/span><\/p>\n<p><span style=\"color: #000000;\">(iv) PPP : Point to Point Protocol <\/span><\/p>\n<p><span style=\"color: #000000;\">(v) TCP\/IP : Transmission Control Protocol\/ Internet Protocol.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 6 Write two advantages and two disadvantages of network.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Advantages of network:<\/span><\/p>\n<p><span style=\"color: #000000;\">(i) We can share resources such as printers and scanners.<\/span><\/p>\n<p><span style=\"color: #000000;\">(ii) We can share data and access files from any computer.<\/span><\/p>\n<p><span style=\"color: #000000;\">Disadvantages of network:<\/span><\/p>\n<p><span style=\"color: #000000;\">(i) Network faults can cause loss of data.<\/span><\/p>\n<p><span style=\"color: #000000;\">(ii) If there is no privacy mechanism used then the entire network can be accessed by an unauthorized person.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 7 Define the following data communicating devices:<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">(a) Repeater<\/span><\/p>\n<p><span style=\"color: #000000;\">Ans: It is a device that amplifies and restoresthe signal before it gets degraded and transmits the original signal back to the destination. A repeater is a regenerator and not an amplifier.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">(b)Gateway<\/span><\/p>\n<p><span style=\"color: #000000;\">Ans: A gateway operates on all the seven layers of OSI model. A network gateway is a computer which has internet-working capability of joining together two networks that use different base\u00a0protocols. Gateway converts one protocol to another and can, therefore, connect two dissimilar\u00a0networks.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">(c) 3G<\/span><\/p>\n<p><span style=\"color: #000000;\">Ans: 3G (Third Generation) mobile communication technology is a broadband, packet-based transmission of text, digitized voice, video and multimedia at data rates up to 2 mbps, offering a\u00a0consistent set of services to mobile computer and phone users no matter where they are located in\u00a0the world.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">(d)SMS<\/span><\/p>\n<p><span style=\"color: #000000;\">Ans: SMS (Short Message Service) is the transmission of short text messages to and from a mobile phone, fax machine and IP address.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">(e) Modem<\/span><\/p>\n<p><span style=\"color: #000000;\">Ans: It is a device that converts digital signal to analog signal (modulator) at the sender\u2019s site and converts back analog signal to digital signal (demodulator) at the receiver\u2019s end, in order to make communication possible via telephone lines. It enables a computer to transmit data over telephone or cable lines.<\/span><\/p>\n<p><span style=\"color: #000000;\">(f) Bluetooth<\/span><\/p>\n<p><span style=\"color: #000000;\">It is used for exchanging data over a short distance from fixed and mobile devices. This type of media comes under PAN (Personal Area Network).<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">(g) URL: A uniform resource locator, abbreviated URL, also known as web address, is a specific character string that constitutes a reference to a resource. In most web browsers, the URL of a web page is displayed on top inside an address bar. A URL is a formatted text string used by web browsers.<\/span><\/p>\n<p><span style=\"color: #000000;\">(h) IP Address (Internet Protocol Address) :The Internet Protocol (IP) is the method or protocol by which data is sent from one computer to another on the Internet. Each computer (known as a host) on the Internet has atleast one IP address that uniquely identifies it from all other computers on the Internet.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q.8 Write the two advantages and two disadvantages of Bus Topology in network<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans: Advantage: <\/span><\/p>\n<p><span style=\"color: #000000;\">(i) Easy to connect a computer or peripheral to a linear bus.<\/span><\/p>\n<p><span style=\"color: #000000;\">(ii) Requires less cable length than a star topology.<\/span><\/p>\n<p><span style=\"color: #000000;\">Disadvantage : <\/span><\/p>\n<p><span style=\"color: #000000;\">(i) Slower as compared to tree and star topologies of network. <\/span><\/p>\n<p><span style=\"color: #000000;\">(ii) Breakage of wire at any point disturbs the entire network.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q.9 Write one advantage of star topology over bus topology.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans: Advantage of star topology over bus topology :<\/span><\/p>\n<p><span style=\"color: #000000;\">(i) The star topology is the most reliable as there is a direct connection of every nodes in the network with the central node, so any problem in any\u00a0node will affect the particular node only.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 10 Give some advantages and disadvantages of Radiowave<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Advantages<\/span><\/p>\n<p><span style=\"color: #000000;\">(i) Cheaper than wired network.<\/span><\/p>\n<p><span style=\"color: #000000;\">(ii) Provides mobility.<\/span><\/p>\n<p><span style=\"color: #000000;\">(iii) Easy to use over difficult terrain.<\/span><\/p>\n<p><span style=\"color: #000000;\">Disadvantages<\/span><\/p>\n<p><span style=\"color: #000000;\">(i) Insecure communication can be easily taped.<\/span><\/p>\n<p><span style=\"color: #000000;\">(ii) It is affected by the weather conditions such as rain, storms, thunder, etc<\/span><\/p>\n<p><span style=\"color: #000000;\">\u00a0<\/span><\/p>\n<p><strong><span style=\"color: #000000;\">Q. 11 What is the difference between star topology and bus topology of network?<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans:\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">Star Topology: All the nodes are directly connected with the central node or server. Easy to detect faults. It is fast in transmission.<\/span><\/p>\n<p><span style=\"color: #000000;\">Bus topology: There is a single length of transmission medium on which various nodes are\u00a0attached and the server can be anywhere in the transmission cable. Faults cannot be easily\u00a0detected. Becomes slow with increase in node<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 12 Write one advantage and one disadvantage of using Optical fiber cable<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Advantage:<\/span><\/p>\n<p><span style=\"color: #000000;\">(i) Not susceptible to electrical and magnetic interference i.e. free from EMI.<\/span><\/p>\n<p><span style=\"color: #000000;\">(ii) High speed and Data Transmission capacity<\/span><\/p>\n<p><span style=\"color: #000000;\">(iii) Secure Transmission<\/span><\/p>\n<p><span style=\"color: #000000;\">Disadvantage:<\/span><\/p>\n<p><span style=\"color: #000000;\">(i) Expensive and not suitable for domestic use.<\/span><\/p>\n<p><span style=\"color: #000000;\">(ii) Fibers are fragile so installation is typical job.<\/span><\/p>\n<p><span style=\"color: #000000;\">(iii) Difficult to solder\/extend.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 13 Give one advantage and one disadvantage of Bus topology<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Bus topology: A bus topology is an arrangement in which the computers and the peripheral devices are connected to a common single data line.<\/span><\/p>\n<p><span style=\"color: #000000;\">Advantage: All the nodes are connected directly, so very short cable length is required.<\/span><\/p>\n<p><span style=\"color: #000000;\">Disadvantage: In case of any fault occurred in data transmission, fault isolation is very difficult. We have to check the entire network to find the fault.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">\u00a0Q. 14 Write two characteristics of Wi-Fi.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">(i) It is wireless network.<\/span><\/p>\n<p><span style=\"color: #000000;\">(ii) It is for short range<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"color: #000000;\">Important Question Answer Class 12 Computer Science for Term 2<\/span><\/h2>\n<h2><\/h2>\n<h3><span style=\"color: #000000;\">Topic: Database<\/span><\/h3>\n<p><span style=\"color: #000000;\">2 Marks Questions<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 1 What is the difference between Primary Key and Foreign Key?<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Primary key is the key which uniquely identifies a tuple but foreign key is the key which takes reference from primary key<\/span><\/p>\n<p><span style=\"color: #000000;\">There is only one primary key in a table but there can be multiple foreign key on a table<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 2 Explain the following results retrieval methods with examples. fetchone () rowcount ()<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">fetchone() :- The fetchone() method will return only one row from the result set in the form of tuple containing a record.<\/span><\/p>\n<p><span style=\"color: #000000;\">rowcount() :- cursor.rowcount() that always return how many records have been retrieved so for using any of the fetch () methods.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 3 Which keyword is used to remove duplicate records from relation.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans: <\/span><span style=\"color: #000000;\">distinct<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 4 Write two wild card characters which are used with like operator?<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">% and underscore( _ )<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 5 A table &#8220;Design&#8221; in a database has 5 columns and 2 records. What is the degree and cardinality of this table?<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">Degree \u2013 5<\/span><\/p>\n<p><span style=\"color: #000000;\">cardinality-12<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 6 What is the difference between where and having clause in SQL.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans: Where is used with single row function where as having is used with group row function.<\/span><\/p>\n<p><span style=\"color: #000000;\">example- select designation,sum(salary) from desig group by designation having count(*) &lt; 3;<\/span><\/p>\n<p><span style=\"color: #000000;\">select sum(benefits) from workers where designation = \u2018salesman\u2019;<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 7 Write a small python program to insert a record in the table books with attributes (title ,isbn).<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">import mysql.connector as Sqlator<\/span><\/p>\n<p><span style=\"color: #000000;\">conn =sqlator.connect(host=&#8221;localhost&#8221;, user=&#8221;root&#8221;, passwd=&#8221;12345&#8243;, database=&#8221;test&#8221;)<\/span><\/p>\n<p><span style=\"color: #000000;\">cursor=con.cursor()<\/span><\/p>\n<p><span style=\"color: #000000;\">query=\u201dINSERT into books(title,isbn) values(\u2018{}\u2019{})\u201d.format(\u2018Neelesh\u2019,\u20195143\u2019)<\/span><\/p>\n<p><span style=\"color: #000000;\">cursor.execute(query)<\/span><\/p>\n<p><span style=\"color: #000000;\">con.close()<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 8 What is constraint?<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans: A constraints is a condition or check application on a field or set of fields.<\/span><\/p>\n<p><span style=\"color: #000000;\">Example: NOT NULL (ensure that column con not have null value), CHECK (make sure that all value<\/span><\/p>\n<p><span style=\"color: #000000;\">satisfy certain criteria), UNIQUE (ensure that all values in a column are different) etc.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 9 What are single row functions ?<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans: Single Row Function work with a single row at a time. A single row function returns a result for every row of a quired table<\/span><\/p>\n<p><span style=\"color: #000000;\">Examples of Single row functions are Sqrt(), Concat(), Lcase(), Upper(), Day(), etc.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 10\u00a0 Make difference between DELETE and DROP command. Explain with suitable examples of each.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">DELETE is DML command while DROP is a DDL command. Delete is used to delete rows from a table while DROP is used to remove the entire table from the database.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 11 Differentiate between Alter and Update Command.\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Alter command in DDL command but update command is DML Command.<\/span><\/p>\n<p><span style=\"color: #000000;\">Alter command is used to add,modify and delete a column from the table and update command is used to make changes in the record of the table<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 12 Write the code to create the connection in which database\u2019s name is Python, name of host, user and password can taken by user. Also, print that\u00a0connection.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">import mysql.connector<\/span><\/p>\n<p><span style=\"color: #000000;\">mycon = mysql.connector.connect( host = \u201clocalhost\u201d, user = \u201croot\u201d, passwd = \u201c12345\u201d, database = \u201cPython\u201d)<\/span><\/p>\n<p><span style=\"color: #000000;\">print(mycon)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 13 Which command is used to delete a table in a database?<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">DROP TABLE &lt;TABLE NAME&gt;<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 14 Define natural join.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Natural Join: The join in which only one of the identical columns existing in both tables is present, No duplication of columns.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 15 What is a primary key? How many primary keys can be there in a table?<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">It is a combination of one or more fields in a table that can uniquely identify a record. There can be only one primary key in a table. It plays an important role in identifying the records, because it is the primary key who carries unique values. The criteria for a field to become primary key is : It must be carrying unique and NOT NULL values.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 16 Differentiate between fetchone() and fetchall() methods.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">fetch(): It returns the next row from the result set as tuple.If there are no more rows to retrieve, None is returned.<\/span><\/p>\n<p><span style=\"color: #000000;\">fetchall():It fetches all the rows of a query result. It returns all the rows as a list of tuples. An empty list is returned if there is no record to fetch.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 17 Which command is used to view the list of databases in a server?<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">SHOW TABLES;<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 18 Define equi-join with example.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Equi join is a simple SQL join condition that uses equal sign as a comparison operator.<\/span><\/p>\n<p><span style=\"color: #000000;\">Syntax:<\/span><\/p>\n<p><span style=\"color: #000000;\">SELECT col1, col2, col3 FROM table1, table2<\/span><\/p>\n<p><span style=\"color: #000000;\">WHERE table1.col1 = table2.col1;<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 19 What is connection? What is its role?<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">A Connection (represented through a connection object) is the session between the application program and the database. To do anything with database, one must have a connection object.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 20 Which package must be imported in Python to create a database connectivity application?<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans: mysql.connector.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 21 What do you mean by data redundancy?<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans. Duplication of data in a table is called redundancy.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 22 What do you mean by data integrity?<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans: Data integrity means maintaining accuracy and consistency of data.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3><span style=\"color: #000000;\">Topic: Data Structure<\/span><\/h3>\n<p><span style=\"color: #000000;\">2 Marks Questions<\/span><\/p>\n<p><strong><span style=\"color: #000000;\">Q.1 Write a function pop() which remove name from stack named &#8220;MyStack&#8221;<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">def Pop(MyStack):<\/span><\/p>\n<p><span style=\"color: #000000;\">if len(MyStack) &gt; 0:<\/span><\/p>\n<p><span style=\"color: #000000;\">MyStack.pop()<\/span><\/p>\n<p><span style=\"color: #000000;\">else:<\/span><\/p>\n<p><span style=\"color: #000000;\">print(&#8220;Stack is empty.&#8221;)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q.2 Write a function Push() which takes number as argument and add in a stack &#8220;MyValue&#8221;.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">MyValue=[]<\/span><\/p>\n<p><span style=\"color: #000000;\">def Push(value):<\/span><\/p>\n<p><span style=\"color: #000000;\">MyValue.append(value)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 3 Write an algorithm for pop operation in stack<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">Algorithm Steps<\/span><\/p>\n<p><span style=\"color: #000000;\">Step 1. if (Top == \u2212 1) write \u201cStack is empty\u201d and go to step 4<\/span><\/p>\n<p><span style=\"color: #000000;\">Step 2. ITEM = data [Top]<\/span><\/p>\n<p><span style=\"color: #000000;\">Step 3. Top = Top \u2212 1<\/span><\/p>\n<p><span style=\"color: #000000;\">Step 4. Stop.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q.4 Define stack. What is the significance of TOP in stack.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">A stack is an abstract data type and a linear or user defined data structure based on the principle of Last In First Out (LIFO).<\/span><\/p>\n<p><span style=\"color: #000000;\">A stack is a list where insertion and deletion can take place only at one end called Top.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 5 What is push operation in stack?<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">Push operation refers to inserting an element in the stack. Since there&#8217;s only one position at which the new element can be inserted \u2014 Top of the stack, the new element is inserted at the top of the stack.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">3 marks questions<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 6 Write a function in Python PUSH_IN(L), where L is a list of numbers. From this list, push all even numbers into a stack which is implemented by using\u00a0another list.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans: <\/span><\/p>\n<p><span style=\"color: #000000;\">top=-1<\/span><\/p>\n<p><span style=\"color: #000000;\">stk=[]<\/span><\/p>\n<p><span style=\"color: #000000;\">def PUSH_IN(L): # Allow additions to the stack<\/span><\/p>\n<p><span style=\"color: #000000;\">for i in L:<\/span><\/p>\n<p><span style=\"color: #000000;\">if i%2==0:<\/span><\/p>\n<p><span style=\"color: #000000;\">stk.append(i)<\/span><\/p>\n<p><span style=\"color: #000000;\">top=len(stk)-1<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 7 Write a function in Python POP_OUT(Stk), where Stk is a stack implemented by a list of numbers. The function returns the value which is deleted\/popped\u00a0from the stack.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">def isEmpty(stk): # checks whether the stack is empty or not<\/span><\/p>\n<p><span style=\"color: #000000;\">if stk==[]:<\/span><\/p>\n<p><span style=\"color: #000000;\">return True<\/span><\/p>\n<p><span style=\"color: #000000;\">else:<\/span><\/p>\n<p><span style=\"color: #000000;\">return False<\/span><\/p>\n<p><span style=\"color: #000000;\">def POP_OUT(stk):<\/span><\/p>\n<p><span style=\"color: #000000;\">if isEmpty(stk): # verifies whether the stack is empty or not<\/span><\/p>\n<p><span style=\"color: #000000;\">print(&amp;quot;Stack Underflow&amp;quot;)<\/span><\/p>\n<p><span style=\"color: #000000;\">else: # Allow deletions from the stack<\/span><\/p>\n<p><span style=\"color: #000000;\">item=stk.pop()<\/span><\/p>\n<p><span style=\"color: #000000;\">if len(stk)==0:<\/span><\/p>\n<p><span style=\"color: #000000;\">top=-1<\/span><\/p>\n<p><span style=\"color: #000000;\">else:<\/span><\/p>\n<p><span style=\"color: #000000;\">top=len(stk)<\/span><\/p>\n<p><span style=\"color: #000000;\">return item<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q.8 Write a function in Python PUSH(Arr), where Arr is a list of numbers. From this list push all numbers divisible by 5 into a stack implemented by using a\u00a0list. Display the stack if it has at least one element, otherwise display\u00a0appropriate error message.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">def PUSH(Arr,value):<\/span><\/p>\n<p><span style=\"color: #000000;\">s=[]<\/span><\/p>\n<p><span style=\"color: #000000;\">for x in range(0,len(Arr)):<\/span><\/p>\n<p><span style=\"color: #000000;\">if Arr[x]%5==0:<\/span><\/p>\n<p><span style=\"color: #000000;\">s.append(Arr[x])<\/span><\/p>\n<p><span style=\"color: #000000;\">if len(s)==0:<\/span><\/p>\n<p><span style=\"color: #000000;\">print(&#8220;Empty Stack&#8221;)<\/span><\/p>\n<p><span style=\"color: #000000;\">else:<\/span><\/p>\n<p><span style=\"color: #000000;\">print(s)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 9 Write a function in Python POP(Arr), where Arr is a stack implemented by A list of numbers. The function returns the value deleted from the stack.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans: <\/span><\/p>\n<p><span style=\"color: #000000;\">def popStack(st) :<\/span><\/p>\n<p><span style=\"color: #000000;\"># If stack is empty<\/span><\/p>\n<p><span style=\"color: #000000;\">if len(st)==0:<\/span><\/p>\n<p><span style=\"color: #000000;\">print(&#8220;Underflow&#8221;)<\/span><\/p>\n<p><span style=\"color: #000000;\">else:<\/span><\/p>\n<p><span style=\"color: #000000;\">L = len(st)<\/span><\/p>\n<p><span style=\"color: #000000;\">val=st[L-1]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(val)<\/span><\/p>\n<p><span style=\"color: #000000;\">st.pop(L-1)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 10 Pramod has created a dictionary containing EMPCODE and SALARY as key value pairs of 5 Employees of Parthivi Constructions. Write a\u00a0program, with separate user defined functions to\u00a0perform the following operations:<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">(i)Push the keys (Employee code) of the dictionary into a stack, where the corresponding value\u00a0(Salary) is less than 25000.<\/span><\/p>\n<p><span style=\"color: #000000;\">(ii) Pop and display the content of the stack.<\/span><\/p>\n<p><span style=\"color: #000000;\">For example:<\/span><\/p>\n<p><span style=\"color: #000000;\">If the sample content of the dictionary is as follows:<\/span><\/p>\n<p><span style=\"color: #000000;\">EMP={&#8220;EOP1&#8221;:16000, &#8220;EOP2&#8221;:28000, &#8220;EOP3&#8221;:19000, &#8220;EOP4&#8221;:15000, &#8220;EOP5&#8221;:30000}<\/span><\/p>\n<p><span style=\"color: #000000;\">The output from the program should be:<\/span><\/p>\n<p><span style=\"color: #000000;\">EOP4 EOP3 EOP1<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">EMP={&#8220;EOP1&#8221;:16000, &#8220;EOP2&#8221;:28000,<\/span><\/p>\n<p><span style=\"color: #000000;\">&#8220;EOP3&#8221;:19000, &#8220;EOP4&#8221;:15000, &#8220;EOP5&#8221;:30000}<\/span><\/p>\n<p><span style=\"color: #000000;\">def PUSH(S,N):<\/span><\/p>\n<p><span style=\"color: #000000;\">S.append(N)<\/span><\/p>\n<p><span style=\"color: #000000;\">def POP(S):<\/span><\/p>\n<p><span style=\"color: #000000;\">if S!=[]:<\/span><\/p>\n<p><span style=\"color: #000000;\">return S.pop()<\/span><\/p>\n<p><span style=\"color: #000000;\">else:<\/span><\/p>\n<p><span style=\"color: #000000;\">return None<\/span><\/p>\n<p><span style=\"color: #000000;\">ST=[]<\/span><\/p>\n<p><span style=\"color: #000000;\">for k in EMP:<\/span><\/p>\n<p><span style=\"color: #000000;\">if EMP[k]&lt;25000:<\/span><\/p>\n<p><span style=\"color: #000000;\">PUSH(ST,k)<\/span><\/p>\n<p><span style=\"color: #000000;\">while True: if<\/span><\/p>\n<p><span style=\"color: #000000;\">ST!=[]:<\/span><\/p>\n<p><span style=\"color: #000000;\">print(POP(ST),end=&#8221; &#8220;)<\/span><\/p>\n<p><span style=\"color: #000000;\">else:<\/span><\/p>\n<p><span style=\"color: #000000;\">break<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"color: #000000;\">Question Bank Computer Science (083) for Class 12<\/span><\/h2>\n<p><strong><span style=\"color: #000000;\">Q. 11 Aryan has a list containing 10 integers. You need to help him create a program with separate user defined functions to perform the following\u00a0operations based on this list.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">(i) Traverse the content of the list and push the odd numbers into a stack.<\/span><\/p>\n<p><span style=\"color: #000000;\">(ii) Pop and display the content of the stack.<\/span><\/p>\n<p><span style=\"color: #000000;\">For Example:<\/span><\/p>\n<p><span style=\"color: #000000;\">If the sample Content of the list is as follows:<\/span><\/p>\n<p><span style=\"color: #000000;\">Num=[31, 55, 76, 89, 21, 45, 76, 68 ]<\/span><\/p>\n<p><span style=\"color: #000000;\">Sample Output of the code should be:<\/span><\/p>\n<p><span style=\"color: #000000;\">45 21 89 31<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">Num=[31, 55, 76, 89, 21, 45, 76, 68 ]<\/span><\/p>\n<p><span style=\"color: #000000;\">def PUSH(S,N):<\/span><\/p>\n<p><span style=\"color: #000000;\">S.append(N)<\/span><\/p>\n<p><span style=\"color: #000000;\">def POP(S):<\/span><\/p>\n<p><span style=\"color: #000000;\">if S!=[]:<\/span><\/p>\n<p><span style=\"color: #000000;\">return S.pop()<\/span><\/p>\n<p><span style=\"color: #000000;\">else:<\/span><\/p>\n<p><span style=\"color: #000000;\">return None<\/span><\/p>\n<p><span style=\"color: #000000;\">ST=[]<\/span><\/p>\n<p><span style=\"color: #000000;\">for k in N:<\/span><\/p>\n<p><span style=\"color: #000000;\">if k%2!=0:<\/span><\/p>\n<p><span style=\"color: #000000;\">PUSH(ST,k)<\/span><\/p>\n<p><span style=\"color: #000000;\">while True:<\/span><\/p>\n<p><span style=\"color: #000000;\">if ST!=[]:<\/span><\/p>\n<p><span style=\"color: #000000;\">print(POP(ST),end=&#8221; &#8220;)<\/span><\/p>\n<p><span style=\"color: #000000;\">else:<\/span><\/p>\n<p><span style=\"color: #000000;\">break<\/span><\/p>\n<p><span style=\"color: #000000;\">\u00a0<\/span><\/p>\n<p><strong><span style=\"color: #000000;\">Q. 12 Ashish students of class XII wants to enter details of student\u2019s- Rollno, Name and grade in a stack. Help him to write Push() methods in Python to add student\u2019s details. Display the student\u2019s details.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">def push(stack):<\/span><\/p>\n<p><span style=\"color: #000000;\">s=[]<\/span><\/p>\n<p><span style=\"color: #000000;\">s.append(input(\u201cEnter student rollno?\u201d))<\/span><\/p>\n<p><span style=\"color: #000000;\">s.append(raw_input(\u201cEnter student name\u201d))<\/span><\/p>\n<p><span style=\"color: #000000;\">s.append(raw_input(\u201cEnter student grade\u201d))<\/span><\/p>\n<p><span style=\"color: #000000;\">stack.append(s)<\/span><\/p>\n<p><span style=\"color: #000000;\">def display (stack):<\/span><\/p>\n<p><span style=\"color: #000000;\">l=len(stack)<\/span><\/p>\n<p><span style=\"color: #000000;\">print \u201cSTACK CONTENTS\u201d<\/span><\/p>\n<p><span style=\"color: #000000;\">for i in range(l-1,-1,-1):<\/span><\/p>\n<p><span style=\"color: #000000;\">print stack[i]<\/span><\/p>\n<p><span style=\"color: #000000;\">stack=[]<\/span><\/p>\n<p><span style=\"color: #000000;\">print \u201cCreating Stack\u201d<\/span><\/p>\n<p><span style=\"color: #000000;\">n = input(\u201cEnter the number of students\u201d)<\/span><\/p>\n<p><span style=\"color: #000000;\">for i in range(n):<\/span><\/p>\n<p><span style=\"color: #000000;\">student = []<\/span><\/p>\n<p><span style=\"color: #000000;\">student.append(input(\u201cEnter student rollno?\u201d))<\/span><\/p>\n<p><span style=\"color: #000000;\">student.append(raw_input(\u201cEnter student name\u201d))<\/span><\/p>\n<p><span style=\"color: #000000;\">student.append(raw_input(\u201cEnter student grade\u201d))<\/span><\/p>\n<p><span style=\"color: #000000;\">stack, append(student) push(stack)<\/span><\/p>\n<p><span style=\"color: #000000;\">display(stack)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 13 Write a program to implement a stack for the students(studentno, name). Just implement Pop and display.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">stk=[]<\/span><\/p>\n<p><span style=\"color: #000000;\">top=-1<\/span><\/p>\n<p><span style=\"color: #000000;\">def POP():<\/span><\/p>\n<p><span style=\"color: #000000;\">if(top==-1):<\/span><\/p>\n<p><span style=\"color: #000000;\">print(\u201cNO STUDENT DATA\u201d)<\/span><\/p>\n<p><span style=\"color: #000000;\">else:<\/span><\/p>\n<p><span style=\"color: #000000;\">print(\u201cStudent details are:\u201d, stk.pop())<\/span><\/p>\n<p><span style=\"color: #000000;\">top=len(stk)-1<\/span><\/p>\n<p><span style=\"color: #000000;\">def display():<\/span><\/p>\n<p><span style=\"color: #000000;\">if(top==-1):<\/span><\/p>\n<p><span style=\"color: #000000;\">print(\u201cNO STUDENT DATA\u201d)<\/span><\/p>\n<p><span style=\"color: #000000;\">else:<\/span><\/p>\n<p><span style=\"color: #000000;\">t=len(stk)-1<\/span><\/p>\n<p><span style=\"color: #000000;\">print(stk[t])<\/span><\/p>\n<p><span style=\"color: #000000;\">for i in range(t-1,-1,-1):<\/span><\/p>\n<p><span style=\"color: #000000;\">print(stk[i])<\/span><\/p>\n<p><span style=\"color: #000000;\">display()<\/span><\/p>\n<p><span style=\"color: #000000;\">POP()<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">Q. 14 Write a function in python, MakePush(Package) and MakePop(Package) to add a new Package and delete a Package from a List of Package\u00a0Description, considering them to act as push and pop operations of the Stack data structure.<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">\u00a0Ans:\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">def MakePush(Package):<\/span><\/p>\n<p><span style=\"color: #000000;\">a=int(input(&#8220;enter package title : &#8220;))<\/span><\/p>\n<p><span style=\"color: #000000;\">Package.append(a)<\/span><\/p>\n<p><span style=\"color: #000000;\">def MakePop(Package):<\/span><\/p>\n<p><span style=\"color: #000000;\">if (Package==[]):<\/span><\/p>\n<p><span style=\"color: #000000;\">print( &#8220;Stack empty&#8221;)<\/span><\/p>\n<p><span style=\"color: #000000;\">else:<\/span><\/p>\n<p><span style=\"color: #000000;\">print (&#8220;Deleted element:&#8221;,Package.pop())<\/span><\/p>\n<p><span style=\"color: #000000;\">\u00a0<\/span><\/p>\n<p><strong><span style=\"color: #000000;\">Q. 15 Write a function in python, <em>Push(Stu) <\/em>and <em>MakePop(Stu) <\/em>to add a new student and delete student from a List of Stu contain rollno, Sname and\u00a0Class as list, considering them to act as push and pop operations of the Stack data structure<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Ans:<\/span><\/p>\n<p><span style=\"color: #000000;\">def Push(Stu):<\/span><\/p>\n<p><span style=\"color: #000000;\">rollno=int(input(&#8220;enter package title : &#8220;))<\/span><\/p>\n<p><span style=\"color: #000000;\">Sname=int(input(&#8220;enter package title : &#8220;))<\/span><\/p>\n<p><span style=\"color: #000000;\">Class=int(input(&#8220;enter package title : &#8220;))<\/span><\/p>\n<p><span style=\"color: #000000;\">info=[rollno,Sname,Class]<\/span><\/p>\n<p><span style=\"color: #000000;\">Stu.append(info)<\/span><\/p>\n<p><span style=\"color: #000000;\">def Pop(Stu):<\/span><\/p>\n<p><span style=\"color: #000000;\">if (Stu==[]):<\/span><\/p>\n<p><span style=\"color: #000000;\">print( &#8220;Stack empty&#8221;)<\/span><\/p>\n<p><span style=\"color: #000000;\">else:<\/span><\/p>\n<p><span style=\"color: #000000;\">print (&#8220;Deleted element:&#8221;,Stu.pop())<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">These were some important question answer class 12 Computer Science. Hope You fill find them helpful for your board examination.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h1><span style=\"color: #ff0000;\">Also Check:<\/span><\/h1>\n<h2><span style=\"text-decoration: underline;\"><a href=\"https:\/\/cbsepython.in\/term-2-sample-paper-class-12-computer-science\/\">Computer Science Sample Paper Class 12 Term 2 Set 1<\/a><\/span><\/h2>\n<h2><span style=\"text-decoration: underline;\"><a href=\"https:\/\/cbsepython.in\/class-12-term-2-sample-paper-computer-science-set-2\/\">Computer Science Sample Paper Class 12 Term 2 Set 2<\/a><\/span><\/h2>\n<h2><span style=\"text-decoration: underline;\"><a href=\"https:\/\/cbsepython.in\/class-12-term-2-sample-paper-computer-science-set-3\/\">Computer Science Sample Paper Class 12 Term 2\u00a0Set 3<\/a><\/span><\/h2>\n<h2><span style=\"text-decoration: underline;\"><a href=\"https:\/\/cbsepython.in\/class-12-term-2-sample-paper-computer-science-set-4\/\">Computer Science Sample Paper Class 12 Term 2\u00a0Set 4<\/a><\/span><\/h2>\n<h2><span style=\"text-decoration: underline;\"><a href=\"https:\/\/cbsepython.in\/class-12-term-2-sample-paper-computer-science-set-5\/\">Computer Science Sample Paper Class 12 Term 2 Set 5<\/a><\/span><\/h2>\n<h2><span style=\"text-decoration: underline;\"><a href=\"https:\/\/cbsepython.in\/class-12-term-2-sample-paper-computer-science-set-6\/\">Computer Science Sample Paper Class 12 Term 2 set 6<\/a><\/span><\/h2>\n<h2><span style=\"text-decoration: underline;\"><a href=\"https:\/\/cbsepython.in\/important-computer-network-class-12-question-answer\/\">Computer Networking Question and Answer<\/a><\/span><\/h2>\n<h2><a href=\"https:\/\/cbsepython.in\/database-questions-for-class-12\/\"><span style=\"text-decoration: underline;\">Database Management System Questions with Answer<\/span><\/a><\/h2>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Important Question Answer Class 12 Computer Science (Python) Important Question\u00a0 answer Class 12 Computer Science (Python) useful for Term 2 Examination. In this section you will find some important question answer class 12 Computer Science. These questions will help the Students having Subject Computer Science in Class 12.\u00a0 &nbsp; Topic: Computer Networking Q. 1 Expand [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,20],"tags":[],"class_list":["post-3201","post","type-post","status-publish","format-standard","hentry","category-cbse-sample-papers-class-12","category-cbse-computer-science-with-python-class-12"],"_links":{"self":[{"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/posts\/3201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/comments?post=3201"}],"version-history":[{"count":0,"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/posts\/3201\/revisions"}],"wp:attachment":[{"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/media?parent=3201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/categories?post=3201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/tags?post=3201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}