>
questions
List of practice Questions
For best case, linear search, searches
CUET (UG) - 2023
CUET (UG)
Computer Science
Sorting Algorithms
Which of the following statement(s) is/are true?
A. When two elements map to the same slot in hash table, it is called hashing.
B. Linear search takes a sorted list and divides it in the middle.
C. Modulo division method is a Hashing method.
D. Traversing specifies whether the key is present in the list or not.
E. Binary search takes a sorted/ordered list and divides it in the middle.
CUET (UG) - 2023
CUET (UG)
Computer Science
Sorting Algorithms
The number of swaps made in pass 1 for the following list using Insertion sort is:
\[ 9, 8, 14, 2, -8, 5 \]
CUET (UG) - 2023
CUET (UG)
Computer Science
Sorting Algorithms
What will be the status of the list (given below) after pass 2 using Bubble sort?
\[ 8, 7, 13, 1, -9, 4 \]
CUET (UG) - 2023
CUET (UG)
Computer Science
Sorting Algorithms
In ............ topology, if the server is not working, the entire network does not work.
CUET (UG) - 2023
CUET (UG)
Computer Science
Network Topologies
Which of the following device filters the data before forwarding it?
A.
Switch
B.
Repeater
C.
Gateway
D.
Ethernet Card
CUET (UG) - 2023
CUET (UG)
Computer Science
Networking Devices
The statements inside the ............ block are always executed regardless of whether an exception occurred in the ................. block. What will be the appropriate clause in the above statement respectively?
CUET (UG) - 2023
CUET (UG)
Computer Science
Exception Handling
Which of the file modes in the following is invalid for a text-file?
CUET (UG) - 2023
CUET (UG)
Computer Science
File Handling in Python
Which offset of the seek() method in the following is not valid?
CUET (UG) - 2023
CUET (UG)
Computer Science
File Handling in Python
Evaluate the following postfix expression and find the correct value in the following: 50, 60, +, 20, 10, -, *
CUET (UG) - 2023
CUET (UG)
Computer Science
Postfix Evaluation
Which of the following is a service that does the mapping between domain name and IP address?
CUET (UG) - 2023
CUET (UG)
Computer Science
Networking Protocols
The criteria for selecting a primary key for a table:
A.
It must uniquely identify the row.
B.
It cannot have NULL value.
C.
It can have NULL value.
D.
It can have duplicate values.
E.
It never uniquely identifies the row.
%Option
CUET (UG) - 2023
CUET (UG)
Computer Science
Database Concepts
SQL applies conditions on the groups through which clause after groups have been formed?
CUET (UG) - 2023
CUET (UG)
Computer Science
SQL
If column "Payment" contains the data set \{10000, 15000, 25000, 10000, 15000\}, what will be the output after the execution of the given query?
\[ \text{SELECT SUM(DISTINCT PAYMENT) FROM EMPLOYEE;} \]
CUET (UG) - 2023
CUET (UG)
Computer Science
SQL
Which of the following is not an aggregate function?
CUET (UG) - 2023
CUET (UG)
Computer Science
SQL
What is the output of the following SQL query?
\[ \text{mysql} \,>\, \text{SELECT RIGHT("PRAYGRAJ", 3);} \]
CUET (UG) - 2023
CUET (UG)
Computer Science
SQL
Match List I with List II
LIST I
LIST II
A. HTTP
IV. Hyper Text Transfer Protocol
B. FTP
I. File Transfer Protocol
C. SMTP
II. Simple Mail Transfer Protocol
D. TCP
III. Transmission Control Protocol
CUET (UG) - 2023
CUET (UG)
Computer Science
Networking Protocols
If a computer connected to a star topology fails, the entire network will ..................
CUET (UG) - 2023
CUET (UG)
Computer Science
Network Topologies
Which key is used to link two tables together?
CUET (UG) - 2023
CUET (UG)
Computer Science
Database Concepts
Answer the question on the basis of following passage:
Lenovo India decided to strengthen its diversifying numbers. It decided to tap its referral system. The company asked its employees to recommend candidates and decided to reward those who successfully recommended more women for the same roles.
Today, technology major Infosys for instance, has enhanced the use of technology for the employees' referral process. It has created a portal where employees can view requirements and submit profiles of candidates directly. Employees can then track the status of their referral real-time.
Which of the following is an internal source of recruitment?
CUET (UG) - 2023
CUET (UG)
Business Studies
Recruitment
Answer the question on the basis of following passage:
Lenovo India decided to strengthen its diversifying numbers. It decided to tap its referral system. The company asked its employees to recommend candidates and decided to reward those who successfully recommended more women for the same roles.
Today, technology major Infosys for instance, has enhanced the use of technology for the employee's referral process. It has created a portal where employees can view requirements and submit profiles of candidates directly. Employees can then track the status of their referral real-time.
Which of the following is not included in external sources of recruitment?
CUET (UG) - 2023
CUET (UG)
Business Studies
Recruitment
Match List I with List II
LIST I
LIST II
A. write lines
III. Writing a sequence of string
B. pickle
I. Module for binary files
C. try-except
IV. Exception handling
D. rb
II. Opening and reading a binary file
CUET (UG) - 2023
CUET (UG)
Computer Science
File Handling in Python
Which of the following represents the mode of both writing and reading in binary format in a file?
CUET (UG) - 2023
CUET (UG)
Computer Science
File Handling in Python
Which of the following is not a valid mode to open a file?
CUET (UG) - 2023
CUET (UG)
Computer Science
File Handling in Python
Which error is generated by pickle.load() function when you reach end-of-file while reading from the file?
CUET (UG) - 2023
CUET (UG)
Computer Science
File Handling in Python
Prev
1
...
3299
3300
3301
3302
3303
...
7098
Next