Q1:

SQL

Medium

common

State the output: SELECT LEFT(RIGHT("COMPUTER SCIENCE",7),3), MID(UCASE("informatics"),3,4);

Answer options
Option 1
Correct Answer
Explanation for 2025: 20 May Shift 1 CSE question 1

Q2:

Database

Easy

common

Software that is used to create, manipulate and maintain a relational database is known as _____________.

Answer options
Option 2
Correct Answer
Explanation for 2025: 20 May Shift 1 CSE question 2

Q3:

SQL

Easy

common

Given table 'SALE': | carid | saledate | paymentmode | saleprice | |---|---|---|---| | D001 | 2019-01-24 | Credit Card | 613248.00 | | D002 | 2019-01-25 | Cheque | 604000.00 | | E001 | 2019-01-30 | Credit Card | 620214.00 | Find the output for: SELECT COUNT(DISTINCT PAYMENTMODE) FROM SALE;

Answer options
Option 3
Correct Answer
Explanation for 2025: 20 May Shift 1 CSE question 3

Q4:

Database

Easy

common

_______________ is an exhaustive searching technique, where every element of a given list is compared with the item to be searched.

Answer options
Option 1
Correct Answer
Explanation for 2025: 20 May Shift 1 CSE question 4

Q6:

SQL

Easy

common

Rohan created a table 'Product' with structure: PID, Pname, Pdescp, Pqty, Pprice He added 10 records in the table. Now he wants to change the size of column 'Pname' from 20 to 25. Identify the correct SQL query to do this.

Answer options
Option 3
Correct Answer
Explanation for 2025: 20 May Shift 1 CSE question 6

Q7:

SQL

Medium

common

Given Table 'Uniform': | Ucode | Uname | Ucolor | |---|---|---| | 1 | Shirt | White | | 2 | Trouser | Grey | | 3 | Tie | Blue | Given Table 'Cost': | Ucode | Size | Price | |---|---|---| | 1 | L | 580 | | 2 | M | 500 | | 3 | L | 890 | | 4 | M | 810 | Find the output for: SELECT * FROM UNIFORM, COST;

Answer options
Option 3
Correct Answer
Explanation for 2025: 20 May Shift 1 CSE question 7

Q9:

Database

Easy

common

________ errors are detected when we have not followed the rules of the particular programming language while writing a program.

Answer options
Option 2
Correct Answer
Explanation for 2025: 20 May Shift 1 CSE question 9

Q11:

Database

Easy

common

_____ is a restriction on the type of data that can be inserted into the table.

Answer options

Q12:

Database

Easy

common

__________ is the inverse of pickling process, where a byte stream is converted back to Python object.

Answer options

Q13:

SQL

Easy

common

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (Operation/Functions) | (Description) | | (A) GROUP BY Function | (I) Used to combine rows from two or more tables based on one or more common fields between them. | | (B) Single Row function | (II) This works on a set of records as a whole and returns a single value. | | (C) Multiple Row function | (III) It is used to group rows of a table that contain the same values in a specified column. | | (D) Join operation | (IV) This works on a single row of the table and returns a single value. |

Answer options

Q14:

Database

Medium

common

Consider the following case of a queue, where people waiting at a bank cash counter. Two friends come together and go to the cash counter, i.e. they form a queue - __________ operation is performed two times. As soon as the person at the front is served, he will be removed from the queue - thus ________ operation is performed. Cashier calls Next to serve the next person who is now at the front of the queue. Cashier wants to know the length of the queue - size of the _________ is checked. Meanwhile, a few more people walk in the bank, and three of them join the queue at the cash counter, i.e. ________ happens 3 times. Another person gets served and leaves the counter, i.e. ________ is performed. Cashier calls Next to serve another person. The Next three people get served one after another, i.e. _______ is performed thrice. Cashier calls Next and realises that there are no more people to be served - _________ situation happens. **Identify the correct queue operations for the blank spaces in sequence.**

Answer options

Q15:

Database

Easy

common

Given: TableA: | Name | Course | |---|---| | Prakriti | IP | | Yoshit | Maths | TableB: | Name | Course | |---|---| | Prakriti | IP | | Anmol | Painting | Find TableA - TableB:

Answer options

Q16:

Security Aspects

Easy

Computer Science

If a hacker uses its knowledge to find and help in fixing the security flaws in the system, it is termed as _________ .

Answer options

Q18:

Stack

Easy

Computer Science

Given various operations to be performed on stack, find the output: stack=[ ] stack.append('C') stack.append('O') stack.append('M') stack.pop() stack.append('U') stack.append('R') stack.pop() stack.append('N') stack.append('T')

Answer options

Q19:

SQL

Easy

Computer Science

Arrange the following statements in correct order. (A) HAVING CLAUSE (B) FROM TABLENAME (C) GROUP BY (D) SELECT (AGGREGATE FUNCTION)

Answer options

Q20:

Networks

Easy

Computer Science

Identify the statements that holds true for Mesh Topology: (A) Multiple nodes can transmit data simultaneously. (B) Wiring is simple and cabling cost is less in creating such networks. (C) Each communicating device is connected with every other device in the network. (D) A network can handle large amounts of traffic.

Answer options

Q21:

Searching

Easy

Computer Science

In Hashing, if every item of the list maps to a unique index in the hash table, the hash function is called as _______________ .

Answer options

Q22:

Exception Handling

Easy

Computer Science

______ is raised when the file specified in a program statement cannot be opened.

Answer options

Q23:

File Handling

Easy

Computer Science

Given data in text file "rhymes.txt" as follows: Johny Johny Yes Papa Eating Sugar No Papa Telling a lie No Papa Open your mouth Ha Ha Ha Find the output for the following code: my1=open("rhymes.txt","r") data=my1.read(10) print(data) my1.close()

Answer options

Q24:

File Handling

Easy

Computer Science

Identify the correct code to open a file "file1.txt", but not required to close the file using close() statement:

Answer options

Q25:

Data Communication

Medium

Computer Science

Identify all the correct features of Microwaves Transmission Media: (A) Unidirectional (B) Omni-directional (C) Cannot penetrate solid objects such as walls. (D) Provide very large information-carrying capacity

Answer options

Q27:

Networks

Easy

Computer Science

![Figure](https://balti.afterboards.in/pyp/cuetcse-617yvx.png) Distance between various buildings are as follows: | Buildings | Distance | |---|---| | A to B | 50 mtr. | | A to C | 75 mtr. | | A to D | 110 mtr. | | A to E | 150 mtr. | Name the type of network being represented by the above network scenario.

Answer options

Q28:

Sorting

Easy

Computer Science

Arrange the following steps in order for bubble sorting: (A) Compare the adjacent elements. (B) List is sorted. (C) Take an unsorted list. (D) Swap the elements.

Answer options

Q29:

Stack

Easy

Computer Science

What is an underflow condition?

Answer options

Q30:

Networks

Medium

Computer Science

Identify the correct order that led to the evolution of networking: (A) First version of Wi-fi (802.11) standard was introduced. (B) First commercial use of ARPANET, was started under the name of Telenet. (C) National Science Foundation brings connectivity to more people with its NSFNET program. (D) The idea of Advanced Research Project Agency Network (ARPANET) is conceptualized.

Answer options

Q31:

Understanding Data

Easy

Computer Science

When there are odd number of values, then median is __________. If the list has even number of values, then median is ________________.

Answer options

Q32:

Sorting

Medium

Computer Science

Apply bubble sort technique to sort list of elements given below: numList2 = [2, 7, 5, 8, 4] In which pass the last swap happens?

Answer options

Q33:

Data Communication

Medium

Computer Science

Identify the **incorrect** statement in the context of Protocols:

Answer options

Q34:

Database

Easy

Computer Science

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) Tuple | (I) Clause | | (B) Attribute | (II) Constraint | | (C) Unique | (III) A column in a table | | (D) Where | (IV) A row in a table |

Answer options

Q35:

SQL

Medium

Computer Science

Which of the following statements are **TRUE** about Join on two tables. (A) Join operation combines tuples from both the tables. (B) Join operation is same like Cartesian of two tables. (C) Join operation combines attributes from both the tables. (D) There should be at least one common attribute in both the tables.

Answer options

Q36:

Networks

Easy

Computer Science

A/An _______ is any organization that provides services for accessing the Internet.

Answer options

Q37:

Data Communication

Easy

Computer Science

Identify the correct feature of 'Full Duplex' form of data communication:

Answer options

Q38:

Networks

Easy

Computer Science

MAC Address is ______ and IP Address is ________.

Answer options

Q39:

Understanding Data

Easy

Computer Science

Find the range of the following data given as height of students in cm: [140, 142, 144, 148, 150, 152, 155, 160, 162, 164]

Answer options

Q40:

Networks

Easy

Computer Science

Match **List-I** with **List-II** | List-I | List-II | |---|---| | **Networking device** | **Feature** | | (A) Repeater | (I) It sends signals to only selected devices instead of sending to all. | | (B) Hub | (II) A network device that can receive data, analyze it and transmit it to other networks. | | (C) Switch | (III) If data from two devices come at the same time, they will collide. | | (D) Router | (IV) An analog device that regenerates the signals on the cables to which it is connected. |

Answer options

Q41:

Security Aspects

Easy

Computer Science

A ______ is a malware that spies on a person or an organization by gathering information about them, without the knowledge of the user.

Answer options

Q42:

SQL

Easy

Computer Science

The GROUP BY function is used in SQL to group rows with similar values together. Some of the group functions used are____________. (A) MAX() (B) MIN() (C) SUM() (D) LENGTH()

Answer options

Q43:

SQL

Medium

Computer Science

Find the output of the following SQL statement: SELECT DAY('2010-03-03')+MONTH('2011-04-05')+YEAR('2012-06-09');

Answer options

Q44:

Queue

Medium

Computer Science

Sequence the complete process of enqueue operation in a queue: (A) Add the element to the rear of the queue. (B) Check if the queue is full. (C) Increment the rear pointer. (D) Return success message.

Answer options

Q45:

Understanding Data

Easy

Computer Science

Which measure of central tendency is not a suitable choice to use if there are outliers in the data?

Answer options

Q46:

Stack

Medium

Computer Science

What will be the output in postfix notation of the following infix notation:- x * y + z 3 *(4 + 5) (x + y)/(z * 5)

Answer options

Q47:

Searching

Easy

Computer Science

Given a list 'numList' of 'n' elements and the key value 'K'. Arrange the following steps in linear search algorithm 'LinearSearch(numList, key, n)' to find the position of the key 'K' in 'numList': (A) PRINT “Search unsuccessful” (B) WHILE index < n, REPEAT Step 3 (C) SET index = 0 (D) IF numlist[index]= key THEN PRINT “Element found at position”, index+1 STOP ELSE index = index+1

Answer options

Q48:

Database

Medium

Computer Science

Arrange the following stages in the correct sequence for transitioning from a file system to a DBMS. (A) Design relational schema (B) Normalize data (C) Identifying redundancy (D) Migrate the data to the database

Answer options

Q49:

Networks

Easy

Computer Science

It is a hierarchical topology, in which there are multiple branches and each branch can have one or more basic topologies.

Answer options

Q50:

Queue

Easy

Computer Science

Identify the statements that hold **TRUE** in the case of a queue: (A) Ordered linear list of elements works on FIFO principle. (B) The elements that has been shortest in the queue will be removed first. (C) Insertion is from REAR end and deletion is from FRONT end. (D) The element entering first in the queue will be the first one to come out.

Answer options

Q51:

Societal Impacts

Easy

Informatics Practices

The process of re-selling old electronic goods at lower prices is called_________.

Answer options

Q52:

Matplotlib Plotting

Easy

Informatics Practices

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) plt.ylabel() | (I) configures the gridlines | | (B) linestyle='dotted' | (II) changes width of the bars | | (C) plt.grid() | (III) sets the label for y-axis | | (D) width=0.5 | (IV) changes line style |

Answer options

Q53:

Series & DataFrames

Easy

Informatics Practices

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) rename() | (I) To display rows of a series from the top. | | (B) tail() | (II) To change the name of a row or column in a DataFrame. | | (C) drop() | (III) To display rows of a DataFrame from the bottom. | | (D) head() | (IV) To delete a row or column in a DataFrame. |

Answer options

Q54:

Matplotlib Plotting

Medium

Informatics Practices

Which of the following is the correct method to import matplotlib library to plot graphs? (A) import matplotlib.pyplot (B) import matplotlib (C) from matplotlib import pyplot (D) import matplotlib.pyplot as pd

Answer options

Q55:

Networks

Easy

Informatics Practices

_____is the service that allows a person to post the website created locally, so that it can be viewed publically.

Answer options

Q56:

Pandas Data Analysis

Easy

Informatics Practices

The descriptive statistical function of pandas, which is used to display the value which appears most number of times in each row and column of a DataFrame (df) is _______.

Answer options

Q57:

SQL Functions

Easy

Informatics Practices

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) MONTHNAME() | (I) Text function | | (B) MOD() | (II) Aggregate function | | (C) AVG() | (III) Date function | | (D) LENGTH() | (IV) Math function |

Answer options

Q58:

Series & DataFrames

Easy

Informatics Practices

Arrange the following statements to create a series from a list. (A) Define a list (B) Import pandas library (C) Display the series (D) Create the series

Answer options

Q59:

Series & DataFrames

Easy

Informatics Practices

A DataFrame can be created from:- (A) Dictionary of lists (B) List of dictionaries (C) Numpy array (D) Series

Answer options

Q60:

Societal Impacts

Easy

Informatics Practices

Net-etiquette includes avoiding:- (A) Cyber trolls (B) Cyber bullies (C) Copyright violations (D) Respecting privacy

Answer options

Q61:

Societal Impacts

Easy

Informatics Practices

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) Social media etiquette | (I) Cyber Crime | | (B) Intellectual Property Right | (II) Know who you befriend | | (C) Creative Commons | (III) Trademark | | (D) Phishing | (IV) Public license |

Answer options

Q63:

Pandas Data Analysis

Easy

Informatics Practices

Pandas provides ___________ function to check for the missing values in a DataFrame.

Answer options

Q64:

Series & DataFrames

Easy

Informatics Practices

On the basis of the following series 'ser1', state the output of the command that follows: ser1 | a | 100 | |---|---| | b | 900 | | c | 700 | | d | 200 | | e | 500 | print(ser1[ser1>700])

Answer options

Q66:

Matplotlib Plotting

Easy

Informatics Practices

Arrange the following statements in proper order to plot bar chart. (A) plt.savefig(stud.pdf') (B) plt.show() (C) import matplotlib.pyplot as plt (D) plot.bar(['ram','sham','mohan','sohan'],[70,50,40,60])

Answer options

Q67:

Pandas Data Analysis

Easy

Informatics Practices

The descriptive statistical function of pandas which is used to display the sum of the values of a DataFrame (df) regardless of its datatype is_______.

Answer options

Q68:

Societal Impacts

Easy

Informatics Practices

Social media are websites which enable their users to participate in social networking by creating and sharing content with others. Which of the following is not a social media website?

Answer options

Q69:

Matplotlib Plotting

Easy

Informatics Practices

Arrange the following statements to draw a Histogram. Assume 'pd' and 'plt' are alias names for pandas and matplotlib.pyplot respectively. (A) plt.show() (B) df=pd.read_csv('abc.csv') (C) plt.legend() (D) df.plot(kind='hist',label='RECORDS')

Answer options

Q70:

Networks

Easy

Informatics Practices

The network topology in which each communicating device is connected with every other device in the network is known as _______.

Answer options

Q71:

SQL Functions

Easy

Informatics Practices

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) order by | (I) cardinality | | (B) substr() | (II) date function | | (C) count(*) | (III) sorting | | (D) now() | (IV) mid() |

Answer options

Q74:

Pandas Data Analysis

Easy

Informatics Practices

Pandas provides ____ function to sort the data values of a DataFrame.

Answer options

Q75:

Networks

Easy

Informatics Practices

Based on geographical area covered and data transfer rate, computer networks are broadly categorized as: (A) LAN (B) STAR (C) MESH (D) WAN

Answer options

Q76:

Societal Impacts

Easy

Informatics Practices

Which of the following does not fall in the category of e-waste?

Answer options

Q79:

Pandas Data Analysis

Easy

Informatics Practices

While transferring the data from a DataFrame to CSV file, if we do not want the row labels to be written to the file on the disk, the parameter to be used in to_csv() is _____________.

Answer options

Q80:

Matplotlib Plotting

Easy

Informatics Practices

In a histogram the data is sorted into __________, which is the number of intervals in which the entire data is divided.

Answer options

Q81:

Series & DataFrames

Hard

Informatics Practices

Which of the following are the correct commands to change the name of a row in a DataFrame 'df1'? (A) df1.rename({old name:new name},axis='rows',inplace=True) (B) df1.rename({old name:new name},axis=0,inplace=True) (C) df1.rename({old name:new name},axis='index',inplace=True) (D) df1=df1.rename({old name:new name},axis='rows',inplace=True)

Answer options

Q82:

Pandas Data Analysis

Medium

Informatics Practices

DataFrame.quartile() is used to get quartiles. By default DataFrame.quartile() will display ____ quantile.

Answer options

Q83:

Matplotlib Plotting

Medium

Informatics Practices

Which of the following is correct syntax to plot Histogram? (assume 'df' to be an object of a DataFrame). (A) df.plot(kind='hist',bins=20) (B) df.plot(kind='hist',bins=[18,19,20,21]) (C) df.plot(kind='hist',bins=range(20,30)) (D) df.plot(kind='hist')

Answer options

Q85:

Pandas Data Analysis

Easy

Informatics Practices

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) DataFrame.sum() | (I) To display the middle values of a data . | | (B) DataFrame.median() | (II) To display the sum of values of a DataFrame. | | (C) DataFrame.quantile(q=.25) | (III) To display the average of squared differences from the mean. | | (D) DataFrame.var() | (IV) First quartile |

Answer options

CUET Computer/IP 2025 20 May Shift 1 Past Year Question Paper

Every question from the CUET Computer/IP 2025 20 May Shift 1 paper is here in full, with the correct answer and a step by step solution for each one. It is completely free, there is no login and no paywall, and you can read the whole paper online or download it to revise offline.

You can also attempt it instead of only reading it. Take the paper as a full length mock under exam conditions, or filter it by topic and attempt just that topic as a topic test. Both are free, and you get a breakdown of your accuracy, your timing and your weak areas once you submit.

CUET Computer/IP past year questions (PYQs) are the closest thing to the real exam, so working through them is the quickest way to learn the paper pattern, the marking scheme and the level of difficulty to expect on the day.