Top answers

All subjects
All levels

Write a function in pseudocode that determines if a given string is a palindrome

Declare and Initiate a new empty stringTraverse the given string using a loopTake each char from the given string and concatenate it to the beginning of the new stringCompare the final new string with the...

CV
Answered by Charles V. Computing tutor
1821 Views

Given an ordered array of integers "V" and a integer "Sum", write a function that would return "true" if it finds two numbers in V that add up to Sum, and "false" otherwise.

Because there is no unique solution to the problem the goal is to think different ways to approach an issue and ultimately opt for the best one in terms of complexity. There is an example of set of answer...

FD
Answered by Fabio D. Computing tutor
1557 Views

Storage: Magnetic hard disc vs Solid state drive.

Magnetic hard discs are very old technology, which is now considered very cheap and has a great storage capacity. In the current industry, magnetic hard discs are used to backup data. Therefore, they are ...

MP
Answered by Matas P. Computing tutor
3268 Views

A binary, 8-bit floating point number 0111 0010 is said to have a 4-bit mantissa and a 4-bit exponent. What is meant by the terms 'mantissa' and 'exponent'? What is the value of this 8-bit binary floating point number?

Take an example 8-bit floating point number of 0111 0010.The 'mantissa' of this floating point number are the most significant bits -- in this case, the first 4 bits -- which represent the value a...

HB
Answered by Haroun B. Computing tutor
8938 Views

Assuming Two's complement convert 10010110 to decimal.

To start off with as it is two's compliment (from the first bit being 1) we have to flip all the bits to get 01101001, then we must add 1 to get 01101010. Then we simply convert this to decimal using norm...

CW
Answered by Cameron W. Computing tutor
4675 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