Search:

Type: Posts; User: oliversacks

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    2,073

    so this... output[1] = output[1] AND (NOT...

    so this...

    output[1] = output[1] AND (NOT a[1]) = 1 AND (NOT 1) = 0
    i = 2
    output[2] = output[2] AND (NOT a[2]) = 0 AND (NOT 1) = 0
    i = 3
    output[3] = output[3] AND (NOT a[3]) = 1 AND (NOT 0) =...
  2. Replies
    8
    Views
    2,073

    and it is stated in the assignment to read left...

    and it is stated in the assignment to read left to right but it is easy to translate your answers to see what it means
  3. Replies
    8
    Views
    2,073

    this is the only extra information... Trace...

    this is the only extra information...
    Trace through the algorithm for input a = 0011, b = 1010. Specifically,
    (a) show the values of i and output immediately before each time Line 4 is executed, (b)...
  4. Replies
    8
    Views
    2,073

    the formatting didn't hold when i posted.. lines...

    the formatting didn't hold when i posted.. lines 3-4, 8-9 are indented... line 8 should have italics for output[i] (which is also written backwards somehow)
  5. Replies
    8
    Views
    2,073

    pseudocode bit level help

    I know this is a section devoted to C++ programming but I hope my question is ok...
    I am having a lot of trouble understanding pseudocode algorithms in my intro Comp Sci class. I understand what...
  6. Replies
    1
    Views
    6,873

    Bit level algorithm help

    I know this is the video game section but it also said algorithms so I hope this post is ok...
    I am having a lot of trouble understanding pseudocode algorithms in my intro Comp Sci class. I...
  7. Replies
    13
    Views
    15,001

    thanks salem... and I will be careful how I post...

    thanks salem... and I will be careful how I post in the future.
  8. Replies
    13
    Views
    15,001

    salem that is how I did it the first time as...

    salem that is how I did it the first time as well... But I thought I had to keep going while i <= 6? so would I not go on until i reaches 6?
  9. Replies
    13
    Views
    15,001

    my response looked more lined up before i posted...

    my response looked more lined up before i posted it... but i was trying to place S1,S2 etc above each corresponding letter in pepper
  10. Replies
    13
    Views
    15,001

    Ok here is what I was thinking for the first one:...

    Ok here is what I was thinking for the first one:
    S1| S2| S3| S4| S5| S6| n=6 (number after S for each character in pepper)
    p e p p e r ch= S1 (p)
    ...
  11. Replies
    13
    Views
    15,001

    I do not care if the problems are spelled out or...

    I do not care if the problems are spelled out or if it is helped by having a discourse about the problem... I am just asking for help
  12. Replies
    13
    Views
    15,001

    I understand what you are saying... however these...

    I understand what you are saying... however these were 2 of many problems which are not actually graded just discussed in groups which end up doing more difficult problems during class together....
  13. Replies
    13
    Views
    15,001

    Pseudocode help

    Hello... I thought I understood this but apparently I do not... Rather than putting what I think the answers are I just want someone to explain it to me like I am an idiot who has no preconceived...
Results 1 to 13 of 13