• ¿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 7 páginas
Examen

Web Design - Javascript 1 Exam Questions And Answers

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

WEB DESIGN - JAVASCRIPT 1 EXAM QUESTIONS AND ANSWERS

Vista previa del contenido

WEB DESIGN - JAVASCRIPT 1 EXAM
QUESTIONS AND ANSWERS



Use of JavaScript - Correct Answers -When you create HTML documents, you'll almost
always add behavior to make the document more interactive. You might want to enable
some HTML elements to perform actions. Maybe you want to add a fast and fully-
featured auto-completion menu to your search box displaying results "as you type".

Understanding JavaScript (JS) - Correct Answers -- Using expressions to produce data
- Using statements
- Working with functions
- Browser's built-in alert, prompt, and confirm functions
- Using variables
- Conditional programming
- Implementing code loops

JavaScript is... - Correct Answers -a programming language that mainly is used in the
design of the user interface of web applications. JavaScript is normally executed
(interpreted) by a web browser. JavaScript is not related to Java, although it is a curly-
brace language like Java.

JavaScript is dynamically typed... - Correct Answers -which means that when you
create a variable, you don't need to specify its type.

JS variables are... - Correct Answers -used to store data and they can hold a value of
any data type.

var msg = 'Hello world'; // msg is a string variable and its value is Hello world
var num = 10.3 // num is a numeric variable and its value is 10.3 - Correct Answers -var
is one of the many JS keywords. You will use it to declare and initialize variables. msg
and num are names of variables or identifiers.
Operator Precedence - Correct Answers -JavaScript executed operator in a specific
way. The addition sign (+) and subtraction sign (-) have the same precedence. The
multiplication sign (*) and division sign (/) have the same precedence, which is higher
than the addition and subtraction signs. If you are working with an expression in which
multiple operators have the same precedence, you just apply the operators from left to
right. Parentheses have the highest precedence, so the expression within the
parentheses will be executed first.

, Modulo - Correct Answers -The modulo (%) operator performs an implied division and
returns the remainder. For example, 25 % 7 produces a result of 4, this is the remainder
after dividing 25 by 7.

A string is... - Correct Answers -a collection of character and is used to represent text.
You can create a string by enclosing in single or double quotes. It doesn't matter
whether you use single or double quotes as long as the starting and ending delimiters
match


Identifiers are... - Correct Answers -case sensitive and should always start with a letter,
and underscore (_), or a dollar sign ($). Hyphens are not allowed; they are reserved for
subtractions only.

When you want to create a program, you typically find that the program must access
and manipulate data because data is at the root of all systems. - Correct Answers -You
collect data, manipulate data, store data, retrieve data, display data, and so on.

Most data can be broken into smaller pieces called values. - Correct Answers -
JavaScript defines a value type as an object, a primitive value, or a function.

An object is... - Correct Answers -a collection of properties, and a property is an
association between a name (key) and a value. A property's value can be a function, in
which case the property is known as a method. Examples of objects could be a person,
an animal, an HTML document, etc.,; anything that can have properties with values.

Primitive value - Correct Answers -is a data that is represented at its lowest level of the
language implementation and, in JavaScript, is one of the following types: undefined,
null, Boolean, number, or string.

A function is... - Correct Answers -a callable object, and a function that is a member of
an object is called a method.

JavaScript also defines the following built-in objects: - Correct Answers -the global
object, the Object object, the Function object, the Array object, the String object, the
Boolean object, the Number object, the Math object, the Date object, the RegExp
object, the JSON object, and several variations of Error objects.

An expression is... - Correct Answers -a piece of code that produces a value.

An expression can be a simple value, or it can contain operands and operators. -
Correct Answers -Mathematical symbols, such as the plus, minus, divide, and multiply
signs, are examples of operators. Numbers are operands. The operators cause an
operation to be executed by using the operands on each side of the operator. Note that
an operand can be a value, or it can be another expression.

Información del documento

Subido en
29 de octubre de 2025
Número de páginas
7
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$12.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.
millyphilip
3.7
(563)
Vendido
3027
Seguidores
1965
Artículos
48278
Última venta
23 horas 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