Question

In: Computer Science

Discuss in a group of two persons on the following statements. ( C++ programming ) (a)...

Discuss in a group of two persons on the following statements. ( C++ programming )
(a) A compiler is the same as an interpreter.
(b) We can only use high-level language and not low-level language to write a
computer program.
(c) Low-level language is close to machine language and high-level language
is close to human language.
(d) Algorithm design is not important in software development process.
(e) When the computer is on, the first loading program is the Operating System.

Solutions

Expert Solution

a)

Compiler:
1. It translate the high level language into machine language.
2. It will take more time to analyze the program and very less for execution.
3. It requries more more as it generate objec which requires linking. so required more memory.
4. It will generate error meessage only after scan of whole program. so debugging is hard.
4. Complier Programming languages like C,C++

Interpreter:
1. Transalate the high level to machine level binary equivalent.
2. It will take less time to annalyze the program but very slow execution.
3. No object is required so memory is efficient.
4, It will stop when first error it met.
5. Programming languages like ruby and python.

-------------------------------------------------------------------------------------------------------------------------------------------------

B) We can also write computer programs using low-level language aslo. Execution of low- level language is very faster when compared to high-level language. Assembly language is low level language.

----------------------------------------------------------------------------------------------------------------------------------------------------

C) Yes High level language is much easier for humans to read and write. As syntax and programs are human understandable.

We have two types of low level languages 1. machine language and Assembly language.

Machine language is only understanble by computer.

Assembly language is consists of programming structure and makes human to read machine language.

-----------------------------------------------------------------------------------------------------------------------------------------------------

E) When the computer is turned on, First program is loaded is operating system.
This operating system help other computer programs to work and make complete system to work properly.

-----------------------------------------------------------------------------------------------------------------------------------------------------

D)Algorithm design is not a programming language. It consists of set of equations
which are written by hand.
Some maniframe programming languages implements an algorithm design.


Related Solutions

Practice. 1. There are N men and M women in a group. Two random persons are...
Practice. 1. There are N men and M women in a group. Two random persons are selected. Calculate the probabilities: a) a man and a woman are selected; b) two men are selected; c) two women are selected. 2. If necessary, correct the mistakes in formulas: a) ?(∅) = 1; b) ?(? ∪ ?) = ?(?) ∙ ?(?), if ? ∩ ? ≠ ∅. c) If ? ⊂ ?, then ?(?) > ?(?), d) ?(Ω) = 1. Theory. Explain what...
C# Programming Discuss how to build a Multi-Form Windows application in C#. That is an App...
C# Programming Discuss how to build a Multi-Form Windows application in C#. That is an App that has more than one form, like say maybe 5 forms. How do you connect these forms and pass data objects between these forms?
Refer to the following financial statements of Bongo Comics Group. Bongo Comic Group Income Statements (In...
Refer to the following financial statements of Bongo Comics Group. Bongo Comic Group Income Statements (In 000’s, except EPS) 2016 2017 2018 Net Sales $2,100 $3,051 $3,814 Cost of Goods Sold 681 995 1,040 Gross Profit 1,419 2,056 2,774 Selling and Admin. Expenses 610 705 964 Operating Profit 809 1,351 1,810 Interest Expense 11 75 94 Income before tax 798 1,276 1,716 Income Tax (T=35%) 279 447 601 Net Income 519 829 1,115 Dividends Paid 0 0 0 Increase in...
Discuss the following two statements: 1- the corporate charter and the bylaws of a company are...
Discuss the following two statements: 1- the corporate charter and the bylaws of a company are legal documents; therefore, they should not be examined by the auditors. If the auditor wants information about these documents, an attorney should be consulted. 2- the most important audit procedure to verify dividends for the year is a comparison of a random sample of cancelled dividends checks with a dividend list that has been prepared by management as of the dividend record date.
Discuss the following two statements: 1- the corporate charter and the bylaws of a company are...
Discuss the following two statements: 1- the corporate charter and the bylaws of a company are legal documents; therefore, they should not be examined by the auditors. If the auditor wants information about these documents, an attorney should be consulted. 2- the most important audit procedure to verify dividends for the year is a comparison of a random sample of cancelled dividends checks with a dividend list that has been prepared by management as of the dividend record date.
1.In C++, C#, Java. Discuss string operations functions, with examples. Then make Comparison of programming languages  ...
1.In C++, C#, Java. Discuss string operations functions, with examples. Then make Comparison of programming languages   2.String and StringBuffer (C#, Java) with examples.
Lab 1 Write a program in the C/C++ programming language to input and add two fractions...
Lab 1 Write a program in the C/C++ programming language to input and add two fractions each represented as a numerator and denominator. Do not use classes or structures. Print your result (which is also represented as a numerator/denominator) to standard out. If you get done early, try to simplify your result with the least common denominator. The following equation can be used to add fractions: a/b + c/d = (a*d + b*c)/(b*d) Example: 1/2 + 1/4 = ( 1(4)...
As a result of federal legislation, persons who are no longer part of their group for...
As a result of federal legislation, persons who are no longer part of their group for medical insurance purposes because of being laid off or other reasons must be allowed to continue the group health insurance coverage ?for a limited period of time. ?if they are healthy. ?if their employer is willing. ?at an inexpensive price.
A health study tracked a group of persons for five years. At the beginning of the...
A health study tracked a group of persons for five years. At the beginning of the study, 25% were classified as heavy smokers, 35% as light smokers, and 40% as nonsmokers. Results of the study showed that light smokers were twice as likely as nonsmokers to die during the five-year study, but only half as likely as heavy smokers. A randomly selected participant from the study died over the five-year period. Compute the probability that the participant was a nonsmoker.
explain two new personal insights on persons 65 plus. Also, discuss two ways that foresee learning...
explain two new personal insights on persons 65 plus. Also, discuss two ways that foresee learning about age differentiation and the aged helpful to your current or future career field.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT