Skip to the content.

CSCI E-1a

Fall 2021

http://jrsacher.github.io/e1a

Contact Josh

General Information

Sections


Programming

Slides

Sandbox

Demo of compiled vs. interpreted languages

Quiz questions

A yes/no true/false statement. Often used with loops and conditionals (below).

An intermediate code created from source code in interpreted languages such as Python which is then executed by a virtual machine

Methods of controlling program flow. Loops let a chunk of code be repeated, while conditionals provide branching options.

More than one piece of code is being executed at the same time

A sort of notification sent from one thread to another


Web Development

Slides

Sandbox with example webpage

Resources

Quiz questions

A web server is a computer that can listen for requests and then send websites back to a user. The client is your web browser (or another application) that makes the requests.

See here for a list of codes

A way of grabbing a particular piece of HTML and applying style to it

The action attribute tells the webpage what to do on form submission

The Document Object Model is a tree-like structure for a webpage. It’s useful for CSS selectors, JavaScript, and more.

Assignment


Security

Slides

Quiz questions

The browser starts “clean” and any cookies, history, or information acquired during that session is removed on exit.

One master password protects a “vault” of other passwords, meaning you only have to remember a single password to access all login info for all sites.

The public key only allows data to be encrypted. The private key is needed for decryption.


Multimedia

Slides

Quiz questions

While MP3 files are recordings of the song, MIDI files are instructions for a computer to play a song – similar to sheet music.

Sample rate is the number of audio snapshots/slices taken per second. Bit depth is a measure of how many bits are used to store each sample.

Magenta! See here, for instance

Keyframes are complete images stored at regular intervals. After that, only the changes to the image(s) have to be recorded until the next keyframe. This allows us to use less data to store the same information.


Internet

Slides

Quiz questions

A router (wireless or otherwise) connects your devices to the modem. The modem is responsible for sending/receiving information. The two are sometimes housed in the same unit.

See here and links therein.

We thought we had enough addresses for all the devices ever. It turns out we were wrong – internet connected refrigerators weren’t a thing when IPV4 was implemented.


Hardware

Slides

Quiz questions

16 8 4 2 1
1 1 1 0 0

RAM is faster at data transfer and has less storage capacity. A disk will maintain its state when power is removed, but RAM is volatile – it can’t store anything without constant power.

Software that sits between the user and hardware. Runs programs, manages resources, provides a user interface.


General Info

Course Website

Contact Josh or all course staff

Sections (feel free to attend whichever is convenient):

Office hours: