Commit 7ecb448a authored by Sergey Hakobyan's avatar Sergey Hakobyan

Sergey Hakobyan -Exercise 1.4-1.9 -Version 3

parent 4898cd01
1.4 answer:
hardware: a. CPU c. ALU e.input unit
software: b. C++ compiler d. C++ preprocessor f. an editor program
1.5 answer:
1st quation:
machine-independent language user friendly(here we are using English text instead of streangs of numbers(ultimatly reduce to 1s and 0s)). machine programing is so slowly and programs can be used for specific computers.
2nd quation:
computers can directly understand machine language without any tranlation steps. It make program faster.
1.6 answer:
a. Input unit
b. programing
c. machine-independet language
d. mamory unite
e. secondary storage unit
f. ALU
g. CPU
h. high-level
i. machine languages
j. CPU
1.7 answer:
1st quation:
becouse it contains class and they have associations.
2nd quation:
becouse it contains std library
1.8 answer:
1sh quation:
Fatal error accures when exist syntax error or missed function and .etc. None fatal error when exist logical unacceptable case like divide to 0
2nd quation:
Fatal errors terminate programe, None fatal error allow programs to run to completion
1.9 answer:
a. functional programing unit is function, Object-oriented programing unint is Class. But in Classes we use functions also which calling member functions.
b.
1. analyze a typical requirements
2. determine the objects required to implement that system
3. determine the attributes the objects will have
4. dtermine the behaviors these objects eill exhibit
5. specify how the objects interact with one another to meet the requirements.
c. Types: Text mesages, Photos. Videos.
d. Switch,Volume,Menue,Chanal buttons, Monitor
1.6 answer:
a. Input unit
b. programing
c. machine-independet language
d. mamory unite
c. assembler
d. Output unite
e. secondary storage unit
f. ALU
g. CPU
......
......@@ -2,4 +2,4 @@
1sh quation:
Fatal error accures when exist syntax error or missed function and .etc. None fatal error when exist logical unacceptable case like divide to 0
2nd quation:
Fatal errors terminate programe, None fatal error allow programs to run to completion
Fatal errors are found easlily
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment