(C) 2004 Airton Filho 

No rated * * * * * Resize -A   +A

Correction of Assignments of Chapter 1

 

1- What are the advantages of C over Assembly language?
R: It is easier to read and write programs in C. It is more portable than assembly language code, which is dependent on the computer architecture.

 

2- List three of the advantages of C language.
R: supports procedural programming paradigm; powerful programming language used in a scenario where speed of an application is critical; programs are compact and concise

 

3- List three applications of C language.
R: device drivers; embedded applications; utility programs.

 

4- For what sort of programs is C more suitable than C++? Why?
R: C is well suited for developing small programs that run on smaller systems. C++ complex class libraries that can occupy large amounts of disk space.

[Your opinion is important to us. If have a comment, correction or question pertaining to this chapter please send it to comments@peoi.org .]