>
Computer Science
List of top Computer Science Questions
Calculate the standard deviation of the given temperature below recorded for the 7 days of a week:
24, 24, 21, 20, 26, 27, 30
CUET (UG) - 2026
CUET (UG)
Computer Science
Statistics
A loop within a loop will have the time complexity as ________.
CUET (UG) - 2026
CUET (UG)
Computer Science
Computational Complexity
If a linear search is performed on 10 elements, how many comparisons will be needed in worst case?
CUET (UG) - 2026
CUET (UG)
Computer Science
Searching
Which of the following are examples of unstructured data?
(A) Writing tweets
(B) Recording a video
(C) Marking attendance by the teacher
(D) Filling a form for opening an account
Choose the correct answer from the options given below:
CUET (UG) - 2026
CUET (UG)
Computer Science
Understanding Data
How many passes are required to sort a list of 6 elements using bubble sort?
CUET (UG) - 2026
CUET (UG)
Computer Science
Sorting
What happens even if a key is not present in the list during a linear search?
CUET (UG) - 2026
CUET (UG)
Computer Science
Searching
Which sorting algorithm involves repeatedly selecting the smallest element and placing it in its correct position?
CUET (UG) - 2026
CUET (UG)
Computer Science
Sorting Algorithms
Which of the following is a linear data structure?
(A) Deque
(B) Queue
(C) Stack
(D) Tree
Choose the correct answer from the options given below:
CUET (UG) - 2026
CUET (UG)
Computer Science
Data Structures
Which of the following elements will be present in a queue after the end of the following operation sequence? Assume the queue is empty initially.
enqueue(10)
enqueue(20)
enqueue(30)
dequeue()
enqueue(40)
dequeue()
enqueue(50)
enqueue(60)
(A) 60
(B) 30
(C) 20
(D) 50
Choose the correct answer from the options given below:
CUET (UG) - 2026
CUET (UG)
Computer Science
Introduction to Queue (FIFO)
What will be the postfix equivalent of the expression $(A + B) * (C - D)$?
CUET (UG) - 2026
CUET (UG)
Computer Science
Postfix Notation
In the below stack operation, what will be the output value for the variable 'result'?
result = 0
stack = [10, 20, 30]
stack.append(40)
result += stack.pop()
result += stack.pop()
CUET (UG) - 2026
CUET (UG)
Computer Science
Stack
Which of the following statements is true in the context of a Deque?
CUET (UG) - 2026
CUET (UG)
Computer Science
Data Structures
Which of the following statement is correct with respect to exception handling in python?
CUET (UG) - 2026
CUET (UG)
Computer Science
Exception Handling
Which of the following methods is used to position a file object to a specific position in a file?
CUET (UG) - 2026
CUET (UG)
Computer Science
File Handling in Python
Consider an empty stack. What will the stack look like (starting from the top) after executing the following operations in sequence?
1. push(7)
2. push(5)
3. push(9)
4. push(11)
5. pop()
6. push(22)
(A) 22
(B) 9
(C) 5
(D) 7
Choose the correct answer from the options given below:
CUET (UG) - 2026
CUET (UG)
Computer Science
Stack
The 'raise' keyword in Python is used ________.
CUET (UG) - 2026
CUET (UG)
Computer Science
Exceptions in Python
Arrange the following statements in the correct sequence in order to write multiple strings to a file:
(A) myobj.close()
(B) lines= ["Hello everyone $\backslash$n", "writing multiple strings into file"]
(C) myobj.writelines(lines)
(D) myobj = open ("myfile.txt", 'w')
Choose the correct answer from the options given below:
CUET (UG) - 2026
CUET (UG)
Computer Science
File Handling in Python
Stack follows the ________ principle.
CUET (UG) - 2026
CUET (UG)
Computer Science
Introduction to stack (LIFO Operations)
Which of the following statement is CORRECT about GROUP BY clause in SQL?
CUET (UG) - 2026
CUET (UG)
Computer Science
SQL Queries
An analog device which regenerates the weakened signal appearing on the cable and puts them back is known as
CUET (UG) - 2026
CUET (UG)
Computer Science
Networking Devices
A ________ is an access point between an organization's network and the outside world of the internet.
CUET (UG) - 2026
CUET (UG)
Computer Science
Network devices
Arrange the evolution of networking as per the development timeline:
(A) The Berners-Lee at CERN developed HTML and URL, thus giving birth to World Wide Web (www).
(B) TCP/IP introduced as standard protocol on ARPANET.
(C) Roy Tomlinson develops network messaging or -mail symbol@ comes to mean "at".
(D) ARPANET became functional by connecting UCLA and SRI.
Choose the correct answer from the options given below:
CUET (UG) - 2026
CUET (UG)
Computer Science
Computer Networks
The RJ in RJ-45 connector stands for :
CUET (UG) - 2026
CUET (UG)
Computer Science
Networking Devices
Which query correctly finds a category in the 'Commodity' table that has more than 5 products with a Price greater than 600?
CUET (UG) - 2026
CUET (UG)
Computer Science
Aggregate Functions
Which of the following are multiple row functions?
(A) Sum
(B) Count
(C) Left
(D) Max
Choose the correct answer from the options given below:
CUET (UG) - 2026
CUET (UG)
Computer Science
Aggregate Functions
Prev
1
...
3
4
5
6
7
...
52
Next