FAIR VALUE MEASUREMENTS (Tables)
12 Months Ended
Oct. 31, 2017
Fair Value Disclosures [Abstract]  
Fair Value Assets And Liabilities Measured On Recurring Basis
Financial assets and liabilities measured at fair value on a recurring basis as of October 31, 2017 were as follows:

 
 
 
Fair Value Measurement at
October 31, 2017 Using
 
October 31,
2017
 
Quoted Prices
in Active
Markets for
Identical Assets
(Level 1)
 
Significant
Other
Observable
Inputs
(Level 2)
 
Significant
Unobservable
Inputs
(Level 3)
 
(in millions)
Assets:
 
 
 
 
 
 
 
Short-term
 
 
 
 
 
 
 
Cash equivalents (money market funds)
$
1,659

 
$
1,659

 
$

 
$

Derivative instruments (foreign exchange contracts)
4

 

 
4

 

Long-term
 
 
 
 
 
 
 
Trading securities
32

 
32

 

 

Total assets measured at fair value
$
1,695

 
$
1,691

 
$
4

 
$

Liabilities:
 
 
 
 
 
 
 
Short-term
 
 
 
 
 
 
 
Derivative instruments (foreign exchange contracts)
$
6

 
$

 
$
6

 
$

Long-term
 
 
 
 
 
 
 
Deferred compensation liability
32

 

 
32

 

Total liabilities measured at fair value
$
38

 
$

 
$
38

 
$



Financial assets and liabilities measured at fair value on a recurring basis as of October 31, 2016 were as follows:

 
 
 
Fair Value Measurement at
October 31, 2016 Using
 
October 31,
2016
 
Quoted Prices
in Active
Markets for
Identical Assets
(Level 1)
 
Significant
Other
Observable
Inputs
(Level 2)
 
Significant
Unobservable
Inputs
(Level 3)
 
(in millions)
Assets:
 
 
 
 
 
 
 
Short-term
 
 
 
 
 
 
 
Cash equivalents (money market funds)
$
1,482

 
$
1,482

 
$

 
$

Derivative instruments (foreign exchange contracts)
9

 

 
9

 

Long-term
 
 
 
 
 
 
 
Trading securities
31

 
31

 

 

Total assets measured at fair value
$
1,522

 
$
1,513

 
$
9

 
$

Liabilities:
 
 
 
 
 
 

Short-term
 
 
 
 
 
 
 
Derivative instruments (foreign exchange contracts)
$
8

 
$

 
$
8

 
$

Long-term
 
 
 
 
 
 
 
Deferred compensation liability
31

 

 
31

 

Total liabilities measured at fair value
$
39

 
$

 
$
39

 
$


Impairment of Long-lived assets included in net income
For assets measured at fair value on a non-recurring basis, the following table summarizes the impairments included in net income for the years ended October 31, 2017, 2016 and 2015:

 
Years Ended
October 31,
 
2017
 
2016
 
2015
 
(in millions)
Long-lived assets held and used
$

 
$
4

 
$
3

Long-lived assets held for sale
$

 
$

 
$