AVASCRIPT PROGRAMMING IN HTML5 WITH Exam Questions and Answers Latest Graded A+, Exams of Javascript programming

AVASCRIPT PROGRAMMING IN HTML5 WITH Exam Questions and Answers Latest Graded A+

Typology: Exams

2025/2026

Available from 05/18/2026

DrBenard
DrBenard 🇺🇸

3.5K documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
JAVASCRIPT PROGRAMMING IN HTML5 WITH Exam Questions and
Answers Latest Graded A+
How to print "Hello World" - ✔✔
A ________ is like a box that can hold a value - ✔✔variable
Declaring a variable - ✔✔(does not enter a value into the variable)
Initializing a variable - ✔✔Declares a variable and sets its initial value
Assigning to a variable - ✔✔Changing a variable's value
Types of Variables - ✔✔Number
Boolean
String
Numeric Variables - Integers - ✔✔Whole numbers
Numeric Variables - Floats - ✔✔Real numbers (can be decimals)
Boolean Variables - ✔✔true/false
String Variable - ✔✔Text (goes between quotes)
Variable names start with... (3) - ✔✔a letter
$
_
Variables Example - ✔✔
pf3
pf4

Partial preview of the text

Download AVASCRIPT PROGRAMMING IN HTML5 WITH Exam Questions and Answers Latest Graded A+ and more Exams Javascript programming in PDF only on Docsity!

JAVASCRIPT PROGRAMMING IN HTML5 WITH Exam Questions and

Answers Latest Graded A+

How to print "Hello World" - ✔✔ A ________ is like a box that can hold a value - ✔✔variable Declaring a variable - ✔✔(does not enter a value into the variable) Initializing a variable - ✔✔Declares a variable and sets its initial value Assigning to a variable - ✔✔Changing a variable's value Types of Variables - ✔✔Number Boolean String Numeric Variables - Integers - ✔✔Whole numbers Numeric Variables - Floats - ✔✔Real numbers (can be decimals) Boolean Variables - ✔✔true/false String Variable - ✔✔Text (goes between quotes) Variable names start with... (3) - ✔✔a letter $ _ Variables Example - ✔✔

Functions used to receive user inputs - ✔✔ Use readLine to get/read ... from the user - ✔✔strings of text Use readInt to get/read ____ from the user - ✔✔integers Use readFLoat to get/read ____ from the user - ✔✔floats (real numbers) User input Example - ✔✔ Arithmetic Operators in JavaScript - ✔✔ When a modulus operator is used, it... - ✔✔divides the two numbers and takes the remainder The function ____________ gets the width of the canvas - ✔✔getWidth() The function ____________ gets the height of the canvas - ✔✔getHeight() How to make text located at a certain location - ✔✔ How to make a circle centered at a certain location - ✔✔ How to make a rectangle located at a certain location - ✔✔ When setting the position of rectangles, the position is set at the ________________ of the graphic - ✔✔top left corner

Why are computer programs an example of code? - ✔✔Computer programs are an example of code because programmers use the different programming languages as predefined symbols to communicate with a computer. Interactive - ✔✔allowing the flow of information both ways between a computer and its user (with inputs and outputs)