cuestionario 1
-
Upload
rickhunter9 -
Category
Documents
-
view
8 -
download
0
description
Transcript of cuestionario 1
Si tenemos las siguientes definiciones de funciones: function f_1 (x) { function cero () { return 0; }; function uno () { return 1; };
if (x) { return uno; } else { return cero; } };
function f_2 (x) { return (x) ? function uno() { return 1; } : function cero() { return 0; } ; }
Cmo se evaluar las siguiente expresin: f_1 (7)()0 1 undefined function cero() function uno() error_de_ejecucin CorrectSi tenemos las siguientes definiciones de funciones: function f_1 (x) { function cero () { return 0; }; function uno () { return 1; };
if (x) { return uno; } else { return cero; } };
function f_2 (x) { return (x) ? function uno() { return 1; } : function cero() { return 0; } ; }
Cmo se evaluar las siguiente expresin: f_2 ()() 0Si tenemos las siguientes definiciones de funciones: function f_1 (x) { function cero () { return 0; }; function uno () { return 1; };
if (x) { return uno; } else { return cero; } };
function f_2 (x) { return (x) ? function uno() { return 1; } : function cero() { return 0; } ; }
Cmo se evaluar las siguiente expresin: f_1 ()()0
Si tenemos las siguientes definiciones de funciones: function f_1 (x) { function cero () { return 0; }; function uno () { return 1; };
if (x) { return uno; } else { return cero; } };
function f_2 (x) { return (x) ? function uno() { return 1; } : function cero() { return 0; } ; }
Cmo se evaluar las siguiente expresin: f_2 (7)()0 1 undefined function cero() function uno() error_de_ejecucin CorrectSi tenemos las siguientes definiciones de funciones: function f_1 (x) { function cero () { return 0; }; function uno () { return 1; };
if (x) { return uno; } else { return cero; } };
function f_2 (x) { return (x) ? function uno() { return 1; } : function cero() { return 0; } ; }
Cmo se evaluar las siguiente expresin: f_2 (0)()0 1 undefined function cero() function uno() error_de_ejecucin CorrectSi tenemos las siguientes definiciones de funciones: function f_1 (x) { function cero () { return 0; }; function uno () { return 1; };
if (x) { return uno; } else { return cero; } };
function f_2 (x) { return (x) ? function uno() { return 1; } : function cero() { return 0; } ; }
Cmo se evaluar las siguiente expresin: f_1 ()function cero() function uno() IncorrectSi tenemos las siguientes definiciones de funciones: function f_1 (x) { function cero () { return 0; }; function uno () { return 1; };
if (x) { return uno; } else { return cero; } };
function f_2 (x) { return (x) ? function uno() { return 1; } : function cero() { return 0; } ; }
Cmo se evaluar las siguiente expresin: f_2 (7)function cero() function uno() Si tenemos las siguientes definiciones de funciones: function f_1 (x) { function cero () { return 0; }; function uno () { return 1; };
if (x) { return uno; } else { return cero; } };
function f_2 (x) { return (x) ? function uno() { return 1; } : function cero() { return 0; } ; }
Cmo se evaluar las siguiente expresin: f_1 (0)()0 1 undefined function cero() function uno() error_de_ejecucin CorrectSi tenemos las siguientes definiciones de funciones: function f_1 (x) { function cero () { return 0; }; function uno () { return 1; };
if (x) { return uno; } else { return cero; } };
function f_2 (x) { return (x) ? function uno() { return 1; } : function cero() { return 0; } ; }
Cmo se evaluar las siguiente expresin: f_2 ()function cero() Si tenemos las siguientes definiciones de funciones: function f_1 (x) { function cero () { return 0; }; function uno () { return 1; };
if (x) { return uno; } else { return cero; } };
function f_2 (x) { return (x) ? function uno() { return 1; } : function cero() { return 0; } ; }
Cmo se evaluar las siguiente expresin: f_1 (7)function cero() function uno()
Si tenemos las siguientes definiciones de funciones: function f_1 (x) { function cero () { return 0; }; function uno () { return 1; };
if (x) { return uno; } else { return cero; } };
function f_2 (x) { return (x) ? function uno() { return 1; } : function cero() { return 0; } ; }
Cmo se evaluar las siguiente expresin: f_1 (7)()0 1