Skip to main content

Posts

Showing posts from 2016

Learning iOS app developement (for beginners)

If you are interested in iOS app development and you are a beginner like me, I can heartily recommend these resources: Hacking with swift,  Swift 3 for absolute beginners  (free) The Complete iOS 10 Developer Course - Build 21 Apps   (paid) Ray Wenderlich  (free)

Nibble 3 for Operating Systems and Architecture

Q:  Explain why Java programs running on Android systems do not use the standard Java API and virtual machine. A:  The standard Java API and virtual machine are designed for desktop and server systems, not mobile devices. Google developed a separate API and virtual machine for mobile devices. I.e. The Dalvik vm, which is optimised for mobile devices with limited memory and CPU processing capabilities.

Nibble 2 for Operating Systems and Architecture

Q:  How do clustered systems differ from multiprocessor systems?  What is required for 2 machines belonging to a cluster to cooperate to provide a highly available service? A:  Clustered systems are typically constructed by combining multiple computers into a single system to perform a computational task distributed across the cluster. Multiprocessor systems on the other hand could be a single entity comprising of multiple CPUs. A clustered system is less tightly coupled than a multiprocessor system.  Clustered systems communicate using messages, while processors in a multiprocessor system communicate using shared memory.  In order for 2 machines to provide a highly available service, the state on the two machines should be replicated and should be consistently updated. When one of the machines fails, the other could then take over the functionality of the failed machine.