Programming 1

Higher education teachers: Mahnič Viljan
Credits: 6
Semester: winter
Subject code: 63277



Subject description

Prerequisits:

  • Enrollment in the study year.

Content (Syllabus outline):

Lectures:

  • Overviewof programminglanguages​​withan emphasisonmodernprogramming languagesof ​​3rdgeneration
  • An example ofa simpleprogram,the processof preparingthe program,compiling andimplementing
  • Basicdatatypes
    • Presentation of integersandreal numbers,charactersandBoolean values
    • Declarationof constantsandvariables
  • Statements
    • Organizingstatements,writingexpressions, operators, andtheirpriority
    • Selectionstatements
    • Repetitivestatements
  • Methods
    • The roleandtypes ofmethods
    • Formalandactualparameters
    • Recursion
  • Classesand Objects
    • Variables and methods of objects
    • Constructors
    • Pre-declaredclasses
  • Tables
    • One-dimensionaland multidimensionaltables
    • Tables of objects
  • Arrays
  • Inheritance
    • Redefinitionof methods
    • Constructorsinsubclasses
    • Dynamiclinkingroutines
    • Abstractclassesandabstractmethods
    • ObjectClass
    • Interface(interface)

Graphicslibraries, components,graphicaluserinterface
Event drivenprogramming
Applets
Dealing withexceptions
Data streamsandfiles

Exercises:

  • In theexercisesstudentssolvepracticalproblems,
  • which wasdiscussedinclass.The emphasis isonindependentworkwith the helpof assistants.

Homework:

  • Studentsget alistof tasks(programs)that must bemadeat homeandthen defendthe practice at thepre-defined term.
  • Thisshould encouragethemtowork independently and promptly.A studentwhodoes not finish all the home workscan nottake the finalexam.

Objectives and competences:

The aim ofthe course is tointroducethe basicconceptsof object-oriented programming in oneof thegeneralpurposeprogramminglanguages​​of 3rdgeneration and offer the studentsthe ability for independent development of simplecomputer programs.

Intended learning outcomes:

  • methods of preparation and implementation of the computer program
  • basic programming constructs and data
  • structures
  • concepts of object-oriented programming,
  • basic algorithms for solving typical programmingproblem
  • event-driven programming and basic user interface components.

Learning and teaching methods:

  • Lectures with active participation of students (presentation, discussion, questions, examples, problem solving);
  • Lab (reflection of experiences, solving practical problems with computer, presentation and presentation of software solutions, discussion, feedback);
  • Homework (independent computer programming);
  • Individual consultations (discussion, additional explanation, specific questions).





Study materials

  • J. Farrell: Java Programming, Fourth Edition, Course Technology, an International Thomson Publishing company, 2008.
  • R. Winder, G. Roberts: Developing Java Software, Third Edition, John Wiley & Sons, Ltd, 2006.
  • Uroš Mesojedec, Borut Fabjan: Java 2: Temelji programiranja, Pasadena, 2004


  • Study in which the course is carried out

    • 1 year - 1st cycle - Multimedia