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
mars1129 [50]
3 years ago
5

Assume you have an XML Tree variable called quiz initialized with the following valid XML document. You are not required to draw

the tree, but you might find it helpful. <?xml version="1.0" encoding="UTF-8"?> 155 What is the size of this tree? What would be the value returned by quiz. child(0).child(1).child(0).label() What would be the value returned by quiz. child(1).attributeValue("number")

Computers and Technology
1 answer:
blagie [28]3 years ago
8 0

Answer:

See explaination.

Explanation:

question is the root element which have two children one is M-C and other is Coding.

Again M-C have two sub children Points and parts

Note: The tree will be as shown in the attachment. kindly refer to attachment.

Here if we see the child of quiz(questions) at 0 position is number of type M-C and another child at location 1 is number of type Coding.

Now quiz.child(0) is number of type M-C which has two child and child at 0 is Points and child at 1 is Parts

quiz.child(0).child(1) is Points and now further points doesn't have any children hence going further to quiz.child(0).child(1).child(0) is nothing hence it will not return anything.

Next quiz.child(1) is number of type coding and value is 5.

Size of the tree is (2^depth)-1

and here depth of tree is 3 hence size is (2^3)-1 i.e. 7

You might be interested in
Write a function to sum the following series:
Phoenix [80]

Answer:

<u>C program to find the sum of the series( 1/2 + 2/3 + ... + i/i+1)</u>

#include <stdio.h>

double m(int i);//function declaration  

//driver function

int main() {

int i;

printf("Enter number of item in the series-\n");//Taking input from user

scanf("%d",&i);

double a= m(i);//Calling function

printf("sum=%lf",a);

return 0;

}

double m(int i)//Defining function

{

double j,k;

double sum=0;

for(j=1;j<i+1;j++)//Loop for the sum

{

k=j+1;

sum=sum+(j/k);

}

return sum;

}

<u>Output:</u>

Enter number of item in the series-5

sum=3.550000

5 0
3 years ago
You are working in a medium-sized company and are trying to convince your boss that you need to enter the global market. Your bo
VARVARA [1.3K]

What is global market and how does digital media play a role in the global market?

Several years back, it took you a couple of months to import products into a country or export goods to a market in another country. Doing so was tasking and only huge trading companies were able to take the risk. The emergence of global marketing involves conceptualizing and then conveying a final product or service worldwide, in different countries. Global marketing is more than just conceptualizing and selling a product worldwide. The whole process involves actual planning, production, placement, and promotion of a company’s product in a worldwide market.  

Digital media has and continues to offer brands greater opportunities than ever before to connect with global audiences. More recently, I.T, and particularly the internet, has shrunk the world further. Consumers can get products in a matter of days just by a click of a mouse button or businesses can have partners half a world away. With almost 2.5 billion active social media users worldwide, it makes sense for brands to find audiences through these channels.

Since the emergence of internet, even small to mid-sized firms are able to reach customers globally. With proper execution, globalization can bring many benefits into your organization.  

1. New Revenue Potential

Taking this business to new global levels will get us access to a much larger base of customers. If everything goes as planned, we will enjoy increased revenues and the company will be exactly the shot of life it needs to take its revenues to new heights.

2. Lower Budgeting Costs  

With a common messaging to be done, our marketing budget will be reduced significantly and will help maintain profit margins.  

3. Ability to Help More and More People.

The solutions this company offers without a doubt has a potential to help customers all over the world improve their lives in some way. It will be able to help an exponentially greater number of people find answers to new challenges this company is able to solve.

Despite having many advantages of global marketing, it begs the question, what is that one challenge the company will face if it moves into a global market? Although we may have internet, nothing is able to beat our personal presence to our prospects and distribution partners. Not to mention the costs related to logistics, at some point, we will have to figure out the costs of doing long distance business in other regions of the world.

There are major disadvantages of global marketing

1. Cultural Barriers

Not every culture will be suitable for the products that our company offers. Crossing these cultural barriers might be cumbersome and very expensive for the company. We might have to adapt to certain rules that govern specific countries.

2. Inventory Management

If we are not careful, huge unused stocks may pile up and this may happen due to under or overestimation of projections or launching in a hurry without proper market research.  

3. Product Customization

We may be required to have a bigger budget that will enable us customize our products. Product customization will take us extra time to implement. Without sufficient marketing, this might be hard to achieve.

7 0
4 years ago
Caleb is working in an Excel spreadsheet and realizes that he incorrectly spelled a word he used in multiple cells. Which can Ca
Irina18 [472]
Given the situation above regarding the error that Caleb made in the spelling of a particular word which was repeated in multiple cells, the steps that he can do in order to correct this are the following:
1. G<span>o to Review, Spelling, and select Change each time the error is found.
2. G</span><span>o to Home, Editing, Find, search for the incorrect spelling, and Replace to replace it with the correctly spelled word.
Hope this helps.</span>
5 0
3 years ago
By applying styles, _______ formats are being applied each time. A. various B. different C. the same D. similar
Dmitry [639]
I just took the test on (PF) it's C. the same

i hope this helped someone.
;-)
4 0
4 years ago
Read 2 more answers
Imagine you have borrowed your friend's computer to work on a class project. Checking
castortr0y [4]

Answer:

Yes.It would be considered as a computer Crime.

Explanation:

This is because you are an unauthorised user

6 0
4 years ago
Other questions:
  • Jordan has been asked to help his company find a way to allow all the workers to log on to computers securely but without using
    6·1 answer
  • Suppose a program is running on a distributed-memory multiprocessor. There are 1,000 instructions in the program and 80% of inst
    13·1 answer
  • Which is the most effective manner to deliver a speech inmost business settings?extemporaneous presentationmemorizationreadingvi
    9·1 answer
  • The ‘capacity for emergency management and response personnel to interact and work well together’ describes which of the key com
    10·2 answers
  • _______________ is the use of IT in communication. a) email b) Chatting c) FTP d) All of the above
    7·1 answer
  • I WILL GIVE BRAINLIEST
    9·1 answer
  • A 90-minute film is based on a fictional couple. They are very happy throughout the entire film. The film shows how they met, wh
    5·2 answers
  • The Next Einstein Initiative and the ________ Institute for Mathematical Sciences bring bright young learners and the best lectu
    15·1 answer
  • Which of the following correctly describes the reason for quality customer service?
    9·1 answer
  • An organized file title helps save time locating files, communicates professionalism, and lets us know the file is most likely N
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!