• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 9 páginas
Examen

JAVASCRIPT EXAMS SCRIPT 2026.pdf 1. Document information

Document preview thumbnail
Vista previa 2 fuera de 9 páginas

JAVASCRIPT EXAMS SCRIPT 1. Document information

Vista previa del contenido

JAVASCRIPT EXAMS SCRIPT 2026/2027 QUESTIONS AND
SOLUTIONS RATED A+
✔✔What are the 2 types of Numbers within Datatypes? - ✔✔Integer: Whole Number (-
1, 450)
Float:Decimal Point (0.1, 12.454)

✔✔What are Strings within Datatypes? - ✔✔A line of text: "frog", "a red truck"

✔✔What kind of value does Boolean take? - ✔✔True or False

✔✔What is an Array? - ✔✔Used to store multiple values in a single variable.

Real ["blue", "5", "123456"]

Refer to the whole array using its variable name
Arrays are indexed from 0

✔✔Objects - ✔✔Custom datatypes with properties and actions

✔✔Operators - ✔✔Used to assign values to variables and perform mathematical
operations on them

✔✔Math Based Operators - ✔✔

✔✔Comparison Operators - ✔✔

✔✔Example of comparison operators - ✔✔var num = "5"; var numString ="5",

==Interpreted Value

num ==numString (true)

===Interpreted value and data type

num===numString(false)

✔✔Conditionals - ✔✔Statements that allow for code to be executed against conditionals

IF, ELSE statements

✔✔Example of Conditional IF Statement - ✔✔if (This condition is true) {Do this thing}

var Country = "Australia";
var Hemisphere, var Language;

, if (country = "England") {
hemisphere = "northern";
language = "english";
}

✔✔Example of Conditional ELSE Statement - ✔✔Else statements allow us to make an
alternative statement if original condition is false

if (this condition is true){
...do this thing
}else{
...do this other thing
}

✔✔Loops - ✔✔Repetitive Conditional statements.

Used to perform a calculation a number of times, or to iterate over a set of variables.

✔✔Three main types of Loops - ✔✔For: Set Number of Iterations

While: Certain conditions are met

Do...While: Certain condition is met

✔✔For Loop Example - ✔✔Repeats until a specific condition becomes false

✔✔While Loop Example - ✔✔Iterate while the condition is true

while (condition) {
do this thing
}

✔✔Do While Loop - ✔✔Iterate while the condition is true

do {
... this thing
} while(condition);

✔✔Function - ✔✔Re-useable blocks of instructions that can be executed by name.

-Perform common tasks
-saves time, reduces error

function functionName (data) {

Información del documento

Subido en
20 de julio de 2026
Número de páginas
9
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$16.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
EXAMCAFE
3.5
(43)
Vendido
299
Seguidores
11
Artículos
37014
Última venta
6 días hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes