C777 3a

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

What is JavaScript primarily used for? Building server-side scripts. Building interactivity into otherwise static HTML pages. Building mobile applications. Building standalone applications.

Building interactivity into otherwise static HTML pages.

Where is JS code executed? By a JS compiler on the server machine. By a JS interpreter on a separate machine. By a JS interpreter within a web browser. By a JS compiler on the client machine.

By a JS interpreter within a web browser.

How does using JavaScript increase interactivity? By creating interfaces that are easier to navigate. By creating interfaces that load faster. By creating interfaces that provide more detailed information. By creating interfaces that react when the user hovers over them with a mouse or activates them via the keyboard.

By creating interfaces that react when the user hovers over them with a mouse or activates them via the keyboard.

How does using JavaScript provide richer interfaces? By including more multimedia content such as audio and video. By including more interactive elements such as buttons and forms. By including items such as drag-and-drop components and sliders. By including more detailed graphics and animations.

By including items such as drag-and-drop components and sliders.

How does using JavaScript provide immediate feedback to visitors? By providing more interactive interfaces. By validating user input before sending the page off to the server. By reloading the page faster. By providing more detailed error messages.

By validating user input before sending the page off to the server.

What is the most common form of JavaScript? Client-side JavaScript Server-side JavaScript Standalone JavaScript Embedded JavaScript

Client-side JavaScript

What is JavaScript designed for? Creating standalone applications. Creating network-centric applications. Creating desktop applications. Creating mobile applications.

Creating network-centric applications.

When did JavaScript make its first appearance? In Netscape 1.0 in 1994. In Internet Explorer 2.0 in 1996. In Internet Explorer 1.0 in 1995. In Netscape 2.0 in 1995.

In Netscape 2.0 in 1995.

Where should client-side JavaScript be included or referenced? In an HTML document. In a server-side script. In a standalone program. In a CSS file.

In an HTML document.

What is an advantage of client-side JavaScript over traditional CGI server-side scripts? It can check if the user has entered valid information in a form field before submitting it to the web server. It can run more complex programs. It can interact with the server more efficiently. It can provide more security for user data.

It can check if the user has entered valid information in a form field before submitting it to the web server.

What is a strength of JavaScript in terms of development tools? It requires a specific brand of development tool. It does not require expensive development tools. It requires a specific type of development tool. It requires expensive development tools.

It does not require expensive development tools.

What is an advantage of running JS on the client machine? It increases flexibility by allowing for more complex programs to run on the client machine. It increases speed by avoiding communication delays between the client and server machines. It increases compatibility by allowing for more devices to run JS programs. It increases security by avoiding communication between the client and server machines.

It increases speed by avoiding communication delays between the client and server machines.

What is the industry standard for scripting languages in web development? JavaScript Python Ruby Java

JavaScript

What is the primary difference between JavaScript and HTML/CSS? JavaScript focuses on exchanging information with the web page while HTML/CSS focus on presenting information to the end user. JavaScript is a compiled language while HTML/CSS are interpreted languages. JavaScript is used for front-end development while HTML/CSS are used for back-end development. JavaScript is a scripting language while HTML/CSS are not.

JavaScript focuses on exchanging information with the web page while HTML/CSS focus on presenting information to the end user.

What is a merit of using JavaScript? More server interaction. More client interaction. Less client interaction. Less server interaction.

Less server interaction.

What was JavaScript first known as? NetscapeScript WebScript Java LiveScript

LiveScript

Who originally created JavaScript? Google Apple Netscape Microsoft

Netscape

Can client-side JavaScript be used to read or write files? Yes, it can write files but not read them. Yes, it can read and write files. No, it cannot read or write files for security reasons. Yes, it can read files but not write them.

No, it cannot read or write files for security reasons.

Does JavaScript have multi-threading or multiprocessor capabilities? No, it does not have multi-threading or multiprocessor capabilities. Yes, it has multiprocessor capabilities but not multi-threading capabilities. Yes, it has multi-threading capabilities but not multiprocessor capabilities. Yes, it has built-in support for multi-threading and multiprocessor capabilities.

No, it does not have multi-threading or multiprocessor capabilities.

Can JavaScript be used for networking applications? Yes, it has built-in support for networking applications. Yes, it can be used for networking applications with additional libraries. No, it does not have support for networking applications. Yes, it can be used for networking applications with additional plugins.

No, it does not have support for networking applications.

Is JS intended to provide a single entry point like the main function of the Java programming language? Yes, it provides multiple entry points like the main function of the Java programming language. No, it is not intended to provide a single entry point like the main function of the Java programming language. No, it provides multiple entry points unlike the main function of the Java programming language. Yes, it provides a single entry point like the main function of the Java programming language.

No, it is not intended to provide a single entry point like the main function of the Java programming language.

Does JavaScript tolerate imprecision? Yes, it can cope with some errors. No, it needs rigor in its specification and cannot tolerate imprecision. Yes, it can cope with some tags not being closed. Yes, it overlooks unknown or misspelled properties.

No, it needs rigor in its specification and cannot tolerate imprecision.

Is JavaScript related to Java? Yes, they are similar languages. Yes, they are the same language. No, they are not related despite having similar names. No, they are completely different languages.

No, they are not related despite having similar names.

What is an example of a simple text editor that can be used to develop JavaScript? Visual Studio Eclipse NetBeans Notepad

Notepad

What specification defined a standard version of the core JavaScript language? The ECMA-262 Specification. The IEEE 754 Specification. The W3C Specification. The ISO/IEC 16262 Specification.

The ECMA-262 Specification.

What happens when a JS code has logic or typing errors? The function with errors is corrected automatically. The function with errors is executed anyway. The function with errors is flagged for the developer to fix. The function with errors is ignored and the web browser does not attempt to deliver an execution.

The function with errors is ignored and the web browser does not attempt to deliver an execution.

What does integrating with the web environment require from JS developers? To always keep in mind that their JS code will be executed by a JS interpreter within a web browser. To always keep in mind that their JS code will be executed by a JS compiler on the client machine. To always keep in mind that their JS code will be executed by a JS interpreter on a separate machine. To always keep in mind that their JS code will be executed by a JS compiler on the server machine.

To always keep in mind that their JS code will be executed by a JS interpreter within a web browser.

According to W3C standards, what does a web page use "specific HTML elements," or form elements, for? To get information from the end user. To exchange information with the web page. To structure and style web pages. To process information from the end user.

To get information from the end user.

What can client-side JavaScript be used for? To interact with the user, control the browser, and dynamically create HTML content. To interact with hardware, control devices, and dynamically create embedded content. To interact with the server, control the database, and dynamically create server-side content. To interact with other programs, control the operating system, and dynamically create standalone content.

To interact with the user, control the browser, and dynamically create HTML content.

What is the purpose of adding a scripting language to HTML and CSS? To provide a way to structure and style web pages. To provide a meaningful way to receive and process information from the end user. To provide a way to exchange information with the web page. To provide markup annotation that defines how a hypertext will be displayed by a web browser.

To provide a meaningful way to receive and process information from the end user.

What do web developers use HTML and CSS for? To provide a way to structure and style web pages. To provide markup annotation that defines how a hypertext will be displayed by a web browser. To provide a way to exchange information with the web page. To provide a way to receive and process information from the end user.

To provide markup annotation that defines how a hypertext will be displayed by a web browser.

What was JavaScript originally created for? To provide a way to structure and style web pages. To provide processing power to hypertext. To provide markup annotation that defines how a hypertext will be displayed by a web browser. To provide a way to exchange information with the web page.

To provide processing power to hypertext.

For form validation, when is client-side JavaScript code typically executed? When the page is loaded. When the server receives a request. When the browser is closed. When the user submits a form.

When the user submits a form.

Where does the JavaScript interpreter run? On a separate machine. On the client machine and the server machine. On the server machine. Within the end user's web browser.

Within the end user's web browser.

Do Netscape's JavaScript and Microsoft's JScript conform to the ECMAScript standard? Yes, only Microsoft's JScript conforms to the ECMAScript standard. No, neither of them conform to the ECMAScript standard. Yes, only Netscape's JavaScript conforms to the ECMAScript standard. Yes, they both conform to the ECMAScript standard.

Yes, they both conform to the ECMAScript standard.

What is Microsoft FrontPage? A popular CSS editor that provides web developers with a number of JavaScript tools. A popular HTML editor that provides web developers with a number of JavaScript tools. A popular database editor that provides web developers with a number of JavaScript tools. A popular JavaScript editor that provides web developers with a number of HTML tools.

A popular HTML editor that provides web developers with a number of JavaScript tools.

What does JS offer instead of a single entry point? A single function that responds to all events generated within the HTML code processed by the web browser. A series of functions that are each coded to respond to multiple events generated within the HTML code processed by the web browser. A series of functions that are each coded to respond to an event generated within the HTML code processed by the web browser. Multiple functions that respond to a single event generated within the HTML code processed by the web browser.

A series of functions that are each coded to respond to an event generated within the HTML code processed by the web browser.

What is Macromedia Dreamweaver MX? A very popular database and JavaScript editor in the professional web development crowd. A very popular CSS and JavaScript editor in the professional web development crowd. A very popular server-side script and JavaScript editor in the professional web development crowd. A very popular HTML and JavaScript editor in the professional web development crowd.

A very popular HTML and JavaScript editor in the professional web development crowd.

What does JavaScript provide to the end user? A way to exchange information with the web page. A way to style web pages. A way to view static content. A way to structure web pages.

A way to exchange information with the web page.

Why did Netscape change the name of LiveScript to JavaScript? Because of legal issues with the name LiveScript. Because of the excitement being generated by Java. Because of confusion with other scripting languages. Because of a change in the language's capabilities.

Because of the excitement being generated by Java.


संबंधित स्टडी सेट्स

OB ch. 12, Chapter 25: Pregnant Woman, Ricci, Kyle & Carman: Maternity and Pediatric Nursing, Second Edition: Chapter 12: Nursing Management During Pregnancy; PrepU, Fetal Assessment for Risk Factors (Exam 3), RICCI Chapter 12, Chapter 12 OB, Chapter…

View Set

Biology: Human Anatomy and Physiology

View Set

Fundamentals of Financial Planning Questions

View Set

Microbiology Chapter 6 LearnSmart

View Set

Equations with variables on both sides (including special solutions), Literal Equations

View Set