Class Notes (837,539)
Canada (510,303)
CMPT 100 (33)
Lecture

Expressions

1 Page
61 Views
Unlock Document

Department
Computer Science
Course
CMPT 100
Professor
Keith Mc Ilmoyl
Semester
Winter

Description
January 24, 2013 January-24-13 10:01 AM Expressions - An expression is one kind of simple task. - An expression is a way of using data to calculate a value. The simplest expression is just a literal value. - e.g. 3.14159,, 'A', "Some text", true. Arithmetic operators - We use familiar arithmetic operators: ○ + addition ○ Subtraction ○ Multiplication (x is amgibuous) - They require numeric operants. SYNTAX: Making sense - Some combinationsof operands and operators make sense. ○ e.g., 23 + 17/(36- 5) Boolean data - There are only two values in Boolean logic: ○ True ○ False - Boole
More Less

Related notes for CMPT 100

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit