Software Flashcards

1
Q

Definition of software and hardware ( 1 mark)

A
  • Hardware is physical component of the computer
  • Software is computer programs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Definition of application & system software (1 mark)

A
  • Application software provides services for the users
  • System software provides services for computers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Examples of application software (3 marks)

A
  • Video games
  • Word processor
  • Spreadsheet
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name 2 type of system software ( 2 marks)

A

Operating system & Utility system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Examples of utility software (3 marks)

A
  • Anti-malware
  • Defragmentation
  • firewall
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Definition of utility software and operating system ( 1 marK0

A

Utility software allows computer to run smoothly
Operating system provides an user interface for user to interact

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Name properties of each of the following user interfaces? (4 marks)
GUI
Menu-driven
Command line
Natural language

A

Graphical User Interface uses WIMP ( Windows, Icons, Menus and pointer)
Menu-drive: only one option is selected at the same time
Command line: text-based and for programmers
Natural language: Spoken with human language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Define multitasking (1 mark)

A
  • It’s the action of dividing processing unit and memory for all the programs to keep it running in the background.
  • The main program will have the most processing unit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe how an interrupt work? (5 marks)

A
  • The interrupt is stored at the interrupt handler (IR)
  • It will be given priority and sit in a queue
  • If it has higher priority than the current FDE cycle, the current FDE cycle will stop to allow the interrupt to be dealt with first.
  • The interrupt service routine (ISR) has all the necessary information to deal with an interrupt
  • After being done, it will go back to the current FDE cycle or load in another interrupt.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Examples of hardware & software interrupts (4 marks)

A

Software: division by 0, program is not responding,printer runs out paper
Hardware: Keyboard buttons pressed, mouse button pressed,D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Define defragmentation (2 marks)

A
  • As data is stored onto the memory, it will be scattered around because the data has different amount of memory.
  • Defragmentation will help to re-organize into a continuous stream for easier access by the read-write arm
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe the BIOS system (3 marks)

A

Application system runs on operating system
Operating system runs on firmware
The firmware will load in bootstrap loader to boot up the system

Application -> Operating -> Firmware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Identify 3 types of languages (3 marks)

A
  • High-level
  • Low-level
  • Machine code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Define the purposes of each languages (3 marks)

A

Machine code: Binary representation
Low level (assembly language): use mnemonics , occupies less memory and executes faster
High level (python) : Use English language so it’s easier to understand. but it can’t directly manipulate the hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Difference between interpreter and compiler and assembler (7 marks)

A

Assembler: Convert low-level language to machine code

Compiler:
+ convert high-level language to machine code
+ produces an executable file so it won’t need to go through re-translation ==> takes less time
+ Errors are given after the translation ==> longer for debug

Interpreter:
+ convert high-level language to machine code
+ Translate line by line
+ If an error occured, it will stop at that line until being solved

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Define IDE (2 marks)

A
  • Integrated development environment
  • This aids for progmrammers to write computer programs
17
Q

Features of IDE (4 marks)

A
  • Auto-completion
  • Auto-correction
  • Error diagnosis
  • Run-time environment