What is the final amount stored in value if the computer selects 17 as the
random number
set value
to pick random 50 to 60
set value to value / 2
value > 0
and
value mod
1
set value
to
value x 1
else
valueB < 0
set value
to O
say value for secs
say valueB for a
secs

What Is The Final Amount Stored In Value If The Computer Selects 17 As Therandom Numberset Valueto Pick

Answers

Answer 1

Answer: -17

Explanation:

Our random number is 17. Let's go through line by line.

value is a random number picked which is 17valueB = 17 / 2 = 8.5If value is greater than 0 AND value has a remainder of 1, we will set the value to value* -1. Value is now 17 * -1 = -17

Let's quickly calculate value mod 2. 17 % 2 = is 1. If you're wondering how we did that, the remainder after dividing 8 into 17 twice is 1, because 17 - 16 = 1.

We stop after line 4 because we stop the conditional statement after one condition is filled.


Related Questions

What is the definition of overflow in binary?

Answers

Overflow occurs when the magnitude of a number exceeds the range allowed by the size of the bit field. The sum of two identically-signed numbers may very well exceed the range of the bit field of those two numbers, and so in this case overflow is a possibility.

Katie is a professional photographer. For a wedding season shoot, she chose an outdoor location to shoot her models wearing different kinds of
wedding gowns. She used natural lighting, and she kept the focus on the models with a blurry background. Which kind of focusing technique did
Katie use?

A- rack focus
B- silhouette focus
C- follow focus
D- selective focus

Answers

Answer:

D- selective focus

Explanation:

In photography the phrase 'selective focus' introduces a procedure where the photographer selectively concentrates on the subject of an illustration, basically neglecting all other characters of the scene.  The contrast of the intense subject toward the delicate image background formulates powerful, meditative images.

Answer:

Selective focus

Explanation:

can direct the viewers' attention to a subjectt by focusing on the subject and burring the background

which type of scatter plot should the team use

A team wants to display two or three quantities related to the material properties. They also want to plot each quantity along an axis. They should use a/n _______ type of scatter plot for such material selection. ​

Answers

Answer:

Pretty sure it's matrix scatter plot

Explanation:

I got 4/5 on plato

What would be a suitable device to transfer 12 photos from one PC to another?

Answers

Answer:

A memory stick.

Explanation:

A memory stick can be defined as a storage media device with flash memory. They are mainly used in smart or portable electronic devices such as mobile phones, digital cameras, mp3 players, camcorders, etc.

Memory sticks are usually small in size and as such are easily accessible for the transfer of digital files such as images, videos, audios from a portable device or computer to another device such as a computer.

Hence, a memory stick would be a suitable device to transfer 12 photos from one PC to another.

What should i get an RC cars or nerf guns Which should i get

Answers

Answer the nerf rc mounted cannon shooter

Explanation:

its a car with a mounted gun

Answer:

nerf gun

Explanation:

PLEASE MARK BRAINLIEST!!!!!!!!!!

What are the columns in a Microsoft Access table called?

Answers

Answer:

Field. In Access, columns are referred to as fields. When you organize your data by entering it into different fields, you are organizing it by type.

Write a letter to your friend explaining about the geographical confitions of Nepal's hilly region​

Answers

I don’t know your friend so you should be able to answer

Answer:

I don't know............

Explain the following term ( a) GUI ( b) WIMP


please give me the answer of this question

don't spam​

Answers

Explanation:

here you go mark my brainlist plzz

Gsjsbsjsgdbajavajabjabsusbsbbsbsbshshshs

Part of the operating system core is responsible for controlling security, managing the file system, and providing a platform for applications to run on. What is this feature's name

Answers

Answer:

Kernel.

Explanation:

An operating system platform is a system software pre-installed on a computing device to manage or control software application, computer hardware and user processes.

This ultimately implies that, an operating system (OS) is essentially an interface between the computer’s hardware and all the software applications (programs) running on it.

Some examples of an operating system are QNX, Linux, OpenVMS, MacOS, Microsoft windows, IBM, Solaris, VM, etc.

Kernel is part of the operating system core. It is responsible for controlling security, managing the file system, and providing a platform for applications to run on.

Basically, the kernel is the foundational or fundamental layer of the operating system (OS) and as such it is loaded into memory whenever the computer system starts to boot i.e the kernel must always reside in the memory of a computer because it is saddled with the responsibility of managing computer resources such as the central processing unit (CPU), peripheral devices, random access memory (RAM) and input/output instructions from software programs.

What are digital communication outlets?

Answers

Answer: Aps

Explanation: As consumers’ needs change, technology changes along with them, spurring the growth and evolution of digital communication platforms. In order to better utilize these platforms, it can be helpful to group them into categories.

What are some tasks for which you can use the VBA Editor? Check all that apply.


typing code to create a new macro

sharing a macro with another person

viewing the code that makes a macro work

starting and stopping the recording of a macro

modifying a macro to include an additional action

jk its a c e

Answers

Answer:

typing code to create a new macro

viewing the code that makes a macro work

modifying a macro to include an additional action

Explanation:

Typing code to create a new macro, viewing the code that makes a macro work and modifying a macro to include an additional action are some tasks for which you can use the VBA Editor. Hence, option A, C and D are correct.


What is Typing code?

In computer science and computer programming, a data type is a group of probable values and a set of allowed operations. By examining the data type, the compiler or interpreter can determine how the programmer plans to use the data.

If a variable is highly typed, it won't immediately change from one type to another. By automatically converting a string like "123" into the int 123, Perl allows for the usage of such a string in a numeric context. The opposite of weakly typed is this. Python won't work for this because it is a strongly typed language.

The symbol used to create the typecode for the array. the internal representation of the size in bytes of a single array item. Create a new element and give it the value.

Thus, option A, C and D are correct.

For more information about Typing code, click here:

https://brainly.com/question/11947128

#SPJ2

Which statement about programming languages is true?

1) Lisp was designed for artificial intelligence research.
2) BASIC was the first high-level programming language.
3) FORTRAN was an early programming language designed for business use.
4) Pascal was the first programming language for personal computers.

Answers

Answer:

2

Explanation:

plz make me brainliest

Option A: Lisp was designed for artificial intelligence research.

The acronym Lisp stands for List Programming is a computer programming language developed about 1960 by John McCarthy.Lisp is the second-oldest high-level programming language which has a widespread use today.LISP has a very simple syntax in which a parenthesized list is used to give operations and their operands.This Language was designed for manipulating data strings with convenience.Lisp includes all the working as the function of any object.Lisp uses symbolic functions which are easy to use with AI applications.Originally Lisp was created as a practical mathematical notation used in computer programs.Lisp pioneered many revolutions in the field of computer science such as tree data structures, automatic storage management etc.

i need help with this chart !

Answers

Not in high school but i tried my best to help

(Sorry that its blurry )

Nanotechnology is a scientific area that deals with making or changing things that are incredibly _______________.

Answers

Answer:

small

Explanation:

Nanotechnology deals with incredibly small things on the nanoscale.

Which design element involves the act of lining up objects vertically or horizontally to give a sense of order?

Answers

Answer:

The answer is "Alignment".

Explanation:

The Alignment was its positioning of visual elements, such that they're coordinate together with such a structure. This is a layout concept that refers to words or pictures lining up with one page. They use coordination in the layout to coordinate entities, a system similar, equilibrium, framework formation, the connection among aspects, and clear and clear result.

How are satellite radio, Internet radio, and podcasting different?

Answers

Satellite radio is a subscription-based service, while HD radio is provided at no cost by current radio providers. Internet radio and podcasting have allowed many new programs and stations to be broadcast at low cost.

5) Which one of the following tags is used to add caption to a table?
)
<table-caption> ii)
<tcaption>
<caption>​

Answers

Answer:

<caption></caption>

Explanation:

The other tags don't exist to my knowledge.

The tag that is used to add caption to a table is <caption>​. Check more about tags below.

What is the above tag about?

The <caption> tag is known to be a tag that tells more about the table caption. It is known to often defines it.

Conclusively, the use of the <caption> tag is one that need to be placed or inserted quickly  after the <table> tag is used.

Learn more about tags from

https://brainly.com/question/13153211

#SPJ2

Coal, nuclear and natural gas power plants all transform thermal energy into electricity
True
O False

Answers

True is the correct answer

Answer:

True

Explanation:

Which is an example of how data is exported from a database?
A database is sorted and divided by subcategories.
A database imports data from a table.
A database object is saved using a file type that can be opened by other types of programs.
A database is saved under a new name.

Answers

Answer:

c

Explanation:

hope this helps

BJP4 Self-Check 7.21: swapPairs

plsssss

Answers

Answer:

needs more expiation

Explanation:

add a worksheet to the question

The XBOX Live was NOT the best selling console of the 7th generation, but it was widely considered to be the most culturally influential.

Answers

this is true because the systematic design is basically the same with ten times better graphics

Do you have any sprites for Friday Night Funkin?

I am making mods and any sprites you have are fine. They just need to follow the idle rule and be appropriate :)

Answers

Answer:

id.k t

Explanation:

A kite forms a 25° angle with the ground. The wind picks it up so that it then forms a 74° angle with the ground.


By how many degrees did the wind increase the kite's angle with the ground?

Answers

So you have to do:
74-25=
49

Kite will make The angle is74-25= 49.

What is Angle?

When two straight lines or rays intersect at a single endpoint, an angle is created. The vertex of an angle is the location where two points come together. The Latin word "angulus," which means "corner," is where the term "angle" originates.

Angle measurement is used by engineers to build structures such as buildings, bridges, homes, monuments, etc. Its notion is used by athletes in sports to improve their performance. It is used by carpenters to create furniture such as doors, couches, tables, and chairs.

Artists use their understanding of measurements to draft or produce works of art. Angles are used in wall clocks to display the time with hour and minute hands.

Therefore, Kite will make The angle is74-25= 49.

To learn more about angles, refer to the link:

https://brainly.com/question/28451077

#SPJ5

The need to upgrade which component would likely lead to replacing the computer?

Answers

Answer:

CPU

Explanation:

The CPU is essentially the brain of a CAD system soooo

Python pseudocode: Can anyone please help me please? I’m so desperate for the answer.

Answers

Answer:

You need “input(prompt)” and “sum(iterable)”

Explanation:

import numpy

class Students:

   def __init__(self, students_size, marks_size):

       self.students_size = students_size

       self.marks_size = marks_size

   def input_name(self):

       return input("Name of the student:")

   def input_marks(self):

       for __ in range(self.marks_size):

           yield int(input("Mark:"))

   def input_students_data(self):

       for __ in range(self.students_size):

           name = self.input_name()

           yield name, list(self.input_marks())

if __name__ == "__main__":

   students = Students(students_size=3, marks_size=5)

   name = numpy.empty([students.students_size], dtype="<U100")  

   # more space might be needed for long names      

   marks = numpy.empty([students.students_size, students.marks_size])

   for i, (student_name, student_marks) in enumerate(                        

           students.input_students_data()):

       name[i] = student_name

       marks[i] = student_marks

       total = sum(student_marks)

       print("total: {:g}, average: {:g}".format(total, float(total)/students.marks_size))

what is the correct java syntax to output the sentence: My dog's name is "dee-dee"?

Answers

Answer:

System.out.println("My dog's name is \"dee-dee\"");

Explanation:

You need to use the backslash to use quotes inside a string.

help? brainliest and point

Answers

Answer: second one

Explanation:

sorry lol

What is the next line?
>>> tupleB = (5.7.5.7.2.7)
>>> tupleB count(7)
2
1
0
3

Answers

Answer:

2

Explanation:

because

What happens when a user clicks Accept on a meeting request?

Other events at that time are canceled, and the meeting cannot be canceled by the organizer.
The agenda is updated with the user’s contact information, and other events at that time are canceled.
The meeting cannot be canceled by the organizer, and the agenda is updated with the user’s contact information.
The meeting organizer is notified, and a copy of the meeting is added to the user’s Outlook calendar.

Answers

Explanation:

Other events at that time are canceled, and the meeting cannot be canceled by the organizer.

The agenda is updated with the user’s contact information, and other events at that time are canceled.

The meeting cannot be canceled by the organizer, and the agenda is updated with the user’s contact information.

The meeting organizer is notified, and a copy of the meeting is added to the user’s Outlook calendar.

Answer:

the last one

Explanation:

just did it

Which of the following statements best describes the relative amount of content held by digital libraries vs. the amount held by traditional libraries?

Digital libraries have more access to fiction, while traditional libraries have more access to nonfiction and reference materials.

Traditional libraries tend to have access to more information because they have been around longer.

Digital libraries and traditional libraries both tend to have the same access to information.

Digital libraries tend to have access to more information because they can share with other digital libraries.

Answers

Answer:

Digital libraries tend to have access to more information because they can share with other digital libraries.

Explanation:

A digital library can be defined as an electronic or cloud-based library where informations and books about various things, places, people, animals, subjects, etc, are kept for readers to access over the internet.

On the other hand, a traditional library is a physical library that people can walk into to read.

The statement which best describes the relative amount of content held by digital libraries vs. the amount held by traditional libraries is that, digital libraries tend to have access to more information because they can share with other digital libraries because they are usually interconnected through network.

Other Questions
Please help.Find the value of x Is this statement true or false? Frances absolute monarchies had very limited power. True False The deer population in smith county is 35 deer per square mile. What is the deer population for 105 square miles in smith county? What is the equation of this graph? Some historians have argued that United States foreign policy has more often been motivated by economic interests than by the desire to spread democratic and humanitarian ideals around the world. To what extent is this argument convincing with regard to United States foreign policy between 1890 and 1919? 1. Write a 1-2 sentence thesis for the above topic.Outline at least 3 pieces of evidence to support your thesis: A. B. C. find the equation of a line that is parallel to the straight line 2x-y=-3 and crosses the x-axis at x=-5 The bus fare in a city is $2.00. People who use the bus have the option of purchasing a monthly coupon book for $28.00. With the coupon book, the fare is reduced to $1.00. Determine the number of times in a month the bus can be used so that the total monthly cost without the coupon book is the same as the total monthly cost with the coupon book need an answer____ enters the heart through the right atrium.Oxygen-rich blood from the lungsOxygen-poor blood from the lungsOxygen-poor blood from the bodyOxygen-rich blood from the body John works 40 hours per week at a rate of $20 per hour. He earns 1 1/2 times his regular pay for every hour worked over 40. What is his pay, in $, for a 46 hour work week? 5. The ratio of dog owners to cat owners is 4:3. If 320 people in a city own dogs, how many people owncats? Approximately__ tons of LNG will be produced in may, and approximately 104,489 tons will be produced in___ Help plz :,) The table shows the results of randomly selecting colored marbles from a bag 40 times. The marble was returned to the bag after each selection. Based on the results, what is the expected probability of randomly selecting a green marble from the bag in one attempt? A: 0.125B:0.20C: 0.80D:1.0 What causes thunderstorms, tornados, and hurricanes? What is the value of the expression 0.52?0.1250.250.521I only have an hour please help! I will give brainliest!! how about this one p+ 53 q 101 q+ 91 91 p Sam scored 17 out of 20 in her test, her % score is...... what A 17% B 85% C 80% D 0.85% Wang Company has established the following overhead cost pools and cost drivers for the month of May: Cost Pool Overhead Costs Cost Driver Levels Purchase orders $ 30,000 50 orders Machine setups 50,000 100 setups Electricity 10,000 10,000 kilowatt hours The following information pertains to the actual consumption of activity resources for two sample jobs completed during May. Job M1 Job M2 Number of units produced 500 1,000 Number of purchase orders 15 10 Number of setups 20 10 Number of kilowatt hours 500 1,000 What is the activity-based overhead rate per purchase ord ANSWER QIuCK PLEASE VERY URGENt Question 8 of 10Which situation represents an internal conflict?A. Joan makes a speech that contradicts the ideas of a corruptgovernmental group.B. A mother protects her children by fighting off a home intruder.C. The town villain must confess to vandalizing city hall in order tokeep an innocent teen from being convicted.D. Ryan prepares his house for the impending hurricane while windswhip around him Rewrite the sentence in passive voice: I forgot to feed the fish before I left this morning.