>
CPET
List of top Questions asked in CPET
Which of the following is a major advantage of CDMA over FDMA and TDMA?
CPET - 2025
CPET
Computer Science
Wireless Communication - Multiple Access
In the Pumping Lemma, which condition must hold for the substring y in \( w = xyz \)?
CPET - 2025
CPET
Computer Science
Automata Theory
Which of the following is a necessary condition for a connected graph to have an Eulerian circuit?
CPET - 2025
CPET
Computer Science
Graph Theory
What is the general solution of the recurrence relation \( a_n = 2a_{n-1} \) with \( a_0 = 5 \)?
CPET - 2025
CPET
Computer Science
Recurrence Relations
In how many ways can a committee of 3 people be selected from a group of 7?
CPET - 2025
CPET
Computer Science
Combinatorics
Which of the following statements is TRUE about FSMs (Finite State Machines)?
CPET - 2025
CPET
Computer Science
Automata Theory
What is the truth value of the proposition (P → Q) ∧ (¬Q) when P is true and Q is false?
CPET - 2025
CPET
Computer Science
Discrete Mathematics - Propositional Logic
According to the Principle of Inclusion-Exclusion, for two sets A and B, the formula for |A ∪ B| is:
CPET - 2025
CPET
Computer Science
Discrete Mathematics - Propositional Logic
In Boolean algebra, which of the following statements is true regarding SOP and POS forms?
CPET - 2025
CPET
Computer Science
Digital Logic - Boolean Algebra
What happens when a transaction is rolled back?
CPET - 2025
CPET
Computer Science
DBMS - Transaction Schedules
Which schedule ensures that transactions are executed in the same order as they appear without interleaving?
CPET - 2025
CPET
Computer Science
DBMS - Transaction Schedules
What will be the result of the following SQL query?
SELECT COUNT(*) FROM Employees;
CPET - 2025
CPET
Computer Science
DBMS - SQL Aggregate Functions
Which concurrency control technique ensures that transactions are executed in a serial order?
CPET - 2025
CPET
Computer Science
DBMS - Concurrency Control
What is the result of a Cartesian Product (×) between two relations R(A, B) and S(C, D)?
CPET - 2025
CPET
Computer Science
DBMS - Relational Algebra
A functional dependency X → Y is considered a transitive dependency if:
CPET - 2025
CPET
Computer Science
DBMS Normalization
Which method is used to pause the execution of a thread for a specific period?
CPET - 2025
CPET
Computer Science
Java Strings
What is a weak entity in an ER model?
CPET - 2025
CPET
Computer Science
DBMS ER Model
What will be the output of the following Java code?
public class Test {
public static void main(String[] args) {
try {
int a = 5 / 0;
} catch (ArithmeticException e) {
System.out.println("Arithmetic Exception caught");
}
System.out.println("Code continues...");
}
}
CPET - 2025
CPET
Computer Science
Java Exception Handling
What will be the output of the following Java code?
public class Hello {
public static void main(String[] args) {
String str = "Hello";
str.concat(" World");
System.out.println(str);
}
}
CPET - 2025
CPET
Computer Science
Java Strings
What will happen if a
return
statement is present inside a
try
block and also in the
finally
block?
CPET - 2025
CPET
Computer Science
Java Exception Handling
What is the use of the final keyword in Java?
CPET - 2025
CPET
Computer Science
Java Operators
What will be the output of the following Java code?
public class Test {
public static void main(String[] args) {
int x = 5;
System.out.println(++x * 2);
}
}
CPET - 2025
CPET
Computer Science
Java Operators
Which of the following problems can occur due to improper process synchronization?
CPET - 2025
CPET
Computer Science
Operating Systems - Process Synchronization
What will be the output of the following Java code?
public class Check {
public static void main(String[] args) {
int a = 5;
System.out.println(a > 2 ? a < 5 ? 10 : 20 : 30);
}
}
CPET - 2025
CPET
Computer Science
Java Operators
What is a safe state in deadlock avoidance?
CPET - 2025
CPET
Computer Science
Operating Systems - Virtual Memory
Prev
1
...
13
14
15
16
Next