Top answers

All subjects
All levels

What are higher order functions in functional programming? How does the 'map' function work and why is it a higher order function?

Higher order functions either have one or more arguments that are themselves functions, return a function as their result, or both. Argu...

JC
Answered by Joseph C. Computing tutor
1853 Views

Describe the operations of an optical disk drive used to read data from an optical disk, such as a CD or DVD.

Data is stored one a continuous spiraled track around the optical disk, the track is made up of a continuation of lands and pits, where lands will reflect the light focused onto them, and pits will scatte...

DC
Answered by Daniel C. Computing tutor
2436 Views

How can XOR be used in encryption and what type of encryption is this ?

As we know, XOR is a logical operator which can take 2 inputs and process one output. Given that two parties want to exchange this would be very useful. If A has message 1010 which may stand for "hel...

AA
Answered by Ahmed A. Computing tutor
1851 Views

Given an unlimited number of light bulbs (that break at a certain height), and a building with 100 floors, how do you determine the height that the light bulb breaks?

The solution is a binary search algorithm (where you start on floor 50th and move up or down depending if the bulb breaks or not, always picking the middle floor of your option range).

DG
Answered by Diana G. Computing tutor
1615 Views

How is different an NFA from a DFA?

The difference between an NFA (non-deterministic finite state automaton) and a DFA (deterministic finite state automaton) is that while in the former we can have more than one transition with the same lab...

MP
2004 Views

We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2025 by IXL Learning