[ASAP!] Question # 6 (Visual Python)
Multiple Choice
Which line of code moves the ball up?

1. myBall.pos.z = myBall.pos.z + 2
2. myBall.pos.x = myBall.pos.x + 1
3. myBall.pos = myBall.pos + 1
4. myBall.pos.y = myBall.pos.y + 2​

Answers

Answer 1
Hello!

The answer to your question is:
4. myBall.pos.y = myBall.pos.y + 2

Explanation, if you’d like one:
1. is incorrect as “z” isn’t a direction in which the ball can move.
2. is incorrect as “x” would be moving the ball right.
3. is incorrect as there is no direction defined.

I hope that this helps you out!
Answer 2

The line of code that moves the ball up is myBall.pos.y = myBall.pos.y + 2​. The correct option is 4.

What is code?

The term "code" typically refers to a set of instructions written in a programming language and executable by a computer or interpreter to perform a specific task or set of tasks.

Code can be used to create software, websites, games, scripts, and other things. Python, Java, C++, JavaScript, and Ruby are among the programming languages that can be used to create it.

The line of code myBall.pos.y = myBall.pos.y + 2 is assigning a new value to the y-coordinate of the position vector myBall.pos of the object named myBall.

The new value of the y-coordinate is calculated by taking the current value of myBall.pos.y and adding 2 to it. The result is then assigned back to myBall.pos.y, effectively updating the position of the myBall object.

Thus, the correct option is 4.

For more details regarding code, visit:

https://brainly.com/question/1603398

#SPJ5


Related Questions

An electricity power plant was redesigned so that the old system consisting of a single large display screen which could be seen by all of a team of three operators was replaced by individual workstation screens for operators. This worked well until there was a problem which resulted in dangerous gases being released. The team of operators had great difficulty in finding the source of the problem and deciding what to do. Because they no longer have access to all the information, they have to spend time explicitly co-ordinating their understanding of the situation by talking to each other. Under the old system, the knowledge would be shared – one operator would know what was happening with another’s area of the plant without explicit Communication. ​

Answers

The new system of individual workstations can be modified to make better use of distributed cognition by mapping out the different representational states.

What is distributed cognition?

Distributed cognition can be defined as a framework that was proposed by E. Hutchins in 1991 and it is based on the idea that to explain human behavior, one has to look beyond both the individual human and the single (individual) task.

This ultimately implies that, any functional system comprises a collection of individuals (actors), setting, technology, and the interrelations with one another based on distributed cognition.

In conclusion, the new system of individual workstations can be modified to make better use of distributed cognition by mapping out how the different representational states are coordinated with respect to time, location, operators and objects.

Read more on distributed cognition here: https://brainly.com/question/14555199

Match each type of video camera to its features:
prosumer
studio
DSLR
ENG

provides good shutter speed, image quality, and manual control

records all studio events either on tape or digitally

combines a professional and a consumer camera

has controls to adjust the zoom and focus

Answers

The type of camera matched with its appropriate features are below;

Prosumer Camera - combines a professional and a consumer camera in one.

Studio Camera - records all studio events either on tape or digitally.

DSLR Camera - has control to adjust zoom and focus.

ENG Camera - provides good shutter speed, image quality, and manual control.

What is a camera?

A camera is a device used for taking still or moving pictures or photographs.

Read more on camera types:

https://brainly.com/question/26320121

research the risk of social media and list 3 websites that have information about the topic instead of the one you listed on your chart.

Answers

1) Social Life decreased
2) Missing opportunity’s
3)Passing Time

what field in the ipv4 datagram header can be used to ensure that a packet is forwarded through no more than N headers

Answers

Answer:

Time to Live (or TTL)

Explanation:

This counter field is initially set at some value that is decremented by one each time the packet "hops." When the counter reaches zero the packet is disposed of.

Question 17(Multiple Choice Worth 5 points)
(03.02 MC)
You want to buy a new jacket. Which program will help you see how much money you need to save?
O Budget simulator
O Navigation app
O Virtual shopping app
O Investment simulator

Answers

Budget simulator
Im not 100% sure but it’s the only one that makes sense to me

Answer:

a

Explanation:

You and your coworkers are designing the audit policy for WeServeU, the banking entity you’ve worked with on prior activities. Make an argument for why the audit system should be able to search for each of the following log items: user, action performed, time of action, and location. For each item, include two reasons you would want to conduct a search on it: First, after you have reason to believe your system has been compromised in some way, and second, how you would monitor each item in routine audits to look for “suspicious behavior”/explain what “suspicious behavior” would look like during a routine audit. Then, argue for a specific lockout policy for each of the following groups: customers; staff (workers); and IT administrators.

Answers

The audit system should be able to search for the above listed log items as it will help us to know if there is any abnormalities or discrepancies in the logs.

Why are audit logs vital?

The detailed audit of logs such as  action performed, time of action, etc., is very important to firms as it will help them to be able to handle or look into data movement and keep record of any kind of  security breaches or internal mismanagement of information.

Note that it will make sure that users follow all the given protocols and directives and help also to hinder and track down issues of fraud.

Learn more about  audit system from

https://brainly.com/question/14541181

#SPJ1

A fixed-point method that uses only four bits can represent only 16 values. This is described as a limit on its ________.

Answers

A fixed-point method that uses only four bits can represent only 16 values. This is described as a limit on its precision.

What is a bit?

In computers, a bit is the most basic unit of information employed during the transmission of digital data.

The combination of 4 bits generates 16 different data to be used during digital transmission.

The fixed-point computing method fixes the points of a given function to obtain a limited number of combinations (fixed-point iterations).

Learn more about computing bits here:

https://brainly.com/question/8431891

In an IPv4 packet, the value of Header Length is 5, and the value of the Total Length field is 240. How many bytes of data are being carried by this packet

Answers

Answer:

235 bytes

Explanation:

The Total Length field includes both the header and payload length, so therefore the payload will be (240 - 5) or 235 bytes.

who is the king of computers?

Answers

Answer: Bill Gate, who is known as the king of computer programs

Hope this helps!

Answer:

Professor Eric Roberts

Explanation:

Computer scientist

The best defense against injection attacks is to

Answers

The best defense against injection attacks is to develop secure habits and adopt policies and procedures that minimize vulnerabilities. Staying aware of the types of attacks you're vulnerable to because of your programming languages, operating systems and database management systems is critical.

Which is the correct way to pass an array named studentScores that holds 25 values to a function named getAverage and save the result to a variable named average

Answers

The correct way to pass an array named student Scores that holds 25 values to a function is Set average = getAverage(studentScores, 25).

What is array?

An array is known to be a set of same kind of data types. An example an int array is known to holds the elements of int kinds and a float array is said to keep the elements that are of the float kinds.

Note that The correct way to pass an array named student Scores that holds 25 values to a function is Set average = getAverage(studentScores, 25) as it is the only right way

Learn more about array from

https://brainly.com/question/24275089

What type of computer is differential analyzer?

Answers

Answer:

mechanical analogue computer

What do people realize about global issues because of the Internet?
A. That countries cannot affect or influence one another
B. That one country's issues can affect another country
C. That nobody has the power to help others in the world
D. That other countries' problems are of no concern to us

Answers

Answer:

B

Explanation:

More people are able to see how other countries' problems affect different countries

Your workstation needs additional RJ-45 network connections. Which of the following changes do you implement to meet this need?

Answers

Answer:

Install a network interface card

What should you do to avoid cheating in online classes, even if your behavior was unintentional?

Answers

Answer:

answer in picture below for edge 2022

Explanation:

posting because i couldnt find good answers for myself

Briefly describe what is RAM & give a description of how it has evolved ?

Answers

Answer:

Ram is a secondary storage device

Alice's public key, and sends back the number R encrypted with his private key. Alice decrypts the message and verifies that the decrypted number is R. Are the identities of Alice and Bob verified in this protocol?

Answers

There are different kinds of keys. The identities of Alice and Bob are verified in this protocol.

What is public and private key in SSL?

These keys are known to be a kind of related pair of text files and they are often made together as a pair if one makes their Certificate Signing Request (CSR).

Note that the private key is different file that is often used in the encryption/decryption of data so as to sent a file between one's server and the connecting clients.

Learn more about  public/private key from

https://brainly.com/question/8782374

What is the correct format to use when
inserting a date in Excel?

Answers

Answer:

Dates are whole numbers

Usually, when you insert a date in a cell it is displayed in the format dd/mm/yyyy.

Explanation:

Define the 7 steps to web design.

Answers

I think it’s what he said

how many acute angles are in a square​

Answers

0, a square has 4 right angles

Answer:

0

Explanation:

they're all right angles

Carl wants to add two new characters to the extraterrestrial battleship game he's
building in order to have multiple players battling each other. This not only helps him
create engagement for users, but it adds excitement to his recreational game. One
character is a water-based alien with only one eye and 8 legs, resembling the
features of an octopus. The second character is a land-based alien with no eyes, 3
claws, and 3 legs, resembling the features of a crab. Which is the best explanation
why there is only one class with the new characters?
A game must have the same values under one class.
A game can have multiple properties under one instance.
A game can have multiple instances using the same class.
A game can have multiple functions under one class.

Answers

The option that  best explains the game is that a game can have multiple instances using the same class.

Can a class have multiple instances?

A game is one that can always create multiple instances of a class. This is known to be the reason that classes are made.

Conclusively,  each object often has its  own specific inner variables and they do not have only if they are static but games of multiple instances is the reason why there is only one class with the new characters.

Learn more about Games from

https://brainly.com/question/1786465

Type the correct answer in the box. Spell all words correctly.
Julio Is a manager in an MNC. He has to make a presentation to his team regarding the life cycle of the current project. The life cycle should
follow a specific sequence of steps. Which style of presentation is best suited for Julio's purpose?
Jullo should make a presentation
Reset
Next
s reserved.

Answers

Answer:

Julio is a manager at an MNC. He has to make a presentation to his team regarding the life cycle of the current project. The life cycle should follow a specific sequence of steps. Which style of presentation is best suited for Julio's purpose? Jullo should give a speech.

Explanation:

Answer: linear

Explanation:

Just got it right.  Linear presentations are sequential.

Select the terms relating to numbers larger than 50,000.

char


boolean


string


short


byte


double


long

Answers

The term that refers or relate to numbers larger than 50,000 are:

Char Long

What is char in java?

Char in Java is known to be made up of the size of 16 bits and it ranges is said to be from 0 to 65,535.

Conclusively, The int in java is made up of 32 bits and ranges from from -2 , 147,483,648 and above. The long is made up of 64 bits nd ranges from -9, 223,372,036 and above.

Learn more about Java from

https://brainly.com/question/24275769

Which of the following are the two main types of copyright relevant to the recording industry? Select all that apply
A) manuscript copyright
B) musical composition copyright
C) sound recording copyright
D) Electronic copyright

Answers

Answer:

LETTER A...

CUZ ITS TRUE

Answer:

the answer is B and C

Explanation:

it isn't A the proof is in the picture

what are cyber criminals like today

Answers

Answer:

Cyber criminals are very professional and organized. Cyber criminals today are even able to be hired and have product adverts. Cybercriminals now have crime packs with business intelligence reporting dashboards to manage the distribution of their malicious code.

Explanation:

8. Which of the following is an output device
a. CD
b. Hard Drive
C joystick
D printer

Answers

Hey there!

Printer is an output device.

Explanation:

CD - We insert CD,so it is an input device.

Hard Drive - It is responsible for the memory of the computer, so it also an input device.

Joystick - It is used to play games on a computer, it inputs instructions through which a game/games can be played. So,it an input device.

Printer - It is used to print out the hard copies from a computer,like pages etc..

Hence, the correct option will be

D. printer

Hope it helps

can you do the assignment I attach to this

Answers

Answer:

If I could see it maybe the text is too small. try to take smaller photos

Explanation:

what is a web browser

Answers

Answer:

A web browser takes you anywhere on the internet, letting you see text, images, and video from anywhere in the world. The web is a vast and powerful tool. Over the course of a few decades, the internet has changed the way we work, the way we play and the way we interact with one another. Depending on how it’s used, it bridges nations, drives commerce, nurtures relationships, drives the innovation engine of the future and is responsible for more memes than we know what to do with.

Explanation:

In VPython, a ___ object is used to create an object that looks like a ball.

1. canvas
2. ball
3. sphere
4. vector​

Answers

Answer: canvas

Explanation:

Marcus traded in his 10-year-old truck for a new one. Because it is the first new truck he
has ever owned, he is especially concerned about protecting it as much as possible.
Marcus should get_______
insurance

Answers

Answer:

Car Insurance

Explanation:

Hope this helps! Please let me know if you need more help or think my answer is incorrect. Brainliest would be MUCH appreciated. Have a great day!

Other Questions
Inspector Lestrade and the police arrest Lord Blackwood after Holmes and Dr. Watson prevent the ritual murder of a woman. Then, Lord Blackwood is hanged. How does Lord Blackwood seem to reappear, at least to the police officers on the scene What is the angle of incidence if the total angle between the incidence ray and reflected ray is 70 GIVING BRAINLIEST HELP!!!!!! (will get reported for links and fake answers) Huge loops of gas that link different parts of sunspot regions are called. Which substance will hold its shape?plasmaliquidgassolid Which statement describes tobacco? It is classified as an addictive drug.It decreases heart rate and blood pressure.There is a low risk of developing stroke.It causes the level of dopamine in the brain to decrease. Directions: Research four animals and/or insects native to your area that pose a threat of bite or sting. Create a presentation warning of the danger and what should be done. Your presentation can be created as a PowerPoint, flashcards, posters, or a brochure. Make sure it is well organized and easy to read.You will provide the following information for each of the four animals or insects you research. What is the animal or insects name? Where does it make its home? If bitten or stung, what is the best method of treatment? What signs or symptoms should you watch for to know if medical care is necessary? What other information is relevant to this type of injury? Include a photo or description of the animal/insect and its bite/sting.You will be graded on how well you cover the information (5 points each) and the organization of your presentation (5 points). What type of migration factor is industrialization?A. Political pull factorB. Environmental push factorC. Economic pull factorD. Political push factor How does a lunar month compare to a calendar month?a) they are both 28 to 31 daysb) they are both 30 daysc) lunar are 28 days, calendar are 31 daysd) lunar are 29.5 days, calendar are 28 to 31 days 2(x+4)>-12 I cant figure it out or 22,4:58:53 AMWatch help videoCooper gave out a survey to some students in his school about their favorite color.tudents could choose between red and blue. 129 of those surveyed said their favoritecolor was red. 57% of the students surveyed said their favorite color was blue. Howmany students were surveyed in total? a shipment to a warehouse consists of 4,000 MP3 players. The manager chooses a random sample of 50 MP3 players and finds 4 that are defective. How many MP3 players in the shipment are likely to be defective? The symbol for a radioactive nuclide is superscript 210 subscript 84 upper p o.. which statement is correct? the atomic number of the radioactive nuclide is 210. the mass number of the radioactive nuclide is 294. the number of neutrons present in the nucleus of each atom is 126. the number of protons present in the nucleus of each atom is 210. can i have some super quick help? subject is stretching and reflecting quadratic functions Prompt: What is one theme found in "Flowers for Algernon" by Daniel Keys? Provide at least two pieces of evidence from the story that help to develop the theme you identify. Explain HOW each piece of evidence contributes to the development of the theme you identified.PLEASE AND THANK YOUANSWER AND I'LL ADD BRAINLIEST I SWEAR Explain the components that are on the main circuit board the motherboard-of a microcomputer. PLEASE HELP, TIMED ASSIGNMENT!!Which factor led settlers to migrate to territories in the American West duringthe 1800s?A. the collapse of industrial jobs in the northeastB. new laws banning slavery in the southC. opportunities to harvest lumberD. immigration from china and japanWILL MARK RIGHT ANSWER BRAINLIEST!! Fie bought 3 yards of fabric at $9.35 per' yard and thread for another $2.99ew a quilt. If she sold her quilt at a local craft fair for $45. how much profitshe make? Sarah takes 550 mg of an antibiotic. Every hour, her body breaks down 25% of the remaining drug. How much will be left after 12 hours?. I need help too find area (its a regular polygon