Classification of software

  1. A) Consists of sequences of instructions called programs that can be understood and executed by hardware.

B) Programming language translator = BlitzMax

System software = Disk defragmenter

Library program = A DLL file that is used by several applications

General-purpose applications program = Microsoft word

2. Income tax calculation software = G

Translator for c++ = D

Word processing software = F

Operating software = A

3. A) Assembly code

B) Machine code

C) Line

D) An assembler

E) Assembly code was based around machine code but made slightly easier so that humans could program computers and software without as much trouble.

4. A) i) Word processer.

ii) A group of special-purpose software that is sold as a bundle.

B) i) Software that has been tailored to a person’s specific requirements.

ii) Advantage – It is exactly what the person/company need.

Disadvantages – It is very expensive and it is not commercially available.

5. A) i) Electronic/electrical circuits that a computer is assembled from. The platform on which the software executes.

ii) Consists of sequences of instructions called programs that can be understood and executed by hardware.

B) Software

C) Hardware (More a concept than a physical component)

6. A) i) The source code of a computer program is read by a lexical analyzer which splits the text into words and symbols known as “tokens”. The tokens are analyzed by a parser which looks for grammatical patterns in the use of the tokens. The parser collects the language data for an intermediate-code generator to convert the data into that form of coding. An optimizer reads the intermediate code, which was generated from the parser data, and simplifies or omits extra code, to write a more-efficient language text, which is then changed into the target computer’s machine code.

ii) Programmers usually write programs in high level code, which the CPU cannot execute; so this source code has to be converted into machine code. This conversion is done by an interpreter. A compiler makes the conversion just once, while an interpreter typically converts it every time a program is executed.

B) i) A compiler analyses the high-level code and spends a long time carefully converting it into machine code. This would be used if you are making a game where running it in machine code would enhance the games performance.

ii) An interpreter quickly analyses the high-level code but only converts it down a programming generation or so, more programs are then needed to convert right down to machine code. This would be better if performance doesn’t matter and where the program simply needs to execute fast.

7. i) Assembler

ii) Compiler

8. A) Assembly code

B) It needs to be converted to machine code by an assembler in order for the hardware to understand and execute the program.

C) This is a language that can use statements.

D) Java

E)

F) They are very difficult to read and it takes longer to learn and master.

Advertisements

One thought on “Classification of software

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s