What is considered as the first ancestor of modern computers

Answers

Answer 1

Explanation:

for many years e n i s a was believed to have been the first financing electronic digital computer calluses being unown to all but if you in 1944 John von Newman joint e n i s computer unnecessary


Related Questions

A customer calls in and is very upset with recent service she received. You are trying to calm the customer down to come to a resolution but you are not sure how to best do so

Answers

It's crucial to maintain your composure and show empathy while interacting with a frustrated customer. Actively listen to their worries and express your regret for any hardship you may have caused.

Can you describe a moment where you dealt with an angry or upset customer in the past?

You can use the STAR approach to share a tale about a time when you had to face an irate client in person. Situation: "A client arrived at my former employment screaming and cursing the workers. She was lamenting because she didn't have her receipt when she tried to return an item.

What are the 5 C's of complaint?

The 5Cs approach of formal presentation, where the Cs stand for Principal complaint, Course of sickness.

To know more about customer visit:-

https://brainly.com/question/13472502

#SPJ1

In business writing, which statement best describes "tone?"

Answers

Tone would help you determine whether your boss is pleased or angry in a workplace email. Thus, option D is correct.

The tone of an email or every written text can help us determine what was the emotional state of the writer, as the way the phrases are formed and all the textual elements will form a pattern that is recognizable for the readers.

So, from the tone of an email, it is possible to determine whenever the writer was pleased or angry.

Thus, Tone would help you determine whether your boss is pleased or angry in a workplace email. Thus, option D is correct.

Learn more about tone on:

https://brainly.com/question/1416982

#SPJ1

The complete question will be

Which of the following would help you determine whether your boss is pleased or angry in a workplace email?

A. Formality

B. Consistency

C. Wordiness

D. Tone

You have a meeting this morning where you and your work group will determine exactly which features a software project will have. Which part of the software development life cycle does this describe? A. Analysis B. Development C. Implementation D. Design​

Answers

A. You are analyzing the way the software should run and what’s it’s purpose is. I would also believe that D. May be the answer but design more closely means the design of the software and not the planning stage.

The phase of the software development life cycle that this scenario describe is: D. Design​.

What is software development life cycle?

Software development life cycle (SDLC) can be defined as a strategic methodology that defines the key steps, phases, or stages for the design, development and implementation of high quality software programs (applications).

Generally, there are six (6) main steps involved in the development of a software program and these include;

PlanningAnalysisDesignDevelopment (coding)DeploymentMaintenance

In this scenario, you and your work group are in the design phase of the software development life cycle (SDLC).

Read more on software here: brainly.com/question/26324021

3. Consider the organization you are currently working in and explain this organization from systems characteristics perspectives particularly consider objective, components (at least three) and interrelationships among these components with specific examples.

Answers

The organization i worked for from systems characteristics perspectives is based on

Sales and OperationsMarketing and Customer Relations

What is the  systems characteristics perspectives

In terms of Sales and Operations: This part involves tasks connected to managing inventory, moving goods, organizing transportation, and selling products. This means getting things, storing them,  sending them out, and bringing them to people.

Lastly In terms of  Marketing and Customer Relations: This part is all about finding and keeping customers by making plans for how to sell products or services.

Read more about  systems characteristics perspectives here:

https://brainly.com/question/24522060

#SPJ1

Consider a TCP connection with a 1ms RTT in which the sender has 50,000 bytes of data to send and there are no losses and no congestion. The receiver has an initial advertised window of 10,000 bytes and reads 2,000 bytes of data once every two seconds. What is the advertised window in bytes after one second

Answers

Answer:

Advertised window in bytes after one second = 0 bytes.

Explanation:

Given:

Sender bytes = 50,000 bytes

Receiver's initial advertised window = 10,000 bytes

Read rate = 2,000 bytes / per 2 second

Find:

Advertised window in bytes after one second = ?

Computation:

We know that, 10,000 bytes have been buffered in receiving initial advertised window.

Receiver read 2,000 bytes in every 2 second.

So, receiver will not able to read anything in 1 second.

Therefore,

Advertised window in bytes after one second = 0 bytes.

Henry is working on a group project and saves it so that he can access it anywhere he has internet. What type of software is Henry using to save his work?
a. hard software
b. internet software and services
c. IT services
d. technology software

Answers

Internet software and services type of software is Henry using to save his work.

Thus, The information technology sector's Internet Software and Services Industry consists of businesses that create and sell internet software and/or offer internet services such as online databases and interactive services, web address registration services, database creation services, and internet design services.

It excludes businesses categorized in the Internet Retail sector. A balanced scorecard, Porter's Five, SWOT, and financial study of  and Monster from the perspective of the Internet software and Services Industry.

Thus, Internet software and services type of software is Henry using to save his work.

Learn more about Internet, refer to the link:

https://brainly.com/question/13308791

#SPJ1

What changes have occurred over the last 25 years impacting how we use information systems and that increasingly require using encryption to meet our security requirements

Answers

Answer:

Follows are the solution to this question:

Explanation:

Throughout the presence of third-party companies that is attackers, cryptography is indeed a method of protecting information and communication.

Its cryptographic techniques are numerous, which are used for data security and encryption levels were defines, throughout all protocols.

Encryption - was its method for encoding a message and information. So, it can be viewed only by authorized parties.

They can search online for various data encryption. The changes over the last 25 years also actually occurred:

Cryptography is all around. Each time you make a phone call, buy something like that in a store or even on the Internet with a credit or debit card or receive money from an Atm is an authentication that helps secure and secures the payment.

Tausend years ago, codes or encryption were used to protect information. These encryption schemes have evolved from the past 25 years or say we are getting far better than that of the preceding one But cryptography was far more advanced with both the advent of computers than it used to be.

World War II would also see Enigma code, the perfect example of analog encryption.

Its computer design technology had also finally been enough to break its Enigma cipher, as well as Enigma texts, still are regarded as just a necessary component of the probable Affiliated successes.

Mathematical 128-bit cryptography has become a standard for several sensible computers and portable structures, far greater than every prehistoric or ancient plasterboard.

Without it.

AES - Another of our safest cryptography techniques is the Intensive Encryption System. The state-government uses it to protect classified information, that is used by all of our phones.

2) How should you transcribe a spelled word?
a) It is transcription.
b) It is transcription. TRANSCRIPTION.
c) It is transcription. T-R-A-N-S-C-R-I-P-T-I-O-N.
d) It is transcription. T.R.A.N.S.C.R.I.P.T.I.O.N.
T_R_A_N_S_C_RIPTION.

Answers

The ways to you can transcribe a spelled word is that :

Option c) It is transcription. T-R-A-N-S-C-R-I-P-T-I-O-N.

What is transcription?

This is known to be a depiction  in writing of the real pronunciation of a speech sound, word, or any form of piece of continuous text.

Note that the definition of a transcription is seen as anything or something that is known to be fully written out, or the act of of fully writing something out.

Transcription is known to be one that can be done word for word and there  seems to be two kinds of  transcription practices which is verbatim and clean read type of transcription. In Verbatim kind, one do transcribes a given text word-for-word.

Therefore, The ways to you can transcribe a spelled word is that :

Option c) It is transcription. T-R-A-N-S-C-R-I-P-T-I-O-N.

Learn more about transcription from

https://brainly.com/question/3604083

#SPJ1

Write a class named Pet, with should have the following data attributes:1._name (for the name of a pet.2._animalType (for the type of animal that a pet is. Example, values are "Dog","Cat" and "Bird")3._age (for the pet's age)The Pet class should have an __init__method that creates these attributes. It should also have the following methods:-setName -This method assigns a value to the_name field-setAnimalType - This method assigns a value to the __animalType field-setAge -This method assigns a value to the __age field-getName -This method returns the value of the __name field-getAnimalType -This method returns the value of the __animalType field-getAge - This method returns the value of the __age fieldWrite a program that creates an object of the class and prompts the user to enter the name, type, and age of his or her pet. This should be stored as the object's attributes. Use the object's accessor methods to retrieve the pet's name, type and age and display this data on the screen. Also add an __str__ method to the class that will print the attributes in a readable format. In the main part of the program, create two more pet objects, assign values to the attirbutes and print all three objects using the print statement.Note: This program must be written using Python language

Answers

According to the question this program given below using Python language a class named Pet, with should have the following data.

What is Python language?

Python is an interpreted, high-level, general-purpose programming language. It was created by Guido van Rossum in the late 1980s and early 1990s and released in 1991. Python is designed to be easy to learn and easy to read, with its large library of modules, extensive standard library, and clear and simple syntax.

class Pet:

   def __init__(self, name, animalType, age):

       self.__name = name

       self.__animalType = animalType

       self.__age = age

       

   #setters

   def setName(self, name):

       self.__name = name

       

   def setAnimalType(self, animalType):

       self.__animalType = animalType

       

   def setAge(self, age):

       self.__age = age

       

   #getters

   def getName(self):

       return self.__name

   

   def getAnimalType(self):

       return self.__animalType

   

   def getAge(self):

       return self.__age

   

   #__str__ method

   def __str__(self):

       return "Name: "+self.__name+"\nAnimal Type: "+self.__animalType+"\nAge: "+str(self.__age)

       

#Main Program

#Object 1

name = input("Enter the name of your pet: ")

animalType = input("Enter the type of animal: ")

age = int(input("Enter the age of your pet: "))

pet1 = Pet(name, animalType, age)

#Object 2

name = input("Enter the name of your pet: ")

animalType = input("Enter the type of animal: ")

age = int(input("Enter the age of your pet: "))

pet2 = Pet(name, animalType, age)

#Object 3

name = input("Enter the name of your pet: ")

animalType = input("Enter the type of animal: ")

age = int(input("Enter the age of your pet: "))

pet3 = Pet(name, animalType, age)

#Print the objects

print("\nPet 1:")

print(pet1)

print("\nPet 2:")

print(pet2)

print("\nPet 3:")

print(pet3)

To learn more about Python language
https://brainly.com/question/30246714
#SPJ1

working with the tkinter(python) library



make the window you create always appear on top of other windows. You can do this with lift() or root.attributes('-topmost', ...), but this does not apply to full-screen windows. What can i do?

Answers

To make a tkinter window always appear on top of other windows, including full-screen windows, you must use the wm_attributes method with the topmost attribute set to True.

How can I make a tkinter window always appear on top of other windows?

By using the wm_attributes method in tkinter and setting the topmost attribute to True, you can ensure that your tkinter window stays on top of other windows, even when they are in full-screen mode.

This attribute allows you to maintain the window's visibility and prominence regardless of the current state of other windows on your screen.

Read more about python

brainly.com/question/26497128

#SPJ1

Assume that a, b, and c have been declared and initialized with int values. The expression

!(a > b || b <= c)
is equivalent to which of the following?

a. a > b && b <= c
b. a <= b || b > c
c. a <= b && b > c
d. a < b || b >= c
e. a < b && b >= c

Answers

Answer:

Option c (a <= b && b > c) and Option e (a < b && b >= c) is the correct answer.

Explanation:

According to the question, the given expression is:

⇒ !(a > b || b <= c)

There will be some changes occur between the values such as:

! = It becomes normal> = It becomes <|| = It becomes &&

So that the expression will be:

⇒ a <= b && b > c

and

⇒ a < b && b >= c

Other choices are not connected to the expression or the rules. So the above two alternatives are the correct ones.

why are accountablity and trust so important in using emerging technologiess?

Answers

Answer:

improvied accuracy, quality and cost efficiencies

Onsite Services for Ruggedized Notebooks are limited to CRU parts and Service Assembly
Parts.

True

False

Answers

Onsite Services for Ruggedized Notebooks are limited to CRU parts and Service Assembly is a false statement.

What are Onsite Services?

In an On-Site Service, a Service Provider is one that carry out any kind of repair or exchange of a product at given location that is the location of the customer.

Onsite Services for Ruggedized Notebooks is not limited to CRU parts and Service Assembly as one can do any form of system repairs there most especially based on customer preference or what is wrong with the system.

Learn more about Onsite Services from

https://brainly.com/question/11218668

Computer viruses and coding books

Answers

Is there a picture to go along with this? I don’t see one and an willing to help!

The ______ engine compares your entry against its database and returns a list of hits or sites that contain the keywords. (hint: s___h)

Answers

Answer:

The search engine

Computer 1 wants to send a packet to Computer 2. Since computer 2 is not on the local network, Computer 1 checks the ARP table for the corresponding ______ that matches the gateway IP.

Answers

Answer:

MAC address

Explanation:



When Computer 1 wants to send a packet to Computer 2, it first checks the ARP (Address Resolution Protocol) table for the corresponding MAC address that matches the gateway IP. The ARP table is a cache table stored in a computer's memory that maps IP addresses to their corresponding MAC addresses. The gateway IP is the IP address of the router on the local network that connects to other networks, such as the Internet. By checking the ARP table for the corresponding MAC address that matches the gateway IP, Computer 1 can determine the physical address of the router and send the packet to the correct destination.

Computer 1 wants to send a packet to Computer 2. Since computer 2 is not on the local network, Computer 1 checks the ARP table for the corresponding MAC address that matches the gateway IP.

What is MAC address?

An exclusive identification code given to a network interface controller to be used as a network address in communications inside a network segment is called a media access control address.

Ethernet, Wi-Fi, and Bluetooth are just a few of the IEEE 802 networking technologies that frequently employ this application.

MAC addresses come in three different types: Unicast, Multicast, and Broadcast. Take a quick glance at the first byte to determine which address type you are reading.

Computer 1 desires to transmit Computer 2 a packet. Computer 1 searches the ARP table for the associated MAC address that matches the gateway IP because Computer 2 is not a part of the local network.

Thus, answer is MAC address.

For more details regarding MAC address, visit:

https://brainly.com/question/27960072

#SPJ2

e. Define the following terms: i. BIT ii. Nibble iii. Byte​

Answers

i. A bit is the smallest unit of digital information that can be processed by a computer. It has a value of either 0 or 1.

ii. A nibble is a group of four bits or half a byte. It can represent 16 possible values, ranging from 0000 to 1111 in binary.

iii. A byte is a unit of digital information that consists of eight bits. It can represent 256 possible values, ranging from 00000000 to 11111111 in binary. Bytes are used to represent characters, numbers, and other types of data in computer systems.

1.16 LAB: Input and formatted output: Right-facing arrow
Given two input integers for an arrow body and arrowhead (respectively), print a right-facing arrow.

Ex: If the input is:

0 1
the output is:

1
11
0000111
00001111
0000111
11
1

Answers

The program is an illustration of a sequential program.

What are sequential programs?

Sequential programs are programs that do not require loops and conditional statements

The actual program

The program in Python, where comments are used to explain each line is as follows:

#This gets input for the first integer

a = int(input())

#This gets input for the second integer

b = int(input())

#The next 7 lines print the arrow head

print(b)

print(str(b)*2)

print(str(a)*4+""+str(b)*3)

print(str(a)*4+""+str(b)*4)

print(str(a)*4+""+str(b)*3)

print(str(b)*2)

print(b)

Read more about sequential programs at:

brainly.com/question/17970226

You are to ask the user for the number of hours worked in a day (all days will work these hours).
You then ask for the number of days worked that week.
You finally ask the user for the amount of money they make per hour (should be a double).
Once done, display the amount of Gross income (for the week) they have. (There is no overtime!)
Then you display the amount of the Gross income which the government will have as taxes (20%!)
Finally the amount of money you take home is your (gross income - tax amount). This will be the income.
Display all the information on the Screen Neatly!! Be sure to add comments to your code.

Answers

We can use use python code to implement this problem, where we can show Gross income, tax amount, etc.

Coding Part Using Python in step-by-step manner:

Here's a Python code to implement this:

# Ask the user for the number of hours worked in a day

hours_per_day = float(input("Enter the number of hours worked in a day: "))

# Ask the user for the number of days worked in a week

days_per_week = int(input("Enter the number of working days in a week.: "))

# Ask the user for the hourly rate

hourly_rate = float(input("Enter the hourly rate: "))

# Calculate the gross income for the week

gross_income = hours_per_day * days_per_week * hourly_rate

# Calculate the tax amount (20% of the gross income)

tax_amount = gross_income * 0.2

# Calculate the income (gross income - tax amount)

income = gross_income - tax_amount

# Display the results

print("\nGross income: $" + str(gross_income))

print("Tax amount: $" + str(tax_amount))

print("Income: $" + str(income))

To learn more about Python code, visit: https://brainly.com/question/26497128

#SPJ1

Pls help me to answer this question ASAP

Pls help me to answer this question ASAP

Answers

It’s about yourself. Answer the questions on how you’ve been experiencing them in your life

Assume a fully associative write-back cache with many cache entries that starts empty. Below is sequence of eight memory operations (The address is in square brackets):

Read Mem[300];

Write Mem[100];

Write Mem[100];

Read Mem[200];

Write Mem[200];

Read Mem[100];

Write Mem[100];

Write Mem[100];

Answers

Answer:

Please mark me the brainliest

We can use the following steps to simulate the given sequence of memory operations in a fully associative write-back cache:

Explanation:

1. Read Mem[300]:

  - The cache is empty, so we have a cache miss and bring the block containing Mem[300] into the cache.

  - The block is now in the cache.

 

2. Write Mem[100]:

  - The cache currently only contains a block for Mem[300], so we have a cache miss and bring the block containing Mem[100] into the cache.

  - The block is now in the cache.

  - The value of Mem[100] in the cache is updated with the new value.

 

3. Write Mem[100]:

  - The block containing Mem[100] is already in the cache, so we have a cache hit.

  - The value of Mem[100] in the cache is updated with the new value.

  - Note that this write operation is redundant, since the value of Mem[100] was already updated in step 2.

 

4. Read Mem[200]:

  - The block containing Mem[200] is not in the cache, so we have a cache miss and bring the block into the cache.

  - The block is now in the cache.

 

5. Write Mem[200]:

  - The block containing Mem[200] is already in the cache, so we have a cache hit.

  - The value of Mem[200] in the cache is updated with the new value.

 

6. Read Mem[100]:

  - The block containing Mem[100] is already in the cache, so we have a cache hit.

  - The value of Mem[100] in the cache is not changed.

 

7. Write Mem[100]:

  - The block containing Mem[100] is already in the cache, so we have a cache hit.

  - The value of Mem[100] in the cache is updated with the new value.

 

8. Write Mem[100]:

  - The block containing Mem[100] is already in the cache, so we have a cache hit.

  - The value of Mem[100] in the cache is updated with the new value.

  - Note that this write operation is redundant, since the value of Mem[100] was already updated in step 7.

At the end of these operations, the cache contains blocks for Mem[200] and Mem[100], with the value of Mem[200] being the most recent value written to that address. The value of Mem[100] in the cache is the same as the value written in step 8.

Before the new website launch, development team does not want users to access the site while it is still under construction. How can this requirement be met?

Answers

This requirement can be met by drafting a short text that says that the website is under construction. You could also specify the exact date when the site will be restored.

How to meet the requirement

If you are still working on a website and do not want users to access the site, you should leave a message on the site that says that the website is still under construction.

The link to the website should directly lead to this message. In this space, you should also specify the date and time when the site will be restored.

Learn more about websites here:

https://brainly.com/question/31732575

#SPJ1

Anyone want to try ?
Check Your Work: looping_lists.py
Make sure your looping_lists.py program prints the following items, in this order:

Answers

print("Using a for loop to print the colors list elements:")

print("Using a for loop with range(10) to print iterator values and a string:")

for i in range(10):

print(i, “Hello”)

counter = 0

print("Using a while loop to print iterator values and a string:")

while counter < 5:

print(counter, "Loop while the counter is less than 5")

counter = counter + 1

print("The for loop removes and prints list elements in stack order:")

for i in range(len(colors)):

print(colors.pop())

print("The colors list after all elements are removed:\n", colors)

new_colors = ["red", "orange", "yellow", "green", "blue", "purple"]

print("The loop prints and removes elements in the new_colors list in queue order:")

for i in range(len(new_colors)):

print(new_colors.pop(0))

print("The new_colors list after all elements are removed:\n", new_colors)

more_colors = ["violet", "pink", "brown", "teal", "magenta"]

more_colors_deque = deque(more_colors)

print("Elements in the more_colors list:\n", more_colors)

print("Elements in the deque object:\n", more_colors_deque)

print("Using a for loop to print the deque elements as a queue:")

for i in range(len(more_colors_deque)):

print(more_colors_deque.popleft())

print("Printing the deque object after all elements are removed:\n",

more_colors_deque)

where do you think data mining by companies will take us in the coming years

Answers

In the near future, the practice of companies engaging in data mining is expected to greatly influence diverse  facets of our daily existence.

What is data mining

There are several possible paths that data mining could lead us towards.

Businesses will sustain their use of data excavation techniques to obtain knowledge about each individual customer, leading to personalization and customization. This data will be utilized to tailor products, services, and advertising strategies to suit distinctive tastes and requirements.

Enhanced Decision-Making: Through the use of data mining, companies can gain valuable perspectives that enable them to make more knowledgeable decisions.

Learn more about data mining from

https://brainly.com/question/2596411

#SPJ1

A Quicksort (or Partition Exchange Sort) divides the data into 2 partitions separated by a pivot. The first partition contains all the items which are smaller than the pivot. The remaining items are in the other partition. You will write four versions of Quicksort:
• Select the first item of the partition as the pivot. Treat partitions of size one and two as stopping cases.
• Same pivot selection. For a partition of size 100 or less, use an insertion sort to finish.
• Same pivot selection. For a partition of size 50 or less, use an insertion sort to finish.
• Select the median-of-three as the pivot. Treat partitions of size one and two as stopping cases.
As time permits consider examining additional, alternate methods of selecting the pivot for Quicksort.

Merge Sort is a useful sort to know if you are doing External Sorting. The need for this will increase as data sizes increase. The traditional Merge Sort requires double space. To eliminate this issue, you are to implement Natural Merge using a linked implementation. In your analysis be sure to compare to the effect of using a straight Merge Sort instead.

Create input files of four sizes: 50, 1000, 2000, 5000 and 10000 integers. For each size file make 3 versions. On the first use a randomly ordered data set. On the second use the integers in reverse order. On the third use the
integers in normal ascending order. (You may use a random number generator to create the randomly ordered file, but it is important to limit the duplicates to <1%. Alternatively, you may write a shuffle function to randomize one of your ordered files.) This means you have an input set of 15 files plus whatever you deem necessary and reasonable. Files are available in the Blackboard shell, if you want to copy them. Your data should be formatted so that each number is on a separate line with no leading blanks. There should be no blank lines in the file. Even though you are limiting the occurrence of duplicates, your sorts must be able to handle duplicate data.

Each sort must be run against all the input files. With five sorts and 15 input sets, you will have 75 required runs.

The size 50 files are for the purpose of showing the sorting is correct. Your code needs to print out the comparisons and exchanges (see below) and the sorted values. You must submit the input and output files for all orders of size 50, for all sorts. There should be 15 output files here.

The larger sizes of input are used to demonstrate the asymptotic cost. To demonstrate the asymptotic cost you will need to count comparisons and exchanges for each sort. For these files at the end of each run you need to print the number of comparisons and the number of exchanges but not the sorted data. It is to your advantage to add larger files or additional random files to the input - perhaps with 15-20% duplicates. You may find it interesting to time the runs, but this should be in addition to counting comparisons and exchanges.

Turn in an analysis comparing the two sorts and their performance. Be sure to comment on the relative numbers of exchanges and comparison in the various runs, the effect of the order of the data, the effect of different size files, the effect of different partition sizes and pivot selection methods for Quicksort, and the effect of using a Natural Merge Sort. Which factor has the most effect on the efficiency? Be sure to consider both time and space efficiency. Be sure to justify your data structures. Your analysis must include a table of the comparisons and exchanges observed and a graph of the asymptotic costs that you observed compared to the theoretical cost. Be sure to justify your choice of iteration versus recursion. Consider how your code would have differed if you had made the other choice.

Answers

The necessary conditions and procedures needed to accomplish this assignment is given below. Quicksort is an algorithm used to sort data in a fast and efficient manner.

What is the Quicksort?

Some rules to follow in the above work are:

A)Choose the initial element of the partition as the pivot.

b) Utilize the same method to select the pivot, but switch to insertion sort as the concluding step for partitions that contain 100 or fewer elements.

Lastly,  Utilize the same method of pivot selection, but choose insertion sort for partitions that are of a size equal to or lesser than 50 in order to accomplish the task.

Learn more about Quicksort  from

https://brainly.com/question/29981648

#SPJ1

Lucy wants to add some notes in her research paper that provide additional information to the reader. She also wants to display her university logo on all the pages as part of the title. What formatting can she apply to her document to include these details?

Answers

She can use a header

Given the double vector valElements, the input integer inputSize, and the input double begNum, resize valElements to inputSize. Then, assign the elements of valElements with doubles begNum * (i / 2 + 1), where i is the index of each element in the vector.

Ex: If the input is 5 6.0, then the output is:

6.0 6.0 12.0 12.0 18.0

Answers

The resizeAndAssignElements function accepts inputSize and begNum as inputs and generates a modified vector that contains assigned elements.  Below is an example of the way one can achieve this task in C++:

What  is the integer?

The vector valElements is populated with information corresponding to the input size. The value assigned to each element in the vector is computed by multiplying the initial value (begNum) with the index (i) divided by 2.0, and subsequently adding 1.

The inputs are passed to the resizeAndAssignElements function, which then produces resized and assigned elements that are shown on the console.

Learn more about  integer  from

https://brainly.com/question/17695139

#SPJ1

Given the double vector valElements, the input integer inputSize, and the input double begNum, resize

odify the guessing-game program so that the user thinks of a number that the computer must guess.

The computer must make no more than the minimum number of guesses, and it must prevent the user from cheating by entering misleading hints.
Use I'm out of guesses, and you cheated and Hooray, I've got it in X tries as your final output.

Answers

The guessing-game program that the user thinks of a number that the computer must guess is illustrated below.

How to illustrate the program?

The appropriate program for the guessing game will be:

import random

import math

smaller = int(input("Enter the smaller number: "))

larger = int(input("Enter the larger number: "))

count = 0

print()

while True:

   count += 1

   myNumber = (smaller + larger) // 2

   print('%d %d' % (smaller, larger))

   print('Your number is %d' % myNumber)

   choice = input('Enter =, <, or >: ')

   if choice == '=':

       print("Hooray, I've got it in %d tries" % count)

       break

   elif smaller == larger:

       print("I'm out of guesses, and you cheated")

       break

   elif choice == '<':

       larger = myNumber - 1

   else:

       smaller = myNumber + 1

Learn more about programs on:

https://brainly.com/question/16397886

#SPJ1

PLEASE HELP!
A primary school teacher wants a computer program to test the basic arithmetic skills of her students.
The program should generate a quiz consisting of a series of random questions, using in each case any two numbers and addition, subtraction and multiplication
The system should ask the student’s name, then ask 10 questions, output if the answer to each question is correct or not and produce a final score out of 10.
The program should save the scores to an external file and offer an option to view the high score table.
Analyse the requirements in detail and design, code, test and evaluate a program to meet these requirements.

Answers

The program that will execute as required above is:

import random

def generate_question():

   num1 = random.randint(1, 10)

   num2 = random.randint(1, 10)

   operator = random.choice(['+', '-', '*'])

   question = f"What is {num1} {operator} {num2}? "

   if operator == '+':

       answer = num1 + num2

   elif operator == '-':

       answer = num1 - num2

   else:

       answer = num1 * num2

   return question, answer

def save_score(name, score):

   with open('scores.txt', 'a') as file:

       file.write(f"{name}: {score}/10\n")

def view_high_scores():

   with open('scores.txt', 'r') as file:

       scores = file.readlines()

       scores.sort(reverse=True)

       print("High Score Table:")

       for score in scores:

           print(score.strip())

def arithmetic_quiz():

   name = input("Enter your name: ")

   score = 0

   for _ in range(10):

       question, answer = generate_question()

       user_answer = int(input(question))

       if user_answer == answer:

           print("Correct!")

           score += 1

       else:

           print("Incorrect!")

   print(f"Final score: {score}/10")

   save_score(name, score)

   option = input("Do you want to view the high score table? (y/n) ")

   if option.lower() == 'y':

       view_high_scores()

arithmetic_quiz()

What is the objective of the above program?

The objective of the above program is to create a computer program that tests the basic arithmetic skills of primary school students.

The program generates a quiz with random arithmetic questions, allows users to answer them, provides feedback on the correctness of their answers, saves scores, and offers a high score table for viewing.

Learn more about program:
https://brainly.com/question/30613605
#SPJ1

What is the purpose of the Input Message feature? to alert the user to data entry mistakes to immediately correct data entry mistakes to inform a user that data validation has been established to send message to data entry with what mistakes have been found

Answer is c

Answers

The purpose of the Input Message feature is to inform the user that data validation has been established.

What is the feature used for?

This feature is often used in data entry forms to provide helpful guidance to users on how to correctly input data. The message typically appears as a pop-up or tooltip that appears when the user clicks on the relevant cell or field.

The message can include information about valid input formats, allowable values, or other data requirements. By using this feature, users can be confident that they are entering valid data, and they can avoid making mistakes that could lead to errors or system failures.

Read more about inputMessage here:

https://brainly.com/question/29746514

#SPJ1

Other Questions
five hundred values are normally distributed with a mean of 125 and a standard deviation of 10 wat interval about the mean includes 95% of the data does anyone believe in magic and/or miracles? Which one of the following actions could increase a partner's basis in the partnership, allowing that partner to deduct additional suspended losses?Guaranteeing more partnership debt She mowed 10 lawns for $90. How much did she make per lawn? I Jose' Altuve is currently hitting 2 home runs for each 25 times atbat. If he continues at this rate, how many home runs will he hit in a season inwhich he bats 550 times? The main cause of the collapse of the Aztec and Inca empires was __________.A.a long droughtB.the arrival of European invadersC.defeat by local enemy tribesD.civil war within the empire when did the French come to Canada Are AWS Cloud Consulting Services Worth The Investment? ehrs are hard-copy (physical) versions of patient's health records.T/F Brainliest Brainliest Brainliest Brainliest Brainliest Brainliest Brainliest Brainliest BrainliestNot for free this time LOL 1. Leo ran around the track three times. The track was 400 meters. How many kilometers did he run altogether? What does your answer tell you about X -4 as a factor of r(x) in a market economy, government intervention group of answer choices will always improve market outcomes. reduces efficiency in the presence of externalities. may improve market outcomes in the presence of externalities. is necessary to control individual greed. Ms. Banerjee bought a car for $22,500. The amount she paid for her new car was twice the amount she paid for her previous car, which she bought 8 years ago. Which equation shows p, the price in dollars that she paid for her previous car?22,500 = 2 p2 (22,500) = p22,500 = 2 p minus 82 (22,500) = p minus 8 Question 10 of 22Read this paragraph from "The Monkey's Paw" by W. W. Jacobs:The knocking ceased suddenly, although the echoes of itwere still in the house. He heard the chair drawn back andthe door opened. A cold wind rushed up the staircase, anda long loud wail of disappointment and misery from hiswife gave him courage to run down to her side, and then tothe gate beyond. The street lamp flickering opposite shoneon a quiet and deserted road.This passage most likely represents the plot'sO A. conflictO B. climaxO c. falling actionO D. expositionSUBMIT Help me please. 1. Discuss why logistic regression classifies two populations does not show results as 0 or 1, but as a probability between 0 and 1.2. Discuss why logistic regression does not use probability, but uses log odds to express probability.3. Discuss whether logistic regression analysis can be applied even if the relationship between probability and independent variables actually has a J shape rather than an S shape. Which graph represents -9x + 4y < 8? How do paragraphs 5-6 contribute to the development of ideas in Bakers speech?A. They explain why racism occurred in America.B. They describe how racism affects other countriesC. They offer advice for dealing with racism in America.D. They provide evidence that racism does not exist in all countries. which of the following parameters affect the root-mean-squared (rms) speed of a sample of a pure substance in the gas phase?