The class DArray has three private member variables: int *arr; //will point to a dynamic array of integers int capacity; //capacity of the array int numfElements; //total number of elements in the a rray Given the header of the member function overwrite, as shown below, which implementation would correctly overwrite the last element of the parameter object with the first element of the calling object? void Darray:: overwrite(const Darray& other Array) const { // implementation } a. otherArray->arr[numOfElements - 1] = arr[0]; ob. therArray[numOfElements - 1] = arr[0]; arr.c. otherArray[numOfElements - 1] = arr[0]; d. otherArray.arr[numOfElements - 1] = arr[0]; e. None of the above.

Answers

Answer 1

The correct implementation for the overwrite member function to correctly overwrite the last element of the parameter object with the first element of the calling object is option c: otherArray[numOfElements - 1] = arr[0];


In the given code snippet, the overwrite function takes a constant reference to another object of type Darray as a parameter. The function aims to overwrite the last element of the parameter object with the first element of the calling object.

The correct syntax to access a private member variable of an object is to use the dot operator (.) instead of the arrow operator (->). Therefore, options a and d are incorrect. Option b is also incorrect because it uses the arrow operator to access an object instead of a pointer. Option c correctly accesses the last element of the parameter object using the square bracket operator and subtracts one from the numOfElements member variable to access the last element. It then assigns the first element of the calling object to that location.Therefore, option c is the correct implementation for the overwrite member function.

Know more about the parameter object

https://brainly.com/question/29526293

#SPJ11


Related Questions

Which algorithms has worst time complexity?

Answers

The best, average, and worst cases of Quicksort's temporal complexity are O(n log n), O(n log n), and O(n log n), respectively. But because it performs the best in the majority of average input cases.

Which sorting method has the highest complexity?

A trustworthy sorting algorithm is the bubble sort. The worst-case temporal complexity of this algorithm is O. (n2). The space complexity of the bubble sort is O. (1). The number of inversion pairs in the provided array is equal to the number of swaps in bubble sort.

What are the of highest possible complexity?

The complexity of a bubble sort is O(n2) in the worst case and O in the best scenario (n). Explanation: When Item is the last element, the worst case scenario in a linear search process occurs.

To know more about algorithm visit:-

https://brainly.com/question/22984934

#SPJ4

Which of the following terms specifically refers to images which are stored as a set of digital values called pixels

Answers

Raster image is the correct term for an image which is stored using pixels

What exactly is a raster image?

Raster Pictures are the images that are created while scanning or photographing an item. Raster pictures are created by combining pixels, or small dots, each of which has unique color and tone information. Raster pictures are resolution dependant since they are pixel-based.

A raster (or bitmap) picture is defined by an array or map of bits contained within a rectangular grid of pixels or dots. Lines, forms, and other graphic image components are used to describe vector graphics, which are saved in a format that includes geometric formulae for displaying the picture parts.

To learn more about raster image to refer:

https://brainly.com/question/28251771

#SPJ4

Which career involves analyzing various factors that influence the customer decision making process

Answers

A career that involves analyzing various factors that influence the customer decision making process is called Market Research.

What is Market Research?

Market research analysts study market conditions to examine potential sales of a product or service. They help companies understand what products people want, who will buy them, and at what price.

They also help companies understand how customers use products or services, what changes they would like to see, and what their competitors are doing.

Therefore,  Market research analysts use this information to help companies make more informed business decisions. They also help companies identify and develop new products or services and improve existing ones, and they can help companies decide where to locate new facilities and how to target new customers.

Learn more about customer decision making from

https://brainly.com/question/23176347

#SPJ1

How to fix deprecated gradle features were used in this build, making it incompatible with gradle 8.0?

Answers

To fix this issue, the user needs to update the project's build.gradle file and replace the deprecated features with the new recommended ones.

Here are some steps the user can follow:

Check the Gradle version the project is currently using.Check the Gradle documentation for the version that is being used, to see which features have been deprecated in the latest version.Update the build.gradle file to use the recommended replacement features.Re-run the build command.

The error message "deprecated gradle features were used in this build, making it incompatible with gradle 8.0" occurs when a user is trying to build a project using an older version of the Gradle build tool, and the project contains features or configurations that have been deprecated (removed or replaced) in the latest version of Gradle.

Gradle is a powerful build tool that is commonly used in Java and Android development. It allows developers to automate the process of building, testing, and deploying their projects.

Learn more about fix problem, here brainly.com/question/20371101

#SPJ4

Any task a computer performs is called a

Answers

Any task a computer performs is called a process.

About process (computer)

In computing, a process is an object instance of a computer program being executed by one or more threads. It contains the program code along with the activities being performed. An operating system can set a process that consists of several threads execution to run concurrently.

A computer program is a (passive) collection of computer commands, while a process is the actual work of these instructions. Several processes can run from the same program, for example creating multiple instances of the same program usually results in more than one running process.

Dual assignment is a way to allow multiple processes to share a processor (UPS) and system data sources. Each processor core (UPS) performs one task at a time. However, multitasking allows the processor to switch to another task that is currently in progress without having to wait for each task to complete. Task switching can be done when the task is waiting for an input/output operation, when the task is marked as mutable, or when there is a hardware interrupt depending on the operating system implementation.

The general form of multiple assignment is time sharing. Time sharing is a method for increasing the responsiveness of an interactive application. In a time-sharing system, context switching is done quickly so that it seems as if many processes are running simultaneously by the same processor. This is called concurrency.

Learn more about computer processing at https://brainly.com/question/17033890.

#SPJ4

Select the correct answer.
Ivan has purchased new hardware to improve his gaming experience by making scenes move more smoothly. What has he purchased?
O A.
OB.
OC.
OD.
a new monitor
a new graphics card
a sound card
a solid-state device

Answers

Ivan has purchased new hardware to improve his gaming experience by making scenes move more smoothly. He has purchased a new graphics card

How could the graphics card help?

A graphics card, also known as a video card or GPU, is a piece of hardware that is responsible for rendering images and videos on a computer.

In a gaming context, a powerful graphics card can greatly enhance the visual experience by increasing the frame rate, resolution, and overall quality of the graphics.

A powerful graphics card can process these elements quickly and efficiently, resulting in a higher frame rate and a smoother overall gaming experience.

Read more about graphics card here:

https://brainly.com/question/30187303

#SPJ1

non-record materials can be comingled with official agency records.

Answers

The statement is true. Non-record materials can be comingled with official agency records because they are not considered official records and do not need to be preserved for a specific period of time or retained for historical or legal reasons.

Non-record materials are items that do not need to be retained for any specific period of time and can be discarded when they are no longer needed. Examples of non-record materials include duplicate copies, drafts, and personal papers. They may include emails, documents, and other materials that are used for reference or informational purposes, but not for the conduct of agency business.

Here is the complete question.

Non-record materials can be comingled with official agency records. True/False.

For further information about agency record, kindly check: https://brainly.com/question/29679099

#SPJ4

what is the number base of the binary number system?

Answers

2 is the number base of the binary system

What computing appliance blocks and filters unwanted network traffic?
a. firewall
b. router
c. VPN server
d. modem

Answers

A. Firewall.

Firewalls block unwanted network traffic for security.

non-record materials can be comingled with official agency records.

Answers

The statement is true. Non-record materials can be comingled with official agency records because they are not considered official records and do not need to be preserved for a specific period of time or retained for historical or legal reasons.

Non-record materials are items that do not need to be retained for any specific period of time and can be discarded when they are no longer needed. Examples of non-record materials include duplicate copies, drafts, and personal papers. They may include emails, documents, and other materials that are used for reference or informational purposes, but not for the conduct of agency business.

Here is the complete question.

Non-record materials can be comingled with official agency records. True/False.

For further information about agency record, kindly check: https://brainly.com/question/29679099

#SPJ4

16.
Communication is communication that takes place on the job.
a. Social
b. Professional
c. School
that stands for an idea

Answers

Answer:

a

Explanation: emergence of verbal and nonverbal skills, social interaction, and social cognition.

date procedures are often more software-specific than other sql procedures.:T/F

Answers

True, date procedures frequently require software that is more specialized than other SQL processes.

How can you avoid running the same SQL query twice?

You can also use the SQL RANK feature to get rid of duplicate rows, according to Delete Duplicate Rows in SQL. The SQL RANK function always produces a distinct row ID for each row, regardless of duplicate rows. Max, Min, and AVG are examples of aggregate functions that you must utilize while performing computations on data.

How can SQL Server duplication be avoided?

Right-click the table that contains the field in the Navigation Pane and select Design View from the menu that appears. Choose the field whose values should all be unique. On the General tab of the Field Properties pane, which is located at the bottom of the Table Design view.

To know more about SQL query visit:-

https://brainly.com/question/14994763

#SPJ4

If automobile workers went on strike causing a decreased supply of cars, the supply curve would shift inward to the left, and _____.

Answers

If automobile workers went on strike causing a decreased supply of cars, the supply curve would shift inward to the left, and there would be in eventual upward movement along the demand curve, reestablishing equilibrium. The correct answer is B.

Demand will rise as a result of consumers competing for a restricted supply as the supply declines. The ultimate upward movement along the demand curve would cause the demand curve to eventually attain equilibrium. Supply and demand would be in equilibrium since there would be a decrease in quantity as prices increased. There is right response to this question is b.

Your question is incomplete but most probably your full question was

If automobile workers went on strike causing a decreased supply of cars, the supply curve would shift inward to the left, and _____.

the demand curve would eventually shift to the left, reestablishing equilibrium

there would be an eventual downward movement along the demand curve, reestablishing equilibrium

there would be an eventual upward movement along the demand curve, reestablishing equilibrium

the demand curve would eventually shift to the right, reestablishing equilibrium

Learn more about demand curve at https://brainly.com/question/13131242

#SPJ4

How to fix "the number you are trying to call is not reachable"?

Answers

The number you are trying to call is not reachable" typically indicates that the phone number you are trying to call is currently unavailable or out of service. To fix this issue, you can try the following:

Check the phone number you are trying to call to make sure it is correct.Ensure that your phone is connected to a network with good signal strength.Restart your phone and try calling againTry calling the number from a different phone or from a landline to see if the issue is with your phone.If the issue persists, contact your phone service provider for further assistance.

It's also possible that the number you are trying to call has been disconnected or is no longer in service. In this case, you will not be able to reach the number. Troubleshooting is the process of identifying and resolving problems or issues with a system or device. In this case, the system or device is a phone, and the problem is that a call to a certain phone number is not going through and the message "the number you are trying to call is not reachable" is being received.

Learn more about fix problem, here https://brainly.com/question/20371101

#SPJ4

An Introduction to Management Science 13th Edition Solutions Manuals?

Answers

An Introduction to Management Science, 13th Edition Solutions Manual is a guidebook that provides step-by-step solutions to the problems and exercises found in the textbook "An Introduction to Management Science," 13th edition.

 

This manual serves as a useful tool for students, instructors, and professionals who are using the textbook as a resource for learning or teaching management science. The solution manual provides detailed explanations and examples that help to clarify and reinforce the concepts presented in the textbook. It also allows users to check their work and understand where they might have made mistakes. Overall, the An Introduction to Management Science, 13th Edition Solutions Manual is a valuable resource that can help users better understand and apply the concepts of management science.

Learn more about scientific management here: brainly.com/question/13191706

#SPJ4

Which of the following is not true about grid computing?
Only desktop or laptop computers are powerful enough to be used for grid computing.
It is also known as distributed computing.
It is a much-less expensive method of obtaining near-supercomputer power.
It is used by many non-profit organizations.

Answers

Only desktop or laptop computers are powerful enough to be used for grid computing.

Grid computing is a method of distributed computing where resources from multiple computers are connected together to solve a problem. These resources can include servers, supercomputers, and even desktop and laptop computers. Grid computing can be used to harness the power of many different types of devices and devices with varying levels of processing power.

It is also known as distributed computing.

It is a much less expensive method of obtaining near-supercomputer power.

It is used by many non-profit organizations. All of the above are true statements about grid computing.

Learn more about grid computing here: https://brainly.com/question/15707178

#SPJ4

Codio 3. 1. Count from 0 to N

We will pass in a value, N. You should write a program that outputs all values from 0 up to an including N.

Answers

A program that outputs all values from 0 up to an including N is given below:

#import required package

import sys

#get the command line argument

#and store the n value

N = int(sys.argv[1])

#use a temporary value

i=0

#use while loop to compare n

#and iteration value

while i<=N:

   #print the value i

   print(i)

   #increment i value

   i+=1

A computer utilises a collection of instructions called a programme to carry out a particular task. A program is like the recipe for a computer, to use an analogy. It includes a list of components (called variables, which can stand for text, graphics, or numeric data) and a list of instructions (called statements), which instruct the computer on how to carry out a certain activity.

Specific programming languages, such C++, Python, and Ruby, are used to construct programmes. These are high-level, legible programming languages.

Learn more about Program here:

https://brainly.com/question/14618533

#SPJ4

Shelley works in a dental office as an administrative assistant and uses a desktop computer for scheduling appointments. What type of keyboard is she most likely to use?.

Answers

according to the question A mechanical keyboard is the one that Shelley is most likely to utilize.

What is mechanical keyboard?

In addition to a wide range of customization possibilities for look and feel, mechanical keyboards provide a noticeably more pleasant typing experience. They are also more robust and simple to fix.

With mechanical keyboards, signal transmission to your computer frequently just requires a half-press of a key, making typing quicker and simpler.

She is an assistant and makes use of a desktop computer to make reservations, hence a mechanical keyboard will be employed in this instance. She refused to utilize virtual keyboards, computers, or tablets. A mechanical keyboard is the one that Shelley is most likely to utilize.

To learn more about mechanical keyboard refer :

brainly.com/question/28866303

#SPJ4

Is whistleblowing the same as reporting an unauthorized disclosure?a. Classified info or controlled unclassifed info (CUI) in the public domain.b. Improper Safeguardingc. Prepublication Reviewd. No, they use different reporing procedures.

Answers

Unauthorized disclosure is indeed a crime where there are several legal procedures, unlike whistleblowing.

What should be done first when reporting an incidence of unauthorized disclosure?

As soon when you become informed of or believe an unauthorized disclosure, protect the sensitive information to prevent further disclosures. Then, in order for them to conduct an investigation or, if required, take the necessary measures, you must notify the right authorities about the unauthorized disclosure.

What is a whistleblower?

You are regarded as a whistleblower as a worker if you disclose particular misconduct. This will often be the one you've seen at work, though not necessarily. You must make public any misconduct that is against the law.

To know more about whistleblowing visit:-

brainly.com/question/30228352

#SPJ4

The correct banner for unclassified documents with cui is?

Answers

For unclassified information contained in CUI papers or materials, the unclassified marking "(U)" must be used as a section marking.

What is the proper banner labeling with CUI for unclassified documents?At the very least, the CUI banner marking of "CONTROLLED" or "CUI" must be shown in the top center of any page containing CUI. There are two forward slashes (//) between each marking.Indicates that the section includes Uncontrolled Unclassified Information by placing parenthesis around it. CUI Segment Markings must be used across the whole document and are inserted at the start of the portion to which they pertain.For unclassified information contained in CUI papers or materials, the unclassified marking "(U)" must be used as a section marking. In compliance with the June 4, 2019 ISOO letter, only unclassified information shall be tagged with the "Unclassified" or "(U)" designation in banners, footers, and section marking.

To learn more about CUI refer to:

https://brainly.com/question/29872687

#SPJ4

You are a network technician for a small corporate network. Today you moved an unused workstation to the IT Administration office, and now you need to connect the computer to the Ethernet local area network and the internet.

Answers

Connect the patch panel and switch in the networking closet as follows: Spread out Cables on the Shelf. The Ethernet twisted pair cable should be chosen. Drag the connector from the Selected Component pane to the IT Adm port on the patch panel. Drag the additional connector to switch port 5 from the Selected Component pane.

What is necessary to connect a workstation to a network effectively?

In order to connect many computers and other devices to a single Internet connection, also referred to as a home network, you need a router, which is a hardware device.

Why would someone utilize an RJ11 connector?

In analog telephony, RJ11 was frequently used to link the phone device and the cable.

To know more about Ethernet visit :-

https://brainly.com/question/14622272

#SPJ4

What is Object Query Language?

Answers

Answer:

Object Query Language is a query language standard for object-oriented databases modeled after SQL and developed by the Object Data Management Group.

what type of social engineering targets senior officialsa. Phishingb. Spear phishingc. Whalingd. ScienceDirect

Answers

Similar to spear phishing, whaling is a type of targeted phishing scam. Social engineers target higher-value targets like CEOs and CFOs when whaling, as opposed to the typical user.

The most likely victim of social engineering is who?

Social engineering attacks target more than simply your personal data. They usually aim for your company or place of employment in order to steal critical data.

What is social engineering when tailgating?

Tailgating is a type of social engineering assault in which an unauthorized individual physically gets entry to a restricted area, maybe one that is password-protected, where they may steal confidential data, cause property damage, compromise user credentials, or even infect machines with malware.

To know more about engineering visit:-

https://brainly.com/question/14094488

#SPJ4

Hi! Just want to know a cool name suggestion for a game I'm making, I have two options and which one do you think is better?
"CatLit" or "Jumpy Kitty" as the name of a game (quick desc: its an endless game where a cat jumps without stop and aims to move from one block to another while the background scrolls as you go further up, if the cat falls of the screen and has 0 out of 5 lives = gameover)

Answers

Answer:

I like Jumpy Kitty. I think its cute!

Explanation:

Cool that your making a game! Hope it comes out great!

Answer:

I think kitty jump would sound better

Explanation:

because it is an endless game where a cat jumps without stopping

The source code for web development is written in _________ language.

A. scripting
B. low level
C. assembly
D. programming

Answers

Web development source code is written in a programming language.

What language is the source code of a website?

HTML/CSS. HTML is the most fundamental of all the coding languages. If you want to build a website or an online application, learning HTML will provide you a solid foundation. Since HTML serves as the basis for the majority of websites, a skilled developer may style your code to suit your specific requirements.

What does web development source code mean?

Using computer programming languages, a programmer creates source code, which is a collection of instructions. After creating a line or group of source code, a programmer can subsequently incorporate it into a website, application, or other sort of computer program to provide it with operational instructions.

To know more about source code visit:-

https://brainly.com/question/12951057

#SPJ1

1. Vulnerability Scanner?
2. Ping Scanner?
3. Port Scanner?
4. Network Mapper?
5. Password Cracker?

Answers

The process of finding, evaluating, and reporting on security defects and vulnerabilities is known as vulnerability scanning. To find potential risk exposures and attack vectors throughout an organization's networks, hardware, software, and systems, vulnerability scans are carried out using automated vulnerability scanning technologies.

What sort of vulnerability scanner is an example?

OpenVAS, a system that is free and open source, is a fantastic example of a network vulnerability scanner. This open source software is a part of our collection of hosted online vulnerability scanners. The commercial Nessus and NexPose from Rapid7 are two other well-known examples.

What are the four categories of vulnerability?

The four sorts of vulnerability are physical vulnerability, economic vulnerability, social vulnerability, and environmental vulnerability. These categories are based on the many types of losses.

To know more about vulnerability scanning visit :-

https://brainly.com/question/29853954

#SPJ4

Find the General Structure of a C# Program. Copy and paste the general skeleton here:

Answers

The General Structure of a C# Program will be:

// A skeleton of a C# program

using System;

// Your program starts here:

Console.WriteLine("Hello world!");

namespace YourNamespace

{

   class YourClass

   {

   }

   struct YourStruct

   {

   }

   interface IYourInterface

   {

   }

   delegate int YourDelegate();

   enum YourEnum

   {

   }

   namespace YourNestedNamespace

   {

       struct YourStruct

       {

       }

What is a C program?

Microsoft created the programming language C-Sharp, which utilizes the.NET Framework. Web apps, desktop apps, mobile apps, games, and a lot more are all created with C#.

In this case, the basic organization of a C# Program is given above.

Learn more about program in:

https://brainly.com/question/26642771

#SPJ1

Selena is beginning a job search, and she needs some advice. What would experts say is the MOST helpful first step she should take in this process?

A.
Learn about herself so she can select jobs that are a good fit for her.

B.
Hire a professional writer to help her create a beautiful resume.

C.
Write several drafts of a cover letter so friends can select the best one.

D.
Fill out job applications for any job opening to get interview experience

Answers

The most crucial aspect of interview preparation is rehearsing how to respond to possible interview questions.

What are the top four things you need to have done to get ready for an interview?

Use the STAR technique to provide answers to questions. Make a friend your practise partner for answering questions. Bring some samples of your work with you. The night before your interview, decide what to wear.

What kind of an initial impact are you hoping to create?

People are more likely to feel at ease around you if their initial impression of you is one of friendliness, competence, and reliability.

To know more about technique visit:-

https://brainly.com/question/30078437

#SPJ1

10.3.5 Secure a Home Wireless Network You are working on a small network. You recently created a wireless network to allow the owner's laptop and mobile devices to make a connection to the wired network and the internet. However, without additional configuration, the wireless access point will allow connections from any laptop or mobile device. You need to secure the wireless network from unauthorized access.

Answers

A home network is a collection of gadgets that are connected to the Internet and one another, including computers, game consoles, printers, and mobile devices.

Home networks are linked a network that uses cables to link hardware such as printers and scanners a wireless network that connects gadgets without cords, such as tablets and e-readers.Creating a home network has several benefits. A few examples of what home networking enables you to achieve are as follows Connect to the Internet using a variety of devices, including mobile phones, game consoles, and laptops.Access all network-connected devices' files and directories.Use one printer to print from several different computers.All networked devices' security settings can be managed in one location.Read on if you want to learn more about home networking.

Learn more about Home Wireless Network here:

https://brainly.com/question/4458930

#SPJ4

which of the following features allows a shape to hide parts of other artwork so only the part within the shape is visible

Answers

The clipping mask feature allows shapes to hide parts of other graphics, so only the parts inside the shape are visible.

A clipping mask is a group of layers to which a mask is applied. The lowest or base level defines the visible boundaries of the entire group. Let's say you have shapes on the base layer, photos on the top layer, and text on the top layer. If the photo and text are only visible through the shape outline of the base layer, the opacity of the base layer is also applied.

Only consecutive levels can be grouped. The name of the base layer in the group is underlined and the thumbnails of the layers above it are indented. Additionally, a clipping mask icon appears on the layer above.

Clipping masks let you take the content of a layer and mask the content with the layer above it. By making it a separate layer, you can make it look like the actual shape is being affected while adjusting the highlights, shadows, and levels.

Know more about thumbnails here:

https://brainly.com/question/30172886

#SPJ4

Other Questions
the idea that people can age successfully by maintaining their roles and statuses is consistent with.... theory.A. activityB. roleC. disengagementD. continuity A pendulum is observed to complete 32 full cycles in 56 seconds.1. Calculate the period.2. Calculate the frequency.3. Calculate the length. T / F : To be most attractive and readable, paragraphs in business messages should be limited to eight or fewer printed lines. Qu significado tenan para los hermanos los objetivos valiosos que haban heredado de sus antepasados? A simple random sample of 36 cans of regular Coke has a mean volume of 12.19 ounces. Assume that the standard deviation of all cans of regular Coke is 0.11 ounces. Use a 0.01 significance level to test the claim that cans of regular Coke have volumes with a mean of 12 ounces, as stated on the label.a) State the hypotheses.b) State the test statistic.c) State the p-value.d) State your decision.e) State your conclusion. marc andreessen led a team that developed the first graphical web browser, which was called: Please!!! Compare and contrast how city life and rural life are presented in Cry, the Beloved Country. Which is given precedence, and how? Do you think this is a fair and accurate portrayal?and thank you all. Static Code Analysis 10 What will be the output of the following code: INTEGER n; n = 100; QUEUE q; while (n > 0) q.push(n % 3) n /= 3 while (q.size()) PRINT 9. front q.pop() Pick ONE option 10201 20102 O 10121 o 10102 In the context of group therapy, which of the following key terms refers to group members supporting one another with advice and sympathy and learning that they have something to offer others? 1aThere are approximately one billion smartphone users in the world today. In the United States, the ages of smartphone users between 13 to 55 approximately follow a normal distribution with approximate mean and standard deviation of 37 years and 8 years, respectively.Using the 68-95-99.7 Rule, what percent of smartphone users are greater than 53 years old?bThere are approximately one billion smartphone users in the world today. In the United States, the ages of smartphone users between 13 to 55 approximately follow a normal distribution with approximate mean and standard deviation of 37 years and 8 years, respectively. Using the 68-95-99.7 Rule, what percent of smartphone users are between 29 and 53 years old? An electronic system contains three cooling components that operate independently. The probability of each component's failure is 0.05. The system will overheat if and only if at least two co fail. Calculate the probability that the system will overheat. (A) 0.007 (B) 0.045 (C) 0.098 (D) 0.135 (E) 0.143 Considering the importance of schemata in the reading process, students could be assisted in their preparation for a reading bySelect one:a. providing them easier materialb. asking students to monitor their comprehensionc. previewing important vocabularyd. presenting students the important concepts and vocabulary in the lesson and attempting to relate that information to students background knowledge a computer has an operating system installed that is running a directory service and is configured to run without a gui. what type of os is most likely installed on the computer? regular meals with large portions of spinach or kale could be harmful to older adults who are on blood-thinning medications because of the increased _____ intake. why does shirley temple hates the white girls in forward the bluest eye A simple pendulum of length l is suspended through the ceiling of an elevator. Find the time period of small oscillations if the elevator (a) is going up with an acceleration a 0(b) is going down with an acceleration a 0and (c) is moving with a uniform velocity. Complete the definition of the functions that operate on a n-ary Tree type. You must use folds/maps on the list structure that stores the child nodes of an interior node.data NTree a = Nil | Tree a [NTree a] deriving Show-- Returns the sum of all values stored in the nodes in the input treesumElements :: NTree Int -> Int???-- Returns height of input tree (height=length of longest path from root to leaf)heightNTree :: NTree Int -> Int???-- Returns a list of all the values stored in the tree in pre-orderpreOrder :: NTree Int -> [Int]???The following are 3 examples of n-ary trees:t1 = Nilt2 = Tree 10 []t3 = Tree 10 [ Tree 20 [],Tree 30 [ Tree 60 [],Tree 70 []],Tree 40 [ Tree 80 [ Tree 90 [Tree 95 []],Tree 100 []]],Tree 50 []] Explain why pasta with marinara sauce is a better pregame meal than a quarter pound cheeseburger with a large order of fries? please answet this questions??? PLEASE!!!!2. Pass journal entry for purchase of merchandise with amount of birr 10,000 at cost?3. List and discuss the four methods that commonly used in assigning cost to inventory and cost of merchandise what are the pros and cons of assigning scott to lead the search for the new vice president