Juspay MCQ Question 2025 | Hiring Challenge

Juspay MCQ Question 2025 |Juspay MCQ Hiring Challenge 2025

  • Format: Multiple‑Choice Questions (computer science + aptitude)
  • Duration: 45–60 minutes
  • Sections Covered:
    • Aptitude: Quantitative, logical reasoning, verbal(Only Few)
    • CS Fundamentals: OS, DBMS, network, data structures, basic math/physics ( GeeksforGeeks)
  • Estimated Questions: 20–30 MCQs

Q1. Which of the following scheduling algorithms can cause starvation?

a) First Come First Serve (FCFS)
b) Round Robin
c) Shortest Job First (SJF)
d) Priority Scheduling (with aging)

Correct Answer: c) Shortest Job First (SJF)

Explanation:
SJF gives preference to shorter tasks. If short jobs keep coming, longer jobs may wait indefinitely — leading to starvation.

Q2. What does a context switch mean in an Operating System?

a) Switching from one user to another
b) Switching from user mode to kernel mode
c) Saving and loading a process’s state when changing CPU control
d) Moving data from RAM to cache

Correct Answer: c) Saving and loading a process’s state when changing CPU control

Explanation:
Context switching is the process where the OS switches from one process to another by saving the state (like registers, PC, etc.) of the current process and loading the saved state of the next process.

Q3. Which data structure is best suited for implementing undo operations?

a) Queue
b) Stack
c) Linked List
d) Graph

Correct Answer: b) Stack

Explanation:
Undo operations follow the Last In First Out (LIFO) principle — the last action is the first to be reversed. That’s why stack is ideal.

Q4. What’s the time complexity to insert an element in a Binary Search Tree (BST) (average case)?

a) O(1)
b) O(n)
c) O(log n)
d) O(n log n)

Correct Answer: c) O(log n)

Explanation:
In a balanced BST, each comparison splits the search space in half — like binary search — making it log n time.

Q5. In SQL, what does the term ACID stand for?

a) Access, Control, Indexing, Durability
b) Atomicity, Consistency, Isolation, Durability
c) Aggregate, Column, Integrity, Delay
d) Auto, Cache, Isolation, Dependency

Correct Answer: b) Atomicity, Consistency, Isolation, Durability

Explanation:
ACID ensures database transactions are processed reliably:

  • Atomicity: all or none
  • Consistency: maintains integrity
  • Isolation: no interference
  • Durability: results persist after a crash

Q6. Which of the following SQL statements will remove duplicates?

a) SELECT ALL * FROM students;
b) SELECT * FROM students WHERE DISTINCT;
c) SELECT UNIQUE * FROM students;
d) SELECT DISTINCT * FROM students;

Correct Answer: d) SELECT DISTINCT * FROM students;

Explanation:
DISTINCT keyword eliminates duplicate rows from the result set.

Q7. What is the main purpose of the Transport Layer in OSI model?

a) Converting data into electrical signals
b) Establishing logical connection and data transfer reliability
c) Managing IP addresses
d) Encrypting data

Correct Answer: b) Establishing logical connection and data transfer reliability

Explanation:
Transport layer (TCP/UDP) ensures end-to-end communication and reliability (in case of TCP), error recovery, and flow control.

Q8. Which protocol does ping use?

a) UDP
b) ICMP
c) TCP
d) HTTP

Correct Answer: b) ICMP

Explanation:
ping uses the Internet Control Message Protocol to send Echo Request and receive Echo Reply packets for connectivity checks.

Q9. What is the time complexity of this loop?

for (int i = 1; i < n; i *= 2) {
    // some constant time work
}

a) O(n)
b) O(n log n)
c) O(log n)
d) O(1)

Correct Answer: c) O(log n)

Explanation:
The value of i doubles every time (i *= 2). That means the loop runs log(n) times.

Q10. What will be the output?

def add(x, y=[]):
    y.append(x)
    return y

print(add(1))
print(add(2))

a) [1], [2]
b) [1], [1, 2]
c) [1, 2], [1, 2]
d) Error

Correct Answer: b) [1], [1, 2]

Explanation:
In Python, default mutable arguments (like lists) retain state across function calls. That’s why the second call appends to the same list.

Tips to Prepare


About KN Academy

Welcome to KN Academy Jobs, the premier online job portal for off campus job opportunities. Our mission is to connect talented job seekers with top employers and help them find the perfect fit for their career goals.

We Provide Recent OFF Campus Hiring Drives For 2020/2021/2022/2023 Batch Students. The Domain in Which We Cover Hirings Are Software Engineering , Data Analysis , Web Development

Our Channel Post Jobs For Freshers / Experienced People With Full Job Description Including Hiring Batch , Experience Required
Qualification.

One of the main advantages of fresher jobs is that they provide a platform for individuals to gain valuable work experience, develop new skills, and build a professional network. Many organizations offer on-the-job training and mentoring programs, which can help freshers to quickly adapt to the work environment and advance in their careers.

However, finding a fresher job can be challenging, as there is a lot of competition for entry-level positions. It’s important for freshers to be proactive and take a strategic approach to their job search.