C777 JAVASCRIPT| 2026 COMPUTER SCIENCE QUIZZES, Exams of Computer Science

C777 JAVASCRIPT| 2026 COMPUTER SCIENCE QUIZZES C777 JAVASCRIPT| 2026 COMPUTER SCIENCE QUIZZES

Typology: Exams

2025/2026

Available from 06/28/2026

emilly-martin
emilly-martin 🇺🇸

4.3

(3)

2.9K documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
C777 JAVASCRIPT| 2026 COMPUTER
SCIENCE QUIZZES
toUpperCase() - Answer-Which method convert a string value to uppercase letters?
abort - Answer-Which event occurs when the loading of an image is terminated?
blur - Answer-Which event occurs when a user clicks the mouse button outside of a
particular input field?
click - Answer-Which event occurs when the user clicks on a link or form element?
change - Answer-Which event occurs when a user modifies the value of a form field?
error - Answer-Which event occurs when there is a problem loading an external image
or resource?
focus - Answer-Which event occurs when a user clicks into a form field?
load - Answer-Which event occurs when a page is opened?
mouseOver - Answer-Which event occurs when the user moves the mouse pointer
over a link, image or other visible element on a page?
mouseOut - Answer-Which event occurs when the mouse pointer leaves a link, image
or other visible element on a page?
reset - Answer-Which event occurs when a form's Reset button is clicked?
select - Answer-Which event occurs when the user highlights the text in a form field?
submit - Answer-Which event occurs when a form's Submit button is clicked?
unload - Answer-Which event occurs when a page closed?
properties - Answer-What are attributes of an object, such as height, color, font size,
sentence length and so forth?
methods - Answer-What are actions that an object can be made to perform?
alert() - Answer-Which method creates a pop-up box with the specified message string,
which the user can dismiss by clicking a button in the box?
pf3
pf4
pf5

Partial preview of the text

Download C777 JAVASCRIPT| 2026 COMPUTER SCIENCE QUIZZES and more Exams Computer Science in PDF only on Docsity!

C777 JAVASCRIPT| 2026 COMPUTER

SCIENCE QUIZZES

toUpperCase() - Answer-Which method convert a string value to uppercase letters? abort - Answer-Which event occurs when the loading of an image is terminated? blur - Answer-Which event occurs when a user clicks the mouse button outside of a particular input field? click - Answer-Which event occurs when the user clicks on a link or form element? change - Answer-Which event occurs when a user modifies the value of a form field? error - Answer-Which event occurs when there is a problem loading an external image or resource? focus - Answer-Which event occurs when a user clicks into a form field? load - Answer-Which event occurs when a page is opened? mouseOver - Answer-Which event occurs when the user moves the mouse pointer over a link, image or other visible element on a page? mouseOut - Answer-Which event occurs when the mouse pointer leaves a link, image or other visible element on a page? reset - Answer-Which event occurs when a form's Reset button is clicked? select - Answer-Which event occurs when the user highlights the text in a form field? submit - Answer-Which event occurs when a form's Submit button is clicked? unload - Answer-Which event occurs when a page closed? properties - Answer-What are attributes of an object, such as height, color, font size, sentence length and so forth? methods - Answer-What are actions that an object can be made to perform? alert() - Answer-Which method creates a pop-up box with the specified message string, which the user can dismiss by clicking a button in the box?

prompt() - Answer-Which method creates a pop-up box with the specified message string and requests user input into a text field in the box? confirm() - Answer-Which method creates a pop-up box with the specified message string and requests user confirmation by clicking the OK or Cancel button in the box? document.write() - Answer-Which method writes the specified message string in the page? variable - Answer-What is a named space of memory? = - Answer-Which operator is used to assign values? number - Answer-Which data type holds any numeric value used for mathematical operations? string - Answer-Which data type holds any string of alphanumeric characters used for words or for numbered phrases that are not mathematically manipulated? var birthYear = "1956" - Answer-Which expression creates a string value? var birthYear = 1956 - Answer-Which expression creates an integer value? Boolean - Answer-Which data type holds True or False values only? null - Answer-Which value indicates that a user enters nothing in a text box then submits the form? undefined - Answer-Which value indicates that a variable has no value assigned yet? expression - Answer-What is a part of a statement that is evaluated as a value? operator - Answer-What is a symbol or character used in expressions to store or evaluate a value? Assignment - Answer-Which type of operator assigns a value to a variable using the equal symbol? Example: myNumber = 25 Arithmetic - Answer-Which type of operator evaluates to a number? Example: 25 + 75 Logical - Answer-Which type of operator will evaluate to true or false?

function myFunction(x){ return x; } var num = 2; myFunction(num); pass by value - Answer-What describes when values are passed to a function, and the function's parameters receive its argument's actual value? Example: function myFunction(x){ return x; } myFunction(2); isNaN() - Answer-Which method determines whether an value is a number? parseInt() - Answer-Which method converts a string to its integer equivalent? parseFloat() - Answer-Which method converts a string to its floating-point decimal equivalent? Load-time errors - Answer-Which errors are typically syntax errors and usually cause error alerts? Run-time errors - Answer-Which errors occur after the script has loaded and is running, typically caused by improper use of commands? Logic errors - Answer-Which errors are mathematical , casting errors, errors in proper command usage or errors in the structure of the script, which result in the script running improperly? literal - Answer-What is the actual data values you provide in JavaScript? object - Answer-What is a self-contained programming component that contains properties and methods? dot notation - Answer-What is a reference technique used to access a property or method of an object? an object-based language based upon an event-driven model is platform-independent enables quick development

is relatively easy to learn - Answer-What are key characteristics and features of JavaScript? client side - Answer-Does JavaScript perform its functionality primarily on the client or server-side? embedded scripting - Answer-Which technique adds JavaScript to a single web page within either the or ? inline scripting - Answer-Which technique adds JavaScript to a single HTML element? external scripting - Answer-Which technique adds JavaScript by linking web pages to a text file with the .js file name extension? Click Here - Answer-How do you apply inline scripting to an element? a letter, the underscore ( _ ), or the dollar sign ( $ ) - Answer-What must variable names begin with? unique - Answer-Is these variables the same or unique? var Result var result var RESULT navigator - Answer-Which object allows you to determine information about the user's browser? navigator.appName - Answer-Which property returns a string value indicating the name of the client browser? navigator.appVersion - Answer-Which property returns a string value indicating the version number of the client browser, as well as the client's platform? 0 - Answer-What is the value of myVar after execution? function counter(x) { return x + 1; } var myVar = 0; counter(myVar); alert(myVar);