Select all that apply: Our primary objectives in functional programming are: Group of answer choices Functions should be as pure as possible following a pattern of Input->Processing->Output To model algorithms in a state-machine like format Removing state from programming Modeling data into a fact-base to be queried Raising our abstraction towards math Code free of side effects Modeling data into classes/objects that intercommunicate to solve software issues

Answers

Answer 1

Answer:

Functions should be as pure as possible following a pattern of Input->Processing->Output

To model algorithms in a state-machine like format

Code free of side effects

Explanation:

Functional programming is a popular concept in most popular programming languages such as Lisp that makes use of functions in separating code that aims to define and solve a particular problem which is part of a bigger problem. Functional programming focuses on what to solve, ie what is the problem rather than how do we solve it. It divides up code in meaningful blocks that makes it a lot more understandable, allowing big problems to be solved in tiny bits and not an overwhelming whole. Functional programming adopts the state-machine like format as it makes use of input and alters state as necessary(not hard coded). It also removes side effects issues that may be experienced when a function affects or mutates variables(global variables) that may be outside its block.


Related Questions

Write a program that takes the account's present value, monthly interest rate, and the number of months that the money will be left in the account as three inputs from the user. The program should pass these values to a function thatreturns the future value of the account, after the specified number of months. The program should print the account's future value.

Answers

Answer:

Assuming this is going to de made with python:

def main():

   currentValue = float(input("Current value of account: "))

   monthlyInterestRate = float(input("Monthly interest rate: "))

   monthsToWait = int(input("Amount of months the money will be left in the account: "))

   monthlyInterestRateToPercent = monthlyInterestRate / 100

   futureValue = float(round((currentValue + currentValue * monthlyInterestRateToPercent * monthsToWait), 2))

   print("The future value of this account will be " + str(futureValue))

main()

Explanation:

Hope this helped. Also, if this is incorrect please tell me what needs to be added so I can add it for future viewers. Have a good day :)

outline the steps involved in changing the colour of a theme ​

Answers

Answer:

Right click on the desktop and click on personalize option and then click on window color. After that window color and appearance window appears. select a color scheme you want. Go to Appearance and personalization, click on theme and select any theme from the list and click on ok.

What is a possible explanation for the issue described below? A user reports that ever since she or he began creating animations, graphics, and video clips for the company’s Web site on her or his computer, the computer has begun running slower, especially when performing the graphics functions. The computer needs an increase in VRAM. The computer needs an increase in SRAM. The computer needs an increase in SIMM. The computer needs an increase in RIMM.

Answers

VRAM because VRAM is used for graphic intensive workloads

Answer:

The computer needs an increase in VRAM

It is A

#include

int main()
{
char ch;
printf("Enter any letter");
ch=getch
();
printf("\nYou Pressed %c",ch);

return 0;
}
whats the error not giving the correct output

Answers

Answer:

#include<studio.h>

#include<conio.h>

void main()

{

char ch;

printf("Enter any letter");

scanf("%c",&ch);

Short Questions: a) What is website? How can we browse internet using website?​

Answers

Answer:

A website is a set of related web page or pages located under a single domain name. These pages contain specific information which was all provided by one person or entity and traces back to a common Uniform Resource Locator or (URL).

Explanation:

There are millions of Websites around the world and contain information about everything.

The IT manager has tasked you with installing new physical machines. These computer systems are barebone systems that simply establish a remote connection to the data center to run the user's virtualized desktop. Which type of deployment model is being used

Answers

The type of deployment model that is used is referred to as Thin client.

A thin client is also referred to as lean client. It is a model that runs on the resources that are stored on a central server rather than in the resources if the computer.

A thin client is useful for shared services, and desktop virtualization. The work carried out by the server include storage of data, performing if calculation, launching software programs etc.

On conclusion, since the information given in the question explains that there's a remote connection to the data center to run the user's virtualized desktop, then the deployment model is a thin client.

Read related question on:

https://brainly.com/question/13934016

In what ways can technology help you be more productive? (Select all that apply.)
Enables you to create electronic documents that present your ideas clearly and effectively
Enables you to communicate with people anywhere in the world
Enables you to store documents on a thumb drive
Enables you to eliminate procrastination habits

Answers

Answer:

Enables you to create electronic documents that present your ideas clearly and effectively.

Enables you to communicate with people anywhere in the world.

Enables you to store documents on a thumb drive.

Explanation:

Technology is the use or application of scientific knowledge to the way we live life. In other words, we can say that technology is the branch of knowledge that deals with the use of technical means in everyday life.

One of the ways that technology can help people be more productive is that it enables one to create electronic documents that clearly and effectively present one's ideas. It also helps in the communication process, especially in between long distances. Added to that, technological use also enables us to store documents on a thumb drive and enables easy transfer of documents and files.

Thus, the correct answers are the first, second, and third options.

fill in the blank figuring out what type of garden you want to grow is the ____step according to the instructions in how to grow a school garden

Answers

Answer:

First.

Explanation:

How to grow a school garden is an illustrative guide that explains to students the step by step process for growing a school garden.

According to the instructions in how to grow a school garden, the first and most important step is figuring out what type of garden you want to grow. At this step, a student should have a good understanding of the type of garden he or she wants to grow.

Thus, this step answers the question of "what am I growing in the garden?"

What is generation of computer ?​

Answers

I HOPE THIS INFORMATION WILL HELP YOU A LOT......

Generation in computer terminology is a change in technology a computer is/was being used. Initially, the generation term was used to distinguish between varying hardware technologies. Nowadays, generation includes both hardware and software, which together make up an entire computer system.

Hope this answer helps you..!!

..

..

Plz select it as the BRAINLIEST..!!

write fade in shorthand​

Answers

Answer:

"Fade In is a Class Act" Macworld says: "Fade In makes it easy to just write...It has all the features you'd find in the more expensive apps, such as Final Draft and Movie Magic Screenwriter, and there's even free and paid iPhone, iPad, and Android apps available

Explanation:

define analogue computer with any four features​

Answers

Answer:

hope it helps you

Explanation:

and pls mark as brainlist ans

Angelina has added page numbers to her report, but all of the pages are labeled "Page 1” at the bottom. What caused this issue?
She typed “Page 1” in the footer.
She added a header instead of a footer.
She did not create a numbered list in her footer.
She forgot to click the Continue Numbering option.

Answers

Answer:

She typed "Page 1" in the footer.

Explanation:

This occured because the footer only repeats the same message across the footers unless you enable page numbering.

Hope this helps!

Which is the best version of macOS?

Answers

Answer:

macOS Big Sur

Explanation:

hope it helps.

write down the appropriate technical term of following statements.​

Answers

Answer:

it is not seeing full. please give full

Write a python program to calculate the sum of numbers from 1 to 20 which is divisible by 3.

Answers

Answer:

Input : N = 5

Output : 7

sum = 3 + 4

Input : N = 12

Output : 42

sum = 3 + 4 + 6 + 8 + 9 + 12

Answer:Input : n = 2, number = 7

Output : 728

There are nine n digit numbers that

are divisible by 7. Numbers are 14+  

21 + 28 + 35 + 42 + 49 + .... + 97.

Input : n = 3, number = 7

Output : 70336

Input : n = 3, number = 4

Output : 124200

Explanation:

If you do not clean your hardware on a regular basis, which of these is most likely to be a problem?
O water
O silicon
O dust
O energy

Answers

Answer:

Dust!

Explanation:

its the one that makes the most sense to me :)

Group of programs are software

Answers

Answer:

yes it is

true

Explanation:

group of programs are software

what is the software component of multimedia

Answers

The various components of multimedia are Text, Audio, Graphics, Video and Animation. All these components work together to represent information in an effective and easy manner.

Is there any quantum computer in India?​

Answers

yes, Qulabs was one of the first quantum computing startups in India.

How is kerning used in Word?

to adjust the spacing between two paragraphs
to adjust the spacing between words in a paragraph
to adjust the spacing between characters that make up a word
to adjust the spacing between a paragraph and the page border

Answers

Answer: To adjust the spacing between characters that make up a word

Explanation: Kerning refers to the way spacing between two specific characters is adjusted. The idea is to give a better looking result by reducing the spacing between characters that fit together nicely (such as "A" and "V") and increasing the spacing between characters that don't. Select the text that you want to change.

Answer:

C. To adjust the spacing between characters that make up a word

Explanation:

hope this helps :)

i need a computer science help.....and I rlly want it right now...this the question
calculate all multiples of 5 that are less than a randomly generated number between 12 and 45. for example the random number is 16. the output is then 5,10,15 python

so basically if type a number between 12 and 45 it shud give me all the multiples of 5 less than the number i typed......pls help;-;

Answers

Define, en tus propias palabras, lo que son los sistemas de información.

difference between vacuum tube and transistor​

Answers

Answer:

I HOPE THE ABOVE INFORMATION WILL HELP YOU A LOT.

why are computer important these days?write in short


Answers

Computer has become very important nowadays because it is very much accurate, fast and can accomplish many tasks easily. Otherwise to complete those tasks manually much more time is required. It can do very big calculations in just a fraction of a second. Moreover it can store huge amount of data in it.

explain the term creating in word processing​

Answers

Answer:

Explanation:

Word processing describes creating or editing a document using a word processor such as Microsoft word, etc For example, a student could create a book report in a word processor application.

please answer me fast​

Answers

Answer:

microsoft

Explanation:

this may help u

Answer:

Microsoft

because its a 2013 worldwide partner conference and Microsoft server operations


Emilio wants to add a name field for his clints. From the ribbon, which icon should be selected?

Answers

your answer is (more fields) then press enter

what is a computer in daily life​

Answers

Answer:

The use of computers on a regular basis in our life is very important. Technically in daily life computer is used to convert raw facts and data into meaningful information and knowledge. Computer science is explored and challenged by humans daily. The computer is like an electronic magical device for our life.

Explanation:

In PowerPoint, a type of chart that, rather than showing numerical data, illustrates a relationship or logical flow between different ideas is called
A. SmartArt
B. WordArt
C. Clip Art
D. Number Art

Answers

Answer:

A. SmartArt

Explanation:

SmartArt is a graphical tool used to visually communicate information.

Ricard, a sixth-grader, uses codes such as LOL, TTYL, and 411 in his text messages. The use of these codes in this context indicates that Ricard understands:

Answers

Answer: pragmatics

Explanation:

Pragmatics simply means the study of how words are used. It's the study of signs and symbols. Pragmatics includes speech acts, implicature, and conversation.

Since Richard, a sixth-grader, uses codes such as LOL, TTYL, and 411 in his text messages, then the use of these codes in this context indicates that Ricard understands pragmatics.

Which is not true about climatic normals?

Multiple choice question.

A)
They can differ from daily weather conditions.

B)
They are gathered at one location.

C)
They are averaged over a 30-year period.

D)
They describe average conditions.

Answers

Answer:

I think c is correct answer

Explanation:

hope it's help yu

Other Questions
What protein is made that weakens the nucleus membrane linear equation 4x-1=9 Fill in the blank with the correct number.The numberis divisible by 2, 3, 4, 6, and 10.OA) 44B) 180C) 280OD) 385 Both please please the answer is A just took 2021 edge Multi-Step Literal EquationsSolve the following equation for a. Be sure to take into account whether a letter is capitalized or not.g= b(a+[tex]D^{2}[/tex]) Complete the following sentences based on the graph of the function. 9.) Ezri earns $10 per day plus $25 for every lawn she mows. How many lawns does she need to mow today to earn $135? First, write the equation that fits this model. Let x be the amount of yards she mows. Hurry please What is the solution to this inequality?X-7>-6O A. X-13O C.x>1O D x< 1 What's the equation of the graph shown above? ) y = 4x + 2 B) y = 4x 2 C) y = 5x + 2 D) y = 2x + 4 The surface areas of two similar solids are 16m2 and 100 m2. The volume of the larger one is 750m3. What is the volume of the smaller one? x-7[tex]\sqrt[2]{x}[/tex] +19 Meili's employer distributes checks at the end of each quarter, representing an equitable portion of 5 percent of the company's pretax profits for the previous quarter. These are ________checks. Group of answer choices pay for knowledge gainsharing bonus pay for performance profit sharing 4.1 Solve for F. Round to the nearest tenth, if necessary.191389Answer: =Submit Answerattempt 1 out of 2PLS HELP A disorder characterized by musculoskeletal pain, fatigue, muscle stiffness and spasms, and sleep disturbances is Find the cosine of the angle between the planes x+y+z=0 and 4x+3y+z=1.Answer: cos= Which of the following is NOT something you should do when writing an informative text?A. Organize your thoughts using a tableB. Include persuasive language to convince your audience that your information is correct.C. Allow ten minutes at the end to proofread your answer and make any last-minute changes.D. Organize your thoughts using a mind map Input two numbers and work out their sim, subtraction, multiplication, division, remainder, average and sum of the squares of the numbers. Lowest to highest degree of internal organization stomach