- Values'', variables, assignment
- Primitive types, representation of numbers
- Expressions and statements, conditions and loops
- Methods, parameters, results and calls
- Edition, compilation and execution of programs
- Classes, objects, instances
- Class variables and instance
- Visibility, scope and lifetime of a variable
- Interfaces and implementations
- Extending a class and inheritance, polymorphism
- Files and Input-Output
- Exception mechanisms
- Simple tables and multidimensional arrays
- Working with Packages
- Linked structures
- Analysis of a computer problem
- design, specification and implementation of a solution
At the end of this learning unit, the student is able to :
Given the learning outcomes of the "Bachelor in Engineering" program, this course contributes to the development, acquisition and evaluation of the following learning outcomes:
Students completing this course successfully will be able to
Students will have developed skills and operational methodology . In particular, they have developed their ability to:
The contribution of this Teaching Unit to the development and command of the skills and learning outcomes of the programme(s) can be accessed at the end of this sheet, in the section entitled “Programmes/courses offering this Teaching Unit”.
The second chapter is concerned with the representation of data. Decimal, binary, octal and hexadecimal notations are reviewed as well as conversion algorithms from one notation to another. The two's complement representation for negative numbers is explained as well as the representation of floating point numbers. ASCII and Unicode representations for characters are described and discussed.
In the third chapter, the CPU of a simple computer is described together with its machine language. Students are taught how to write programs in this simple machine language. The design of subprograms with standard conventions for subprogram calls and returns as well as parameter passing is discussed in details as it allows the student to better understand procedure calls and parameter passing methods in higher level programming languages.
The fourth chapter addresses programming languages concepts in a more systematic way. The Java programming language is used to illustrate the concepts but no attempt is made to provide a global overview of Java. In contrast, a limited number of topics are studied with care and in details : primitive data types, literals, variables, arrays, the String class, static methods, expressions, a small subset of composed statements, primitive type conversions, method overloading. Classical algorithms for searching and sorting are build with this subset of Java.
The detailed arrangements for implementing an active student participation in learning are left to tenured, in accordance with the educational guidelines of the Faculty.
The end of first period exam aims to test not only the knowledge, but also the ability to apply this knowledge to write simple Java programs, but correct
D. Eck, Introduction to Programming Using Java, Sixth Edition, 2013, http://math.hws.edu/javanotes/