CS Principles (Midterm 2)

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/59

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

60 Terms

1
New cards

Semicolon (;)

Used to terminate a statement in javascript

2
New cards

Plus (+)

performs continuation in javascript

3
New cards

<input...>

HTML element to add textboxes, buttons, etc on the webpage

4
New cards

<link ref="stylesheet" type="text/css" href

HTML referring to an external style sheet CSS (mystyle.css)

5
New cards

Static web pages

are characterized by their fixed content, which means that it shows the same content every time the web page is accessed.
Ex: HTML

6
New cards

Dynamic web pages

Web pages that can change on the fly depending on variables, such as the date or time of day.
Ex: Javascript; CSS

7
New cards

Document Object Model (DOM)

Connects web pages to scripts or programming languages by representing the structure of a document; defines the logical structure of documents and the way a document is accessed and manipulated.

8
New cards

With DOM..

Javascript can change/react HTML elements, CSS styles, and add new HTML elements and attributes

9
New cards

Search engine 2 main components

Indexed links and files
Algorithms with query results

10
New cards

Data center infrastructure

All of the physical resources and components that comprise and support a data center; include:
servers
computers
Routers/switching
security
storage
data center management software/applications

11
New cards

Search engines

Apply a search algorithm to the data collected by web crawlers to display relevant information and websites in response to user searches

12
New cards

Web crawlers

Continuous; score documents so that query processors can rank the results; set different set of URLs; download all of the html files for processing of indexers; categorize/review web pages to sed to indexer; wait in intervals so they're not overcrowded

13
New cards

Inverted index

a data structure storing a mapping from content to its locations in a database file or in a document or set of documents

14
New cards

Forward Index

An index into a set of texts. This is usually created as the first step to making an inverted index; list that is not organized into set locations

15
New cards

A web page has a high rank...

If the sum of the ranks of its backlinks are high (more resources to for the algorithm to pull to put on your search results)

16
New cards

Binary patterns

How all data on a compute system is represented (sequences of 1s and 0s)

17
New cards

Parameters

A set of information included to help a process or function operate as intended.

18
New cards

Internet and the Web

The web depends on the internet; internet is independent; if the internet shuts down, web shuts down; if the web shuts down, internet

19
New cards

Protocols

Internet protocol (IP)
Transmission control protocol (TCP)
what the internet is governed by

20
New cards

Packets

To communicate through a network the computer breaks the information down into packets; sent to a router

21
New cards

Recommender system

Lists the things recommended for you (things you're likely to search for); predicts the rating a user might give to an item (algorithm)

22
New cards

Domain name server (DNS)

Translate the names into their corresponding IP addresses

23
New cards

Centralized computer network

Failure of a single machine/connection can islate large portions of the network

24
New cards

Graph

Common data structure that consists of finite sets of nodes and set of edges connecting them

25
New cards

Transmission control protocol (TCP)

Controls the method by which data is broken down into packets and then reassembled when they reach their final destination

26
New cards

Internet Protocol

Concerned for labeling packets for delivery and controlling the packet's paths from sender to recipient

27
New cards

ARPANet

A computer network developed by the Advanced Research Project Agency (now the Defense Advance Research Projects Agency) in the 1960s and 1970s as a means of communication between research laboratories and universities. ARPANET was the precursor to the Internet.

28
New cards

Uniform research locators (URL)

Addresses to locate resources for web pages;
web crawlers/ indexers responsible for different sets of urls; includes:
Protocol (IP, TCP)
Domain (server)
path to resource

29
New cards

Indexers

Used to organize/score documents so that the query processors can use them to rank/filter results; scans all documents downloaded by web crawlers (like storage)

30
New cards

Query Processing

gets information from indexers which was scanned from web crawler to send to the user

31
New cards

World Wide Web (WWW)

a collection of websites or web pages stored in web servers and connected to local computers through the internet; governed by HTTP

32
New cards

World Wide Web (WWW) Structural components

Web Page
Web Server
Web Browser
Search engine
URL
Protocols
domains
path to resource
hyperlinks
HTTPs

33
New cards

Web server

Computers or software applications that stores and delivers web pages upon request

34
New cards

Web browser

Retrieves and displays web pages

35
New cards

Hyperlinks

Clickable connections that link text or images to other pages of the website, out to external websites, or to files posted on a website; connects one web page to another

36
New cards

HTTPS (Hypertext Transfer Protocol Secure)

Used to connect web servers on the internet/local internet

37
New cards

Add java script

<script>...</script>

38
New cards

"Let"

Keyword used to declare a variable locally inside the block in javascript

39
New cards

"Const"

Keyword used to declare constant variable that can't be changed once assigned a value in javascript

40
New cards

Event

The result of a web page once it loads

41
New cards

Functions

Can be defined in the <head> or <body> section of a document

42
New cards

If else statements

If you need to make a choice between more than two alternatives

43
New cards

Octal number system

a base-8 system, consisting of the symbols 0 through 7; reduces errors in reading binary; common in early computing

44
New cards

Unix file permission

Octal code represending permission for three groups:
Owner
Group
Others
Different binary permissions:
Read (=4);Write (=2);Execute (=1); no permissions (=0)

45
New cards

Binary to Octal

1. Group code into 3 digits
2. Right to left
3. each 3 numbers represent octal digit value
(find in chart)

46
New cards

Decimal to Octal

1. Divide by 8
2. Keep track of remainder
3. Continue dividing by 8 without remainder until there are no remainders left of each product
4. Put together all remainders

47
New cards

ASCII

a code for representing English characters as numbers, with each letter assigned a number from 0 to 127

48
New cards

ISO-8859-1

An extended version of the ASCII character set., each letter assigned from 0 to 256; suitable for some languages in wester world

49
New cards

UTF-8

A coding system for storing characters in bits, extending the 8-bit ASCII coding system to include international characters by sometimes using more than 8 bits.

50
New cards

Internet

Moves computerized information (data) from one place to another; governed by IP

51
New cards

Distribution networks

real, tangible systems of interconnected sources and destinations through which products pass on their way to the final customers

52
New cards

Packet switching

the transmission technology that divides blocks of text into packets; flow in many routes determined by the fasted and most efficient

53
New cards

Routers

Computers that receive packets and pass the packets on toward their destination

54
New cards

Internet back bone

a collection of high-speed data lines that connect major computer systems located around the world; highway that connect cities
High speed cable
high-capacity Nodes

55
New cards

Search engine components

Infrastructure
crawling algorithms
indexing algorithms
query processing/ranking

56
New cards

Infrastructure

Geographically distributed data centers; clusters of computers

57
New cards

Clusters functions

Crawling
indexing
query processing

58
New cards

Social network

Relationship between 3 or more entities communicating and sharing information

59
New cards

Cookies

computer program, installed on hard drives, that provides identifying information; saves browsing information

60
New cards

social network analysis (SNP)

a method for examining relationships in a community, often conducted by identifying who people turn to in times of need