Institute of Computer Science
  1. Courses
  2. 2017/18 spring
  3. Object-Oriented Programming (Narva College) (P2NC.01.083)
ET
Log in

Object-Oriented Programming (Narva College) 2017/18 spring

  • Home
  • Materials
  • Java Glossary
  • Source Example
  • Cheat sheet (S1-S6)
  • Grading
  • Links

Before session 1

Introduction. Variables. Data Types. Scanner. Conditions. Loops.

Objectives:

When you finish this module, you

  • will define the following terms: JDK, JRE, Javadoc, variable, statement, comment, data type, loop, pacakge
  • will not be afraid of Java;
  • will not be afraid to ask for help;
  • will list the main differences between Python and Java;
  • will list Java advantages;
  • will be familiar with basic Java language syntax and program parts;
  • will explain how Java stores primitive data types;
  • will write, compile and run simple Java programs;
  • will print the output to the console;
  • will break one's back to make the program run without syntax error and solve home assignments independently;
  • will feel irresistible and killing desire to install JDK 9 and IntelliJ on your own computer.

Topics

  • 1.1 Introduction to Java
    • 1.2 Install programs
  • 1.3 First program
    • 1.4 Explanation of the first program
  • 1.5 Variables. Data types
    • 1.6 Operations on numbers
    • 1.7 Strings
    • 1.8 Mixing data types. Scope. Casting
  • 1.9 Scanner
  • 1.10 Tasks

NB! Watch the video in youtube if you need the subtitles!

Alternative materials

  • in English:
    • H. Schildt.‎ Java - The Complete Reference: Chapters: 1, 2, 3 (excl. arrays), 4
    • B. Kjell. Introduction to Computer Science using Java: Chapter 8-19
  • in Estonian: here
  • in Russian:
    • Г. Шилдт. Java 8. Полное руководство: Chapters: 1, 2, 3 (excl. arrays), 4
    • itProger. Уроки Java для начинающих: (Chapters: 1-8)

  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment