What would the browser display if the following code is executed in a script?

```
var x = 11,
y = 14;
if ( x > 13 )
if ( y > 13 )
document.writeln( "x and y are > 13" );
else
document.writeln( "x is <= 13" );
```

a) nothing, the code will generate an error
b) 11
c) x and y are > 13
d) x is <= 13


d) x is <= 13

Computer Science & Information Technology

You might also like to view...

The first element in an array always has index 1.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

In the code below, "____" is the name attribute of the image.

A. center B. UpperImage C. lions D. lions.gif

Computer Science & Information Technology

If you write a program and, instead of multiplying two values together as intended, you divide one value by the other, you produce a(n) ____ error.

A. syntax B. analysis C. logic D. design

Computer Science & Information Technology

What is a significant difference between vulnerability scanners and penetration testing?

a. One only tests for configuration errors. b. One tests both the infrastructure and personnel. c. One is used to find problems before hackers do. d. One only tests internal weaknesses.

Computer Science & Information Technology