Wednesday, August 21, 2013

My computer keeps freezing?

3d scanner definition
 on ... 3d scanner metrascan optical cmm 3d scanner creaform www creaform3 the
3d scanner definition image



sirhouse


My computer freezes a lot to the point where its become "useless". I'll list the history of what happened to it and if anyone has a fix to it I'm literally going to explode out of happiness.

I got my first blue screen playing a 3D game called minecraft, all I had to do was restart my computer and it worked again. This kept happening but not to the point where it was annoying, it rarely happened.

But I kept playing games and it got to the point where I would get a blue screen after a few minutes every time I played any game or video.

I asked a question on here a while ago and I got some help that told me it was the graphics card/driver. I uninstalled the graphics driver and reinstalled it, but the problems continued.

I thought it had to be an overheating problem so I removed the back case of my laptop. But in fact this made it much worse and I thought it was because now my RAM sticks weren't seated securely and they were moving around causing it to crash much more commonly. So I took one out I couldn't find the other one but this didn't change anything at all except now it crashes even when I'm not doing anything video related like surfing the web.

Anyways thats where I'm at now. I think its a problem with the hardware because it kept getting worse over time, but I don't know what parts not working. Thanks for ANY advice/pointers!



Answer
What Operating System your using?

Suggest running the Memory Diagnostics Tool from Microsoft:
http://windows.microsoft.com/en-nz/windows7/diagnosing-memory-problems-on-your-computer

If one or more memory sticks is corrupted at a point, then your find that your computer will randomly crash (when it has reached and tries to use that address). So, this could happen at any time - boot time, during any application/game, etc. If this is your issue, then carefully remove all memory sticks (after removing static from your body by grounding yourself - for example: touching a piece of metal area on the computer) except for one and retest each individually... place back any good ones and replace the damaged one(s).

Next scan your computer hard drive(s) for errors, go under "My Computer" -> Right click on each Local Disk (one at a time) -> Properties -> Tools (tab) -> Erroring Checking -> Check Now. Select automatically fix file system errors and also check for bad sectors option. If the drive is in use, it might ask to check on next boot up instead (say okay and restart).

Next scan your computer for viruses, spyware and trojans. If you already have an virus scanner, then ensure it is up-to-date as well as Windows, a good firewall and other applications you use regularly. Most virus scanner are utter rubbish, I recommend total application control rather than virus definition only scanners. This means something which gives or denies each application/game access to various areas of your system (including itself) with a strong firewall to prevent any network access, such as Kaspersky Internet Security.

You can check with some free tools, such as: http://www.kaspersky.com/virus-scanner

Also, check for spyware using a free manual running application (which doesn't conflict with your virus scanner) such as Lava Soft Ad-Aware: http://www.lavasoft.com/products/ad_aware_free.php or Spybot: http://www.safer-networking.org/dl/

Next clean out any startup background applications and/or services you don't need. This is more advance, only remove what you know is and don't want. You can use Start -> Run -> type "MsConfig.exe" and press enter, then look under the Startup tab, also more carefully under the Services tab (Leave it alone or Google search the name of each if unsure what it is/does).

How do I make java calculate decimal places?




Austin Naw


So I created this code in java that calculates an average of 3 numbers:

import java.util.Scanner;

public class Average {

public static void main(String[] args) {

Scanner input = new Scanner (System.in);

int average = 0;
int number = 0;

System.out.println("Please input 3 numbers");

number = input.nextInt();
number = number + input.nextInt();
number = number + input.nextInt();

average = number/3;
System.out.println("Your average is " + average);
}
}

When it calculates the average, it doesn't calculate into the decimal values. How do I get it to do that?



Answer
Declaring average as a float or double is not the answer. It is just part of the answer.

The sum
number / 3
is an integer divided by an integer. This will result always in an integer.
Changing one or both of the numbers to the type of the receiving variable will give you the result that you are looking for.
To make a variable a different type you can change the definition or you can use casting.
To change a constant to a different type you use a type suffix.
3.0 is a double, being the default option
3D, 3d, 3.0D, 3.0d are all double because of the d suffix.
3F, 3f, 3.0F, 3.0f are all float because of the f suffix.

Have fun.




Powered by Yahoo! Answers

Title Post: My computer keeps freezing?
Rating: 100% based on 99998 ratings. 5 user reviews.
Author: Yukie

Thanks For Coming To My Blog

No comments:

Post a Comment