Question about Microsoft Computers & Internet

1 Answer

How to random the 50 question but only 25 question only appear in the form?

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Dedicated:

    Visited the website for 20 consecutive days.

  • Expert
  • 90 Answers

Hi,

Fetch all 50 questions in some collection, say "A".
take new collection say "B".

for position 'X' from 1 to 25,
take a random number (between 0 and 1) and multiply it by 'X', take mod 50 of that number say "I" and fetch the I'th element from A --> B and remove this element from A. Now next time the mod should be (50-X)

This will help you to get 25 random questions from a set of 50 questions.

Thanks.

Posted on Mar 18, 2009

  • Kuldeep Kumar Dubey
    Kuldeep Kumar Dubey Mar 18, 2009

    Additionally, here by questions i mean the index of those question, so as to make handling of things easy and you can get the actual text of that question from the index.


    Thanks again.


×

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Runtime error 216 at 00Cd358


Run time error 216 can cause permanent damage to your operating system if left unrepairable.

Symptoms of Run-time Error 216 This Trojan invades the registry and modifies command files, sometimes with unpredictable results. Some of the common symptoms include:
  • Inability to open some programs such as internet explorer
  • Random CD/DVD drives opening and closing
  • Pop up dialogue boxes appearing randomly
  • Appearance and disappearance of important files
  • Extremely slow downloads
First
  1. Boot to safe mode by pressing the F8 key at start up
  2. Once the system has booted run a good anti virus program to eliminate the Trojan

You will need to also use a good registry cleaner to fix all of the entries that the Trojan modified. Once all that is done, the error should disappear for good.
summary Any time you have a virus, Trojan or other form of malware that causes a noticeable error in system behavior or performance, you should run a manual anti-virus and spy ware scan. Once that is complete, you should run a good registry cleaner to remove all of the damage and left over junk entries these programs can leave behind after they are dead.

Aug 17, 2011 | Computers & Internet

1 Answer

Randomly disconnection


That seems to you ISP (Internet Service Provider) issue

Mar 10, 2010 | SMC Barricade g SMC2804WBRP-G Wireless...

1 Answer

The image appears to bezoomed in randomly when the


Twist the front of the camera. Where the lens is. That moves..

Jun 25, 2009 | Creative Labs WebCam Live! Pro

1 Answer

What is computer memories ?


Random-access memory (usually known by its acronym, RAM) is a form of computer data storage. Today it takes the form of integrated circuits that allow the stored data to be accessed in any order (i.e., at random). The word random thus refers to the fact that any piece of data can be returned in a constant time, regardless of its physical location and whether or not it is related to the previous piece of data.[1]
This contrasts with storage mechanisms such as tapes, magnetic discs and optical discs, which rely on the physical movement of the recording medium or a reading head. In these devices, the movement takes longer than the data transfer, and the retrieval time varies depending on the physical location of the next item.
The word RAM is mostly associated with volatile types of memory (such as DRAM memory modules), where the information is lost after the power is switched off. However, many other types of memory are RAM as well (i.e., Random Access Memory), including most types of ROM and a kind of flash memory called NOR-Flash.

Feb 02, 2009 | Dell Computers & Internet

1 Answer

Random Misfire


yes disbuter buddie is bad nad its form oil getting in plugs form bad gaskets on valve covers ok so u need new disbuter then gaskets redone stop oil geting in ther i have one these i know it all on this car

Oct 07, 2008 | 2000 Chrysler Sebring

1 Answer

In visual basic how will we change the backcolor of the form randomly when we click the command button?


Paste this code on you button. This generates a random color.

Red = Int(Rnd * 255)
Green = Int(Rnd * 255)
Blue = Int(Rnd * 255)


Form1.BackColor = RGB(Red, Green, Blue)

Oct 06, 2008 | Computers & Internet

1 Answer

Malfunctioning GPS


Hi,

You may have dust particles or similar trapped under the touch membrain. This would cause random selection and result in the problem your'e describing. It's often the case that small particles can be trapped just under the edges of the screen by getting under the screen surround( bezel ).

Another similar problem can also occur if the TomTom is left in a cold car overnight after a warm / hot day where moisture can form under the touch screen membrain. This moisture can move around making random inputs to the screen.

Hope this helps.

Good Luck

Sep 09, 2008 | Tomtom ONE GPS Receiver

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

56 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2642 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18375 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...