Computer Science SLO Based Key Point Notes

👉👉👉 Computer Science 12th Class Notes (Main Page)

************************************

Unit 4: Control Structures

4.1. Control Structure

  • A statement used to control the flow of execution of instructions in a program is called a control structure.
  • Control structures are used to implement the logic of a program.
There are three kinds of control structures: i.e.

1. Sequential Structure: In sequential structure, the statements of a program are executed in the same order in which they are written in the program.

2. Selection Structure: The selection structure is used for selecting a statement or group of statements for execution on the basis of a given condition. It is also known as decision structure.

3. Repetition structure: Repetition structure is used to execute a statement or group of statements repeatedly as long as the given condition is true. It is also known as iteration structure or Loop structure.

Types of Decision Structure


Types of Selection Structures:

************************************
👉👉👉 Computer Science 12th Class Notes (Main Page)

************************************


(National Book Foundation - As Federal Textbook Board, Islamabad 
Based on National Curriculum Pakistan 2026-2027 and Onward prescribed by Federal Board of Intermediate and Secondary Education, Islamabad, and All Pakistan Boards) 

{Contact WhatsApp +923339719149 for Class-XII Computer Science Complete SLO-Based Key Points notes in pdf format as well as in PowerPoint Presentation for preparing/delivering the Lectures}

Note:  Write me in the comments box below for any query and also Share this information with your class-fellows and friends.