what are the bars around the numbers in integer questions

they mean absolute value

|x| = x if x>=0
|x| = -x if x<0

so,

|7| = 7
|-5| = 5

|x| is never negative