Q1:

Database

Easy

common

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) Database Schema | (I) the state or snapshot of the database at any given time. | | (B) Data Constraints | (II) handle various queries for data retrieval and manipulation. | | (C) Database Instance | (III) design of a database. | | (D) Database Engine | (IV) certain restrictions or limitations on the type of data. |

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

Q2:

Database

Easy

common

A STUDENT relation have attributes: *RollNumber, Sname, SDateofBirth, GuardianID*. Which among the following attributes is best suited as Primary Key?

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

Q4:

SQL

Easy

common

Which of the following is the correct syntax of UPDATE command?

Answer options
Option 3
Correct Answer
Explanation for 2025: 27 May Shift 2 CSE question 4

Q5:

Networks

Medium

common

A user wants to upload a text document at the rate of 20 pages per 30 seconds. Each page contains 1200 characters, and each character is of 8 bits. What will be the required data rate of the channel in kbps?

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

Q8:

SQL

Easy

common

What will be the output of the following SQL command? select LTRIM(string) ;

Answer options
Option 2
Correct Answer
Explanation for 2025: 27 May Shift 2 CSE question 8

Q9:

SQL

Medium

common

Which of the following are valid Date Functions in SQL ? (A) DATE( ) (B) DAY( ) (C) DAYYEAR( ) (D) DAYNAME( )

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

Q11:

SQL

Easy

common

Which of the following SQL statement will display all the records of employee "Mahesh" having employee ID =101 in the relation 'EMPLOYEE' on the basis of 'EMPID'?

Answer options

Q12:

Networks

Easy

common

In Data Communication, which of the following is a one way or unidirectional between two devices, in which one device is sender and other one is receiver?

Answer options

Q15:

SQL

Easy

common

Consider the relation 'EMPLOYEE' : *[EmpNo, Ename, Salary,Bonus, DeptId]* Which among the following SQL query will display the unique department number for all the employees from the given 'EMPLOYEE' relation?

Answer options

Q16:

Security Aspects

Easy

Computer Science

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) Adware | (I) Record the daily keyboard usage. | | (B) Keyloggers | (II) Governs how data can be transmitted over WWW. | | (C) HTTP | (III) Used by websites to store browsing information of the user. | | (D) Cookies | (IV) Created to generate revenue. |

Answer options

Q17:

SQL

Easy

Computer Science

Write the correct order of UPDATE command onto the 'employee' table to update the Emp_contact, Emp_sal fields having Emp_id 105. (A) SET Emp_contact=8985852, Emp_sal=11242 (B) UPDATE employee (C) WHERE (D) Emp_id =105 (E) ;

Answer options

Q18:

Searching

Easy

Computer Science

Which technique is used to search the key in a list using remainder method?

Answer options

Q19:

Exception Handling

Easy

Computer Science

Write the following Python Program in correct sequence ? (A) print("Handling exception using try...except...else") (B) except ZeroDivisonError: print("Denominator as zero is not allowed") (C) else : print("the result of division operation is quotient") (D)try : numerator =50 denom=int(input("enter the denominator:")) quotient=(numerator/denom) print("Division performed successfully")

Answer options

Q20:

Data Communication

Easy

Computer Science

Which of the following is a medium for unguided transmission?

Answer options

Q22:

Data Communication

Medium

Computer Science

The electromagnetic spectrum for Infrared waves is in range _________.

Answer options

Q23:

Searching

Medium

Computer Science

Which of the following features with respect to Binary Search algorithm are **correct**? (A) List should be arranged in either an ascending or descending order of their key values. (B) The key to be searched is compared with the element in the middle of a sorted list. (C) If the middle element is greater than or less than the key, it means that the key is present in either half of the list and repeats the process in the halfs. (D) The key to be searched is compared with the first element of the sorted list.

Answer options

Q24:

Understanding Data

Easy

Computer Science

If the variance of a dataset is 0, what can be said about the data?

Answer options

Q25:

Searching

Easy

Computer Science

Consiser the following linear list 'L': L=[11,32,17,19,23,29,42] Determine the number of comparisons a linear search will take to search for key 42.

Answer options

Q26:

File Handling

Medium

Computer Science

What will be the output of the following program? f=open("comp.txt","r") for line in f: words=line.split() for i in words: for letter in i : if(letter.isdigit()): print(letter)

Answer options

Q27:

Sorting

Medium

Computer Science

In the context of the Selection Sort Algorithm for ascending order, arrange the following sequences: (A) The list is considered to be divided into two lists - the left list contains sorted elements, while the right list contains unsorted elements. (B) The smallest element is then swapped with the leftmost element of the unsorted element. (C) This process 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

Q28:

Database

Easy

Computer Science

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) PRIMARY KEY | (I) A set of one or more attributes that can be used to uniquely identify the tuples in the relation. | | (B) COMPOSITE PRIMARY KEY | (II) Out of one or more candidate keys, an attribute is chosen to uniquely identify the tuples. | | (C) CANDIDATE KEY | (III) The primary key consists of more than one attribute. | | (D) FOREIGN KEY | (IV) Used to relate two tables or relations. |

Answer options

Q29:

Stack

Easy

Computer Science

Which of the following condition will occur if one tries to delete an element from Empty STACK ?

Answer options

Q30:

Queue

Easy

Computer Science

What will be the status of QUEUE after the end of following operations? enqueue(34) enqueue(54) dequeue( ) enqueue(12) enqueue(15) dequeue( ) enqueue(71)

Answer options

Q31:

SQL

Easy

Computer Science

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) SELECT | (I) combines the rows together that contains the same values in a specified column | | (B) WHERE | (II) retrieve data from tables | | (C) ORDER BY | (III) display data in an ordered form with respect to a specified column | | (D) GROUP BY | (IV) retrieve data that meet some specified conditions |

Answer options

Q32:

Networks

Medium

Computer Science

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) Modem | (I) Encrypts web traffic | | (B) ISP | (II) Translates domain names to IP addresses | | (C) DNS | (III) Conects devices to the Internet | | (D) HTTPS | (IV) Provides access to the Internet backbone |

Answer options

Q34:

Understanding Data

Easy

Computer Science

In a normal distribution, approximately what percentage of data falls within one standard deviation of the mean?

Answer options

Q35:

Sorting

Medium

Computer Science

For the list [35, 9, 12, 51, 32, 21], how will the list elements look like after second pass in Bubble Sort?

Answer options

Q36:

Security Aspects

Easy

Computer Science

________ is an attack where the flooded requests come from compromised computer systems distributed across the globe or a very large area.

Answer options

Q38:

Queue

Easy

Computer Science

The QUEUE data structure satisfies which of the following conditions? (A) First In First Out (FIFO) principle. (B) It is an ordered linear list of elements. (C) It is an unordered linear list of elements. (D) Insertion is done at front end and deletion is done at rear end.

Answer options

Q39:

Stack

Easy

Computer Science

IF STACK 'S' is implemented with the list, having elements [23,24,35,37], The TOP of the STACK element is 37. After that, the following operations take place in sequence. 1. PUSH(40) 2. PUSH(43) 3.POP( ) 4. PUSH(56) What will be the order of elements in the STACK 'S' after the completion of the above operations?

Answer options

Q40:

Exception Handling

Medium

Computer Science

When an exception is raised, ___________ type of built-in-exception occurs. (A) SyntaxError (B) ValueError (C) KeyBoardInterruptError (D) NameError

Answer options

Q41:

SQL

Medium

Computer Science

What is the use of "HAVING" clause in SELECT query?

Answer options

Q43:

Networks

Easy

Computer Science

Which of these components is internal to a computer and is required to connect the computer to a network?

Answer options

Q45:

Security Aspects

Easy

Computer Science

_________ is software developed with the intention of damaging computer software, hardware, steal data, or causing any other trouble to a user.

Answer options

Q46:

Queue

Medium

Computer Science

A normal linear queue if implemented using an array / list of size MAX_SIZE, gets full when:

Answer options

Q47:

File Handling

Easy

Computer Science

Which of the following command is used to open file "c:\comp.txt" for writing in binary format only?

Answer options

Q48:

Understanding Data

Easy

Computer Science

The type of data in a newspaper is called as __________.

Answer options

Q50:

Stack

Easy

Computer Science

If the Elements "P", "Q", "R", "S" are inserted in order in the Stack and are deleted one at a time, then what will be the order of removal of elements? (A) P (B) Q (C) R (D) S

Answer options

Q51:

Societal Impacts

Easy

Informatics Practices

While using the internet, we should be _________.

Answer options

Q52:

Matplotlib Plotting

Hard

Informatics Practices

You are plotting two datasets with different scales on y-axis. How can you plot them on the same graph, ensuring clarity by using dual y-axis?

Answer options

Q53:

Pandas Data Analysis

Easy

Informatics Practices

Arrange the following in correct order with respect to GROUP BY function: (A) Split the data into groups by using GROUP BY object from the original DataFrame. (B) Import necessary libraries. (C) Combine the results to form a new DataFrame. (D) Apply the required functions.

Answer options

Q54:

SQL Functions

Easy

Informatics Practices

Which of the following are string functions? (A) LEFT(string, n) (B) INSTR(string, substring) (C) MID(string, pos, n) (D) SUBSTRING(string, pos, n)

Answer options

Q56:

SQL Functions

Easy

Informatics Practices

_________ results in all pairs of rows from the two input relations, regardless of whether they have the same values on common attributes.

Answer options

Q57:

Networks

Easy

Informatics Practices

MAC stands for ____________.

Answer options

Q58:

Series & DataFrames

Medium

Informatics Practices

What will be the output of the following code? import pandas as pd data={'name': pd.Series(['Ashu','Arun','Ashi']), 'age':pd.Series([25,30,22]), 'gender':pd.Series(['M','M','F'])} df = pd.DataFrame(data) print(df.loc[0:1,['name','age']])

Answer options

Q59:

Matplotlib Plotting

Easy

Informatics Practices

What does 'plt' signify in the following statement? import matplotlib.pyplot as plt

Answer options

Q60:

Pandas Data Analysis

Easy

Informatics Practices

If you want to find the median age of the employees in a DataFrame 'df_emp', then which pandas method will be used?

Answer options

Q62:

Pandas Data Analysis

Medium

Informatics Practices

Which of the following are the valid ways to calculate the average marks in 'Maths'? (A) df['Maths'].mean() (B) df.loc[:,'Maths'].mean() (C) df.query('Maths').mean() (D) df['Maths'].aggregate('mean')

Answer options

Q63:

Matplotlib Plotting

Medium

Informatics Practices

What does a box plot represents in terms of data distribution? (A) Mean (B) Outliers (C) Skewness (D) Quartiles

Answer options

Q64:

Series & DataFrames

Easy

Informatics Practices

Sometimes we need to extract a part of a series and for that we perform ______ operation.

Answer options

Q65:

Series & DataFrames

Easy

Informatics Practices

How do you select rows from a DataFrame 'df', where the 'Amount' column is greater than 40000?

Answer options

Q66:

Networks

Easy

Informatics Practices

A ________ is a network device that can receive the data, analyze it and transmit it to other networks.

Answer options

Q67:

Networks

Easy

Informatics Practices

In a bus topology, how are the end points of the network terminated?

Answer options

Q68:

Pandas Data Analysis

Easy

Informatics Practices

What is the purpose of the reset_index() in pandas?

Answer options

Q69:

Matplotlib Plotting

Easy

Informatics Practices

Which of the following properties of matplotlib is used to change the type of lines, such as "solid", "dotted", "dashed" etc.?

Answer options

Q71:

Societal Impacts

Easy

Informatics Practices

Which of the following is an example of passive digital footprint?

Answer options

Q72:

Matplotlib Plotting

Easy

Informatics Practices

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) Drawing a line plot | (I) plt.bar(x, height, color = 'blue') | | (B) Saving a line plot | (II) plt.hist(data, bins =20, color='green') | | (C) Drawing a bargraph | (III) plt.plot(x, y, color = 'red') | | (D) Drawing a histogram | (IV) plt.savefig('lineplot.jpg') |

Answer options

Q73:

Series & DataFrames

Medium

Informatics Practices

Consider a DataFrame 'df'. Which of the following statements are **INCORRECT** with respect to following operations? (A) df['a'] = [30,40,50], will add a new column 'a' to the DataFrame 'df'. (B) df.loc['a'] = [30,40,50], will add a new column 'a' to the DataFrame 'df'. (C) df.['a'] = [30,40,50], will add a new row to the DataFrame 'df'. (D) df.drop('a', axis =0) will delete the row with label 'a' from the DataFrame 'df'.

Answer options

Q74:

Series & DataFrames

Medium

Informatics Practices

What is the correct syntax for extracting the last three rows of the DataFrame 'df'?

Answer options

Q75:

SQL Functions

Medium

Informatics Practices

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) The function that can be used with select clause only | (I) single row | | (B) The function that returns the number of values in the specific column ignoring the NULL values | (II) multiple row | | (C) The function that returns the number of records in the table | (III) count(column) | | (D) The function that can be used in select, where and order by clause | (IV) count(*) |

Answer options

Q76:

Networks

Medium

Informatics Practices

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) Mesh | (I) Communication through a backbone | | (B) Ring | (II) Offers redundancy and fault tolerance, ideal for critical applications | | (C) Star | (III) Highly reliable but costly to install | | (D) Bus | (IV) Simple and easy to install but vulnerable to a single point of failure. |

Answer options

Q77:

Matplotlib Plotting

Medium

Informatics Practices

When should you use a log scale for the y-axis in a line plot?

Answer options

Q78:

Societal Impacts

Easy

Informatics Practices

Match **List-I** with **List-II** | List-I | List-II | |---|---| | (A) Plagiarism | (I) Legal right to creator for their original work | | (B) Copyright | (II) Presenting someone's work as your own idea | | (C) Digital footprint | (III) Trail of data reflecting user activities online | | (D) GNU and CC | (IV) Public licenses |

Answer options

Q79:

Societal Impacts

Easy

Informatics Practices

Which of the following is an example of active digital footprint?

Answer options

Q81:

Series & DataFrames

Medium

Informatics Practices

You want to create a new DataFrame 'df3' by merging two DataFrames 'df1', 'df2' on the 'Roll_no' column, then which of the following is the correct syntax for this?

Answer options

Q82:

SQL Functions

Medium

Informatics Practices

______ paymentmode, COUNT(paymentmode) FROM SALETABLE _______ paymentmode _________ COUNT(*)>1 ________ paymentmode; Arrange the words given below to be filled in the blanks in the correct order in the above query. (A) HAVING (B) GROUP BY (C) SELECT (D) ORDER BY

Answer options

Q83:

Pandas Data Analysis

Medium

Informatics Practices

Which of the following functions will read a SQL query into a DataFrame using the connection identifier 'sql_conn'?

Answer options

Q84:

Networks

Easy

Informatics Practices

What is the primary function of a router in a network?

Answer options

Q85:

SQL Functions

Easy

Informatics Practices

What will be the output of the following query? SELECT NOW( ) ;

Answer options

CUET Computer/IP 2025 27 May Shift 2 Past Year Question Paper

Every question from the CUET Computer/IP 2025 27 May Shift 2 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.