Skip to content

EconometricInstitute/Programming-Premaster-EMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Preparation Exercises Programming for the Premaster Econometrics and Management Science

This repository contains preparation materials to prepare for the Programming Course that is offered as part of the Premaster in Econometrics and Management Science. These exercises are representative of what you have to do during the first Java tutorial of this course. In addition, the repository includes an old exam from the course Introduction to Programming, which shows the level that is expected from students that start with course Programming.

Preparation

Since 2020, the materials we use in the Introduction to Programming course are available online at https://feb21011.ese.eur.nl/. It is recommended to study these materials if you want to prepare either for Introduction to Programming or for Programming.

Before we had our own materials, we suggested Premaster students who wanted to prepare to use the first part of the free online course by John Purcell offered at Udemy, Cave of Programming or YouTube. The suggested materials to study were the topics up and until Part 19 (Static and final) and Part 28 (Casting Numerical Values). As a convenience, we created a Youtube Playlist that only contains the videos on these topics.

Exercise: Prime Generator

In the first exercise you have to write a class that is able to generate consecutive prime numbers. The file PrimeGenerator.java is a stub that needs to be filled in with working code. The file PrimeGeneratorTest.java provides some unit tests. Running this class will test if the implementation in PrimeGenerator behaves as expected for a number of test cases.

Exercise: Silly Counting

In th second exercise you have to write a class that counts number in a silly way: sometimes just the number must be given, but other times certain words must be given. The File SillyCounting.java is a stub that needs to be filled in working code. The file SillyCountingTest.java provides some unit tests. Running this class will test if the implementation in SillyCounting behaves as expected for a number of test cases.

Suggested Exercises from the Course Materials

We have three more suggestions for exercises from our course materials that you can use to assess your level:

Old exam

The old exam consists of four exercises: a theory exercise, an exercise that focuses on input and output, an exercise that focuses on arrays, and a final exercise that focuses on object-oriented programming. Note that students were expected to make this exam in 2 hours, and they were only allowed to use an IDE (e.g. IntelliJ, Eclipse) and the Java documentation.

About

Preparation Exercises for Programming in the Premaster Econometrics and Management Science

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages