1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kirill [66]
3 years ago
5

Which of the following statements about functional programming languages is incorrect?A) In pure functional programming, there a

re no assignments.B) In pure functional programming, there are no loops.C) In pure functional programming, loops are replaced by recursive calls.D) The value of a function depends on the order of evaluation of its parameters.
Computers and Technology
1 answer:
omeli [17]3 years ago
3 0
The answer is (C)
In pure functional programming loops are replaced by recursive calls
You might be interested in
Explain briefly why one should be very cautious when using a Wi-Fi hotspot.
soldi70 [24.7K]

Answer: Other people can access the same network and may have access to parts of your computer to try and steel your data.

Explanation:

6 0
3 years ago
Read 2 more answers
The term 'dns' stands for
mamaluj [8]
A. Domain Name System
8 0
3 years ago
Read 2 more answers
Assuming a 1-KB page size, what are the page numbers and offsets for the following address references (provided as decimal numbe
bagirrra123 [75]

<u>Answer:</u>

(a) page = 3; offset = 13

(b) page = 41; offset = 111

(c) page = 210; offset = 161

(d) page = 634; offset = 784

(e) page = 1953; offset = 129

8 0
2 years ago
_____ is the standard that enables wireless devices to access web-based information and services.
max2010maxim [7]
Wi-fi is the anwser.Hope I helped.
8 0
3 years ago
Given the following function definition:
neonofarm [45]

The question is incomplete! Complete question along with its step by step answer is provided below!

Question:

Given the following function definition:

void calc (int a, int& b)

{

int c;

c = a + 2;

a = a * 3;

b = c + a;

}

x = 1;

y = 2;

z = 3;

calc(x, y);

cout << x << " " << y << " " << z << endl;

What is the output of the following code fragment that invokes calc?

a. 1 2 3

b. 1 6 3

c. 3 6 3

d. 1 14 9

e. None of these

Answer:

b. 1 6 3

Explanation:

In the given problem we have a function void calc which takes two input arguments a and b and updates its values according to following equations

c = a + 2;

a = a * 3;

b = c + a;

Then we call this function calc(x,y) by providing test values of

int x = 1;

int y = 2;

int z = 3;

and the output returns the values of x, y and z

cout << x << " " << y << " " << z << endl;

Lets find out what is happening here!

When the program runs we provide x=a=1 and y=b=2

c=a+2=1+2=3

a=a*3=1*3=3

b=c+a=3+3=6

So the updated values of a=x=3 and b=y=6?

NO!

The updated values are a=x=1 and b=y=6

WHY?

There are two ways to pass values

1. Pass by values -> value cannot change  (int a)

2. Pass by reference -> value can change (int& b)

Look at the function void calc (int a, int& b) ;

Here we are passing (int a) as a value and (int& b) as a reference, therefore x remains same x=1 and y gets changed to updated value y=6 and z remains same as z=3 since it wasnt used by function calc(x,y)

The right answer is:

b. 1 6 3

x=1, y=6, z=3

4 0
3 years ago
Other questions:
  • Suppose you have an int variable called number. What Java expression produces the second-to-last digit of the number (the 10s pl
    13·1 answer
  • What is the difference between the new and open commands on the file menu
    12·1 answer
  • It is important to create an IT security program structure that aligns with program and organizational goals and describes the o
    6·1 answer
  • State two functions of windows environment​
    9·1 answer
  • Does anyone know answers for reading plus level h and j
    13·2 answers
  • Compare the applications below:
    12·2 answers
  • PLEASE HELP ME WITH THIS i will mark you brainlist
    6·1 answer
  • Name the three major functions performed by the computer.
    6·1 answer
  • Mark just finished reading the cay and must write a book report comparing events in the book to events in his life. based on eac
    8·1 answer
  • Technology that transfers page images composed inside a computer directly to printing plates is called:
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!