If Scheme were a pure functional language, could it include DISPLAY ? Why or why not?​

Answers

Answer 1

Answer:

When Scheme is a pure functional language, it cannot include the function DISPLAY. Since the pure functional languages will return the same value whenever the same expression is evaluated, and the DISPLAY would be the output and thus it cannot be part of the purely functional language. Thus in the pure functional language we can evaluate the expressions with the same arguments and it returns the same value since there is no state to change.

Explanation:


Related Questions

. In the select algorithm that finds the median we divide the input elements into groups of 5. Will the algorithm work in linear time if we divide it into groups of 7? How about 3? Explain your answer--- the asymptotic run time in either case.

Answers

Answer:

we have that it grows more quickly than linear.

Explanation:

It will still work if they are divided into groups of 77, because we will still know that the median of medians is less than at least 44 elements from half of the \lceil n / 7 \rceil⌈n/7⌉ groups, so, it is greater than roughly 4n / 144n/14 of the elements.

Similarly, it is less than roughly 4n / 144n/14 of the elements. So, we are never calling it recursively on more than 10n / 1410n/14 elements. T(n) \le T(n / 7) + T(10n / 14) + O(n)T(n)≤T(n/7)+T(10n/14)+O(n). So, we can show by substitution this is linear.

We guess T(n) < cnT(n)<cn for n < kn<k. Then, for m \ge km≥k,

\begin{aligned} T(m) & \le T(m / 7) + T(10m / 14) + O(m) \\ & \le cm(1 / 7 + 10 / 14) + O(m), \end{aligned}

T(m)

 

≤T(m/7)+T(10m/14)+O(m)

≤cm(1/7+10/14)+O(m),

therefore, as long as we have that the constant hidden in the big-Oh notation is less than c / 7c/7, we have the desired result.

Suppose now that we use groups of size 33 instead. So, For similar reasons, we have that the recurrence we are able to get is T(n) = T(\lceil n / 3 \rceil) + T(4n / 6) + O(n) \ge T(n / 3) + T(2n / 3) + O(n)T(n)=T(⌈n/3⌉)+T(4n/6)+O(n)≥T(n/3)+T(2n/3)+O(n) So, we will show it is \ge cn \lg n≥cnlgn.

\begin{aligned} T(m) & \ge c(m / 3)\lg (m / 3) + c(2m / 3) \lg (2m / 3) + O(m) \\ & \ge cm\lg m + O(m), \end{aligned}

T(m)

 

≥c(m/3)lg(m/3)+c(2m/3)lg(2m/3)+O(m)

≥cmlgm+O(m),

therefore, we have that it grows more quickly than linear.

a computer works on input processing output device
true
false​

Answers

a computer works on input processing output device true

Answer:

a computer works on input processing output device. True

Explanation:

God bless you.

which is the another name of automatic sequence control calculator​

Answers

Answer:

IBM Automatic Sequence Controlled Calculator (ASCC)

A processor’s speed is measured in (a) or gigahertz. The (b) (higher/lower) the hertz, the faster the processing of instructions.
(a)

(b)

Answers

Answer:

(a) gigahertz(b) higher

Explanation:

As,

The processor's speed measures the number of cycles your CPU executes per second, measured in GHz (gigahertz).The higher the processor's hertz a CPU has, the faster it can process instructions.

Answer:

A) Gigahertz.

B) Higher.

Explanation:

i took the test

7. System software is the set of software programs that helps run the computer and coordinates instructions between application software and hardware devices. It consists of the operating system (OS) and utility programs. How does the mindset of the designer affect the design of the operating system (e.g., Windows vs. Linux)

Answers

Answer:

Explanation:

The main goal when designing an operating system (OS) is to make sure that the system is as efficient and intuitive as possible. This is the mindset that designers have when creating the operating system. However, this also creates drastically different designs between designers, mainly because one design structure will feel much more natural and intuitive to one designer but not another. Since the designer's own personal taste/mindset drastically affects the design, most companies find their target audience and survey/test various designs. This is done in order to find what features and styles best fit the vast majority of the people.

Type the correct answer in the box. Spell all words correctly.
Which testing requires coding the test cases into a scripting language?
testing requires coding the test cases into a scripting language.

Answers

Answer:

sorry I forgot it

Explanation:

because I am now in a last position

26. The
operator will cause a record to
be selected only if two or more
conditions are satisfied
In MS access

Answers

Answer:

AND

The  AND operator will cause a record to  be selected only if two or more

conditions are satisfied.

When we have signals within 1-2 MHz band, using a waveguide is the most preferred choice for a transmission line. T or F?​

Answers

Answer:

T

Explanation:

what word describes how would electronically retrieve data​

Answers

Answer: Data retrieval means obtaining data from a database management system such as ODBMS. ... The retrieved data may be stored in a file, printed, or viewed on the screen. A query language, such as Structured Query Language (SQL), is used to prepare the queries.

what is computer? write about computer.​

Answers

Answer:

Is an electronic device used for storing and processing data.

When she downloads new software onto her smartphone, Talia must ensure the software is compatible with her smartphone's __________.


operating system


application software


utility software


productivity software

Answers

Answer:

operating system

Explanation:

Every smartphone has its own operating system (typically iOS or Andriod) and every app must be compatible with an operating system(s).

The rest of the options are just different types of software.

Lmk if this helps

Scenarios are quite common where an IT professional is tasked with modify a file on many computer systems or many files on a single computer or a combination of the two. For example, a large software may need the copyright notice comment to be changed on every source file in the project. Or, a configuration file may need to be modified on every server in a multi-server deployment. Doing this task manually is not a viable way to approach the problem. Instead, a better solution is to use a scriptable environment to perform search and replace functionality on the files in question. Python is an excellent tool for this kind of task.
Description
Samba is a unix/linux file sharing suite of programs designed to provide Windows interoperable file and print sharing services. Much of the configuration for the Samba daemon is provided by the text file smb.conf (renamed to smb.txt for this assignment). After an update was deployed to three dozen linux servers it was discovered that a couple of configured parameters were incorrect. Unfortunately, since there are unique aspects to each server, copying the contents of a single file to each server is not a viable solution. To fix the problem, the IT department must connect to each server, edit the smb.conf file, and restart the smbd daemon. To automate this task, each server will have a Python script copied to it. Then an SSH session will be initiated to each server from which the script will be executed. Your task is to write the Python script.
The invocation of the script must be as follows:
python modify.py fileSpec "from" "to"
where,
modify.py is the name of your script
fileSpec is the name of the file to be modified (smb.txt)
"from" is the text to be searched for (be sure to enclose any white space in quotes.
"to" is the text the searched text is to be replaced with.
Testing the script is your responsibility. However a good test case is:
python modify.py smb.txt "password sync = yes" "password sync = no"

Answers

Answer:

Explanation:/

The example Python script that can be used to automate the modification of the smb.conf file on multiple Linux servers is shown below

What is the code?

python

import subprocess

import sys

def modify_smb_conf(file_spec, search_text, replace_text):

   try:

       # Open the file for reading

       with open(file_spec, 'r') as file:

           # Read the contents of the file

           file_contents = file.read()

       # Perform the search and replace operation

       modified_contents = file_contents.replace(search_text, replace_text)

       # Open the file for writing

       with open(file_spec, 'w') as file:

           # Write the modified contents back to the file

           file.write(modified_contents)

       # Print a success message

       print(f"Modification successful: Replaced '{search_text}' with '{replace_text}' in {file_spec}")

   except IOError as e:

       # Print an error message if there was an issue with file operations

       print(f"Error: {e}")

def main():

   # Check if the correct number of command line arguments are provided

   if len(sys.argv) != 4:

       print("Usage: python modify.py fileSpec \"from\" \"to\"")

       return

   # Extract the command line arguments

   file_spec = sys.argv[1]

   search_text = sys.argv[2]

   replace_text = sys.argv[3]

   # Call the function to modify the smb.conf file

   modify_smb_conf(file_spec, search_text, replace_text)

if __name__ == '__main__':

   main()

Read more about  code here:

https://brainly.com/question/29330362

#SPJ2

Give minimum computers configuration that can be used by a law firm.​

Answers

Answer:

Processor: Intel i3, i5, or i7 processor or equivalent. Memory: 8 GB or more. Hard Disk Storage: 500 GB or more. Display: 13-inch or larger.

Explanation:

The lowest computers configuration that can be used are:

Operating System: such as MacOS 10.14. Windows 10 or higher version.Processor: such as Intel i3, i5, or i7 processor or others.Memory: 8 GB and more.Hard Disk Storage: 500 GB and more.Display: such as 13-inch or more.

What is  Configuration of a system?

This is known to be the ways that the parts are said to be arranged to compose of the computer system.

Note that in the above case, The lowest computers configuration that can be used are:

Operating System: such as MacOS 10.14. Windows 10 or higher version.Processor: such as Intel i3, i5, or i7 processor or others.Memory: 8 GB and more.Hard Disk Storage: 500 GB and more.Display: such as 13-inch or more.

Learn more about computers from

https://brainly.com/question/26021194

#SPJ9

An MP3 player is an example of which of the following types of computer
operating systems?
A. Real-time OS
B. Multi-user, multi-tasking
C. Single-user, single-tasking
D. Multi-user

Answers

Answer:

B) multi user -multi tasking

Answer: A. Real time OS

Explanation: took the quiz

Microsoft office can be classified under what heading of application

Answers

Answer:

Word processing software/application

pls mark as brainliest!

Have a grt day!!!

why am i doing the investigation​

Answers

Because it’s your interest

Solve using Matlab the problems:

One using the permutation of n objects formula

One using the permutation of r objects out of n objects

you can make up your own questions.


Help me please

Answers

Answer:

Explanation:

% Clears variables and screen

clear; clc

% Asks user for input

n = input('Total number of objects: ');

r = input('Size of subgroup: ');

% Computes and displays permutation according to basic formulas

p = 1;

for i = n - r + 1 : n

   p = p*i;

end

str1 = [num2str(p) ' permutations'];

disp(str1)

% Computes and displays combinations according to basic formulas

str2 = [num2str(p/factorial(r)) ' combinations'];

disp(str2)

=================================================================================

Example:

How many permutations and combinations can be made of the 15 alphabets, taking four at a time?

The answer is:

32760 permutations

1365 combinations

subratract 11100 from 1011 by using 1's complement method step by step​

Answers

10089 is gonna be your anwser

4. Which event is used to move from one textbox to another through enter
a) Key Click b) Key Enter c) Key Down d) Key Select

Answers

Answer:

key enter

Explanation:

May this help you l think

6. Where all controls are lie
a) Properties b) Toolbox c) Solution Explorer d) Files

Answers

Answer:

I think b is correct answer.

Write a program that reads in an integer, and breaks it into a sequence of individual digits. Display each digit on a separate line. For example, the input 16384 is displayed as 1 6 3 8 4 You may assume that the input has no more than five digits and is not negative.

Answers

Answer:

The program in Python is as follows:

num = int(input())

for i in str(num):

   print(int(i))

Explanation:

This gets input for the number

num = int(input())

This converts the number to string and iterates through each element of the string

for i in str(num):

This prints individual digits

   print(int(i))

What is a disruptive technology? Give an example of an aspect of society that has been impacted by technological change.

Answers

Answer:

A disruptive technology sweeps away the systems or habits it replaces because it has attributes that are recognizably superior. Recent disruptive technology examples include e-commerce, online news sites, ride-sharing apps, and GPS systems.

The basic idea behind DNSSEC is a. providing name resolution from a hostname to an IP address b. ensuring that only local authoritative nameservers have the authorization to contact nameservers higher in the hierarchy (i.e., TLD nameservers, root nameservers) c. encrypting each DNS response so that it cannot be read by a third-party d. authenticating that the data received in a DNS response is the same as what was entered by the zone administrator (i.e., the response has not been tampered with)

Answers

Answer:

authenticating that the data received in a DNS response is the same as what was entered by the zone administrator

what is tha length of Mac address ?​

Answers

Answer:

short length which includes all details about the addres

2. Which property is used for hiding text of the textbox?
a) Password Char b) Text Char c) Char Password d) Pass Char

Answers

Answer:

password char

Explanation:

The password char property allows the text being written in the textbox to be hidden in the form of dots or stars. As such the user entering the password is secure, as no one nearby can know the password by watching the texts.

OSI model layers application in mobile computing

Answers

Answer:

The OSI Model (Open Systems Interconnection Model) is a conceptual framework used to describe the functions of a networking system. The OSI model characterizes computing functions into a universal set of rules and requirements in order to support interoperability between different products and software.

discuss the challenges of not using the five elements of multimedia in a positive manner

Answers

hi buddy

here is your answer

Challenges for Multimedia Systems

Sequencing within the media -- playing frames in correct order/time frame in video.Sequencing within the media -- playing frames in correct order/time frame in video.Synchronisation -- inter-media scheduling (e.g. Video and Audio). Lip synchronisation is clearly important for humans to watch playback of video and audio and even animation and audio.

hope it helps

please mark me pls

#sibi

Challenges posed by the negative use of multimedia include : moral Decay, blackmail, false content creation, fraud and so on.

The elements of multimedia includes, Audio, video, animation, text and image.

Multimedia usage has transformed the information transmission process such that it has now become an extremely effective means of communicationbusibg the different forms of multimedia.

However, we continue to face the challenges associated with misuse of these effective elements. The challenges associated with negative use of multimedia include :

MORAL DECAY : Videos and images allows us to send pictoral messages and information, the production and transmission of wayward and immoral content has a negative effect on the society.

Blackmail : Fraudsters often take recorded audio or video clips of individuals which they intend to use as a threat for financial gain.

Other challenges posed by negative use of multimedia include ; creation of false content creation, fraud, false testimony and many others.

Learn more : https://brainly.com/question/9774236?referrer=searchResults

Identify the class of the address, the number of octets in the network part of the address, the number of octets in the host part of the address, the network number, and the network broadcast address g

Answers

Answer:

1.

190.190.190.190

Class B

Number of octets in the network part of the address: 2

Number of octets in the host part of the address: 2

Network number: 190.190.0.0/16

Network broadcast address: 190.190.255.255

2.

200.1.1.1

Class C

Number of octets in the network part of the address: 3

Number of octets in the host part of the address: 1

Network number: 200.1.1.0/24

Network broadcast address: 200.1.1.255

Explanation:

The slope and intercept pair you found in Question 1.15 should be very similar to the values that you found in Question 1.7. Why were we able to minimize RMSE to find the same slope and intercept from the previous formulas? Write your answer here, replacing this text.

Answers

I don’t get the question

The POR is a systematic method of documentation that includes a database, problem list, initiitial plan and progress notes.
A. True
B. False

Answers

Explanation:

The POR is a systematic method of documentation that includes a database, problem list, initiitial plan and progress notes is true

Other Questions
Do you know this it is for social studies who was the first person to go to the moon Who does the Time Traveller meet when he lands in the future in The Time Machine?A. People dressed in purpleB. Wild lifecougars and lionsC. A group of masked figuresD. Green aliens think about the objects which acts as concave or convex Mirrors in your surroundings write a report on it i love old cottages/ the old cottagevillages/ the villages are usually quieter than towns/ the town Read the following excerpt from Act I, Scene 1 of Lorraine Hansberry's A Raisin in the Sun:RUTH (With a frown) Bobo? WALTER Yeah. You see, this little liquor store we got in mind cost seventy-five thousand and we figured the initial investment on the place be 'bout thirty thousand, see. That be ten thousand each. Course, there's a couple of hundred you got to pay so's you don't spend your life just waiting for them clowns to let your license get approved RUTH You mean graft? WALTER (Frowning impatiently) Don't call it that. See there, that just goes to show you what women understand about the world. Baby, don't nothing happen for you in this world 'less you pay somebody off! RUTH Walter, leave me alone! (She raises her head and stares at him vigorously then says, more quietly) Eat your eggs, they gonna be cold. WALTER (Straightening up from her and looking off) That's it. There you are. Man say to his woman: I got me a dream. His woman say: Eat your eggs. (Sadly, but gaining in power) Man say: I got to take hold of this here world, baby! And a woman will say: Eat your eggs and go to work. (Passionately now) Man say: I got to change my life, I'm choking to death, baby! And his woman say (In utter anguish as he brings his fists down on his thighs) Your eggs is getting cold! RUTH (Softly) Walter, that ain't none of our money. WALTER (Not listening at all or even looking at her) This morning, I was lookin' in the mirror and thinking about it . . . I'm thirty-five years old; I been married eleven years and I got a boy who sleeps in the living room (Very, very quietly) and all I got to give him is stories about how rich white people live . . . RUTH Eat your eggs, Walter. WALTER (Slams the table and jumps up)Identify two themes that are clearly developed in this excerpt. How does the author develop the two themes over the course of this excerpt? Be sure to use specific details from the text to support your answer. Please help! Solve each equation with its indicated method. Please show your work and upload a picture. Thank you!1. Solve using substitution 2x + 3y = 24 -3x - 5y = 152. Solve using eliminationx - y = 32x + 4y = 9 Is the following number rational or irrational? Choose the appropriate reason. PA N. 1.4 7+ V5 Rational, because it is the sum of two rational numbers. Rational, because it is the sum of a rational and an irrational number. Irrational, because it is the sum of two irrational numbers Irrational, because it is the sum of a rational and an irrational number. There is not enough information to answer the question. 16. The valency of sodium is +1 and that of chlorine is -1, why? Please help me I need it! What is the difference between revenue and profit? Which is the best strategy for avoiding chronic diseases caused by a high-calorie diet What role did thegovernment play inwestern settlement? Which Supreme Court decision did Brown v. Board of Education (1954) overturn? We are planting the trees in the field ( into passive voice) What sayings or team-bonding games do you know that promote teamwork? Create a list of games and sayings. Below are works cited entries for a book in print by one author. Select the one that is completely correct.Entry A:Fleet, Megan L. A Biography of Jimmy Carter. Chicago: Lippincott, 2007. Print.Entry B:Fleet, Megan L. A Biography of Jimmy Carter. Lippincott: Chicago, 2007. Print.Entry C.Fleet, Megan L. "A Biography of Jimmy Carter." Chicago: Lippincott, 2007.Entry D:Fleet, Megan L. A Biography of Jimmy Carter. Chicago, Lippincott. 2007. Print What is the volume of a cone with a height of 6m and a diameter of 12m? Nearest meter. Help me please please help me Read ""the Ozone Hole"" and answer the question below list at least three scientific disciplines related to chemistry mentioned or alluded to in the article