Top answers

All subjects
All levels

Describe the difference between TCP and UDP.

TCP (Transport Communication Protocol) allows for guaranteed communication between two machines. Connections are established with acknowledgements, and the receiver will also send acknowledgements when pa...

LW
Answered by Lewis W. Computing tutor
1760 Views

Describe the time complexity for the search operation in a binary search tree.

Since the question asks for the time complexity we should consider both the average and the worst time complexities. In a binary search tree the values are sorted such that for each node the elements bigg...

VA
Answered by Volf A. Computing tutor
4151 Views

Describe two's complement.

Two's complement is improvement on one's complement.
To get a negative number in One's complement, one has to invert all numbers (turn 1 to 0, and 0 to 1), for two's complement is the same but add 1...

LP
Answered by Lukas P. Computing tutor
1973 Views

Question 14)http://ibdocuments.com/IB%20PAST%20PAPERS%20-%20SUBJECT/Group%204%20-%20The%20sciences/Computer_science_SL/2007%20November%20Examination%20Session/English%20Papers/Computer_science_paper_1_SL.pdf

a) With the word access modifier "private" we are declaring that the method will only be accessible within that class (i.e you can not call the method from an external class/file). b) Since the...

RP
Answered by Raul P. Computing tutor
1885 Views

Given two strings s1 and s2 return the location of each permutation of the s1 string within the s2 string.

Solution: Iterate through s2 and select blocks of characters of length equal to that of s1 (for simplicity let's call this block string ref). Now, check if ref is a per...

VH
Answered by Vlad H. Computing tutor
1186 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