Professional Documents
Culture Documents
Reverse Engineering”
Zagreb, 5 – 12 September 2004
Živana Komlenov
Department of Mathematics and Informatics
Faculty of Science
University of Novi Sad
Goal
• Written exams
– Several solved examples from Novi Sad and Belgrade
(FEE), as well as texts of some more assignments (much
more of those are still in Serbian, stored as additional
material).
• Lab exercises
– Examples from Novi Sad, used in fall 2003/2004 when
Programming languages course was completely taught for
the first time since the new curriculum had been adopted.
Some student solutions are enclosed.
• Practical assignments
– Mainly examples concerning thread synchronization, again
from Novi Sad.
– Those assignments were given to students in fall 2003/2004
when Operating systems I course was completely taught for
the first time since the new curriculum had been adopted.
– They represent typical final assignments, with time limits of
approximately 3-4 weeks.
– There are some very good student solutions and just
formulations of other possible assignments.
Program Parents should read data from file 'Names.txt'. This file contains names of
children available for adoption. After reading all names, program should create
instances of Child objects, store them in an array and then allow user to enter sex
and age for each child.
Future parents should be able to set preferred characteristics and as a reply get a
list of children sorted by how well they match parents' criteria.
Class Child should contain following fields: name, sex, age.
Field priority while searching: name, sex, age.
Sex entering: m - male, f - female.
• Sources:
– Examples from other courses at member
universities that include more complex Java
assignments (currently in Serbian)
– Examples from representative Java textbooks