Introduction to Computer Programming

Higher education teachers: Fajfar Iztok
Collaborators: Kunaver Matevž, Puhan Janez, Rojec Žiga
Credits: 5
Semester: winter
Subject code: 64104

Subject description


  • Enrollment in the study year

Content (Syllabus outline):

The course first deals with basic principles of computers and computer programming. Later, it focuses on a specific programming language (JavaScript), through which a student learns the principles of data and algorithm design, coding, and testing of programs. The subject is divided into the following sections:


  • general principles of programming languages
  • design, building, and testing computer programs

Algorithm design:

  • flowchart
  • symbolic language
  • a top-down approach
  • divide and conquer
  • backtracking

Programming with JavaScript:

  • variables
  • control statements
  • functions
  • objects
  • events
  • testing and debugging

Objectives and competences:

  • Students will master basics of algorithm and system approach to problem solving.
  • They will learn skills of computer programming and testing programming solutions.
  • Subject is structured in a way that allows students to prepare for learning C programming language.

Intended learning outcomes:

After successful completion of the course, students should be able to:

  • identify various components of a computer program
  • explain the influence of the structuring of data to the complexity of the program code
  • extract the algorithm and identify data from a computer program written in a specific programming language
  • develop a simple algorithm based on a list of mathematical requirements and implement it using a specific programming language
  • evaluate algorithmic efficiency of a given algorithm
  • build a simple application based on some given requirements
  • evaluate the efficiency of a specific solution in terms of the usage of resources, correctness and reliability, user-friendliness, and maintainability

Learning and teaching methods:

  • Lectures, practical demonstrations, laboratory work, individual work with advanced students, web technologies, homeworks

Study materials

1. I. Fajfar: XHTML in JavaScript za pokušino, Založba FE in FRI, 2005
2. Spletna stran W3 Schools (
3. Mozilla Developer Network (
4. Matthew MacDonald, HTML5, The Missing Manual, O'Reilly, 2011
5. David Sawyer McFarland, CSS3, The Missing Manual, O'Reilly, 2013
6. John Pollock: JavaScript: A Beginner's Guide, Osborne McGraw-Hill, 2009
7. David Flanagan: JavaScript, The Definitive Guide, O'Reilly, 2011
8. David Sawyer McFarland, JavaScript, The Missing Manual, O'Reilly, 2012

Study in which the course is carried out

  • 1 year - 1st cycle - Electrical Engineering