• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

Computer Science Questions And Answers

Document preview thumbnail
Preview 2 out of 5 pages

COMPUTER SCIENCE QUESTIONS AND ANSWERS

Content preview

COMPUTER SCIENCE QUESTIONS
AND ANSWERS


What is JavaScript based on? - CORRECT ANSWER-objects

What is a built-in JavaScript object? - CORRECT ANSWER-
document

What object represents the content of a browser's window? -
CORRECT ANSWER-document

What object returns an ordered set of values? - CORRECT
ANSWER-array

What object obtains information about the current Web
browser? - CORRECT ANSWER-navigator

What object keeps track of Web pages visited? - CORRECT
ANSWER-history

What object switches to a new Web page? - CORRECT
ANSWER-location

What object represents a set of characters? - CORRECT
ANSWER-string

Given car.drive( ), where car is the object, drive is the what of
the car object? - CORRECT ANSWER-method

Actions that an object can perform: - CORRECT ANSWER-
methods

A value given to a method: - CORRECT ANSWER-argument

, Some methods require what? - CORRECT ANSWER-argument

The result of a user's action: - CORRECT ANSWER-event

The way to associate an event with a function: - CORRECT
ANSWER-event handlers

Functions are placed in a JavaScript section within the ______
section on the HTML code. - CORRECT ANSWER-<head>

What refers to JavaScript code written to perform certain tasks
repeatedly? - CORRECT ANSWER-function

The ______ function opens a new window, - CORRECT
ANSWER-open( )

The _______ function prints the contents of the window. -
CORRECT ANSWER-print( )

Most of JavaScript's built-in functions actually belong to the
_______ object. - CORRECT ANSWER-window

A(n) ____________ is an HTML tag that identifies a section of
HTML code using the id attribute. - CORRECT ANSWER-
container

What is an example of a HTML comment line? - CORRECT
ANSWER-<!--Hide from old browsers-->

A function name must begin with a(n) _________. - CORRECT
ANSWER-letter or an underscore

Javascript what are temporary places to store data? -
CORRECT ANSWER-variables

Document information

Uploaded on
August 30, 2024
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
2
Followers
0
Items
401
Last sold
6 months ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions