Explore BrainMass
Share

# Scanner classification of symbols enclosing the comment

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

In some programming languages a comment can be enclosed either in braces {} or in the symbols (* *). How do you think a scanner would group the four symbols {, }, (*, *) for purposes of classification i.e. would each symbol be given its own classification number or would some share classifications?

© BrainMass Inc. brainmass.com October 24, 2018, 11:57 pm ad1c9bdddf
https://brainmass.com/computer-science/programming-languages/scanner-classification-of-symbols-enclosing-the-comment-211533

#### Solution Preview

Each of the mentioned symbols should be given it's own classification number. The way left parenthesis has to match right parenthesis, similarly start of comment has to match the end of comment. If symbols indicating start and end of comment are given same classification, then we won't be able to identify a comment correctly.

If we gave same ...

#### Solution Summary

Solution justifies the answer with the help of relevent examples/case analysis.

\$2.19
See Also This Related BrainMass Solution

## Liquidity Ratios and Solvency Ratios in accounting

I have to choose two publicly traded companies and compute liquidity ratios and solvency ratios. I have chosen Dell and HP as my companies and the financial information for the FY2008 has been attached for each company. The list below is what I have to derive from the information.

Compute the following liquidity ratios for each of the companies, and comment on the relative liquidity of the two competitors.

i) Current ratio.

ii) Receivables turnover.

iii) Average collection period.

Compute the following solvency ratios for each of the companies, and comment on the relative solvency of the two competitors.

i) Debt to total assets ratio.

ii) Times interest earned.

iii) Cash debt coverage ratio.

iv) Free cash flow.

iv) Inventory turnover.

v) Days in inventory.

vi) Current cash debt coverage.

Compute the following profitability ratios for each of the companies, and comment on the relative profitability of the two competitors.

i) Profit margin.

ii) Asset turnover.

iii) Return on assets.

iv) Return on common stockholders' equity.

e) Which of the two companies would you prefer to invest in? Why, and under what circumstances?

I understand that to get the current ratio you have to divide current assets by liabilities. I have found this information. I also understand many of the ways to get the information, but I am having difficulty finding the information in the financial statements. If you could please help me get the information and give me where you found it in the documents.

View Full Posting Details