Q1:

Database

Easy

common

Primary key is a combination of which of the following constraints? (A) Unique (B) Distinct (C) Not Null (D) Default

Answer options
Option 1
Correct Answer
Explanation for 2026: 29 May Shift 1 CSE question 1

Q4:

Networks

Easy

common

A network formed by connecting a few personal devices like computers, laptops, mobile phones, smart phones, printers etc., within an approximate range of 10 metres is known as______.

Answer options
Option 4
Correct Answer
Explanation for 2026: 29 May Shift 1 CSE question 4

Q5:

Database

Easy

common

In Cartesian product operation the degree of the resulting relation is calculated as the _____ of the degrees of both the relations under consideration.

Answer options
Option 4
Correct Answer
Explanation for 2026: 29 May Shift 1 CSE question 5

Q6:

SQL

Easy

common

Which of the following function does not come under the category of scalar functions?

Answer options
Option 4
Correct Answer
Explanation for 2026: 29 May Shift 1 CSE question 6

Q8:

Networks

Medium

common

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) Repeater | (I) A network device used to connect different devices through wires. Data arriving on any of the lines are sent out on all the others. | | (B) Router | (II) A network device that can receive the data, analyse it and transmit to other networks. | | (C) Switch | (III) An electronic device that receives a weak signal and regenerates it. | | (D) Hub | (IV) A networking device that filters network traffic while connecting multiple computers or communicating devices. |

Answer options
Option 1
Correct Answer
Explanation for 2026: 29 May Shift 1 CSE question 8

Q9:

SQL

Easy

common

Consider the following table named “Product”, showing details of products being sold in a grocery shop. | PCode | PName | UPrice | |---|---|---| | P01 | SOAP | 200 | | P02 | SHAMPOO | NULL | | P03 | COMP | 50 | Write the output produced by the following SQL command: SELECT COUNT(UPrice) FROM Product;

Answer options
Option 3
Correct Answer
Explanation for 2026: 29 May Shift 1 CSE question 9

Q10:

SQL

Easy

common

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) NOW() | (I) STRING FUNCTION | | (B) MOD() | (II) AGGREGATE FUNCTION | | (C) COUNT() | (III) NUMERIC FUNCTION | | (D) LENGTH() | (IV) DATE FUNCTION |

Answer options

Q11:

SQL

Easy

common

Which of the following SQL operations are used for modification of database? (A) Insert (B) Update (C) Delete (D) Select

Answer options

Q12:

SQL

Easy

common

Select the correct order of the following while writing a query for grouping of records in SQL. (A) group by (B) having (C) from (D) select

Answer options

Q14:

Database

Easy

common

Identify the operation: It is performed on relations, used to combine the selected rows of two tables at a time. If some rows are the same in both the tables, then the result will show those rows only once.

Answer options

Q16:

Security Aspects

Medium

Computer Science

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) Intrusion Problems | (I) An attacker limits or stops an authorised user to access a service, device, or any such resource by overloading that resource with illegitimate requests. | | (B) Eavesdropping | (II) Asymmetric Routing | | (C) Snooping | (III) An unauthorised real time interception or monitoring of private communication between two entities over a network. | | (D) Denial of Service | (IV) The process of secret capture and analysis of network traffic by malicious users. |

Answer options

Q17:

Networks

Easy

Computer Science

Conversion of the domain name of each web server to its corresponding IP address is called ___________and it is done through a server called __________.

Answer options

Q18:

Searching

Medium

Computer Science

Consider a list [-4, 0, 2, 7, 8, 17, 19]. Apply binary search to find element -4. Determine the number of key comparisons required.

Answer options

Q19:

Security Aspects

Easy

Computer Science

A malware once designed, can take many routes to reach your computer. Identify **incorrect** distribution channel for malware:

Answer options

Q20:

Sorting

Easy

Computer Science

Given : numList = [8, 7, 13, 1, -9, 4] having 6 elements. How many number of passes required to sort numList using selection sort?

Answer options

Q21:

Searching

Medium

Computer Science

Identify the correct order steps involved in search by using Hashing technique. (A) An empty hash table is taken. (B) Use the hash function, applied on the elements of a list and fill the hash table. (C) Compare the element to search at that index with the key to declare whether the element is present in the list or not. (D) Take a list with given elements.

Answer options

Q22:

Data Communication

Medium

Computer Science

Protocols also define- (A) How computers identify one another on a network. (B) How to rearrange the packets and process them at the destination. (C) How to decide whether the data received is for that node or to be forwarded to another node. (D) Ensuring that all the data have reached the destination without any loss.

Answer options

Q23:

Stack

Easy

Computer Science

Which of the following operations performed on the stack are **TRUE?** (A) PUSH adds a new element at the TOP of the stack. (B) POP operation is used to remove the top most element of the stack. (C) Trying to add an element to a full stack results in an exception called ‘underflow’. (D) Trying to delete an element from an empty stack results in an exception called ‘underflow’.

Answer options

Q24:

Exception Handling

Easy

Computer Science

Name the built in exception when an operator is supplied with a value of incorrect data type.

Answer options

Q25:

Database

Easy

Computer Science

The relation GUARDIAN has four attributes: GUID: unique id of the guardian GName: name of the guardian GPhone: contact number of the guardian GAddress: contact address of the guardian Out of which GUID and GPhone always take unique values. No two guardians will have same phone number or same GUID. Hence, these two attributes are the ______________as they both are eligible for primary key.

Answer options

Q26:

Queue

Medium

Computer Science

A deque contains ‘a’,’x’,’z’,’v’ and ‘b’ (from FRONT to REAR). Elements received after deletion are ‘b’,’a’,’v’,’x’ and ‘z’. Identify the sequence of deletion operation performed on deque.

Answer options

Q27:

Stack

Easy

Computer Science

Identify the correct code for the following: A function named 'op' is used to delete the topmost element from the stack. It takes one parameter - the name of the stack (gStack) from which element is to be deleted and returns the value of the deleted element. The function first checks whether the stack is empty or not. If it is not empty, it removes the topmost element from it.

Answer options

Q28:

SQL

Easy

Computer Science

Consider the following Relation 'Sales': Sales(Attribute-CarID, CustID, SaleDate, PaymentMode, EmpID, SalePrice) Arrange the following clauses to form a SQL query to display the Customer Id and number of cars purchased if the customer purchased more than 1 car from 'Sales' table. (A) FROM SALE (B) HAVING Count(*)>1 (C) SELECT CustID, COUNT(*) (D) GROUP BY CustID

Answer options

Q30:

Exception Handling

Easy

Computer Science

________________ is detected when we have not followed the rules of the particular programming language while writing a program.

Answer options

Q31:

Stack

Easy

Computer Science

Find the output of the following code using Stack: result=0 numberList=[5,15,25] numberList.append(35) result=result+numberList.pop() result=result+numberList.pop() print(“Result=”,result)

Answer options

Q32:

SQL

Medium

Computer Science

Consider the following tables in the SchoolUniform database. : Table 1: UNIFORM (UCode, UName, UColor) Table 2: COST (UCode, Size, Price) UCode is Primary Key in table 'UNIFORM' and serves as a Foreign Key in table 'COST' Identify the correct query to display UCode, UName, UColor, Size, Price from both the tables (Display UCode column only once)

Answer options

Q33:

Queue

Easy

Computer Science

Identify TRUE Statements: (A) Queue works on First-In-First-Out (FIFO) principle. (B) Queue is an arrangement in which new objects/items always get added at one end, usually called the REAR, and objects/items always get removed from the other end, usually called the FRONT of the queue. (C) Queue is an ordered linear list of elements, having different ends for adding and removing elements in it. (D) Queue works on Last-In First-Out (LIFO) principle

Answer options

Q34:

File Handling

Easy

Computer Science

Arrange the statements in order to write the record of a student (roll_no, name, gender and marks) in the binary file named mybinary.dat. (Assume pickle module is imported) (A) pickle.dump(listvalues,fileobject) (B) fileobject=open("mybinary.dat", "wb") (C) fileobject.close() (D) listvalues=[1,"Geetika",'F', 26]

Answer options

Q35:

Understanding Data

Medium

Computer Science

**Consider the 'ListA' :** [85,90,90,100,102,110,110,110,115]. Match **List-I - Measures** with **List-II - Output based on ListA:** | List-I - Measures | List-II - Output | |---|---| | (A) Mean | (I) 30 | | (B) Median | (II) 101.33 | | (C) Mode | (III) 102 | | (D) Range | (IV) 110 |

Answer options

Q36:

Data Communication

Easy

Computer Science

Name the transmission waves used for short-distance point-to-point communication such as mobile-to-mobile, mobile-to-printer, remote-control-to-TV, and Bluetooth enabled devices to other devices like mouse, keyboards etc.

Answer options

Q37:

Security Aspects

Easy

Computer Science

If the firewall is placed on a computer and monitors the network traffic to and from that computer, it is called a __________.

Answer options

Q38:

Understanding Data

Medium

Computer Science

Identify the true statements out of the following cases: (A) If teacher wants to know about the average performance of the whole class in a test, mean is used. (B) If the management of a company wants to know about disparity in salaries of all employees, standard deviation is used. (C) To find the dominant value from a set of values, mode is used. (D) To compare income of residents of two cities, median is used.

Answer options

Q39:

Stack

Easy

Computer Science

In Reverse Polish expression -

Answer options

Q40:

Queue

Easy

Computer Science

Identify the example that does not fit in the category of Queue:

Answer options

Q41:

Database

Easy

Computer Science

__________ is a set of values from which an attribute can take a value in each row in a relation.

Answer options

Q42:

Sorting

Easy

Computer Science

Given the function code: def Sort(list1): n = len(list1) for i in range(n): for j in range(0, n-i-1): if list1[j] > list1[j+1] : list1[j], list1[j+1] = list1[j+1], list1[j] Identify the type of sort being done in the above code:

Answer options

Q45:

Sorting

Medium

Computer Science

Arrange the working of Selection Sort on a list in ascending order. (A) The list is divided into two lists - the left list containing the sorted elements, and the right list containing the unsorted elements. Initially, the left list is empty, and the right list contains all the elements. (B) The smallest element is swapped with the leftmost element of the unsorted list, occupies the first position in the sorted list, and is not considered in further passes. (C) The process of finding smallest and swapping continues until n-1 smallest elements are found and moved to their respective places. (D) All the elements in the unsorted list are traversed to find the smallest element.

Answer options

Q46:

Searching

Easy

Computer Science

Given below is the Binary Search function to find an element in a list of elements in ascending order. Find the missing statement 1 and 2. def binarySearch(list, key): first = 0 last = len(list) - 1 while(first<=list): mid=(first+last)//2 if(list[mid]= = key: return mid elif key > list[mid]: ___________ # Statement 1 elif key < list[mid]: __________ # Statement 2 return -1

Answer options

Q47:

Sorting

Easy

Computer Science

In ______________, the smallest element is selected from the unsorted array and swapped with the leftmost element, and that element becomes a part of the sorted array. The process continues for the next element in the unsorted array till the list is sorted.

Answer options

Q48:

File Handling

Medium

Computer Science

Match **List-I** with **List-II** | List-I - Command | List-II - Explanation | |---|---| | (A) fileobject=open("test.txt","r+") | (I) Opens the file in binary and read-only mode. | | (B) fileobject=open("test.txt","+a") | (II) Opens the file in read,write and binary mode. If the file already exists, the contents will be overwritten. If the file doesn’t exist, then a new file will be created. | | (C) fileobject=open("test.dat","+wb") | (III) Opens the file in append and read mode. If the file doesn’t exist, then it will create a new file. | | (D) fileobject=open("test.dat","rb") | (IV) Opens the file in both read and write mode. |

Answer options

Q50:

Searching

Easy

Computer Science

Consider a list of 10 elements: L=[2, 63, 5, 47, 9, 11, 13, 17, 7, 23]. Determine the number of comparisons to search for a key **13** using linear search.

Answer options

Q51:

Societal Impacts

Easy

Informatics Practices

The trail that is created when a person uses the Internet is known as _____________.

Answer options

Q52:

Project-Based Learning

Easy

Informatics Practices

An effort made collectively by individuals to accomplish a task is called teamwork. In a cricket match, even if a bowler bowls a good ball, but if the fielder cannot take a catch then a wicket cannot be taken. So, in order to take a catch :

Answer options

Q54:

Project-Based Learning

Easy

Informatics Practices

______________________ involves the steps such as analysing the problem, formulating the problem into small modules, applying the mechanism or method to solve each module and then integrating the solution of all the modules to arrive at the complete solution of the problem.

Answer options

Q56:

Pandas Data Analysis

Easy

Informatics Practices

Which of the following functions does Pandas provide to reshape the DataFrame?

Answer options

Q57:

Societal Impacts

Easy

Informatics Practices

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

Answer options

Q58:

SQL Functions

Easy

Informatics Practices

Place the following clauses in correct order to write a query in SQL. (A) SELECT FROM (B) HAVING (C) ORDER BY (D) GROUP BY

Answer options

Q59:

Series & DataFrames

Medium

Informatics Practices

Which of the following statements are **TRUE** with respect to data handling uisng Pandas? (A) A Series is a one-dimensional array containing a sequence of values. (B) DF = DF.drop(['Samridhi','Ramit','Riya'], axis=1) will delete the columns having labels 'Samridhi', 'Ramit' and 'Riya'. (C) DataFrame.loc[ ] is used for label based indexing of rows in DataFrames. (D) Pandas.DataFrame.append() method is used to merge two DataFrames.

Answer options

Q60:

Societal Impacts

Easy

Informatics Practices

A kind of cyber crime where the attacker gains access to the computer and blocks the user from accessing, usually by encrypting the data. The attacker blackmails the victim to pay for getting access to the data. This type of cyber crime is known as _____.

Answer options

Q61:

Pandas Data Analysis

Easy

Informatics Practices

Which of the following functions does not come under the category of statistical functions in Pandas?

Answer options

Q62:

SQL Functions

Easy

Informatics Practices

Which of the following are 'String Functions'? (A) LENGTH (B) INSTR (C) MID (D) COUNT

Answer options

Q63:

Networks

Easy

Informatics Practices

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) This topology is of hierarchical nature. | (I) Server | | (B) The set of rules that decide the functioning of a network. | (II) Website | | (C) A computer that provides services to other programs or computers. | (III) Tree | | (D) A collection of related web pages. | (IV) Protocol |

Answer options

Q64:

Networks

Medium

Informatics Practices

Arrange the following steps of hosting a website: (A) Identify a domain name. (B) Get domain name mapped to the IP address of the web server. (C) Upload the files in properly organised folders on the allocated space. (D) Select the web hosting service provider.

Answer options

Q65:

Series & DataFrames

Easy

Informatics Practices

Arrange the following python statement for creation of Series from Dictionary: (A) print(dict1) (B) print(series1) (C) dict1 = {'India': 'NewDelhi', 'UK': 'London', 'Japan': 'Tokyo'} (D) series1 = pd.Series(dict1)

Answer options

Q66:

Pandas Data Analysis

Easy

Informatics Practices

Data can be loaded in a DataFrame from a CSV file on the disk by using Pandas _______function.

Answer options

Q67:

Networks

Easy

Informatics Practices

Name the device that connects the organisation’s network with the outside world of the Internet.

Answer options

Q68:

Series & DataFrames

Medium

Informatics Practices

State the output of the following code fragment. >>>import pandas as pd >>>listDict = [{'a':10, 'b':20}, {'a':5, 'b':10, 'c':20}] >>>dF = pd.DataFrame(listDict) >>>print(dF)

Answer options

Q70:

Matplotlib Plotting

Easy

Informatics Practices

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) plot(\*args[, scalex, scaley, data]) | (I) A scatter plot of x versus y. | | (B) scatter(x, y[, s, c, marker, cmap, norm, ...]) | (II) Plot a histogram. | | (C) hist(x[, bins, range, density, weights, ...]) | (III) Plot x versus y as lines and/or markers. | | (D) bar(x, height[, width, bottom, align, data]) | (IV) Make a bar plot. |

Answer options

Q71:

Societal Impacts

Easy

Informatics Practices

Meena is copying and pasting information from the internet into her report without mentioning the source or the original creator and then organises it. This type of violation of intellectual property right is known as_____.

Answer options

Q72:

Societal Impacts

Easy

Informatics Practices

An unlawful activity, where fake websites or emails that look original or authentic are presented to the user to fraudulently collect sensitive and personal details, particularly usernames, passwords, banking and credit card details is known as _____.

Answer options

Q73:

Matplotlib Plotting

Easy

Informatics Practices

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) matplotlib.pyplot.xlabel() | (I) To build a plot | | (B) matplotlib.pyplot.title() | (II) To display the heading of a plot | | (C) matplotlib.pyplot.show() | (III) To display the figure | | (D) matplotlib.pyplot.plot() | (IV) To set the x label of the plot |

Answer options

Q74:

Series & DataFrames

Easy

Informatics Practices

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) DataFrame.head() | (I) To display row labels. | | (B) DataFrame.T | (II) To display a tuple representing the dimensionality of the DataFrame. | | (C) DataFrame.shape | (III) Row indices and column labels of the DataFrame replace each other’s position. | | (D) DataFrame.index | (IV) To display the first 5 rows in the DataFrame. |

Answer options

Q75:

Matplotlib Plotting

Easy

Informatics Practices

Which of the following is **NOT** a valid graph function of matplotlib library?

Answer options

Q77:

Project-Based Learning

Medium

Informatics Practices

Identify the missing step ?? in the following figure under project based learning: ![Figure](https://balti.afterboards.in/pyp/cuetcse-bhgjw2.png)

Answer options

Q78:

Project-Based Learning

Easy

Informatics Practices

Components of a successful teamwork does **NOT** include:

Answer options

Q79:

Pandas Data Analysis

Easy

Informatics Practices

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

Answer options

Q80:

Matplotlib Plotting

Easy

Informatics Practices

Rohit wants to plot a 'pie' chart showing information about the planet's mass and radius. Help him to place the following statements in proper order. Assume the matplotlib and pandas library are already included in the code. (A) AD= {'mass': [0.330, 4.87 , 5.97], 'radius': [2439.7, 6051.8, 6378.1]} (B) df.plot(kind='pie',y='mass') (C) df = pd.DataFrame(AD) (D) plt.show()

Answer options

Q81:

Pandas Data Analysis

Easy

Informatics Practices

Which statistical function of pandas is used to display the average of squared differences from the mean?

Answer options

Q82:

Pandas Data Analysis

Easy

Informatics Practices

DataFrame.max() is used to calculate the maximum values from the DataFrame, regardless of its data types. If we want to output maximum value for the columns having only numeric values, then we can set the parameter numeric_only as ___ in the max() method.

Answer options

Q83:

SQL Functions

Medium

Informatics Practices

State the output of the following query: SELECT LEFT(RTRIM('\$\$PYTHON\$\$'),4); WHERE '\$' REPRESENTS BLANK SPACE.

Answer options

Q84:

Pandas Data Analysis

Easy

Informatics Practices

Which of the following Pandas function checks whether any value is missing or not in the DataFrame?

Answer options

Q85:

Series & DataFrames

Medium

Informatics Practices

Help Mohan for displaying a column of a DataFrame 'DF' as he is confused among the following options. (A) DF.loc['COLUMN NAME'] (B) DF[COLUMN NAME] (C) DF.COLUMN NAME (D) DF['COLUMN NAME']

Answer options

CUET Computer/IP 2026 29 May Shift 1 Past Year Question Paper

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