Answer:
double × dp = NULL ;
int n;
n = <some value> ;
dp = new double[n]
Explanation:
According to the given question, the relevant data provided is as follows
Variable dp = Array of double
Based on the above information,
The allocation of an array for doubling n and assigned it to dp is here below:
double × dp = NULL ;
int n;
n = <some value> ;
dp = new double[n]
Hence, the above is the answer
Given the variable ip, already declared as a pointer to an integer, write the code to dynamically allocate memory for a single integer value, assign the resulting pointer to ip, and initialize the integer value to 27.
Answer:
In C++:
int *ip;
ip = new int;
*ip = 27;
Explanation:
First of all, let us have a look at the methods of memory allocation to a variable.
1. Compile Time: The memory gets allocated to the variable at the time of compilation of code only. It is also called static allocation of memory.
Code example:
int a = 5;
2. Run Time: The memory is allocated to the variable on the fly i.e. during the execution of the program. It is also called dynamic allocation of memory.
Now, we have to write code for a variable ip, which is an integer pointer to dynamically allocate memory for a single integer value and then initialize the integer value 27 to it.
Initializing a variable means assigning a value to variable for the first time.
Writing the code in C++ programming language:
int *ip; // Declaring the variable ip as a pointer to an integer
ip = new int; // Dynamically allocating memory for a single integer value
*ip = 27; // Initializing the integer value to 27.
why is know app downloading in my android phone even if I have 900 MB ???
Answer:
May be you have not signed in with Google
Missy loves her old Windows games. When she upgrades her Windows system, the games run fine, but the output looks fuzzy since the programs are designed only to run in VGA mode. What can she do to make the games work properly in Windows
Complete Question:
Missy loves her old Windows games. When she upgrades her Windows system, the games run fine, but the output looks fuzzy since the programs are designed only to run in VGA mode.
Group of answer choices;
A. Reboot into Safe Mode
B. Run compatibility mode for 640 x 480 resolution.
C. Reduce her screen resolution to 640 x480
D. Reboot into Low Resolution Mode
Answer:
B. Run compatibility mode for 640 x 480 resolution.
Explanation:
In this scenario, Missy loves her old Windows games. When she upgrades her Windows system, the games run fine, but the output looks fuzzy since the programs are designed only to run in VGA mode. In order to make the games work properly in Windows, Missy should run compatibility mode for 640 x 480 resolution.
The video graphics array (VGA) is the standard graphics or display interface used for computer monitors. It was developed in 1987 by IBM and it had a standard display resolution of 640 x 480 pixels.
Hence, if the output of a software program (games) looks fuzzy or is not being displayed properly, you should run compatibility mode for 640 x 480 resolution. This is to enable low resolution video mode on the computer.
The VGA mode is very basic because only minimal video drivers are being loaded on the windows.
A user calls the helpdesk and states that they are receiving an IP conflict error on their computer. The user is on a company network that uses DHCP. The technician verifies the PC is using DHCP to obtain TCP/IP settings. Which of the following commands should the helpdesk technician use to resolve this issue? (Select two.)
A. IPCONFIG /REGISTERDNS
B. IPCONFIG /FLUSHDNS
C. IPCONFIG /RELEASE
D. IPCONFIG /RENEW
E. IPCONFIG /ALL
Answer:
a
Explanation:
none
what is a good electric fan for your room?
Answer: a box fan
Explanation:
the get you really cold easily and its easy to turn off and on
Write a pseudocode algorithm which inputs numeric scores and outputs how many of them are over 100. The end of the data is signalled by a user input of -1.
Answer:
calculateCountGreaterThan100()
{
declare variable count with zero
while True
{
input numeric values from user
if user inputted value > 100
increment the count
if user inputted value == -1
break the loop
}
print the value of count
}
Explanation:
First of all, let us have a look at the meaning of a pseudocode:
A pseudocode is nothing but a informative way of expressing our code in simple plain English.
It is not written in programming language so it does not have any syntax rules.
Here, we are asked to write pseudocode algorithm for inputting numeric scores and output the number how many of them are greater than 100. The end of numbers is signalled by a user input of -1.
The answer is:
calculateCountGreaterThan100()
{
declare variable count with zero
while True
{
input numeric values from user
if user inputted value > 100
increment the count
if user inputted value == -1
break the loop
}
print the value of count
}
Here, we have declared a variable with initial count as 0.
Then, in a loop we are taking input from user in which user is giving integer input.
If the value is greater then zero, the count is incremented.
If the value is -1, we come out of the loop and then print the count value.
Pseudocode algorithm are algorithms that are implemented using pseudocodes, and it does not obey the syntax of a programming language.
The Pseudocode algorithmThe pseudocode algorithm is as follows:
count = 0
input num
while num != -1:
if num > 100:
count++
print(count)
The flowThe flow of the above pseudocode algorithm is as follows
First, variable count is initialized to 0Next, we take input for numNext, a loop is repeated until the input is -1During each loop, the inputs over 100 are countedLastly, the count of inputs greater than 100 is printedRead more about pseudocode algorithm at:
https://brainly.com/question/11623795
What is a path and how do you know that it is filled and selected
Explanation:
A path represents a selected editing area of an image, this feature is typically available when using Adobe Photoshop software.
For example, a photographer may select the entire face area of his subject as his path (work path). To know when it is filled the photographer observes to see when the colour changes or other changes are applied to the background layer of the selected path.
Which of the following statements expresses why the following code is considered bad form? for (rate = 5; years-- > 0; System.out.println(balance)) . . . I. unrelated expressions in loop header II. doesn't match expected for loop idiom III. loop iteration is not clear II and III only I and II only I and III only I, II, and III
Answer:
l and ll only that is the answer
Answer:I , II , and III
Explanation:
Your program will read in an existing text file. You want the program to terminate if the file does not exist. Which of the following indicates the correct code for the main method header? public static void main(String[] args) throws FileNotFoundException public static void main(String[] args) throws UnknownFileException public static void main(String[] args) public static void main(String[] args) throws FileMissingException
Answer:
FileNotFoundException
Explanation:
Case-Based Critical Thinking
Ryan is creating a website for an automobile company. He wants to include media files on the web page and make the page appealing to the viewers. 43. Ryan wants a particular embedded media clip to automatically restart when it has finished playing. Which of the following HTML audio and video element attributes must Ryan include in his code to accomplish this?
a. src.
b. loop.
c. controls.
s. preload.
Answer:
B. Loop
Explanation:
The use of loop which is a boolean attribute in HTML is an instruction that specifies a replay of the video once it has ended. It is inputted in this format;
<video controls loop>
<source src="dance.mp4" type=video/mp4">
</video>
To add a video to the HTML web page, the <iframe> element is used. the source would also indicate the video URL. The specification of the dimensions, that is the height and width of the video are also written. The code is now closed with the </iframe> element.
If you have a 3D printer please show me a vid of you making something because I'm interested in getting one. Ty! Also can someone show me how to put more points in a question that I ask on Brainly?
Explanation:
Too add more points on your brainly question(phone), type your question
Then, see on your top left, you can see the points. It will show 10,which means you have to lose 10 points which is the minimum points for one question. If you are generous to give more points, click on it the you can scroll till the maximum point which is 100..but each points you give will divide 2.
For example, you just loose 10 points for your question but I only got 5 points
Hope you understand this
I'm not sure with laptop
HAVE A GOOD DAY!
Find dy/dx and d2y/dx2. x = t2 + 5, y = t2 + 5t dy dx = Correct: Your answer is correct. d2y dx2 = Correct: Your answer is correct. For which values of t is the curve concave upward? (Enter your answer using interval notation.) Changed: Your submitted answer was incorrect. Your current answer has not been submitted.
Answer:
The answer to this question can be defined as follows:
Explanation:
Given value:
[tex]x = t^2 + 5......(1)\\\\ y = t^2 + 5t........(2)[/tex]
To find:
[tex]\bold {\frac{dy}{dx} \ \ \ and\ \ \ \frac{d^2y}{dx^2} = ?}[/tex]
Differentiate the above equation:
equation 1:
[tex]\frac{dx}{dt}= 2t.......(1)\\[/tex]
equation 2:
[tex]\frac{dy}{dt}= 2t+5[/tex]
Formula:
[tex]\frac{dy}{dx}= \frac{\frac{dy}{dt}}{\frac{dx}{dt}}\\\\[/tex]
[tex]\boxed{\bold{\frac{dy}{dx}=\frac{2t+5}{2t}}}[/tex]
To calculate the [tex]\bold{\frac{d^2y}{dx^2}}[/tex] we Differentiate the above equation but before that first solve the equation:
Equation:
[tex]\frac{dy}{dx}=\frac{2t+5}{2t}[/tex]
[tex]=\frac{2t}{2t}+\frac{5}{2t}\\\\= 1+\frac{5}{2t}\\\\=1+\frac{5}{2} t^{-1} \\[/tex]
Formula:
[tex]\bold{\frac{d}{dx} \ x^n = nx^{n-1}}[/tex]
[tex]\frac{dy^2}{dx^2}= 0+\frac{5}{2} (-1 t^{-2})\\\\[/tex]
[tex]= -\frac{5}{2} t^{-2}\\\\= -\frac{5}{2 t^2} \\\\[/tex]
[tex]\boxed{\bold{\frac{d^2y}{dx^2}=-\frac{5}{2t^2}}}[/tex]
Answer:
d2y dx2
Explanation:
Andy designed a web page for a product-oriented industry using CSS properties. He used several HTML tags to create the web page. He also used tables to ensure that the data is easily managed.
Andy wants the borders to be distinctly visible for each cell in the product details table. Which of the following properties must Andy add to his code to accomplish his goal?
A. border-spacing: length;
B. border-collapse: separate;
C. border-collapse: collapse;
D. border-spacing: initial;
Answer:
CSS documentation
Explanation:
Use this CSS reference to browse an alphabetical index of all the standard CSS properties, pseudo-classes, pseudo-elements, data types, and at-rules. You can also browse a list of all the CSS selectors organized by type and a list of key CSS concepts. Also included is a brief DOM-CSS / CSSOM reference.
Locatiopn: https://devdocs.io/css/
The properties that Andy must add to his code to accomplish his goal is (B), border-collapse: separate.
What is border-collapse?The border-collapse property in CSS determines how the borders of table cells are collapsed. The default value of border-collapse is collapse, which means that the borders of adjacent cells are merged together. To make the borders of the cells in Andy's table distinctly visible, he needs to set the border-collapse property to separate.
The other possible answers are incorrect. The border-spacing property determines the amount of space between the borders of adjacent cells. The border-spacing: initial value sets the border spacing to the default value, which is 0 pixels.
Find out more on CSS properties here: https://brainly.com/question/14918146
#SPJ2
While investigating a 4-year-old PC that is taking an unusually long time to boot, a technician discovers that the BIOS is rediscovering the hardware system at every boot. What should the technician do to resolve the problem
Answer:
learn and train it to make it boot faster
Explanation:
Well we know that the PC is old and it takes a long time to boot also the BIOS is rediscovering the hardware system at every boot so he should make it reboot and learn and train it to make it boot faster
One technique to find the "things" that need to be included in the new system begins by starting with a user and the use cases and then try to identify the necessary informational "things." This technique is called the _______. a. check list technique b. domain analysis technique c. noun technique d. brainstorming technique
Answer:
Coding is a skill where you take instructions (the steps in a task) and translate it into a languaage.
Explanation:
Coding is a skill where you take instructions (the steps in a task) and translate it into a language the computer understands since computers do not communicate like humans. They communicate in a language called BINARY and
Asia pacific and Japanese sales team from cloud kicks have requested separate report folders for each region.The VP of sales needs one place to find the reports and still wants to retain visibility of the reports in each folder. What should a consultant recommended to meet this requirement.
Answer:
B) Create all new regional folders and move the reports to the respective region folder with viewer access.
Explanation:
Below are the options
A) Create grouped folders, keeping the top region folder sharing settings and limiting the sharing settings for the grouped folders for each region.
B) Create all new regional folders and move the reports to the respective region folder with viewer access.
C) Create all new regional folders and move the reports to the respective region folder with subscribe access.
D) Create subfolders, keeping the top region folder sharing settings and limiting the sharing settings for the subfolders for each region
In order to required reports at one place and also wants to retain the visibility for each folder the consultant should suggest that all new regional folders should be created and afterwards it would be moved to their relevant region folders by involving the viewer access feature so that the VP should access it anytime
Hence, the correct option is B.
Based on the information given, the correct option will be B. Create all new regional folders and move the reports to the respective region folder with viewer access.
From the information given, it was stated that the VP of sales needs one place to find the reports and still wants to retain visibility of the reports in each folder.
Therefore, it's important to create all new regional folders and move the reports to the respective region folder with viewer access.
Learn more about folders on:
https://brainly.com/question/20262915
BP measuring machine is an example of __________
A)Computing device
B)Medical device
C)Embedded machine
D)None of these
Answer:
I think it is a Medical device.
BP = blood pressure
Explanation:
Which of the following statements is true? A. Ethernet connections allow the most mobility for users. B. Maximum advertised connection speeds are for Wi-Fi connections only. C. Every computer user can expect the same Internet connection speed. D. The actual speed of a network can differ from the maximum advertised speeds. E. Wi-Fi is the best option for intensive Internet users who have high data
Answer:
A
Explanation:
Ethernet connections allow the most mobility for users
Employees often have more than one laptop-so one or both of them are always handheld. For this cause, companies turn to the versatility and scalability of wireless networks. It is convenient to grant workers connectivity through a wireless network, which they can use to connect several devices. Tablets, smartphones and laptops can all be connected to the network, which enables employees to access
Answer: D. The actual speed of a network can differ from the maximum advertised speeds
Explanation:
just got it correct on the test
GuardIN is an IT security firm. It deals with highly secure data for a wide variety of software and e-commerce agreements, trademark licenses, and patent licenses. GuardIN needs a cloud computing option that would allow it to purchase and maintain the software and infrastructure itself. The cloud also needs to be designed in such a way that all users of the organization can access it without any lag. Which of the following cloud computing options would be most suitable for GuardIN?
A) A public cloud
B) A community cloud
C) A hybrid cloud
D) A private cloud
Answer:
D) A private cloud
Explanation:
Note we are told that GuardIN needs a cloud computing option that would allow it to purchase and maintain the software and infrastructure itself.
Thus, to be able to manage the cloud infrastructure itself; it implies buying it's own hardware equipments, which means it is best to use a private cloud computing option.
Doing so would give GuardIN the opportunity to design the cloud storage in a way that all users of the organization can access it without any lag.
urgent ..algorithm and flowchart to check weather a number is odd or even ???
Answer:
if it's 0 then the number is even.else number is odd
Explanation:
if it's divisible by 2.then the reminder will be 0,
then the number is even.
thanks
Answer:
Hello!!!
I'm not sure about first one but second is correct one.
no. means number (i didnt had place so)
so, i hope it helps you a little....
You asked your colleague to provide feedback on a blog post you recently wrote. When they sent you their feedback, they made edits directly in the doc. Is this a best practice for a content editing process?
Explanation:
This question can have both answers that is yes as well as no.
1.Yes, it can serve as an editor who completes your content and ensures it will read well to others.
2. No, the editor should have tracked changes which would have shown you where they would apply recommended edits.
What did early computers use to store each bit?
Answer:
A vacuum tube
1. Who is the head of the family of the Lhops?
This question is incomplete, here´s the complete question.
Read 'Untrodden World of Lhops', by John Michael Chiramal
Who is the head of the family of the Lhops?
Answer: the maternal uncle
Explanation:
The Lhops or Doyas are one of the smaller communities of Bhutan, isolated from the conventional rules of the Bhutanese society, they have the maternal uncle as the head of the family.
Not only he has complete authority over the family´s everyday life, but he´s also in charge of the children´s upbringing and providing them with an inheritance of his property.
Which is an aspect of structural-level design? A. scaling B. player-adjusted time C. difficulty level D. radiosity
Answer:
D. radiosity
Explanation:
This is because in computers the definition of radiosity is an application of the elemental method of solving the equation for other particular scenes with surfaces that gradually reflects light diffusely.
Answer:
its d
Explanation:
im right
CO! Oher...9
pressure
14.
large
The barometric height in a town is 65cmHg. Given that the standard atmospheric pressure
is 76cmHg and density of mercury is 13600kg/m", determine the altitude of the town. (Density of
(3mks)
air is 1.25kg/mº).
Answer:
Altitude of the town(h1) = 1,196.8 m
Explanation:
Given:
Height of barometer(h) = 65 cm Hg = 0.65
Standard atmospheric pressure = 76 cm Hg = 0.76
Density of mercury(Pm) = 13,600 kg/m³
Density of air (Pa) = 1.25 kg/m³
Find:
Altitude of the town(h1)
Computation:
Pressure due column = Δp mercury column
(Pa)(h1) = (Pm)(h)
(1.25)(h1) = (13,600)(0.76-0.65)
(1.25)(h1) = 1,496
Altitude of the town(h1) = 1,196.8 m
Which of the following patterns should be used for the delimiter to read one character at a time using a Scanner object's next method? Scanner in = new Scanner(. . .); in.useDelimiter("[^0-9]+"); Scanner in = new Scanner(. . .); in.useDelimiter(""); Scanner in = new Scanner(. . .); in.useDelimiter("[^A-Za-z]+"); Scanner in = new Scanner(. . .); in.useDelimiter("[A-Za-z]+");
Answer:
The method to this question can be defined as follows:
Scanner in = new Scanner(. . .);
in.useDelimiter("");
Explanation:
Following are the code to the question:
import java.util.*; //import package for user input
public class Main //defining class Main
{
public static void main(String ax[])//defining the main method
{
Scanner in = new Scanner("Database");//crearing Scanner class object that pass value in its parameter
in.useDelimiter(""); //using useDelimiter
System.out.println(in.next()); //use print method to print single character value
}
}
Output:
D
Code explanation:
In the above code inside the main method scanner class object "in" is created that pass value "Database" in its parameter. In the next step, useDelimiter is used that uses the scanner class object and single space n its parameter. In the last print, the method is used that prints object value.Suppose you have a tablet with a capacity of gigabytes. For a plain text book, one byte typically corresponds to one character and an average page consists of 2000 characters. Assume all gigabytes are used for plain text books. a. How many pages of text can the tablet hold? b. How many 500-page books can the tablet hold?
Answer:
a. 17,500,000 pages
b. 35,000
Explanation:
The computation is shown below:
As we know that
[tex]1 giga\ bytes = 1 \times 10 ^ {9} bytes[/tex]
So for 35 gigabytes it would be
[tex]= 35 \times 10 ^ {9} bytes[/tex]
And it is given that there is 2,000 characters
a. So the number of text pages would be
Let us assume that
for 2,000 it would be 1 page
So for [tex]35 \times 10 ^ {9} bytes[/tex] it would be x
Now we solve the x which is equal to
[tex]= \frac {35 \times 10 ^ {9} bytes}{2,000}[/tex]
= 17,500,000 pages
b. Now for 500 pages, it would be
[tex]= \frac{17,500,000}{500}[/tex]
= 35,000
A binary search function is searching for a value that is stored in the middle element of an array. How many times will the function read an element in the array before finding the value?
Answer: 1 time.
Explanation:
A binary function is also known as a half-interval search is a search algorithm to find the position of a given element x within a well-sorted array []. Binary search compares the target value to the middle element of the array.It ignores half of the elements just after one comparison. it compares x with the middle element.So, the function read an element one time in the array before finding the value.
Other than hard discs and flash discs, identify other three different storage media
Answer:
A storage media is any media that can store data.
1. USB flash memory
2. Memory stick
3. Floppy disk
Justify the statement "The same job title can have different job roles and different qualification criteria in different organizations." Compare job titles and their respective roles and qualifications from at least two organizations in different industries, and write a short essay explaining your reasoning.
Answer:
Below is an executive summary of this particular issue.
Explanation:
Each organization has differential requirements and preferences. This same employment opportunities rely heavily on either the structure of the company and indeed the amount of equipment that it possesses. Hence, whenever they recruit an individual on a specific job, their work description can differ based on the organization's needs including growth.Answer:
In the classified section of a local newspaper, I came across job openings for the post of a network engineer in two different companies. One was from the airline industry, while the other was from the food and beverage industry.
The airline company required an applicant to have a bachelor's degree in network administration. The job posting specified that applicants with supporting CCENT or CompTIA Security+ certifications would be preferred. The company was willing to consider candidates with no prior experience. The job responsibilities included: maintaining security, DNS, IP routing, firewalls, and troubleshooting IT-related problems. The role also required skills to manage multi-site network operations, operating systems, and other software applications in public as well as private facilities. Another responsibility was to complete the time logs in the company's records to facilitate timely and accurate billing.
For the role of a network engineer in the food and beverage industry, the required qualification was any bachelor's degree in computer science with a minimum of one year of relevant experience. Certifications were an added advantage, but they were not a necessity. The job role required skills to troubleshoot network glitches, monitor network usage, install software and hardware infrastructure, provide technical assistance to users, and suggest improvements in the system.
Explanation: