Answer:
A. dict = {‘Name’: ‘Matthew’, ‘Age’: 14, ‘School’: ‘ABC School’}
Explanation:
Since <em>python does not use type when declaring a variable</em>, you must make sure you make your variables correctly or else it won't compile correctly. Lists use braces[]; Strings use quotes, "" or ''; Integers are just declared with a number(s); Dictionaries use brackets{} and inside are <u>attributes of something</u>. For instance, you can use dictionaries to describe ages, {'"Bryan": 6, "Alex": 13, etc.} <u>Sort of like a json file</u>. Dictionaries also tend to use <u>uppercase letters</u> when describing something. The only answer that has all the attributes correct is A. dict = {‘Name’: ‘Matthew’, ‘Age’: 14, ‘School’: ‘ABC School’}
hope i helped :D
AnswerB
Explanation:Makes since to look over the notes each night before the exam
Answer:
You might experience temporary blackouts and at times memory loss for the short term.
Sudden change in mood, and facing irritability signs
Coming up with excuses for drinking like relaxing, stress, feel normal or deal with stress
keeping distance from friends and various family members
Drinking away from all and in privacy
Suffering from hungover while you are not drinking
Changing group or acquaintances and appearance you usually are with previously
Explanation:
Please check the attachment.
Answer:
Option a. int max = aList.get(0); for (int count = 1; count < aList.size(); count++) { if (aList.get(count) > max) { max = aList.get(count); } }
is the correct code snippet.
Explanation:
Following is given the explanation for the code snippet to find largest value in an integer array list aList.
- From the array list aList, very first element having index 0 will be stored in the variable max (having data type int).
- By using for starting from count =1 to count = size of array (aList), we will compare each element of the array with first element of the array.
- If any of the checked element get greater from the first element, it gets replaced in the variable max and the count is increased by 1 so that the next element may be checked.
- When the loop will end, the variable max will have the greatest value from the array aList.
i hope it will help you!
Hey and thanks for giving me the chance to serve u
For the nuclear industry, the NRC, amongst other things, dictates exposure limits to both workers dealing with radioactive material, called the occupationally exposed, and the general public, or non-occupationally exposed. For an occupationally exposed worker, such as someone at a nuclear power plant or in nuclear medicine at a hospital (if they’re licensed by the NRC), the limit is 5 rem a year. Surprisingly, while most nuclear power workers never receive anywhere close to that amount, some workers in the medical field, such as those working with X-ray fluoroscopy machines, are amongst the highest occupationally exposed workers. Pregnant women who are occupationally exposed may choose to (but are not required to) declare their pregnancy and receive lower dose limits throughout the term of the pregnancy.
For members of the public, the annual limit from the NRC (which is matched by the EPA for areas not covered by NRC guidelines) is 100 mrem. Licensed facilities have to have programs in place to limit exposure, and be able to demonstrate that procedures are in place that members of the public would not be exceeding those levels.