Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

What is the corresponding UCS2 code?

  1. May 17, 2005 #1
    i was preparing for my compsci exam doing past papers
    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
     
  2. jcsd
  3. May 23, 2005 #2
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: What is the corresponding UCS2 code?
  1. HTML Codes (Replies: 5)

  2. SNES codes (Replies: 3)

  3. Excel code (Replies: 1)

  4. Need PHP coding help (Replies: 4)

Loading...