Notation

Discussion in 'CS1' started by Stephan Langmaak, Mar 19, 2021.

  1. Stephan Langmaak

    Stephan Langmaak Keen member

    I have a very basic question about the notation: is there are reason the notes write E[X] instead of E(X)? I appreciate that square brackets and round brackets make a difference for intervals (a square bracket indicates that the endpoint is included in the set and a round bracket that it is not), but what is the difference for functions?
     
  2. John Lee

    John Lee ActEd Tutor Staff Member

    Nope. Although, there is a general nesting order of brackets: { [ (
     
  3. Stephan Langmaak

    Stephan Langmaak Keen member

    OK, thanks a lot, John.
     
  4. Stephan Langmaak

    Stephan Langmaak Keen member

    In the Standard Keyboard Notation, I didn't find a notation for "not equal to". Is it OK to use "<>" in the exam?
     
  5. Julie Lewis

    Julie Lewis Member

    Yes, any sensible notation is acceptable.
     
  6. Stephan Langmaak

    Stephan Langmaak Keen member

    OK thanks, Julie.
     

Share This Page