Comp Sci Test 10/7

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/31

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:26 AM on 10/7/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

32 Terms

1
New cards

What is JavaScript

The worlds most popular programming language

2
New cards

When was JavaScript established

1995

3
New cards

How many websites use JavaScript

98% of all websites use JavaScript on the client side for web page behavior

4
New cards

JavaScript past names

Initially called mocha and then renamed to live script

5
New cards

What is JavaScript used for

used to create interactive elements on websites

6
New cards

What does JavaScript run in

Runs Directly in the browser and can make websites dynamic

7
New cards

What is used along side HTML and CSS

JS is used alongside HTML and CSS to build modern web applications

8
New cards

What are variables used for

Used to store data and allow you to give a name to your data so you can refer to it later

9
New cards

1_let

For variables that can be reassigned later

10
New cards

const

For variables that cannot be reassigned after they’re set

11
New cards

var

An older way to declare variables, not commonly used now due to scope issues

12
New cards

String

Text/characters

13
New cards

Number

Integers and decimals

14
New cards

BigInt

Very large integers

15
New cards

Boolean

True or false

16
New cards

Undefined

A variable with no assigned value

17
New cards

Null

Intentional absence of a value

18
New cards

Symbol

Creates a unique identifier

19
New cards

Object

Collection of related data

20
New cards

number example

let number = 10;

21
New cards

strings example

let text = “Hello”;

22
New cards

Booleans example

let is True = true;

23
New cards

Arrays example

let fruits = [“apple”, “banana”, “cherry”];

24
New cards

Objects example

let person = {name: “John”, age: 25},

25
New cards

Conditionals

if-else statements are used to perform different actions based on conditions

26
New cards

Function

A block of code designed to perform a task

27
New cards

Loops

help repeat tasks easily

28
New cards

DOM Manipulation

Allows JavaScript to interact with and change HTML elements

29
New cards

What does DOM stand for

Document Object Model

30
New cards

Function to call to print to the screen

println

31
New cards

function used to ask the user to enter text

readLine

32
New cards

To ask the user of the program for a number, which function should you use

readInt and readFloat