SELECTION STATEMENTS - PowerPoint PPT Presentation

1 / 14
About This Presentation
Title:

SELECTION STATEMENTS

Description:

INTRODUCTION SELECTION STATEMENTS Control Expression Single/Compound Clauses Dangling Else MUTLIPLE SELECTION CONSTRUCTS C/Java Switch C# Switch Ada Case – PowerPoint PPT presentation

Number of Views:143
Avg rating:3.0/5.0
Slides: 15
Provided by: bdu3
Category:

less

Transcript and Presenter's Notes

Title: SELECTION STATEMENTS


1
  • INTRODUCTION
  • SELECTION STATEMENTS
  • Control Expression
  • Single/Compound Clauses
  • Dangling Else
  • MUTLIPLE SELECTION CONSTRUCTS
  • C/Java Switch
  • C Switch
  • Ada Case
  • ITERATIVE STATEMENTS
  • Counter controlled
  • Fortran 95
  • ADA
  • C-Based
  • Logically Controlled
  • Pretest
  • Postest
  • USER-LOCATED LOOP CONTROL
  • DATA STRUCTURE ITERATION

LECTURE OUTLINE FOR CHAPTER 8 CONTROL FLOW
2
What is the OUTPUT of this FORTRAN program?
3
Fill in the chart below.
4
Fix this code.
5
Convert this C Dangling Else to Ada.
6
Multiple Selection Statements (C-Based Syntax)
7
Is this a valid C switch statement?
8
C Switch Statement
9
Multiple Selection Statements (Ada Syntax)
10
What are values of X and Y?
11
Terminate loops when sumgt1000 without altering
loop parameters
12
C Example Using Break Labels
13
C.NET Iterator Example
14
Java Iterator Example
Write a Comment
User Comments (0)
About PowerShow.com