Q1:
Medium
common
State the output: SELECT LEFT(RIGHT("COMPUTER SCIENCE",7),3), MID(UCASE("informatics"),3,4);
Medium
common
State the output: SELECT LEFT(RIGHT("COMPUTER SCIENCE",7),3), MID(UCASE("informatics"),3,4);
Easy
common
Software that is used to create, manipulate and maintain a relational database is known as _____________.
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;
Easy
common
_______________ is an exhaustive searching technique, where every element of a given list is compared with the item to be searched.
Easy
common
When two elements map to the same slot in the hash table it is called ___________.
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.
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;
Easy
common
Identify the single row function from the following:
Easy
common
________ errors are detected when we have not followed the rules of the particular programming language while writing a program.
Easy
common
Find the output: SELECT POWER(3, MOD(15,5));
Easy
common
_____ is a restriction on the type of data that can be inserted into the table.
Easy
common
__________ is the inverse of pickling process, where a byte stream is converted back to Python object.
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. |
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.**
Easy
common
Given: TableA: | Name | Course | |---|---| | Prakriti | IP | | Yoshit | Maths | TableB: | Name | Course | |---|---| | Prakriti | IP | | Anmol | Painting | Find TableA - TableB:
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 _________ .
Easy
Computer Science
Which of the following constraints cannot take NULL values?
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')
Easy
Computer Science
Arrange the following statements in correct order. (A) HAVING CLAUSE (B) FROM TABLENAME (C) GROUP BY (D) SELECT (AGGREGATE FUNCTION)
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.
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 _______________ .
Easy
Computer Science
______ is raised when the file specified in a program statement cannot be opened.
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()
Easy
Computer Science
Identify the correct code to open a file "file1.txt", but not required to close the file using close() statement:
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
Easy
Computer Science
Which of the following is an antivirus software?
Easy
Computer Science
 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.
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.
Easy
Computer Science
What is an underflow condition?
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.
Easy
Computer Science
When there are odd number of values, then median is __________. If the list has even number of values, then median is ________________.
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?
Medium
Computer Science
Identify the **incorrect** statement in the context of Protocols:
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 |
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.
Easy
Computer Science
A/An _______ is any organization that provides services for accessing the Internet.
Easy
Computer Science
Identify the correct feature of 'Full Duplex' form of data communication:
Easy
Computer Science
MAC Address is ______ and IP Address is ________.
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]
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. |
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.
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()
Medium
Computer Science
Find the output of the following SQL statement: SELECT DAY('2010-03-03')+MONTH('2011-04-05')+YEAR('2012-06-09');
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.
Easy
Computer Science
Which measure of central tendency is not a suitable choice to use if there are outliers in the data?
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)
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
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
Easy
Computer Science
It is a hierarchical topology, in which there are multiple branches and each branch can have one or more basic topologies.
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.
Easy
Informatics Practices
The process of re-selling old electronic goods at lower prices is called_________.
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 |
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. |
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
Easy
Informatics Practices
_____is the service that allows a person to post the website created locally, so that it can be viewed publically.
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 _______.
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 |
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
Easy
Informatics Practices
A DataFrame can be created from:- (A) Dictionary of lists (B) List of dictionaries (C) Numpy array (D) Series
Easy
Informatics Practices
Net-etiquette includes avoiding:- (A) Cyber trolls (B) Cyber bullies (C) Copyright violations (D) Respecting privacy
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 |
Easy
Informatics Practices
Find the output of the following query: SELECT LEFT(RIGHT(UCASE('computer science'),7),3);
Easy
Informatics Practices
Pandas provides ___________ function to check for the missing values in a DataFrame.
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])
Easy
Informatics Practices
A hotspot connection is an example of___ type of network.
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])
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_______.
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?
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')
Easy
Informatics Practices
The network topology in which each communicating device is connected with every other device in the network is known as _______.
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() |
Easy
Informatics Practices
The protocol used for carrying voice calls over digital networks is________.
Medium
Informatics Practices
State the output of the following query:- SELECT MOD(987,0);
Easy
Informatics Practices
Pandas provides ____ function to sort the data values of a DataFrame.
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
Easy
Informatics Practices
Which of the following does not fall in the category of e-waste?
Easy
Informatics Practices
The first page of a website is called:
Easy
Informatics Practices
State the output: SELECT MONTH('2003/11/6');
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 _____________.
Easy
Informatics Practices
In a histogram the data is sorted into __________, which is the number of intervals in which the entire data is divided.
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)
Medium
Informatics Practices
DataFrame.quartile() is used to get quartiles. By default DataFrame.quartile() will display ____ quantile.
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')
Easy
Informatics Practices
State the output of the following query :- SELECT ROUND(3456.345,0);
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 |
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.