New game
Download
Get Academic Plan
Share game
Fill in the Blanks
Fill in the Blanks

La ciudad de Java

Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

La ciudad de Java

Fill in the Blanks

Played 5

About this activity

Indica los valores correctos de las variables que aparecen en el código Java

Created by

Spain

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
La ciudad de Java
 

Fill in the Blanks

La ciudad de JavaOnline version

Indica los valores correctos de las variables que aparecen en el código Java

by Emilio Orts
1

2 4 0 1 3

int variable1 = 1 ;
int variable2 = 2 ;
int variable3 = 3 ;
int variable4 = 4 ;

System . out . println ( " Las variables valen : " + variable1 + " , " + variable2 + " , " + variable3 + " , " + variable4 + " . " ) ;
/ / Por la pantalla aparecerá el siguiente mensaje :
/ / Las variables valen : , , , .

2

1 4 3 0 2

int variable1 = 1 , variable2 = 2 , variable3 = 3 , variable4 = 4 ;

System . out . println ( " Las variables valen : " + variable1 + " , " + variable2 + " , " + variable3 + " , " + variable4 + " . " ) ;
/ / Por la pantalla aparecerá el siguiente mensaje :
/ / Las variables valen : , , , .

3

0 4 1 3 2

int variable1 = 1 , variable2 = 2 , variable3 = 3 , variable4 = 4 ;
variable2 = variable3 = variable1 = 1 ;
variable1 = variable2 + variable3 ;
variable2 = variable1 + variable3 ;


System . out . println ( " Las variables valen : " + variable1 + " , " + variable2 + " , " + variable3 + " , " + variable4 + " . " ) ;
/ / Por la pantalla aparecerá el siguiente mensaje :
/ / Las variables valen : , , , .

4

2 1 3 0 4

int variable1 = 1 , variable2 = 2 , variable3 = 3 , variable4 = 4 ;
variable2 = variable3 = variable1 ;
variable1 = variable2 + variable3 ;
variable2 = variable1 + variable3 ;


System . out . println ( " Las variables valen : " + variable1 + " , " + variable2 + " , " + variable3 + " , " + variable4 + " . " ) ;
/ / Por la pantalla aparecerá el siguiente mensaje :
/ / Las variables valen : , , , .

5

0 4 3 1 2

int variable1 = 1 , variable2 = 2 , variable3 = 3 , variable4 = 4 ;
variable2 = variable3 = variable4 = variable1 ;
variable1 = variable2 + variable3 - variable4 ;
variable2 = variable1 + variable3 ;
variable3 = variable1 + variable3 + variable4 ;
varibale4 = variable1 + variable3 ;


System . out . println ( " Las variables valen : " + variable1 + " , " + variable2 + " , " + variable3 + " , " + variable4 + " . " ) ;
/ / Por la pantalla aparecerá el siguiente mensaje :
/ / Las variables valen : , , , .

6

1 3 2 0 4

int variable1 = variable2 = variable3 = variable4 = 1 ;
int x = variable1 + 1 ;
variable1 = x + x ;
variable2 = x + variable2 ;
variable3 = x ;


System . out . println ( " Las variables valen : " + variable1 + " , " + variable2 + " , " + variable3 + " , " + variable4 + " . " ) ;
/ / Por la pantalla aparecerá el siguiente mensaje :
/ / Las variables valen : , , , .

7

2 0 1 4 3

int variable1 = variable2 = variable3 = variable4 = 1 ;
int x = variable1 + variable2 ;
variable1 = x + variable2 ;
variable2 = variable1 + variable2 ;
variable3 = variable3 + variable4 ;


System . out . println ( " Las variables valen : " + variable1 + " , " + variable2 + " , " + variable3 + " , " + variable4 + " . " ) ;
/ / Por la pantalla aparecerá el siguiente mensaje :
/ / Las variables valen : , , , .

8

3 1 0 4 2

int variable1 = variable2 = variable3 = variable4 = 1 ;
int x = variable1 + 2 ;
variable1 = x * 2 ;
variable2 = variable1 + 2 ;
variable3 = x - 2 ;
variable1 = variable1 / 2 ;
variable2 = variable2 / 2 ;
variable4 = x - variable1 ;

System . out . println ( " Las variables valen : " + variable1 + " , " + variable2 + " , " + variable3 + " , " + variable4 + " . " ) ;
/ / Por la pantalla aparecerá el siguiente mensaje :
/ / Las variables valen : , , , .

9

3 0 4 2 1

int variable1 = variable2 = variable3 = variable4 = 0 ;
int x = 1 , y = 2 , z = 3 ;
variable2 = x - variable1 ;
variable3 = y - variable1 ;
variable4 = z - variable1 ;

System . out . println ( " Las variables valen : " + variable1 + " , " + variable2 + " , " + variable3 + " , " + variable4 + " . " ) ;
/ / Por la pantalla aparecerá el siguiente mensaje :
/ / Las variables valen : , , , .

10

4 0 2 3 1

int variable1 = variable2 = variable3 = variable4 = 0 ;
int x = 1 , y = 2 , z = 3 ;
variable1 = x ;
variable2 = y ;
variable3 = z ;
variable4 = x + z ;

System . out . println ( " Las variables valen : " + variable1 + " , " + variable2 + " , " + variable3 + " , " + variable4 + " . " ) ;
/ / Por la pantalla aparecerá el siguiente mensaje :
/ / Las variables valen : , , , .

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.