Top answers


What are the main differences between different loops when it comes to coding ?

This question is relevant to different coding languages, and it can be easily explained using Java language : for instance, we will use an integer array called FOR:for(int i=0;i<ArrayList.size();i++) the ...
GB
2042 Views

Describe the 4 layers of the TCP/IP model

The Application layer is the first in the stack; it uses high-level protocols that set an agreed standard for the communicating end-points; related to the application used to transmit data. It does not actua...
JR
Answered by Jose R. Computing tutor
4273 Views

Discuss the differences between operating systems designed for desktop computers and embedded systems.

Desktop:Supports a wide range of peripheralsRun a wide range of softwareManage securityNetworking protocols(etc)Embedded:Low hardware requirementsManage power consumptionNo/minimal UII/O(etc)
SH
Answered by Samuel H. Computing tutor
2336 Views

Write a small program, in pseudocode or otherwise, that demonstrates a recursive algorithm. Write a small explanation of how recursion is used in your program.

The Fibonacci sequence is defined as: f(n) = f(n-1) + f(n-2)F(0) = 1F(1) = 1 Where n is a positive number. This allows for a recursive algorithm to be written that returns 1 for the two base cases, and retur...
JF
Answered by Jordan F. Computing tutor
2728 Views

Explain indexed addressing including the benefits when traversing certain data structures (4 Marks)

The question is an "Explain question" so we need to say what indexed addressing is and how it works (3 marks): " (1) There is an index register which holds the base value for where the data is...
RS
Answered by Ravi S. Computing tutor
2394 Views