Test Review 2 - Panda encoding presence/absence, ex 1 or 0...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Panda encoding – presence/absence, ex 1 or 0 Bit is a binary digit, piece of memory in which memory is started Algorithm - JavaScript is a type of algorithm, set of instructions Valid Symbols Symbol Definitions (for more information see lecture notes) ˄ Logical “AND” / Conjunction ˅ || Logical “OR” / Disjunction ¬ / ~ ! Logical “NOT” / Negation -> Logical “implication” / Conditional Input / Output Start / End Decision Process Connector Arrows document.write(“print to screen, please.”); alert(“watch out!”); prompt(“What is your name”, “”);
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
== Equal to < Less than <= Less than or equal to > Greater than >= Greater than or equal to == Equal to != NOT equal to Tests two or more relationships at the same time Teenagers are older than 12 and younger than 20 Logical AND Result of (a & b) is true (a bool) if both a and b are true; else the result is false Logical OR Symbol is
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

Test Review 2 - Panda encoding presence/absence, ex 1 or 0...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online