unit 6 midterm review introduction to c programming

7
Unit 6 Midterm Review Introduction to C Programming

Upload: destiny-schmitt

Post on 27-Mar-2015

213 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Unit 6 Midterm Review Introduction to C Programming

Unit 6

Midterm Review

Introduction toC Programming

Page 2: Unit 6 Midterm Review Introduction to C Programming

Review of Units 1-5

Unit 6: Review for Midterm

Page 3: Unit 6 Midterm Review Introduction to C Programming

Unit 1 ReviewIntroduction to Programming

Pervasiveness of Programmable DevicesImportance of studying and understanding

programmingProcesses of creating a programCreation of an algorithmRepresentation of algorithm using a

flowchart

Page 4: Unit 6 Midterm Review Introduction to C Programming

Unit 2 ReviewIntroduction to C LanguageCreation of C at AT&T Bell Labs by Ritchie,

et alANSI and ISO Standardization of C LanguageStructure of a C programExacting nature of C syntaxConcepts of Variables and Data TypesNature and Syntax of a String ConstantUse of printf() and scanf() FunctionsThe Pelles C IDE

Page 5: Unit 6 Midterm Review Introduction to C Programming

Unit 3 ReviewAssignment StatementsArithmetic OperatorsOperator Precedence and use of

ParenthesesAdvanced printf() FormattingMath Library FunctionsEnumerated Data TypesCoding Standards - Professional-Looking

Programs

Page 6: Unit 6 Midterm Review Introduction to C Programming

Unit 4 ReviewConditional OperatorsConditional ExpressionsThe 'if' StatementThe 'switch' StatementTips for Creating Good Programs

Input ValidationProgramming with "Change" in Mind

(Always use braces with if statements, even one-liner statements)

Common Programming Errors'=' vs '=='

Page 7: Unit 6 Midterm Review Introduction to C Programming

Unit 5 ReviewHand Tracing of ProgramsLogical Operators and Short-Circuit

EvaluationIncrement/Decrement OperatorsLoopsPrinciples of Structured Code