exam questions

Exam JN0-220 All Questions

View all questions & answers for the JN0-220 exam

Exam JN0-220 topic 1 question 1 discussion

Actual exam question from Juniper's JN0-220
Question #: 1
Topic #: 1
[All JN0-220 Questions]

You are creating a Python data type that contains a collection of multiple ordered values. As part of your script, you must make changes to the values that are stored in your data type.
In this scenario, which data type should you use?

  • A. list
  • B. tuple
  • C. dictionary
  • D. set
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
F_A
3 years, 3 months ago
Answer - A List items are ordered, changeable, and allow duplicate values - https://www.w3schools.com/python/python_lists.asp As of Python version 3.7, dictionaries are ordered. In Python 3.6 and earlier, dictionaries are unordered. Dictionary items are ordered, changeable, and does not allow duplicates. Dictionary items are presented in key:value pairs - https://www.w3schools.com/python/python_dictionaries.asp
upvoted 1 times
...
osmankh1
4 years, 8 months ago
It should be "list"... list contains ordered, changeable values Dictionary is not ordered, its more of a key-value pair, though its chanegable too
upvoted 2 times
...
victormune
4 years, 10 months ago
LIST is the answer
upvoted 1 times
...
passnow
4 years, 11 months ago
Dictionary is a collection which is unordered, changeable and indexed. No duplicate members. so the correct answer is A
upvoted 1 times
...
sedra1
5 years, 3 months ago
it is list
upvoted 1 times
...
craterman
5 years, 5 months ago
correct is A https://www.w3schools.com/python/python_lists.asp
upvoted 1 times
...
eahmyou
5 years, 6 months ago
order values refers to list
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago