Skip to main content
Remove advertising and get
10 GB!
of disk space for only
$9.95 USD per month
or
$109.95 USD per year
(plus local taxes).
Side panel
Home
More
You are currently using guest access
Log in
Home
Expand all
Collapse all
Open course index
CPNM
Unit 2 - Decision Making, Branching and Looping
Unit 2 - Decision Making, Branching and Looping
Section outline
Select activity Lect 1_Syllabus, Decision control using "If" statement
Lect 1_Syllabus, Decision control using "If" statement
URL
Select activity Lect 2_Decision control statements - If...else statement, CPNM Lab - Exercise 1.a program
Lect 2_Decision control statements - If...else statement, CPNM Lab - Exercise 1.a program
URL
Select activity Lect 3_Decision Control - Nested if...else, Else if ladder
Lect 3_Decision Control - Nested if...else, Else if ladder
URL
Select activity Lect 4_Branching - Switch Statement and Example Program - Exercise 1.b program
Lect 4_Branching - Switch Statement and Example Program - Exercise 1.b program
URL
Select activity Lect 5_Ternary operator, Goto Statement and Example programs
Lect 5_Ternary operator, Goto Statement and Example programs
URL
Select activity Lect 6_Loops, While statement, Example problem, Exrecise 1.c
Lect 6_Loops, While statement, Example problem, Exrecise 1.c
URL
Select activity Lect 7_do...while and for loop - Example programs
Lect 7_do...while and for loop - Example programs
URL
Select activity Lect 8 - Jump Statements, Example Program
Lect 8 - Jump Statements, Example Program
URL
Select activity Lect 9 - Arrays and Example program to sort a list in arrays
Lect 9 - Arrays and Example program to sort a list in arrays
URL
Select activity Lect 10 - Arrays - Program to get random numbers in an array and arrange them in descending order
Lect 10 - Arrays - Program to get random numbers in an array and arrange them in descending order
URL
Select activity Lect 11 - 2D arrays, Input to an array using scanf function, printing an array
Lect 11 - 2D arrays, Input to an array using scanf function, printing an array
URL
Select activity Lect 12 - 2D arrays, Program to Transpose a Matrix
Lect 12 - 2D arrays, Program to Transpose a Matrix
URL
Select activity Lect 13 - 2D Arrays - Addition of two matrices
Lect 13 - 2D Arrays - Addition of two matrices
URL
Select activity Lect 14 - 2D arrays: Program to Multiply two Matrices
Lect 14 - 2D arrays: Program to Multiply two Matrices
URL
Select activity Unit 2_Handout
Unit 2_Handout
URL