• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Most important parts of .Net

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Originally posted by TimberWolf View Post
    Imagine a disk spinning like a record player turn table. Half of the disk is black and the other is white. Assume you have an unlimited number of color sensors. How many sensors would you have to place around the disk to determine the direction the disk is spinning? Where would they be placed?
    Not sure how this would help with .Net, but I'd guess 2.
    Cooking doesn't get tougher than this.

    Comment


      #32
      Originally posted by TimberWolf View Post
      Imagine a disk spinning like a record player turn table. Half of the disk is black and the other is white. Assume you have an unlimited number of color sensors. How many sensors would you have to place around the disk to determine the direction the disk is spinning? Where would they be placed?
      One.

      Place it on top of the spinning disk and see which way it went.

      What a stupidly easy question.

      Comment


        #33
        Originally posted by tay View Post
        One.

        Place it on top of the spinning disk and see which way it went.

        What a stupidly easy question.
        What a stupidly wrong answer - All you'd get is transitions of equal intervals between black and white.

        I'd say two, roughly on a radius of the turntable but each slightly offset on opposite sides of the radius. For example, think of them close apart on a circle centred on the spindle.

        Comment


          #34
          Originally posted by Marina View Post
          What a stupid answer - All you'd get is transitions of equal intervals between black and white.

          I'd say two, roughly on a radius of the turntable but each slightly offset on opposite sides of the radius. For example, think of them close apart on a circle centred on the spindle.
          I agree. I was going to say three, but two should do it as long as they're anything other than 180 degrees apart.

          This sort of thing is much easier in C++.
          Will work inside IR35. Or for food.

          Comment


            #35
            Originally posted by Marina View Post
            What a stupidly wrong answer - All you'd get is transitions of equal intervals between black and white.

            I'd say two, roughly on a radius of the turntable but each slightly offset on opposite sides of the radius. For example, think of them close apart on a circle centred on the spindle.

            Wow....did you miss the point!

            You are just not very lateral in your thinking at all are you.

            Let me spell it out for you. You put an object that isnt secured onto a spinning object.. what happens?

            Comment


              #36
              Originally posted by tay View Post
              Let me spell it out for you. You put an object that isnt secured onto a spinning object.. what happens?
              Lol, that was actually a pretty good effort

              Very good

              TM

              Comment


                #37
                Originally posted by tay View Post
                Let me spell it out for you. You put an object that isnt secured onto a spinning object.. what happens?
                Yes, but assuming you can only use the sensor, how does the colour sensor know where it went?

                And if you aren't restricted to using the sensor, the answer is no sensors. Just look at the record and see which way it's spinning.
                Will work inside IR35. Or for food.

                Comment


                  #38
                  Originally posted by VectraMan View Post
                  Yes, but assuming you can only use the sensor, how does the colour sensor know where it went?
                  Exactly! The question implies the sensor is used as it's name suggests, otherwise what's the point of mentioning it. You may as well bung a piece of chewing gum on the record!

                  And if it's part of the setup but stuck on the record, you'd need at least one other sensor to monitor it, or some pattern off the record for it to scan, which isn't part of the problem description.

                  Tay, lateral thinking is no use if it's completely irrelevant and off the wall.

                  Comment


                    #39
                    Yes, but assuming you can only use the sensor
                    So now you are making assumptions?

                    Where as I just walk in and find out the answer.. walk out and invoice... and then get renewed.

                    You really dont get the point of these questions do you.....

                    Comment


                      #40
                      Originally posted by Marina View Post

                      Tay, lateral thinking is no use if it's completely irrelevant and off the wall.
                      Irrelevant? I found out definately which way it is spinning.. and you dont.... and you say my answer is irrelevant...

                      And I used a light sensor thingee....

                      Comment

                      Working...
                      X