100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

CS101 FINAL EXAM QUESTIONS AND CORRECT ANSWERS 2025

Rating
-
Sold
-
Pages
12
Grade
A+
Uploaded on
04-01-2025
Written in
2024/2025

CS101 FINAL EXAM QUESTIONS AND CORRECT ANSWERS 2025...

Institution
CS101
Course
CS101

Content preview

interpreted language - ANSWER interpreter reads each line of code, converts
it to machine language (1s, 0s) and then executes it

syntax - ANSWER rules for writing lines of code

callbacks - ANSWER a piece of code that is executed when an event happens;
adds interactivity to the page

variable - ANSWER a named value

functions - ANSWER allow us to do the same thing two times or do something
in a general way that can work on any values we provide

loops - ANSWER allows us to do a set of steps several times

counting variable (in a loop) - ANSWER counts how many times we've done
the loop

codeblock - ANSWER program that runs javascript right in the browser;
special in that it allows you type your own code and then run it

for loops - ANSWER when we know how many times we want a loop to run

while loops - ANSWER when we want the loop to run until something special
happens

infinite loop - ANSWER often used for servers that need to listen for incoming
connections: while (true) listen { }

function - ANSWER set of code we want to use many times but with different
values

, HTML DOM (Document Object Model) - ANSWER a way to represent the
parts of a document; acts as a map to any given element; relationships among
the elements are shown; used to find things in an HTML document

ID attribute - ANSWER allows us to work directly with an HTML tag and its
contents from javascript

number function - ANSWER converts what is in text box to a number to be
used in javascript

string - ANSWER a group of characters

substring - ANSWER a part of a longer string

Array - ANSWER an ordered collection in which each item has an index
associated with it, which lets us set or get the item at that index

CSV - ANSWER Comma separated value (string)

javascript libraries - ANSWER useful place several functions together into a
single file; collection of functions that may be added to a webpage using a
<script src=> tag

date library - ANSWER used to manipulate dates

object - ANSWER collection of variables and functions that provide an easy
way to access them

epoch - ANSWER number of milliseconds elapsed since January 1 1970 (time
most programs and computers is stored in) -- evolved into international standard
for keeping time

other popular libraries - ANSWER Closure, JQuery, Mongo, Angular, Node

math library - ANSWER where we can find trig functions (sine, cosine),
random numbers, mins and maxes, absolute values, etc..

Written for

Institution
CS101
Course
CS101

Document information

Uploaded on
January 4, 2025
Number of pages
12
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Boostertips Chamberlain College Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
261
Member since
3 year
Number of followers
195
Documents
5175
Last sold
2 weeks ago

3.8

44 reviews

5
19
4
8
3
10
2
2
1
5

Recently viewed by you

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

Frequently asked questions