cheatsheet_midterm

cheatsheet_midterm - Alan Turing (1912 - 1954) You must...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Alan Turing (1912 - 1954) You must have at least one blank- between two words (identifiers or keywords)- between a word and numeric literal You cannot have a blank- within a word- within a compound symbol- within a literal ( except string literals, in string literals blanks are blanks) line breaks are possible whenever blank is possible exception: a string literal must start and finish on the same line semicolon : at the end of a statement exception: variable declaration: variable declaration is not a statement Operator Explanation Associativity + - ! plus and minus signs, logical NOT right-to-left * / % multiplication, division and modulus left-to-right + - addition, subtraction left-to-right << >> stream insertion and extraction left-to-right < <= > >= Inequality comparison operators left-to-right == != equal, not equal comparison left-to-right && logical and left-to-right || logical or left-to-right = += -= *= /= %= assignment operators right-to-left variable = expression; Von Neumann Model...
View Full Document

This note was uploaded on 03/16/2012 for the course FENS 101 taught by Professor Selçukerdem during the Fall '12 term at Sabancı University.

Page1 / 2

cheatsheet_midterm - Alan Turing (1912 - 1954) You must...

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

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