Jobra
🐞Step 1 of Jobra:AI Debugging Rounds
DSA+AIPreparing you for both.
JOBRA · AI DEBUG ROUND (PREVIEW)sum.cpp
// buggy snippet
int total(vector<int>& a, int n) {
    int sum = 0;
    for (int i = 0; i <= n; i++) { // 🐞        sum += a[i];
    }
    return sum;
}
A real codebase. A real bug. You + AI.

Jobra drops you into a broken repo. Find it, fix it, ship it. AI helps you debug like on the job.

Prompt:Correct the loop condition
Tap 'Let Jobra fix it' below to simulate AI debugging...

Commonwealth Bank of Australia Data Scientist Campus Guide: MCQs, One SQL Query and One Python Question

3 min read

Prepare for Commonwealth Bank of Australia data scientist interviews with reported assessment patterns, interview questions, and preparation advice.

In this article
On this page

Last reviewed November 16, 2026.

For students applying for data science roles.

Built by the Codinzhub team from CBA online assessment questions that IIT students shared on Codinzhub on October 30 and 31, 2026. Each one is one student's memory of their paper, so use this as a map, not a promise.

The 30-second version. CBA's data science OA at IIT Roorkee had 25 to 35 MCQs, 1 SQL query and 1 Python coding question. The MCQs mix probability (including Bayes' rule) and data interpretation. The SQL was simple (an average with no join), and the coding question was maximum product subarray.

How this guide was built. The OA comes from IIT Roorkee students' posts on Codinzhub. No interview rounds have been posted yet, so that section is marked as research.

Other CBA campus roles: Graduate engineer · Data scientist

Round-by-round breakdown

Stage 1: Online assessment

At a glance

  • Length: about an hour
  • Questions per round: 25 to 35 MCQs, 1 SQL, 1 Python
  • What was asked: Bayes' rule, data interpretation, a single-table average, maximum product subarray
  • Most common: the maximum product subarray

What students were asked:

PartQuestion (our summary)How to approach itPractice
MCQ20% travel by bus, 80% of them arrive at 9 a.m.; given someone arrived at 9, what is the chance they took the bus?Bayes' ruleData Science MCQs
SQLThree tables given, but use only MenuItems to return the average priceSELECT AVG(Price) FROM MenuItems; do not joinSQL, Find the Average
PythonLargest product of a contiguous subarray (n up to 100,000, values −10 to 10)Track both the max and min product ending at each indexMaximum Subarray Product, Maximum Product Subarray

Watch out. With values up to 10 and n up to 100,000, the product can be enormous. Check how the answer should be returned (it may need big integers or a cap).

More questions: Browse Commonwealth Bank of Australia questions.

Stage 2: Second OA with an AI assistant (OA-2)

At a glance

  • Length: 30 minutes
  • Questions per round: 2, the second unlocks after the first
  • What was asked: write code for a problem using an AI assistant, then debug errors in the same problem
  • Most common: a limit of 50 prompts

What to expect. At IIT Guwahati on November 5, 2026, shortlisted data science students took a second OA. Question 1: solve a problem by prompting an LLM, with at most 50 prompts. Finish it to unlock question 2: debug errors in code for the same problem. Code Generation (OA-2) · Debugging (OA-2)

Stage 3: Interviews

What to expect. From our research: expect a technical round on statistics, ML basics, SQL and your projects, then an HR or manager round.

More from Codinzhub: every college and every year

These are the other 2 questions and experiences for this role on Codinzhub, from all colleges and drives, newest first.

Question or experienceCollege or driveTypePosted
Sql join easy questionIndian Institute of TechnologyOA question2026-11-01
Bitmask DPIndian Institute of TechnologyOA question2026-11-01

The Codinzhub Next-Round Playbook

  • Practise conditional probability questions until Bayes' rule is quick.
  • Read SQL questions carefully; one said not to join, and joining would have been wrong.

About this guide

This guide is researched and written by the Codinzhub team from what IIT students shared on Codinzhub, plus research into CBA's hiring where student reports are missing. Questions are our own short summaries; the practice links open the full question on Codinzhub. Sat this OA or the interviews? Share your experience on Codinzhub and we will update the guide.

Ready for the next topic?

Keep track of what you’ve learned.