Skip to content

Exercises on Javascript done at Computer Science in Industrial Engineering at Universitat Jaume I

License

Notifications You must be signed in to change notification settings

jaumefe/Informatica_1

Repository files navigation

Informatica_1

This repository contains the exercises done on Computer Science on the first year of industrial engineering at Universitat Jaume I (UJI) in Castellon.

The programming language used for these exercises is: Javascript. Those scripts are combined with HTML and CSS files so as to create websites for different purposes.

Exercises

Area of a triangle

This exercise is included inside GeometryApp project. It consists of a simple script which calculates the area of a triangle with the base and height of a triangle.

Arkanoid

Arkanoid was the final project of the subject developped by a group of six people. This is the final version of our game. In general, the game is fully functional. However, sometimes depending on where the ball rebounds on the blocks, the detection of the impact may not work in an accurate way.

Australia

This is not a project concerning Computer Science. In fact, this is a project carried out by 4 people for English course, in which we were promoting a travel to Australia. Therefore, as we were learning to create websites, we decided to make one, just for fun. Some links may not be working because they depend on websites created by other members of the group and their Altervista accounts have been deleted.

There are some pages containing information about landmarks of Australia and a currency converter from Australian dollars to euros.

Currency converter

A currency converter which works with a given exchange rate. It is contained among the exercises corresponding to Laboratory 1.

Distance in the plane

A simply program which computes the distance in the plane of two points. It also corresponds to an exercise of Laboratory 1.

Ellipse

This exercise is included inside GeometryApp project. It is a script which calculates the area of an ellipse from both semi-axes of the ellipse.

Formula

It is an exercise to learn how to write formula on website by using Mathjax. There are three different formulae to write.

GeometryApp

An application to compute different geometrical properties (area, perimeter, surface and volume) of some figures. This project has been done on a group of six people, whose names are included in the main page of the App.

Graphs

These exercises corresponds to laboratory 2. It is an introduction to using graphs on Javascript. There are four different exercises to be done:

  1. Simple plot: Representation of a function: y = x²-10x+5 for x on [-5, 15]
  2. Multiple plots: Representation of cos(2x) and its derivative.
  3. Power to transfer load: Variation of power transmitted depending on the resistance of the generator and the load.
  4. Efficiency of a Power Screw: Representation of a power screw depending on the friction coefficient

Lab 1

There is a main page with links to all the exercises done for laboratory 1.

Lab 3

Here, there are the two exercises done for laboratory 3. It consists of a simple calculus to do and a graph, representing what it has been computed. The two exercises are:

  1. Tension of a cable
  2. Volume of a fuel tank

Honestly, I have to admit that I am really proud of how the "Volume of a fuel tank" exercises is represented.

Lab 4

Simply connect four game for two players on the same computer. Just enjoy!!

Lab 5

Classic Asteroids game. Z = Turn left; X = Turn right; M = Acceleration; N = Shoot

Enjoy!! :)

#My first web page Simply that xD. The first exercise of Computer Science, create a simply web page.

Polar rose

A simple representation of the polar rose

Programming Exercises

It was a collection of programming exercises given to prepare for the final exam. Not all the programs are 100% completed, because I just tested some functions (because the exam was on paper and not with the computer so I only needed to evaluate the Javascript file).

Maybe I'll try to update and complete depending on time

Radio receiver

The third part of laboratory 1.

Surface of a cylinder

This exercise is included inside GeometryApp project.

Torus

This exercise is included inside GeometryApp project.

About

Exercises on Javascript done at Computer Science in Industrial Engineering at Universitat Jaume I

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published