QUESTION

CSAT

Hard

Reasoning

Prelims 2026

A pattern formed by two characters aa and bb is repeated more than once in the following string :

xbxaxaxxaxaxbabx \, b \, x \, a \, x \, a \, x \, x \, a \, x \, a \, x \, b \, a \, b

What is xxx \, x in the 7th and 8th positions from the left in the above string?

Select an option to attempt

Explanation

Answer: D — bbbb

The given string is:

xbxaxaxxaxaxbabx\, b\, x\, a\, x\, a\, x\, x\, a\, x\, a\, x\, b\, a\, b

There are 1515 positions, so a pattern repeated more than once can have length 55, repeated 33 times.

The last five positions are:

axbaba\, x\, b\, a\, b

Using the fixed letters in the string, the repeating pattern is:

abbaba\, b\, b\, a\, b

Repeating this pattern three times gives:

abbababbababbaba\, b\, b\, a\, b\, a\, b\, b\, a\, b\, a\, b\, b\, a\, b

Now, the 77th and 88th positions are:

bbb\, b

Therefore, xx=bbxx = bb.

Trusted by 2L aspirants

Practice UPSC Prelims PYQs Smarter

Practice Now
  • Track accuracy & weak areas
  • See past trends & repeated themes
Start Practicing Now

Crack UPSC with your
Personal AI Mentor

An AI-powered ecosystem to learn, practice, and evaluate with discipline

SuperKalam
SuperKalam is your personal mentor for UPSC preparation, guiding you at every step of the exam journey.

Download the App

Get it on Google PlayDownload on the App Store
Follow us

ⓒ Snapstack Technologies Private Limited