BleepingComputer.com: Javascript Question

Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Javascript Question

#1 User is offline   Calum 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 74
  • Joined: 01-August 05

Posted 11 April 2006 - 10:22 AM

I hope someone can be of some help. I'm doing a mock exam and I'm a bit puzzled at one of the questions.

Q. Which of the following statements is true concerning Javascript?

There were four possible answers, but two could be ruled out right away. The remaining two are -

1. Javascript code can be interpreted either by Internet Explorer and Netscape.
2. Javascript is a more powerful scripting language than VBScript.

As far as I know, both of these statements are true. So which one should I pick? I tend to go more for the first statement.

Calum.

#2 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,522
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 12 April 2006 - 08:10 AM

In my opinion, the first one would be more correct. I would argue the claim that Javascript is a more powerful scripting language than VBScript is subjective.. sort of like "Snickers is better than Milky Way". Even putting that aside, with VBScript I can create standalone programs to do a variety of things that can't be done with JavaScript. The answer is also ambiguous. What exactly does "best" mean? Best for what? Best in all situations? Certainly not. If that were the case, why would anyone use VBScript? Is it best in some instances? Maybe.
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

#3 User is offline   Calum 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 74
  • Joined: 01-August 05

Posted 12 April 2006 - 11:44 AM

Thanks for the reply. The first question should have read "... either by Internet Explorer OR BY Netscape." Not that it makes much difference. I also think the first question is the answer.

Calum.

#4 User is offline   Andrew 

  • Bleepin' Night Watchman
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 7,329
  • Joined: 05-December 05
  • Gender:Not Telling
  • Location:Right behind you

Posted 13 April 2006 - 04:28 PM

I must agree with my esteemed colleagues, and say that the two possibilities could both be true and it is hard to say which is the best answer. So, I'm curious as to what the other two posibilities are and why they are so obviously incorrect.

Aslo, could it be a trick question: That none of the answers are completely true?
Help us help you. If HelpBot replies, you MUST follow step 1 in its reply so we know you need help.
Posted Image
Boredom Software Stop Highlighting Things

#5 User is offline   Calum 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 74
  • Joined: 01-August 05

Posted 14 April 2006 - 06:18 AM

The other two possible answers are -

1. Javascript is an object-oriented programming language.
2. JScript is a Netscape proprietary implementation of Javascript.

I'm sure you will see these two statements are untrue.

Calum.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users