Skip to content
elevatedevco

Foundations & Concepts

Patterns and sequences

Learn Patterns and sequences: 40 practice questions and answers with an interactive quiz — from the offline AI Learning app.

Beginner40 questions40 quiz questions

Questions & Answers

Tap a question to reveal its answer. Written for self-study and interview preparation.

What is a pattern?

A pattern is something that repeats in the same way again and again. Like red, blue, red, blue, red, blue. Computers learn by spotting patterns too!

In the pattern 'circle, square, circle, square', what shape comes next?

The next shape is a circle. The pattern goes circle, square, over and over, so after square comes circle again.

What comes next in the number sequence 1, 2, 3, 4, ___?

The next number is 5. We are counting up by adding one each time, so after 4 comes 5.

What comes next: 2, 4, 6, 8, ___?

The next number is 10. We are counting by twos, adding 2 each time, so after 8 comes 10.

A sequence means things put in a special ___.

A sequence means things put in a special order, one after another. Like the days of the week or numbers counting up.

Why do computers like to find patterns?

Computers find patterns to help them guess what comes next. If a computer sees a pattern, it can predict the next thing, just like you guessing the next color in a string of beads.

In the pattern 'clap, stomp, clap, stomp', what comes after the next clap?

After clap comes stomp. The pattern keeps going clap then stomp, again and again, so a clap is always followed by a stomp.

What is the missing color in 'red, yellow, red, ___, red, yellow'?

The missing color is yellow. The pattern is red then yellow over and over, so after red comes yellow.

Which of these is a pattern?

Stripes on a zebra are a pattern because the black and white stripes repeat. Patterns are things that repeat in a regular way.

What comes next in the days: Monday, Tuesday, Wednesday, ___?

The next day is Thursday. The days of the week always come in the same order, so after Wednesday comes Thursday.

In the pattern 'big, small, big, small', what size comes after a big?

After big comes small. The pattern keeps switching between big and small, so a big is always followed by a small.

What comes next: 5, 10, 15, 20, ___?

The next number is 25. We are counting by fives, adding 5 each time, so after 20 comes 25.

If you teach a computer the pattern 'cat, cat, dog, cat, cat, dog', what comes after the next two cats?

After two cats comes a dog. The pattern is two cats then a dog, again and again. Computers learn patterns like this to make good guesses.

What is a 'rule' in a pattern?

A rule is the idea that tells you how a pattern works. For example, the rule 'add 2' makes the pattern 2, 4, 6, 8. Knowing the rule helps you find what comes next.

What number is missing: 10, 20, ___, 40, 50?

The missing number is 30. We are counting by tens, so between 20 and 40 comes 30.

In the bead pattern 'AB AB AB', what letter comes next after the last B?

After B comes A. The pattern is A then B repeating, so once we finish a B we start again with A.

What pattern do traffic lights follow?

Traffic lights follow a repeating pattern: green, then yellow, then red, then green again. This pattern repeats all day to keep cars safe.

What comes next: triangle, triangle, square, triangle, triangle, ___?

The next shape is square. The pattern is two triangles then a square, repeating, so after two triangles comes a square.

How does a phone guess the next word you want to type?

A phone watches the patterns of words people use together. When it sees you start a sentence, it guesses the next word from those patterns. That is why it can finish your sentence sometimes!

What comes next: 1, 3, 5, 7, ___?

The next number is 9. These are odd numbers and we add 2 each time, so after 7 comes 9.

What is the same in every pattern?

Every pattern has something that repeats. The repeating part can be colors, shapes, sounds, or numbers, but there is always a part that keeps coming back.

In the growing pattern 1, 2, 4, the numbers double. What comes next?

The next number is 8. Each number is doubled, so 4 doubled is 8. Doubling means adding a number to itself.

What is wrong with this pattern: 'red, blue, red, GREEN, red, blue'?

The green is wrong because the pattern should be red, blue repeating. In that spot it should be blue, not green. Finding the odd one out helps us check patterns.

What comes next in the sequence of seasons: Spring, Summer, Autumn, ___?

The next season is Winter. The seasons always come in the same order and then start over, so after Autumn comes Winter.

Why is finding patterns a smart skill for both people and computers?

Finding patterns helps us understand the world and guess what happens next. Computers use this same skill to learn from examples, like sorting photos of cats and dogs by their patterns.

In the pattern 'up, up, down, up, up, down', what comes after the next down?

After down comes up. The pattern is up, up, down repeating, so once we finish a down we start again with up.

What number is missing: 3, 6, 9, ___, 15?

The missing number is 12. We are counting by threes, so after 9 comes 12, then 15.

What kind of pattern is a drumbeat that goes 'boom, tap, boom, tap'?

It is a sound pattern. The drum makes the same boom and tap repeat over and over, which makes the rhythm we can dance to.

If a robot sees toys lined up 'big, big, small, big, big, small', what should it put next after two big toys?

It should put a small toy. The pattern is two big then one small, repeating. Robots use patterns to do tasks in the right order.

What comes next in this counting-down sequence: 10, 9, 8, 7, ___?

The next number is 6. This sequence counts down by taking away one each time, so after 7 comes 6.

Which of these shows a pattern in nature?

The petals on a flower show a pattern because they repeat in a circle. Nature is full of patterns like stripes, spots, and petals.

What is a 'sorting' pattern, like putting blocks from smallest to biggest?

Sorting puts things in order by a rule, like smallest to biggest. The order is the pattern. Computers sort lots of things this way, like names from A to Z.

In the pattern 'A, B, C, A, B, C', what letter is missing here: 'A, B, C, A, ___, C'?

The missing letter is B. The pattern repeats A, B, C, so between A and C comes B.

What comes next: 0, 2, 4, 6, ___?

The next number is 8. These are even numbers and we add 2 each time, so after 6 comes 8.

How can a smart speaker know a song from just a few notes?

A smart speaker listens to the pattern of notes in the song. Each song has its own special pattern, so the speaker matches the notes to find the right song.

In the pattern 'star, moon, star, moon', which picture would NOT belong?

A sun would not belong because the pattern only uses star and moon over and over. Things that break the repeat do not belong in the pattern.

What comes next in the alphabet sequence: A, B, C, D, ___?

The next letter is E. The alphabet always goes in the same order, so after D comes E.

Why are calendars full of patterns?

Calendars repeat the same days and months in order again and again. Every week has the same seven days, and that repeating order is a pattern that helps us know what day it is.

If a counting robot learns the pattern 'add 1' starting at 1, what does it say after 1, 2, 3?

It says 4. The rule is to add 1 each time, so after 3 comes 4. Computers follow rules step by step like this, very quickly.

start = 1
add 1 each time
1, 2, 3, 4
What makes a sequence different from a random mess?

A sequence follows an order or a rule, so you can guess what comes next. A random mess has no order, so you cannot guess. Patterns and sequences always have an order.

Put it into practice with AI Learning

This topic — and hundreds more — comes from our free, offline AI Learning app. Practice Q&A, quizzes and cheat sheets anywhere, no account needed.

  • Free
  • No account
  • Works offline
Coming soon toGoogle Play