Q1:

Database

Easy

common

A={1,2,3,4} and B={3,4,5,6} Based on the above set of 'A' and 'B', which of the following is correct?

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

Q3:

SQL

Easy

common

From the "Employee" table below: | EmpNo | Ename | Salary (Month) | Bonus | DeptId | |---|---|---|---|---| | 101 | Riya | 15000 | 500 | D01 | | 102 | Rohit | 21000 | 600 | D02 | | 103 | Richa | 34000 | 800 | D01 | | 104 | Riddhi | 19000 | 700 | D03 | Query to display name and annual income of the employees in a new column as Annual Income is:

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

Q5:

SQL

Easy

common

From the following table "orders" | order_Id | customer | amount | |---|---|---| | c001 | Riya | 500 | | c002 | Rohit | 300 | | c003 | Ravi | 400 | Which query will output the following result? Total Amount 900

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

Q6:

SQL

Easy

common

Match List-I with List-II | List-I | List-II | |---|---| | (A). GROUP BY | (I). Specific conditions on the rows with GROUP BY clause | | (B). HAVING | (II). It retrieves data that meet some specified conditions. | | (C). ORDER BY | (III). Group rows having common values | | (D). WHERE | (IV). Arrange rows in a particular order (ASC/DESC) |

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

Q9:

Database

Medium

common

Consider the following table and find which of the following are candidate keys based on the data present in the table? | Name | RollNo | Age | |---|---|---| | Ajay | 11 | 23 | | Ramesh | 12 | 23 | | Ravi | 13 | 24 | | Manish | 14 | 22 |

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

Q10:

Database

Easy

common

Match List-I with List-II | List-I | List-II | |---|---| | (A). FOREIGN KEY | (I). Ensures that all values in a column are distinct. | | (B). DEFAULT | (II). The column which refers to the value of an attribute is defined as the primary key in another table. | | (C). UNIQUE | (III). The column which can uniquely identify each row in a table. | | (D). PRIMARY KEY | (IV). A value is specified for a column if no value is provided. |

Answer options

Q11:

SQL

Medium

common

Match List-I with List-II | List-I | List-II | |---|---| | (A).Count(*) | (I). Returns the number of rows in a relation which has not null values in given column | | (B). Count(column) | (II). Returns rows present in relation one and relation two both | | (C). Minus | (III). Returns number of rows in a relation | | (D). Intersection | (IV). Returns rows present in the first relation but not in the second relation. |

Answer options

Q13:

SQL

Easy

common

Given the following table: Students | ID | Name | Marks | |---|---|---| | 1. | Alice | 85 | | 2. | Bob | 90 | | 3. | Charlie | 75 | Which query will return all students having 'li' substring in their Names?

Answer options

Q15:

SQL

Medium

common

Given the following table: SALE | CustId | PaymentMode | EmpId | SalePrice | Commission | |---|---|---|---|---| | c01 | Credit Card | E004 | 61200.00 | 5000.00 | | c02 | online | E001 | 47500.00 | 2000.00 | | c03 | Cheque | E005 | 52500.00 | 4000.00 | | c01 | Credit Card | E002 | 68000.00 | 7000.00 | | c04 | Cheque | E004 | 64500.00 | 3800.00 | | c02 | Bank Finance | E003 | 61500.00 | 4200.00 | Which query will display the number of people in each category of attribute PaymentMode from the table?

Answer options

Q16:

SQL

Easy

Computer Science

For the given table 'STUDENT': | S_id | NAME | STREAM | MARKS | SECTION | |---|---|---|---|---| | 1 | Ashu | Science | 90 | A | | 2 | Ajay | English | 80 | B | | 3 | Richa | History | 85 | C | | 4 | Rajeev | Science | 79 | A | | 5 | Arun | Science | 88 | B | | 6 | Ruchi | English | 78 | C | What will be the command to select information of all Science students from the table 'STUDENT'?

Answer options

Q17:

Database

Medium

Computer Science

Which of the following should be unique in a database? (A). Candidate key (B). Foreign key (C). Primary key (D). Composite key

Answer options

Q18:

Stack

Easy

Computer Science

Which of the following is true in the context of Stack?

Answer options

Q19:

Searching

Easy

Computer Science

In the given list=[-4, 0, 2, 7, 8, 17, 19]. Determine the number of iterations required to find element 7 using binary search.

Answer options

Q20:

Sorting

Medium

Computer Science

For a given list= [63, 42, 21, 9, 86]. Using the bubble sort algorithm, arrange the following outputs of each iteration of the first pass in ascending order of iterations. (A). [63, 42, 21, 9, 86] (B). [42, 21, 63, 9, 86] (C). [42, 63, 21, 9, 86] (D). [42, 21, 9, 63, 86]

Answer options

Q21:

Networks

Hard

Computer Science

A Switch can ________. (A). Multicast. (B). Connect multiple networks. (C). Repackage packets. (D). Forward multiple packets.

Answer options

Q22:

Stack

Medium

Computer Science

What will be the correct order in which operators will be evaluated in following postfix expression? 5 8 4 / 7 * + 2 - (A). / (B). * (C). + (D). -

Answer options

Q23:

Security Aspects

Easy

Computer Science

What are the various types of firewall? (A). Network Firewall (B). DOS Firewall (C). Host - based Firewall (D). Data Link Firewall

Answer options

Q24:

Understanding Data

Medium

Computer Science

Arrange the following according to decreasing order of their read/write speed. (A). HDD (B). SSD (C). Pen Drive(USB2.0) (D). Floppy Disk

Answer options

Q25:

Data Communication

Easy

Computer Science

__________ protocol defines how two devices authenticate and establish a direct link between them.

Answer options

Q26:

SQL

Easy

Computer Science

For the following table 'PRODUCT': | ID | Name | Category | Price | Quantity | Supplier | Date | |---|---|---|---|---|---|---| | 301 | Iphone | Electronics | 80000 | 25 | Apple Inc. | 2022-06-10 | | 302 | Samsung | Electronics | 60000 | 40 | Samsung Elec. | 2022-05-15 | | 303 | Nike | Footwear | 12000 | 50 | Nike | 2022-07-01 | | 304 | Dell | Electronics | 90000 | 10 | Dell | 2022-03-20 | | 305 | Puma | Footwear | 8000 | 60 | Puma | 2022-04-05 | Which query retrieves the total number of products in each category?

Answer options

Q27:

Exception Handling

Easy

Computer Science

Arrange the given keywords in the blank spaces in the correct order of their appearance in the code. try: n1= int(input("Enter first number")) n2= int(input("Enter second number")) quotient= (n1/n2) except __________: print("Please enter numbers only") except __________: print("n2 can not be zero") ____: print("Something went wrong") ____: print( "Bye") (A). ZeroDivisionError (B). ValueError (C). except (D). finally

Answer options

Q28:

File Handling

Easy

Computer Science

Match List-I with List-II | List-I | List-II | |---|---| | (A) read() | (I) writes the list of strings to the file | | (B) write() | (II) reads the specified number of characters from the file | | (C) writelines() | (III) writes the string to the file | | (D) readlines() | (IV) reads the file line by line into a list |

Answer options

Q29:

Searching

Medium

Computer Science

Outline the steps for inserting an element using a Hash function- (A) Apply the hash function to compute the index. (B) Insert the element at the computed index in the hash table. (C) Check the collision and resolve if any. (D) Initialize the hash table.

Answer options

Q30:

Queue

Medium

Computer Science

Show the status of queue after the following operations: enqueue(34) enqueue(54) dequeue( ) enqueue(12) enqueue(9) enqueue(61) dequeue( )

Answer options

Q32:

File Handling

Easy

Computer Science

Sequence the steps to write data to a file and then read it back: (A). Write data to the file. (B). Open the file in w+ mode. (C). Read the data from the file. (D). Seek to the beginning of file.

Answer options

Q34:

Queue

Easy

Computer Science

Which of the following are the operations performed on the DEQUE? (A). INSERTFRONT (B). INSERTREAR (C). DELETIONFRONT (D). DELETIONREAR

Answer options

Q35:

Data Communication

Medium

Computer Science

A text document is to be uploaded at the rate of 15 pages per 25 seconds. The required data rate of the channel will be ________. (Assume that 1 page contains 1200 characters and each character is of 8 bits.)

Answer options

Q36:

File Handling

Easy

Computer Science

Which of the following is the correct method to write into a text file.

Answer options

Q37:

Searching

Easy

Computer Science

The ________ takes elements of the list one by one and generates an index value for every element.

Answer options

Q39:

Database

Medium

Computer Science

Which of the following is NOT true in the context of a relational data model?

Answer options

Q41:

File Handling

Easy

Computer Science

The pickle module is used for _______________and ________ any python object structure.

Answer options

Q43:

Security Aspects

Easy

Computer Science

Match List-I with List-II | List-I | List-II | |---|---| | (A). Spyware | (I). Blocks the user from accessing their own data until demands are met. | | (B). Worms | (II). It does not need human triggering. | | (C). Virus | (III). It needs human triggering. | | (D). Ransomware | (IV). Tracks user internet usage and sells to advertisers. |

Answer options

Q44:

Database

Easy

Computer Science

Which of the following are the valid relational algebra operations in database? (A). Union (B). Cartesian Product (C). Referential Integrity (D). Projection

Answer options

Q46:

Sorting

Easy

Computer Science

Which of the following data list will be the worst case scenario for Insertion Sort?

Answer options

Q47:

Security Aspects

Easy

Computer Science

_________ is an unauthorized real-time interception of private communication between two entities over a network.

Answer options

Q48:

SQL

Medium

Computer Science

For the following table: | ID | Name | Category | Price | Quantity | Supplier | Date | |---|---|---|---|---|---|---| | 301 | Iphone | Electronics | 80000 | 25 | Apple Inc. | 2022-06-10 | | 302 | Samsung | Electronics | 60000 | 40 | Samsung Elec. | 2022-05-15 | | 303 | Nike | Footwear | 12000 | 50 | Nike | 2022-07-01 | | 304 | Dell | Electronics | 90000 | 10 | Dell | 2022-03-20 | | 305 | Puma | Footwear | 8000 | 60 | Puma | 2022-04-05 | What will be the sequence of steps from the following to retrieve the products after May 2022? (A) Use the WHERE clause to filter rows with Date>'2022-05-31' (B) Select columns Name, Category and Date (C) Write the SELECT query (D) Execute the query

Answer options

Q49:

Queue

Easy

Computer Science

Which of the following statement is correct for queue?

Answer options

Q50:

Understanding Data

Easy

Computer Science

"Find the popular cricketer after surveying cricket fans in a city". Choose the suitable statistical method for the above:

Answer options

Q52:

Matplotlib Plotting

Easy

Informatics Practices

In a boxplot, what do the upper and lower whiskers represent?

Answer options

Q53:

Series & DataFrames

Easy

Informatics Practices

Which parameter of the method to_csv() is used to exclude the row label to be written to the file on disk?

Answer options

Q54:

Pandas Data Analysis

Medium

Informatics Practices

| Name | Unit Test | Maths | Science | Hindi | English | |---|---|---|---|---|---| | Riya | 1 | 27 | 26 | 24 | 25 | | Riya | 2 | 26 | 25 | 26 | 24 | | Riya | 3 | 19 | 24 | 28 | 23 | | Arun | 1 | 28 | 23 | 25 | 22 | | Arun | 2 | 29 | 26 | 24 | 24 | | Arun | 3 | 17 | 28 | 23 | 19 | | Rohit | 1 | 20 | 26 | 24 | 26 | | Rohit | 2 | 23 | 25 | 26 | 25 | | Rohit | 3 | 22 | 22 | 27 | 23 | The above DataFrame is created as 'df'. To print the total marks scored by Arun in all subjects in each unit test, we can use:

Answer options

Q55:

Pandas Data Analysis

Medium

Informatics Practices

Match List-I with List-II | List-I | List-II | |---|---| | (A). pivot( ) | (I). Transform and produce a single value from an array. | | (B). GROUP BY( ) | (II). Split - apply - combine. | | (C). pivot_table( ) | (III). Reshape and create a new DataFrame from the original. | | (D). aggregate( ) | (IV). Aggregates the values from rows with duplicate entries for the specified columns. |

Answer options

Q56:

Networks

Easy

Informatics Practices

Which of the following are the types of browsers? A. Opera B. Mosaic C. Netscape Navigator D. Mozilla Firefox

Answer options

Q57:

SQL Functions

Easy

Informatics Practices

Which of the following is TRUE for union operation in SQL?

Answer options

Q58:

Societal Impacts

Easy

Informatics Practices

Which of the following is a way to combat cyber crimes?

Answer options

Q59:

Pandas Data Analysis

Easy

Informatics Practices

You have two dataframes 'df1' and 'df2' having ID columns as common. To merge these two dataframes with only the common indices, we use (assuming pandas as pd is imported):

Answer options

Q60:

Societal Impacts

Easy

Informatics Practices

Which of the following is not an impact of e-waste?

Answer options

Q61:

Networks

Medium

Informatics Practices

Arrange the following in sequence of execution: (A). Calls an application in response to the HTTP request (B). HTTP response (C). HTTP request (D). Program executes and produces HTML output

Answer options

Q63:

SQL Functions

Easy

Informatics Practices

| EmpID | EmpName | Dept. | Salary | Location | Rating | |---|---|---|---|---|---| | 201 | Smith | IT | 75000 | Chicago | 4.5 | | 202 | Jane | HR | 60000 | New York | 4.7 | | 203 | Alice | Finance | 80000 | San Francisco | 4.8 | | 204 | Bob | IT | 76000 | Denver | 4.6 | | 205 | Sarah | Marketing | 68000 | Seattle | 4.9 | From the above table 'EMPLOYEE', which query will retrieve employees with rating above 4.6?

Answer options

Q64:

Series & DataFrames

Medium

Informatics Practices

Which of the following are false about a DataFrame? (A). It only allows homogeneous data. (B). It does not allow missing values. (C). It allows row and column indexing. (D). It does not allow selection, deletion, addition, and renaming operations on rows and columns.

Answer options

Q66:

Matplotlib Plotting

Medium

Informatics Practices

In a histogram, what does it mean if the distribution is positively skewed?

Answer options

Q67:

SQL Functions

Easy

Informatics Practices

To return the number of characters in a specified string, the correct syntax is _____.

Answer options

Q68:

Networks

Easy

Informatics Practices

Website by the government of India for online courses for students and teachers is:

Answer options

Q69:

Series & DataFrames

Easy

Informatics Practices

Match List-I with List-II | List-I | List-II | |---|---| | (A). to_csv( ) | (I). Specifies the column labels. | | (B). read_csv( ) | (II). Saves the file as .csv to a memory location. | | (C). Header | (III). Reads the file from a memory location. | | (D). Sep | (IV). Specifies the delimiter for values. |

Answer options

Q70:

Networks

Easy

Informatics Practices

A dynamic page displays personal user recommendations. Which technologies would be primarily involved?

Answer options

Q71:

SQL Functions

Easy

Informatics Practices

Which of the following are single row functions? (A). LTRIM( ) (B). DAYNAME( ) (C). AVG( ) (D). MOD( )

Answer options

Q72:

Pandas Data Analysis

Medium

Informatics Practices

data = {'Store: ['Shop1', 'Shop'3, 'Shop1', 'Shop2', 'Shop3', 'Shop1', 'Shop2', 'Shop3'], 'Sales(Rs)': [15000, 36000, 45000, 24000, 10000, 43000, 32000, 15000], 'Year': [2016, 2016, 2017, 2017, 2017, 2018, 2018, 2018], 'Profit': [1200, 5600, 3400, 8000, 4800, 3500, 2400, 12000]} The above DataFrame was created as 'df'. To find the maximum sale for Store 'Shop2', we will use _______.

Answer options

Q73:

Pandas Data Analysis

Easy

Informatics Practices

During the handling of missing values, in which function we use 'inplace = True' parameter in pandas to make changes in original DataFrame?

Answer options

Q74:

Matplotlib Plotting

Easy

Informatics Practices

What is the primary purpose of boxplot in data visualization?

Answer options

Q75:

Networks

Easy

Informatics Practices

__________ is used to store and deliver the contents of a website to clients such as a browser that requests it.

Answer options

Q76:

SQL Functions

Easy

Informatics Practices

| EmpID | EmpName | Dept. | Salary | Location | Rating | |---|---|---|---|---|---| | 201 | Smith | IT | 75000 | Chicago | 4.5 | | 202 | Jane | HR | 60000 | New York | 4.7 | | 203 | Alice | Finance | 80000 | San Francisco | 4.8 | | 204 | Bob | IT | 76000 | Denver | 4.6 | | 205 | Sarah | Marketing | 68000 | Seattle | 4.9 | Based on the table 'EMPLOYEES' above, what will be the correct sequence of the following statements that will provide the total number of employees in each dept? (A) SELECT column Dept (B) GROUP BY Dept (C) COUNT(*) the total number of employees (D) FROM the table EMPLOYEES

Answer options

Q77:

Societal Impacts

Easy

Informatics Practices

Which of the following is an example of a passive digital footprints?

Answer options

Q79:

Matplotlib Plotting

Easy

Informatics Practices

What does plt.legend( ) function do?

Answer options

Q80:

Series & DataFrames

Easy

Informatics Practices

What will be the result when two Pandas Series being combined have mismatched indices?

Answer options

Q81:

Pandas Data Analysis

Easy

Informatics Practices

.fillna(method = 'pad') replaces the missing value by _________ .

Answer options

Q82:

Societal Impacts

Easy

Informatics Practices

A cookie that gets recreated after being deleted is called ______.

Answer options

Q83:

Matplotlib Plotting

Medium

Informatics Practices

Which of the following represent the range of the data? (A). Box plot (B). Line plot (C). Pie chart (D). Histogram

Answer options

Q84:

Series & DataFrames

Easy

Informatics Practices

Match List-I with List-II | List-I | List-II | |---|---| | (A). loc[ ] | (I). Access using condition | | (B). .iloc[ ] | (II). Access through labels | | (C). Boolean indexing | (III). Access through position | | (D). Slicing | (IV). Create a subset of the Array |

Answer options

Q85:

Matplotlib Plotting

Easy

Informatics Practices

Match List-I with List-II | List-I | List-II | |---|---| | (A). Line Chart | (I). Represents data with bars | | (B). Bar Chart | (II). Represents data trends over time | | (C). Scatter Plot | (III). Plots relationship between two variables | | (D). Pie Chart | (IV). Represents parts of a whole |

Answer options

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

Every question from the CUET Computer/IP 2025 22 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.