Crear
Descargar
Obtener Plan Académico
Compartir juego
Intégralo en tu plataforma

Puedes integrar el juego en un LMS compatible con LTI 1.1 o LTI 1.3 como Canvas, Moodle, o Blackboard. De esta manera podrás guardar las puntuaciones automáticamente en el libro de calificaciones de esa plataforma.
Descargar
Has superado el número máximo de juegos que puedes integrar en Google Classroom con tu Plan actual.

Para integrar tantos juegos como quieras en Google Classroom, necesitas un Plan Académico o un Plan Comercial.

Has superado el número máximo de juegos que puedes integrar en Microsoft Teams con tu Plan actual.

Para integrar tantos juegos como quieras en Microsoft Teams, necesitas un Plan Académico o un Plan Comercial.

La descarga de juegos es una característica exclusiva para usuarios con un Plan Académico o un Plan Comercial.

Obtén ahora tu Plan Académico o Comercial y comienza a integrar tus juegos en tu LMS, web o blog.

Si lo deseas, puedes descargar un juego de prueba aquí y probar su integración:

%
Anónimo
Anónimo
%
%
%
Has superado el número máximo de juegos que puedes imprimir con tu Plan actual.

Para imprimir tantos juegos como quieras, necesitas un Plan Académico o un Plan Comercial.

Imprime tu juego
Sub Routines(Functions & Procedures) Lowersixth Science Computer Science
 

Sub Routines(Functions & Procedures) Lowersixth Science Computer ScienceVersión en línea

Test your knowledge on functions and scope.

por YAKILI LMS
1

A function can be called from another function.

2

A function must always return a value.

3

Factorial of 6 is 500.

4

A function can have parameters that receive values when called.

5

A local variable inside a function is not accessible outside.

6

A recursive function cannot terminate.

7

The scope of a local variable lasts beyond the function end.

8

A swap can only be performed with three variables.

9

Global variables can cause side effects when modified inside functions.

10

The factorial function increases indefinitely with fixed n.

11

A language without semicolons cannot have functions.

12

In C, you never pass parameters by value.

13

Prototypes are required in all programming languages.

14

Calling a function twice in a row makes the code compile twice.

15

Functions help reuse code by encapsulating tasks.

16

In Python, you must declare a function before its first use in all cases.

17

You can implement factorial either iteratively or recursively.

18

A function cannot have more than one parameter.

19

The factorial of 0 is 2.

20

A function can return a value to its caller.

21

Local variables must be declared as global in Python.

22

Recursive functions require a base case to stop recursion.

23

A local variable can be accessed from any other function directly.

24

Local variables disappear after the function ends.

25

Global variables are always thread-local.

26

A function with no parameters cannot be called.

27

Global variables cannot be shadowed.

28

The factorial of 0 is defined as 1.

29

You cannot declare variables inside a function.

30

A function call transfers control to the function and returns after it finishes.

31

A factorial function computes the product 1×2×...×n.

32

The return statement is optional in all languages.

33

Negative numbers factorial are defined for all negative integers.

34

The swap operation can be implemented using a temporary variable.

35

A local variable must be initialized before use in all languages.

36

Parameters are never used inside a function.

37

A function cannot have default parameter values.

38

A function may have default parameter values in some languages.

39

The factorial of 5 is 50.

40

Local variables are created at program start.

41

A global variable is always stored in the heap.

42

Global variables cannot be read by any function.

43

A function cannot be assigned to a variable.

44

Global variables can be read by any function in the program.

45

A swap operation cannot use a temporary variable.

46

You can only define a function at the top level, not inside other functions in any language.

47

Declaring a variable inside a function makes it local by default.

48

A function cannot call another function.

49

A function call is always slower than any loop.

50

A function name is not allowed to be the same as a variable name in the same scope.

¿Estás seguro que quieres abandonar la página?

Al abandonar la página perderás el progreso del juego.