GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

What will display after the following code is run if name =…

What will display after the following code is run if name = “Morris”?             if(name > “Joe”)           document.write(“Morris is a cat.”);      else           document.write(“Joe rules!”);

Read Details

  Which is equivalent to (X > 5) given that X is a numeric v…

  Which is equivalent to (X > 5) given that X is a numeric variable.

Read Details

What is the scope of the variable pen on line 6? var pen =…

What is the scope of the variable pen on line 6? var pen = “Bic”; var pencil = “0.7 mm lead”; function writeIt() { document.write(“I have a ” + pen + ” pen.”); pen = “Flair”; document.write(“You have a ” + pen + ” pen.”); var pencil = “0.5mm lead”; document.write(“I prefer pencils with ” + pencil); }     

Read Details

Which of the following is not a valid function call?

Which of the following is not a valid function call?

Read Details

 Which of the following is NOT a valid variable name? 

 Which of the following is NOT a valid variable name? 

Read Details

  Given that Y is a numeric variable, which of the following…

  Given that Y is a numeric variable, which of the following is NOT equivalent to:                                                  (Y

Read Details

Which is not a method of the Date() object?

Which is not a method of the Date() object?

Read Details

Which of the following will generate a random number between…

Which of the following will generate a random number between 1 and 6?

Read Details

In the code given, which are the parameters and which are th…

In the code given, which are the parameters and which are the arguments? function product(x.y); {      return (x * y); } myNum = product(5, 10);

Read Details

What integer values of x would make the following statement…

What integer values of x would make the following statement true?      (x >= 2) && (x < 6)

Read Details

Posts pagination

Newer posts 1 … 45,848 45,849 45,850 45,851 45,852 … 70,111 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top