Skip to content

☕ Java programming exercises done for the Programming subject in the 1st year of Cross-Platform Application Development (Desarrollo de Aplicaciones Multiplataforma) at I.E.S. Belén (Málaga)

Notifications You must be signed in to change notification settings

PublioElio/Java-Programming-DAM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Java Programming (1st year of Cross-Platform Application Development)

Java exercises for the Programming subject in 1st year of Desarrollo de Aplicaciones Multiplataforma (Cross-Platform Application Development) at the I.E.S. Belén (Málaga). Most of the exercises in this repository are taken from the Programming manual by Alfonso Jiménez Martín and Francisco Manuel Pérez Montes (ed. Paraninfo).

File structure 📁

The exercises are divided by trimester. Within each quarter, they are separated by the manual units (listed below). Inside each drive folder is a Java project with several packages, numbered and named as follows:

  • proact (proposed activity): simple exercises that appear in the book, consist of little more than practising what is exposed in each of the units.

  • resact (resolved activity): activities already solved in the manual, they are usually brief and simple practical exercises that serve to strengthen concepts that are covered in each unit. It is likely that the resolution of the program differs from the ones presented in the book 😎

  • appact (application activity):they are final exercises in each of the units, which have no solution in the manual and must be solved by the student. They are somewhat more complex than resact.

  • addact (additional activity): they are exercises that do not fall into any of the previous categories and do not come from the manual, may be challenges presented in class or the student's own initiatives. Its function is to reinforce the contents worked on in the unit.

  • exam: they are exams for each unit. They are normally accompanied by a .pdf containing the instructions for taking the exam.

Units

The units in the manual and the topics covered in each one are listed below.

Unit 1: basic concepts

Basic exercises to understand Java syntax, as well as other common concepts to understand any programming language. Variables, different types of operators, primitive types (sizes, ranges and conversions), console output and input, the java API and a brief introduction to methods.

Unit 2: conditionals

This topic covers selection structures, nonlinear applications, single (if), double (if-else), and multiple (switch) conditionals. Extensive use of relational and logical operators, as well as revisiting the ternary operator.

Unit 3: loops

This unit covers repetition structures (while, do while, and for), as well as how to program applications that repeat sets of statements using loops. Has been made an extensive use of functions for the resolution of the exercises in order to not repeat code, although the functions will be explained in the next unit.

Unit 4: functions

This unit introduces the concept of functions, the advantages of its use and implementation in the code. The exercises deal with imput parameters, automating functions, overloading and writing programs that make use of recursion. Also, students will learn how to make their first libraries in Java.

Unit 5: arrays

In this topic we work with arrays to store multiple values in a variable. We create arrays of different types and lengths, in addition to performing the most common operations with arrays. Programs that make use of this element will be designed, modifying the length of the arrays at runtime without losing the data. Use of the Java API related to arrays and apply its use to troubleshooting.

Unit 6: Strings

In this unit we work with the primitive type char, using methods and functionalities. Additionally, we use the String class, performing advanced operations with text. We will work the Java API to implement applications with text.

Unit 7: Classes

This topic introduces the basic concepts of Object Oriented Programming (OOP). We write programs that make use of OOP to solve problems, making it easier for you as a programmer. We will decide if the attributes will be visible or not, for external and neighboring classes.

Unit 8: Inheritance

The projects in this unit introduce the concept of inheritance, working classes and superclasses. We will know the access limitations to the members of a superclass, we will override methods, use the main functionalities defined in the Object class and use abstract classes.

About

☕ Java programming exercises done for the Programming subject in the 1st year of Cross-Platform Application Development (Desarrollo de Aplicaciones Multiplataforma) at I.E.S. Belén (Málaga)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages