stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
javascript1 Flashcards | StudBud
Explore
/
javascript1
javascript1
14 terms
·
StudBud Administration
Imported from external platform
Flashcards
14 cards
F
Practice quiz
P
Host live
L
Questions
14
Answers
1
What is one common use of JavaScript in web pages?
To manage server resources
To design operating systems
To validate form entries
To create databases
2
What is the purpose of the parseFloat function in the JavaScript code?
To convert a string to an integer
To display an alert message
To validate form entries
To convert a string to a floating-point number
3
Which type of memory is typically maintained in RAM as long as the computer is on?
Operating system
Internet cache
BIOS settings
User files
4
What happens if the CPU had to constantly access the hard drive to retrieve data?
The computer would crash
The computer would operate very slowly
The computer would operate faster
The computer would not be affected
5
What is the first step the computer performs when it is turned on?
Loads data from ROM and performs a power-on self-test (POST)
Checks the internet connection
Loads the operating system from the hard drive
Loads data from RAM
6
What does the CPU use to store pieces of data it will need to access quickly?
Cache
ROM
BIOS
Hard drive
7
Where does JavaScript code run?
On a database
On the operating system
On the server
Inside an Internet browser
8
What does the BIOS provide information about?
Software applications
Storage devices, boot sequence, security, and Plug and Play capability
Internet settings
User preferences
9
What does the term 'read/write' mean in the context of computer memory?
Data is only read from a bit
Data is only written to a bit
Data is written to a bit and then read from that bit
Data is deleted from a bit
10
Which type of memory is used for fast, temporary storage?
Hard drive
BIOS
ROM
RAM
11
What does the onClick attribute do in the HTML example?
It submits the form data to the server
It validates the form entries
It refreshes the web page
It triggers the JavaScript function when the button is clicked
12
What is the role of the memory controller during the power-on self-test (POST)?
To load the operating system
To display the BIOS settings
To connect to the internet
To check all memory addresses with a quick read/write operation
13
What is JavaScript primarily used for?
Client-side scripting
Server-side scripting
Database management
Operating system development
14
Where should your JavaScript code placed?
In the <body> section
D)
In the <head> section
In the <footer> section