Which of the following will cause a syntax error?
A. for (index = 0; index < 6000000;) {
x = 123.456789 / 987.654321;
}
B. numberArray = new Array(SIZE);
C. for (index = 0; index < SIZE; index++) {
numberArray[index] = index + 1;
}
D. for (index = 0; index < SIZE; index++) {
bookTitles[index] = prompt
("Enter title for book #" + (index + 1) +
":",ES);
}
Answer: A
You might also like to view...
How does an FTP server know the port number to use for a data connection?
What will be an ideal response?
____ fonts are easy to read in printed material because the extra strokes lead your eye from one character to the next.
A. Serif B. Monospace C. Sans-serif D. Cursive
What is spyware?
What will be an ideal response?
What Windows Server 2016 feature allows Storage Spaces to place copies of data on separate enclosures ensuring that if an entire disk enclosure fails, the data is maintained?
A. storage awareness B. storage duplication C. enclosure awareness D. data deduplication