FBISE, NCP & NBF-aligned resources for Classes 9–12

/15

Computer Chapter 3 : Topic 4.3

Sequence, Selection and Repetition in JavaScript

1 / 15

Which programming concept ensures that JavaScript code runs step-by-step in a fixed order without skipping any instruction?

2 / 15

Which structure in JavaScript is mainly used when decisions must be made based on a condition?

3 / 15

Which structure is responsible for executing a block of code multiple times in JavaScript?

4 / 15

What is the correct order of basic algorithm structures used in programming logic?

5 / 15

Which JavaScript statement is an example of selection structure?

6 / 15

Which JavaScript loop is best used when the number of repetitions is unknown?

7 / 15

What is the main purpose of a for loop in JavaScript algorithms?

8 / 15

Which statement best describes how selection differs from sequence?

9 / 15

What happens if a repetition condition in a loop never becomes false?

10 / 15

Which of the following is NOT part of basic programming control structures?

11 / 15

In JavaScript, what is the role of an else statement in selection?

12 / 15

Which loop ensures that code executes at least once before checking condition?

13 / 15

What is the main advantage of using repetition in JavaScript algorithms?

14 / 15

Which of the following best represents sequence in a real-life example?

15 / 15

What is the result of incorrect use of selection in a JavaScript program?

Your score is

0%

9th class objective books