Q1:
Easy
common
Primary key is a combination of which of the following constraints? (A) Unique (B) Distinct (C) Not Null (D) Default
Easy
common
Primary key is a combination of which of the following constraints? (A) Unique (B) Distinct (C) Not Null (D) Default
Easy
common
Identify the type of topology in the figure below: 
Easy
common
Each NIC has a _______ address, which helps in uniquely identifying the computer on the network.
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______.
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.
Easy
common
Which of the following function does not come under the category of scalar functions?
Easy
common
State the output of the following query: SELECT MOD(DAY(“2003-03-24”),3);
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. |
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;
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 |
Easy
common
Which of the following SQL operations are used for modification of database? (A) Insert (B) Update (C) Delete (D) Select
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
Easy
common
Which clause is used to eliminate repetition and display values only once in the SELECT statement?
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.
Easy
common
Cable TV network or cable based broadband internet services are examples of which type of network?
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. |
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 __________.
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.
Easy
Computer Science
A malware once designed, can take many routes to reach your computer. Identify **incorrect** distribution channel for malware:
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?
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.
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.
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’.
Easy
Computer Science
Name the built in exception when an operator is supplied with a value of incorrect data type.
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.
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.
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.
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
Easy
Computer Science
Identify the ***incorrect*** IP address from the following:
Easy
Computer Science
________________ is detected when we have not followed the rules of the particular programming language while writing a program.
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)
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)
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
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]
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 |
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.
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 __________.
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.
Easy
Computer Science
In Reverse Polish expression -
Easy
Computer Science
Identify the example that does not fit in the category of Queue:
Easy
Computer Science
__________ is a set of values from which an attribute can take a value in each row in a relation.
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:
Medium
Computer Science
16 Gbps is equal to how many bits per second (bps)?
Easy
Computer Science
_____________ function always adds an element at the rear of a queue.
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.
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
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.
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. |
Easy
Computer Science
A data set [3,4,5,6,7,8,9] has ______ mode, if each value occurs only once.
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.
Easy
Informatics Practices
The trail that is created when a person uses the Internet is known as _____________.
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 :
Easy
Informatics Practices
The default line width in a line chart is ____pixel showing a thin line.
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.
Easy
Informatics Practices
Identify the browser from the following options.
Easy
Informatics Practices
Which of the following functions does Pandas provide to reshape the DataFrame?
Easy
Informatics Practices
The process of re-selling old electronic goods at lower prices is known as_______.
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
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.
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 _____.
Easy
Informatics Practices
Which of the following functions does not come under the category of statistical functions in Pandas?
Easy
Informatics Practices
Which of the following are 'String Functions'? (A) LENGTH (B) INSTR (C) MID (D) COUNT
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 |
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.
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)
Easy
Informatics Practices
Data can be loaded in a DataFrame from a CSV file on the disk by using Pandas _______function.
Easy
Informatics Practices
Name the device that connects the organisation’s network with the outside world of the Internet.
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)
Medium
Informatics Practices
State the output of the following query: SELECT MID('PYTON PROGRAMS',4,5);
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. |
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_____.
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 _____.
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 |
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. |
Easy
Informatics Practices
Which of the following is **NOT** a valid graph function of matplotlib library?
Easy
Informatics Practices
The plot() function by default plots a _________.
Medium
Informatics Practices
Identify the missing step ?? in the following figure under project based learning: 
Easy
Informatics Practices
Components of a successful teamwork does **NOT** include:
Easy
Informatics Practices
df.fillna(method='pad') replaces the missing value by the value _____the missing value.
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()
Easy
Informatics Practices
Which statistical function of pandas is used to display the average of squared differences from the mean?
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.
Medium
Informatics Practices
State the output of the following query: SELECT LEFT(RTRIM('\$\$PYTHON\$\$'),4); WHERE '\$' REPRESENTS BLANK SPACE.
Easy
Informatics Practices
Which of the following Pandas function checks whether any value is missing or not in the DataFrame?
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']
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.