Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript JavaScript Basics (Retired) Working With Numbers Numbers

Kris Quigley
Kris Quigley
5,612 Points

I noticed in the test for the question: "Which is an example of an integer?" That the answer, 127 is deemed incorrect.

The answer it says, "negative numbers can also be integers" which I do not dispute. However, there are two correct answers for this question; 127 and the negative number.

3 Answers

It's because they're looking for you to pick "E. Both B and D."

Kris Quigley
Kris Quigley
5,612 Points

Then the question needs to be reworded, or better yet, made into a multiple choice question for 'all examples' of integers. This I think would better aide learners.

Kris, you are being a little bit pedantic about the wording of a quiz lol.

Kris Quigley
Kris Quigley
5,612 Points

You're right, I am. I just don't want learners to be misled is all :)

I do agree, though. A better phrasing could be: "Of the following integers, which is/are (example(s) of integers?" It's still missing an "an", but the question itself would become convoluted, which would further mislead students.

It is common practice with multiple choice questions to choose the best answer to the question. The way the question is works fine. But the questions could all say "Choose the best answer".

FΓ‘bio Tavares da Costa
FΓ‘bio Tavares da Costa
11,985 Points

I did the same mistake, but I disagree. There are two incomplete choices with a single integer each and one that means there are two integers among the options, therefor the only right answer.