What are the ending contents of the array? Choices show elements in index order 0, 1, 2. int yearsList[3]; yearsList[0] = 5; yearsList[1] = yearsList[0]; yearsList[0] = 10; yearsList[2] = yearsList[1];

Answers

Answer 1

The array yearsList is used to hold multiple values and variables

The ending content of the array are 10, 5, 5

How to determine the ending content of the array

The first line of the program declares an array variable of three elements

int yearsList[3];

The second line assigns 5 to the 0 index

yearsList[0] = 5;

The next line assigns the value of the 0 index to the 1 index.

So, we have:

yearsList[0] = 5;

yearsList[1] = 5;

The next line assigns 10 to the 0 index.

So, we have:

yearsList[0] = 10;

yearsList[1] = 5;

The next line assigns the value of the 1 index to the 2 index.

So, we have:

yearsList[0] = 10;

yearsList[1] = 5;

yearsList[2] = 5;

Hence, the ending contents of the array are 10, 5, 5

Read more about arrays at:

https://brainly.com/question/22364342


Related Questions

You have a few great ideas for several different video games, but you aren’t sure how to pick one in particular to pursue. You decide to use Jesse Schell’s set of filters to help you choose one specific idea. How will these filters help you narrow down your ideas?

a
by entering your game into Schell’s software, your ideas will be scientifically analyzed and you will be able to choose an idea based on hard, statistical data
b
they will offer you ways to evaluate an idea and determine how viable it is as a game
c
through a series of questions, they will choose the idea for you
d
the filters guide you to send out various polls on social media to let the public decide

Answers

Answer: by entering your game into Schell’s software, your ideas will be scientifically analyzed and you will be able to choose an idea based on hard, statistical data

How did a users computer connect to aol when it first came out.

Answers

Answer:

In February 1991, AOL for DOS was launched using a GeoWorks interface followed a year later by AOL for Windows.

Explanation:

In February 1991, AOL for DOS was launched using a GeoWorks interface followed a year later by AOL for Windows.

Which of these might cause a STOP error in Windows? Select 2 options

Answers

The options that might cause a STOP error in Windows are:

bad or incompatible driver.overheating.Why do Windows stop code errors occur?

This stop error number is brought on by a malfunctioning driver that, under certain circumstances, fails to finish its work in a timely manner. Gather the RAM dump file from the system and utilize the Windows to identify the problematic driver to assist reduce this error.

Note that Although other codes may indicate issues with other hardware or software, the majority are caused by issues with a device driver or your computer's RAM. Example of a STOP Code (Windows XP).

Therefore, If there is a problem that results in an unexpected shutdown or restart of your device, a blue screen error, also known as a stop error, may occur.

Learn more about  incompatible driver from

https://brainly.com/question/17280845
#SPJ1

See options below

an application stops responding to commands

a missing image on a web page

bad or incompatible driver

bad application coding

overheating

What are particulates and are particulates harm full?

Answers

Answer:

particles can be know as chemical and chemicals are dangerous]

Explanation:

Amye is in high school. As part of one of her classes, she had to identify the legality of different situations that involved
workers and their employers. She enjoyed this aspect of her class so much that she wanted to find a job that uses this
interest. Which career should Amye focus on during college?
accountant
O human resources manager
O chief executive officer
O credit analyst

Answers

I say you should pick answer 1. an HR makes more sense since she is interested in a topic about the legality of different situations that are related to workers and their employers.

Answer:

Its A an HR

Explanation:

WILL GIVE BRAINLIEST!! NO LINKS!!!
So, I plugged in my charger like usual and my phone turned on but after a few seconds it went off. Please tell me what to do. I just got this phone in February. HELP!

Answers

Answer:

Maybe try a different charger, and if that works, your phone may have an issue..

Explanation:

Sometimes cords just.. don't work right if you use 'em long enough.

i would recommend a reset, you won’t lose anything it just reboots the phone… press the bottom button quick and the do the same to the top then hold your power button until the apple logo comes up.

that should work, i had a similar problem so ig this should.

Why would a real estate agent want to calculate a
median?
to determine the top and lower halves of
home prices in a neighborhood, which helps
to find the median
to determine the highest price paid in a
neighborhood
to determine the average price paid for a
home in a neighborhood
to determine the most popular price for homes
in the neighborhood

Answers

Answer:to determine the top and lower halves of home prices in a neighborhood, which helps to find the median

Explanation:E2020

A single instruction carried out by a computer is called a...

Answers

Answer:

a program

Explanation:

hope it helps

What is the relationship between an object and class in an OOP program?

Answers

Answer:

Class versus object

Explanation:

A class is a template for objects. A class defines object properties including a valid range of values, and a default value. A class also describes object behavior. An object is a member or an "instance" of a class.

The relationship between an object and a class in an OOP program is the object contains classes. The correct option is C.

What is a class in programming?

User-defined data types called classes serve as the building blocks for specific objects, attributes, and methods. Objects are instances of a class that were generated using data that was precisely defined. Objects can be abstract concepts or real-world things.

A class serves as an object's template. A class specifies the properties of an object, such as the acceptable range of values and the default value. Object behavior is also described by a class. A member or “instance” of a class is an object.

A class serves as a model or blueprint from which new objects can be made. Therefore, a class's instance (result) is an object.

Therefore, the correct option is C. The object contains classes.

To learn more about the class, refer to the link:

https://brainly.com/question/21113563

#SPJ2

The question is incomplete. Your most probably complete question is given below:

The object and class are the same things.

The object in a program is called a class.

The object contains classes.

The object is used to create a class.

Is there a way to stop sharing location without notifying the person.

Answers

I don’t think there is maybe you can enable Airplane Mode and then stop sharing location. I don’t really know I’m sorry.

Answer:

Yes

Explanation:

There is a way to disable sharing your location without sending any messages to the person. First, go to the "find my," app. Then go to the people section, and then tap on the person you want to disable. Go up to "stop sharing my location," and simply click and confirm by clicking yes on the pop-up window.

She wants to use a different level for the uses of the gases.

What can Hope do to change the numbers 2, 3, 5, and 6 to lowercase letters?

Press the Space bar.
Use the Tab key.
Click the Sort option.
Use the Multilevel List icon.

Answers

Answer:   d

Explanation:  got it right in edge 2020

Answer:

D

Explanation:

When code is compiled it?

Answers

Answer:

To transform a program written in a high-level programming language from source code into object code. The first step is to pass the source code through a compiler, which translates the high-level language instructionsinto object code.

Answer: Compiled code is a set of files that must be linked together and with one master list of steps in order for it to run as a program.

Explanation: This is opposed to a interpreted code like web scripts, host server scripts and BASIC that are run one line at a time.

Hope this helps! :)


Which of the following are the lines defining the borders of a shape? (1 point)
borders
curves
faces
edges
2. Which of the following is a practical application of 3-D modeling? (1 point)
teaching
cooking
gaming
blogging
3. In the simplest terms, which of the following is 3-D modeling is all about? (1 point)
computers
collaboration
creativity
shapes
4. In the vehicle design industry, which of the following was seen at the latest auto show that began as a 3-D design? (1 point)
engine
race track
stereo system
concept car
5. Complex designs are easier than ever, and you don’t need much skill to pull them off. (1 point)
true
false
6. Which of the following is a show or movie that uses real actors or animals? (1 point)
connectivity
rendering
photorealism
live action
7. Which of the following is the face of a shape? (1 point)
the lines defining the borders of a shape
the area within the outline of a shape
the lines that are not straight and are used to change or distort a shape
the points at which the lines of the edges intersect
8. Making sure that all of the complex processes are working together in the final product is one of the most difficult parts of the animation process. (1 point)
true
false
9. Which of the following is the name for digital software platforms that have both 3-D modeling tools and collaborative tools? (1 point)
CAD
Building Information Management Software
Photoshop
Digital Design Studio
10. A complex combination of computer programs are not required to bring a 3-D character to life. (1 point)
true
false
11. Which of the following is the name of the process of developing a mathematical representation of the surface of an object in three dimensions with specialized software? (1 point)
additive manufacturing
commands
3-D modeling
connectivity
12. When polygons are joined together to form larger images, they are usually connected by which of the following? (1 point)
shared angles
identical faces
common vertices
sharing edges
13. As 3-D modeling has its own vocabulary, knowing the terms is an important part of the job. (1 point)
true
false
14. 3-D modeling provides architects with the means to plan and draft which kind of concepts with ease? (1 point)
structural concepts
theorized concepts
inspired concepts
communication concepts
15. Only animate objects can be made into three dimensions. (1 point)
true
false

Answers

Answer:

no I is edges

2 is gaming

3 is creativity

Answer:

1. edges

2. gaming

3. ? sorry

4. concept car

5. false

6. live action

7. the area within the outline of a shape

8.? sorry

9. Building Information Management Software

10. false

11. 3-D modeling

12. ? sorry

13. true

14. structural concepts

15. false

Explanation:

i tried my best...

Clive wants to print the numbers 1 through 10, so he uses the following code.

for x in range(10):

print(x)

Why will he not get the output he wants?

1.Only the number 10 will print because he has only put 10 inside the parenthesis.

2.Python begins counting at 0, so the numbers 0 through 9 will print.

3.He will get a syntax error because he did not capitalize ‘For.’

4.Python begins counting at 0, so the numbers 0 through 10 will print

Answers

If Clive wants to print the numbers 1 through 10 with the code:

for x in range(10):

    print (x)

He will not get the output he wants because python begins counting at 0, so the numbers 0 through 9 will print.

Code explanation

The code is represented in python.

We loop through the number in the range 10.Then print the the looped numbers.

Generally, python begins counting from 0. Therefore, the numbers that will be printed are as follows:

0123456789

learn more on python here: https://brainly.com/question/26104476?referrer=searchResults

Describe a feature of a receptionist and explain how she deals with external customers. ​

Answers

Answer:

A receptionist is a (administrator) who deals with tasks such as, answering a phone call, and giving information to customers. They deal with external customers by letting them talk and not interrupting them..

quick I need help ASAP

Question 1 (1 point)
Why in the world would you need a spreadsheet?

Question 2 (1 point)
What are spreadsheets used for?


Question 3 (1 point)
What does this unit cover

this is a k12 test

Answers

Answer:

1. Spreadsheets are an essential business and accounting tool. They can vary in complexity and can be used for various reasons, but their primary purpose is to organize and categorize data into a logical format. Once this data is entered into the spreadsheet, you can use it to help organize and grow your business.

2. A spreadsheet is a tool that is used to store, manipulate and analyze data. Data in a spreadsheet is organized in a series of rows and columns and can be searched, sorted, calculated and used in a variety of charts and graphs.

3. ?


GOOD LUCK!

Answer:

DO NOT INCLUDE (1=) AND DO NOT FORGET TO INCLUDE THE PUNCTUATION.

Explanation:

1 = Spreadsheets are helpful when trying to manage large amounts of numerical data.

2= You might keep a spreadsheet if you keep track of your checkbook balance, the mileage on your car, your grades, or your workout results at the gym.

3= This unit covers the basics of spreadsheets—how to create them; what can be done using formulas and calculations; and how to format them.

Someone help me ASAP

Answers

Answer:

brought together at a single point (focused on the point)

ION KNOW TBH- LOOK IT UPPP

Hesigns. Think You will be accessed on the last two ows of the table, n advantages and sadvantages. Design brief, specifications and constraints Discuss this in teams of three or four. There should be at least one boy and one girl in each group. Everyone has to write their own answers below. 1. Write the design brief. A design brief tells you what the problem is and who will benefit from or use the solution. (1) Design C A machine to crush grain will usually be powered by an electrical motor that provides rotational movement. You will not use an electrical motor in your model, but will rather turn the handle of a crank by hand. This rotational movement should be changed into a reciprocating movement so that the grain will be crushed, like hitting it with a hammer. The mechanisms that your model uses should be housed inside a strong and stable structure. 2. Answer the following questions to identify the specifications for your design: (a) What different mechanisms could make the grain crusher work? (1) (b) What forces should the structure be able to withstand? (1) 3. Identify the constraints: (a) How much time do I have to design and make the model? (1) (b) What materials can I find easily to build the model? tal [6] (C) What tools do I already have with which I can make the model? (1) [Total marks: 6]​

Answers

:) A

Explanation:

i guessed

Which statement best describes a computer program?
A. A program can only perform one simple task.
B. A program is a sequence of instructions and decisions that the computer carries out.
C. A program can decide what task it is to perform.
D. A program is a sequence of comments.

Answers

Answer:

B is the best answer.

Explanation:

All other options listed are related to a program but B beast answers the question.

Complete the sentence about RSA encryption.

The two numbers, P and Q, used to find the keys _________

options:

- are divisible by two prime numbers

- usually consist of thousands of bits

- can be small numbers as long as they prime


answer: usually consist of thousands of bits

somebody please add an answer so this doesnt get deleted

Answers

The two numbers, P and Q, used to find the keys as they usually consist of thousands of bits.

What is the numbers P and Q in RSA encryption?

The RSA algorithm  is known to be the Rivest-Shamir-Adleman. It is said to be a kind of algorithm that is often used by technologies in message  encryption and its decryption.

It known to be made up of asymmetric or also of public-key cryptography. In the steps for RSA algorithm, one has to Choose two large prime numbers P & Q.

Learn more about  RSA encryption from

https://brainly.com/question/17486027

Answer: usually consist of thousands of bits

Explanation:

Got it right

I toss a fair six-sided die twice, and obtain two numbers X and Y. Let A be the event that

X = 2, B be the event that X +Y = 7, and C be the event that Y = 3. Show mathematically

answers to the following.

(a) Are A and B independent?

(b) Are A and C independent?

(c) Are B and C independent?

(d) Are A,B, and C independent?

Answers

In the situation raised, variables A and C are independent variables and B is a dependent variable.

What is an independent variable?

An independent variable is a value of a mathematical operation that does not depend on the variation of other variables to change. The independent variables, on the other hand, influence the behavior of the dependent variables.

What is a dependent variable?

A dependent variable is a type of variables whose value depends on the independent variables.

According to the above, it can be inferred that the value of B is a dependent variable because it depends on the values of A and C, on the other hand, A and C are independent values because no event supposes a change in the value of A and C.

Learn more about variable in: https://brainly.com/question/787279

outcomes resulting from using incorect requirement specification during system development​

Answers

Answer:

please give full understandable question buddy

A particular computer on your network is a member of several GPOs. GPO-A has precedence set to 1. GPO-B has precedence set to 2, and GPO-C has precedence set to 3. According to the given levels of precedence, what will be the resultant set of policy (RSOP) for this machine?a. GPO-B will take precedence and overwrite any conflicting settings.
b. GPO-C will take precedence and overwrite any conflicting settings.
c. GPO-A will take precedence and overwrite any conflicting settings.
d. The computer will default to local policy due to the confusion.

Answers

Based on the given levels of precedence, the resultant set of policy (RSOP) for this machine is GPO-A will take precedence and overwrite any conflicting settings.

What is a GPO?

This is known to be Microsoft's Group Policy Object (GPO). It is regarded as a composition of Group Policy settings that is said to set out what a system will do, how it will function for a specific group of users.

Note that Microsoft is said to give a program snap-in that helps one to make use the Group Policy Management Console. Due to the scenario above, the resultant set of policy (RSOP) for this machine is GPO-A will take precedence and overwrite any conflicting settings.

Learn more about network  from

https://brainly.com/question/1167985

Which file format cannot be used when inserting a picture into a word document.

Answers

Answer:

PDF

Explanation:

I think its PDF, please correct me if i'm wrong.

ROM is a volatile memory. true or false​

Answers

Answer:

trueeeeeeeeeeeeeeeee

Explanation:

trueeeeeeeeeeeeeeeee

You want to buy a new pair of sneakers. Which program will help you see which color you like most?

Budget simulator
Navigation app
Virtual shopping app
Investment simulator

Answers

Answer: virtual shopping app!

Explanation: hope this helps love!! -marina mae

Answer:

C

Explanation:

Which of the following is NOT true about placement of the keyboard?
O Place directly in front of user
O Place at a distance allowing elbows to stay close to body
O Place at the same height as hanging elbows
O Place the keyboard exactly two feet away from the chair

Answers

Answer:

place keyboard exactly two feet away from the chair

Explanation:

For questions 5-8, consider the following code:

def mystery(a, b = 8, c = -6):
return 2 * b + a + 3 * c

#MAIN
x = int(input("First value: "))
y = int(input("Second value: "))
z = int(input("Third value: "))
Suppose we add the following line of code to our program:

print(mystery(x, y, z))
What is output when the user enters 4, 3, and 7?

Answers

Answer:

The answer is 31

Explanation:

.

If we add the line of code print(mystery(x)) and our input are 1, 1 and 1 the output will be -1. If we add the line of code print(mystery(x, y, z)) and our inputs are 8, 6 and 4 the out put will be 32.

What will be the python code?

This is the python code:

def mystery(a, b = 8, c = -6):

 return 2 * b + a + 3 * c

#MAIN

x = int(input("First value: "))

y = int(input("Second value: "))

z = int(input("Third value: "))

print(mystery(x))

#What is output when the user enters 1, 1, and 1?

#Suppose we add the following line of code to our program:

print(mystery(x, y, z))

#What is output when the user enters 8, 6, and 4?

The code is written in python

The first line of code defines a function named mystery with the argument a, b by default is equals to 8 and c is equals to -6 by default.

Then the code return the product of b and 2 plus a and plus the product of 3 and c.  

x, y and z variable that stores the users input.

Then we call the function mystery  with a single argument

Then we call the function mystery with three argument x, y and z which are the users input.  

The first print statement with the input as 1, 1 and 1 will return -1

The second print statement with the input 8, 6 and 4 will return 32.

Therefore, If we add the line of code print(mystery(x)) and our input are 1, 1 and 1 the output will be -1. If we add the line of code print(mystery(x, y, z)) and our inputs are 8, 6 and 4 the out put will be 32.

Learn more about  inputs on:

https://brainly.com/question/20295442

#SPJ2

Jack decides to apply a style to the vocabulary terms in his report. In the first section, he includes the vocabulary word "telescope.” The James Webb Telescope The James Webb Telescope, called Webb or JWST, is more powerful than the Hubble Space Telescope. A telescope is a tool used to view faraway objects. The Webb will have the ability to look at the first galaxies that formed the universe. It will also be able to look into dust clouds and observe how stars and planetary systems form. Which style did Jack use on the vocabulary words in his report?
strong
intense strong
emphasis
intense emphasis

Answers

Answer:

intense emphasis

Explanation:

I got it right

Answer:

D. intense emphasis

Explanation:

I just answered the question

edge 2021

Objective Type Questions library 1. Fill in the blanks.
a. Python comes with a collection of in-built reusable programs called .................... library
b. The Python prompt'>>>' is called the....................... prompt.
c. In Python, a program file is saved with....................... extension.
d ........................of variables is not required in Python.
е. А ....................... cannot be used as a variable in Python.​

Answers

a. Standard library
b. Interpreter prompt
c. .py
d. Declaration
e. Keywords
Other Questions
A milestone occurring in which of these increments of time will be the farthest to the left on a timeline? *ill give brainiest* also ignore the green thing Which statements describe kinetic and potential energy? Check all that apply.Energy can be stored in the position of an object.Energy is not present in a moving object.Energy can be stored in the position of the particles that make up a substance.Energy exists as movement of the particles of a substance.Energy is greater in faster-moving particles than in slower-moving particles.Energy is lower in objects with greater mass than in objects with less mass. Which statement correctly describes a chemical reaction?O Reactants come out of a reaction.O Energy is always released.O Bonds between atoms break and reform.O Products go into a reaction. Need help with geometric series'!Please include a step by step explanation. In 2017, it was estimated that the average amount spent on winter holiday gifts in the United States was $906. Based on the estimate from the Waldfogel study, how much of this would be deadweight loss TRUE OR FALSE - ACCOUNTING1. The book value of a fixed asset reported on the balance sheet represents its market value.2. Straight line depreciation is computed by dividing the depreciable cost by the estimated useful life.3. When the company uses a perpetual inventory system it always knows how much inventory it has available to sell.4. The matching principle requires expenses be recorded in the same period that the related revenue is recorded. Convert 12/25 to percent Which of these numbers is irrational?O A. v3OB. 0.25O C. 1O D. V9 why human trafficking is considered as the social problems? Which statement below best applies to the following expression? a=-13y solve for y This is all the question says so idk When you go to a apple store do they have all the colors of a phone available??? what is the meaning of colonel Which of the following statements about detraining is FALSE? A. Detraining is when you stop exercising regularly. B. The rate at which the cardiovascular training effects are gained is the same for an individual who was sedentary and for an individual beginning to exercise after detaining. C. If you miss a week of training because of an injury, you will lose all of the cardiovascular changes that you have gained from regular exercise. D. The changes induced by regular exercise are lost after about a month. Can someone PLS HELP g The local Target store sells a variety of Dyson vacuum cleaners. A particularly popular model is the DC22, which costs Target $275 per unit. The annual holding cost per vacuum is 10% of this cost. Demand for the DC22 is relatively constant, but experiences some fluctuations from day to day. Average daily demand for the DC22 is normally distributed with an average of 5 units and a standard deviation of 2 units (and Target is open 365 days a year). When Target places an order of DC22s from its warehouse, the order arrives 3 days later. The fixed ordering cost is $10, regardless of how many DC22s are ordered. Target is willing to tolerate a 1% chance of stockout on any one order cycle. If Target decreases its tolerance for stockouts, how will this affect the inventory policy Create a definition for the term "sectionalism." Which of the following genotypes represents a HETEROZYGOUS parent? *10 pointsHHHhhh When both source and destination files need constant updating, use _____________. A.) cropping B.) embedding C.) linking D.) pasting