*This preview shows
page 1. Sign up
to
view the full content.*

**Unformatted text preview: **X = 4 % 3 , y++, X-- X = 0, y = 5 4) Know how if and switch statements work, tracing problem. int alpha = 5, beta = 4 ; int X = 0 ; y = 6 ; switch (beta) if( X > 0) { if ( y > 5) case 3 : alpha += 3 ; cout << “ y is bigger than 5 “ ; case 4 : alpha += 4; else break ; cout << “ y is less than 5 “ ; default : alpha += 5 ; else beta++; cout << “ X is less than 0 “ ; break ; X is less than 0 } cout << beta << alpha ; 4 9 5) Write a detailed analysis/algorithm 6) Know the following definitions: a. Algorithm b. Software Engineering c. Software Life cycle (Development cycle) (Analysis, Design, Implementation,…) d. Purpose of Comments in a program e. Identifiers (variables,. .)...

View
Full
Document