i was preparing for my compsci exam doing past papers(adsbygoogle = window.adsbygoogle || []).push({});

and encountered a few questions i dont get

can someone help me plz?

The following bytes are encountered in a UTF8 stream. What is the corresponding UCS2 code? (Express your answer in hexadecimal)

23 E8 96 BC C2 8B

i dunno wat's UTF8 and UCS2, cant find it in my lecture notes

another question

Express the performance of the following methods using big-Oh notation in terms of the parameter n. Give reasons for your answers.

public void determineComplexity(int n) {

int add = 0;

if (n ==0)

add++

else{

determineComplexity(n/10);

}

}

for this one, is the answer equals

O(n/10)?

if n = 1000

it'll take 3 times before n == 0

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# What is the corresponding UCS2 code?

Loading...

Similar Threads for corresponding UCS2 code |
---|

Safe removal of an external disk |

**Physics Forums | Science Articles, Homework Help, Discussion**