Indice degli argomenti
Fasttrack exam
In case of multiple versions, you can use the version that your prefer. In the email with your exam, please specify if you are not using the last available one.
Ch 1. Introduction to Computer Programming
Historical notes
Basics of a computing machine components
Basics of programming languages
Ch 2. The First Program
Introduction to CStructure of a C programA first simple programCompiling and running the programCh 3. Variables and Expressions
Reserved wordsIdentifiersVariablesData Types and ConstantsThe Assignment OperatorsReading and printing valuesWorking with Arithmetic ExpressionsCh. 5 Making Decisions
• Flow of control
• Boolean expressions and operators
• If, if-else statements
• Switch statement
• Exercises
Ch. 7 Programmer defined functions
Outine:
. Programmer defined functions. Function declaration. Function definition. Function call. Parameters vs Arguments. Arrays a function parameters. Scope of identifier namesCh. 8 Structures
. Structure variables and type definition. Initialization of structures. Accessing the struct members. Nested structures. Arrays within structures and arrays of structures. Structures as parameters and return valueCh. 9 Strings
StringsStrings variable declaration and initializationString manipulationString libraryStrlenStrcpyStrcmpStrcatString Input and OutputCh. 15 File Input/Output
Outline
. Standard files stdin, stdout
. Opening and closing files
. Formatted input and output
. String input and output