Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Snapshot sequence

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Location
    London
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Snapshot sequence

    Hi guys, having problems understand what exactly this means :

    Write a snapshot sequence for the computation 12 mod 5 of the following
    algorithm

    MOD
    Input: a non-negative integer a and a positive integer b
    Output: the remainder when a is divided by b

    1. while a is greater than or equal to b
    2. replace a with a - b
    3. return a

    The first snapshot is
    (1. a = 12, b = 5)

    I'm not too sure what a snapshot sequence is, hopefully I can get some help with this question guys


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,579
    Thanks
    49
    Thanked 2,233 Times in 2,205 Posts

    Default Re: Snapshot sequence

    Can you ask whoever wrote that description what a "snapshot sequence" is?
    I've never heard of it.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Nov 2012
    Location
    London
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Snapshot sequence

    The lecturer has posted it on the course website and as a question for an assignment. I have sent him 3 e-mails over the course of the last month he has still not replied

Similar Threads

  1. Sequence Classification
    By SilentNite17 in forum What's Wrong With My Code?
    Replies: 8
    Last Post: June 1st, 2012, 08:25 AM
  2. Sequence
    By r_james14 in forum Java Theory & Questions
    Replies: 2
    Last Post: April 8th, 2012, 10:05 PM
  3. The Fibonacci sequence
    By Ryuk_93 in forum Android Development
    Replies: 1
    Last Post: March 26th, 2012, 11:56 AM
  4. sequence of integers
    By einjhelclint12 in forum Java Theory & Questions
    Replies: 3
    Last Post: March 1st, 2012, 06:49 PM
  5. Data sequence
    By street_missile in forum Java ME (Mobile Edition)
    Replies: 10
    Last Post: August 26th, 2011, 11:54 AM