Module 5: Problem Solving, Algorithms and Pseudocode Flashcards

1
Q

What is Moore’s Law?

A

The number of transistors in a single microchip doubles every two years with minimal cost increase. The exponential increase is no longer the case.

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

What is a ‘naked machine’ ?

A

A naked machine has no tools or programs to assist the user.

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

How does a user use a naked machine?

A
  • Write all instructions in
    binary.
  • Write data in binary.
  • Load instructions into
    memory one cell at a
    time
  • Initiate running the
    program
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why don’t we use naked machines?

A

It is too difficult for humans to use and were not user friendly.

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

What is system software?

A

A collection of programs to manage a computer’s resources and serves as the intermediary between the user and the hardware.

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

What is a virtual machine?

A

This is the virtual environment that the user sees when the use a computer.

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

What is a compiler?

A

A compiler takes code written in a high-level language and generates the corresponding assembly code.

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

What is an assembler?

A

An assembler converts assembly code into machine code.

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

What is a loader?

A

A loader machine is a program that loads machine code into the system memory.

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

What is another name for assembly code language?

A

Low-level language

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

What are the advantages of assembly code over machine code?

A
  • Clarity, readability and maintainability
  • Can be placed in different locations in memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the advantages of high-level languages over assembly languages?

A
  • More powerful
  • User-oriented (focused on the user)
  • Not specific to any kind of machine
  • Uses a combo of natural language and maths
    notation
  • Designed to help structure our programs in a
    logical order
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly