Search Header Logo

variables, constants, statements

Authored by C. Huerta

Specialty

Professional Development

Used 1+ times

variables, constants, statements
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

¿Cuál de los siguientes ejemplos usa lowerCamelCase?

DaysOfWeek

addNumbers

MyVariable

EvenAndOdd

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

para declarar una variable se realiza de la siguiente manera

let myVariable: String

let myVariable: String = "Hola"

myVariable = "Hi"

if myVariable == 1

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Para interpolar un dato en un texto se realiza de la siguiente forma

"The bmr is: \(bmr)"

"The bmr is: ((bmr).rounded())"

"The bmr is: bmr"

"The bmr is: \bmr."

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Se usa para almacenar un dato que no cambia en tiempo de ejecución

const

var

func

let

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

si tengo más de dos opciones y quiero usar un if statement entonces agrego un:

if else

case

else if

let

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

para imprimir un resultado se utiliza:

console.log

print

show

document.write

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Que resultado se obtiene var mpg = (30 - 15) / 5

10

5

3

15

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?