EECS 1012 Lecture Notes - Lecture 3: Boolean Algebra, Hulk (Comics)

77 views3 pages
ammarmarta2020 and 40175 others unlocked
EECS 1012 Full Course Notes
10
EECS 1012 Full Course Notes
Verified Note
10 documents

Document Summary

Server side basics: urls and web servers, also called server side scripting, used to make web pages dynamic, provide different content depending on context. Interface with other services: database, e-mail: authenticate users, process form information, at end. Php chars: \n=new line, \(cid:863) include quotations, \= insert backslash, print/echo= both print. Functions: rand();=generates random number: abs (n);=absolute value, max (x,y) =finds max number, pow(x,y) = power (number wanted to be multiplied, power, gettype() finds out what type a variable is. Casting: forces the change of a type (int) this changes to a integer. Index is the position: ex: a(cid:373)e=(cid:863)dea(cid:374)er(cid:863); print [0]; the output will be d. Interpreted strings: string with variables written directly inside double quotes will be inserted as the program runs, does not work with single quotes, ex: = ", "; print ; Control statements: ----------: boolean logic, a variable that holds only 2 possible values, true or false.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents