Summary of Course
Class 1 Introduction
- What is Computer Science about?(The introduction).
- The basic framework and conception of the programs.
- The purpose.
- What the programs to do with real-world.
- Input
- State
- Initial state
- Domain events
- Output
- Pseudo code
- Program Evaluation
Class 2 Programming Languages
- Define of the programming languages.
- Syntax.
- Semantics.
- Programming paradigms/models.
- Mathematics models and the programming.
- Safety-critical system.
Class 3 Programs and Models
- Five models:
- Visualizations
- Building a physical model
- Reinstatement of problems
- Use of analogy
- Mathematical model
We should to get the advantage and the disadvantage of these five models.
Class 4 Flow Chart
- Two informal way to model system behavior
- Flow Chart
- Define
- Main symbols
- How to write a flow chart
Class 5 Set Theory
- Tuples
- Set
- Set membership
- Special set
- Cardinality
- Venn diagrams
- Set builder notation
- With the programs
- Relation with the set
- Unary Set Operation
- Powerset
- Binary set operations
- Union
- Intersection
- Difference A-B or A\B
- Cartesian product AXB
- Disjoint sets
- Properties of operations
Class 6 Relations and Functions
- Relation
- Directed graph
- Domain of a relation
- Range of a relation
- Inverse
- Complement
- Relation on a set
- Totality properties
- Left-total
- right-total
- Injective
- Functional
- One to one(Bijective)
- Function
- Types
- Partial Function
Class 7 Values and Types
- Type of values
- Primitive types
- Composite types
- Cartesian Product
- Mappings
- Array with map
- Function with map
Class 8 Types
- Copy Semantics
- Reference Semantics
- Static and Dynamic
- Expressions
- Variables and Storage
- Total update and Selective update
- Flexibel Array
- Lifetime of variables
- Heap variables
Class 9 StackHeapMemoryEx
- Heap and the Stack
Class 10 Propositional Logic
- Logic
- Propositional logic
-
Proposition / Compound proposition
- Logical operator
- Conjunction
- Disjunction
- Addition
- Negation
- Exclusive or
- Conditional(implication)
- Biconditional(bi-implications)
- Truth table
- Tautology
- Contradiction
- Continency
- Syllogisms
- Validating Rules
Class 11 Prog Correntness
- Correctness of Program
- Preconditon
- postcondition
- Strengthened
- Weakened
- Conjunction Rule
- Disjunction Rule
- Concatenation Rule
- Modified Concatenation Rule
- Assignment Rule
Class 12 If Statements
- Rule for Conditions(no else clause)
Class 13 Loops Correctness
- Invariant and Invariant for the loop’