Archive for May, 2010

What statement did Joseph Stalin make shortly after President Truman’s succession?

May 29, 2010 - 10:02 pm 3 Comments

What statement did Joseph Stalin make shortly after President Truman’s succession?

A. He said that communism and capitalism could not exist in the same world.
B. He said that free elections could be held only if they benefited the Soviets.
C. He said that war between the United States and the Soviet Union was certain.
D. All of the above.

i think he said "WTF?"

How to use the If/Then statement in C#…?

May 27, 2010 - 3:51 am 1 Comment

I’m trying to do these lines of code, but in C#…
These codes are written in VB.

if comboBox1.Text = "Molly" then
MessageBox.Show("You picked molly")
comboBox1.Text = ""
end if

if (comboBox1.Text == "Molly") {
MessageBox.Show("You picked molly");
comboBox1.Text = string.Empty;
}
//Cheers!

What can be a good "theme" to tie in with this mission statement?

May 24, 2010 - 12:11 am 2 Comments

my mission statement is that i hope to have completely lived life to its extent and tried all kinds of new experiences.

for example a good theme to tie in with a statement is "going through life with my loyal ‘crew’" with pirates being the theme.

Your personal vision/mission statement is a written description of what you want to accomplish and who you want to be.

Here’s an article on how to write one: http://bit.ly/2Irqsx

How to Sum up Values of the If Then Statement outputs?

May 20, 2010 - 3:39 pm 1 Comment

Hi! I am trying to add up the sums of my if then statement outputs.

For example, I was doing a transcript calculator so that
Column 11 = A
Column 21 = if A, then 4.0
Column 12 = B+
Column 22 = if B+, then 3.3

How do I sum up the if then outputs? i.e, 4.0 + 3.3. If I do sum of column 2, the value is 0 and not 4.0+3.3.

Thanks! And I hope this isn’t too confusing!
Sorry for the confusion, I basically used this formula:

=IF(C3="p", "0.0",IF(C3="a","4.0",IF(C3="a-", "3.7",IF(C3="b+", "3.3",IF(C3="b", "3.0", IF(C3="b-", "2.7"))))))

so if the grade is A, then the value is 4.0. If the grade is A-, then the value is 3.7, etc.

Once the cell displayed that information (4.0, 3.7, etc), how do I add it up? When I just do sum of the column, it shows up with a value of 0. Thanks!

Sorry its not understandable yet will attempt to help you

use of switch statement will be nicer in such situations will make clean code.
switch(_case){
case ‘A’: dosomething() ;
case 21:;
case 12:;
case 22:;
}

hope this helps
Cheers:)

How long should a "short statement" for a college application be?

May 17, 2010 - 6:46 am 1 Comment

I’m working on an application to a college and they are asking me to provide a short statement of why I would like to transfer there. This application is online and the text space provided looks like no more than a paragraph but if I continue typing in the field it does add scroll bars to the side.

Any idea on what the length of this statement should be?

Also, if anyone has any suggestions on what I can include in it, in case I’m forgetting anything, would be helpful!

Thanks in advance to anyone who can offer help.

Type up a half of a page on Word (or whatever program).

Then copy and paste to the text space.

This way you can proofread (print it out and have people read it too) and spellcheck. It will also save you from accidently hitting the ’submit’ button when you’re not done with it.

How do I run an if statement with a char input?

May 13, 2010 - 9:48 pm 3 Comments

For example I want the user to input either A, B, or C. I then want my method to execute based on which of those letters were entered. What do I put in the if statement to get it to work? I understand the Scanner object and all that basic stuff. I just want to know what is the proper syntax to get an if statement to work with a single char if possible. Thank you.

If I’m not mistaken, you’re using Java, right? (just to make sure I didn’t talk different ‘language’) since you have the Scanner object.

After you import the Scanner object, we then define a variable to store the user input,
since you only want to ‘catch’ one character, I suggest "CHAR" is the best variablel type since it’s small

then we store the user’s response on that variable. Therefore, we can do you intend to do.
=================================================
import java.lang.* ; //for the ‘equalsIgnoreCase’ comparison
import java.util.Scanner.*;

public class void ClassName(){
char c;
Scanner input= new Scanner();
char = input.nextChar();

//you can use either ’switch…case’ or ‘if..else’
//let’s just if
if(c.equalsIgnoreCase(’A'))
{
//some codes
}
else if(c.equalsIgnoreCase(’A'))
{
//some codes
}
else
{
//some codes
}
}

==================================================
hope it helps

regards
Ahmad Nasikun
ahmadnasikun.wordpress.com
nasikun_jpr@yahoo.com

Does the Kennedy Space Center have a mission statement?

May 8, 2010 - 11:47 pm 2 Comments

I know NASA has a mission statement, but I just wondered if KSC has one too.

Many of the programs or offices at the Kennedy Space Center have their own mission statements, but the center as a whole doesn’t appear to have one.

What is the best way to handle family who make political statements on Facebook?

May 6, 2010 - 10:36 am 5 Comments

My cousin recently commented on Facebook that Sarah Palin is an idiot. I find this statement rude, as well as factually inaccurate. Whether you agree or not, I am just asking for advice about what to do when your family makes political statements on Facebook that you strongly disagree with? Do you ignore them or try to respond in a nice way? I usually ignore them, but sometimes I feel like it is wrong not to address them–especially when they are slanderous, mean, or untrue.

<<What is the best way to handle family who make political statements on Facebook?>>

In and of itself, there’s nothing wrong with making political statements on Facebook.

<<My cousin recently commented on Facebook that Sarah Palin is an idiot. I find this statement rude, as well as factually inaccurate. Whether you agree or not, I am just asking for advice about what to do when your family makes political statements on Facebook that you strongly disagree with?>>

Why don’t YOUR use YOUR Facebook page and post YOUR political opinions?

<<Do you ignore them or try to respond in a nice way? I usually ignore them, but sometimes I feel like it is wrong not to address them–especially when they are slanderous, mean, or untrue.>>

I would simply de-friend such a person.

What if my statement of purpose is too long?

May 4, 2010 - 9:09 am 1 Comment

The program says the statement of purpose should be no longer than two pages. I am working on trying to make it two pages. They want you to cover so many things in it that it is hard. Two of the things want you to cover has three things as part of it. What would happen if it is two and a half pages. Is it better to have it too long or not included everything that they ask for? I’m not sure I can make it all fit into two pages.

It makes you look like an idiot in my opinion if you cannot get it down to two pages. That is to say, you are unable to follow instructions.

Everyone has to write statements covering many aspects of their life in a short essay. You need to learn how to do it, no excuses. Your essay is going to be better if you can figure out how to be succinct anyway. Being able to write a lot is easy, writing concisely is a skill.

Do not try and pull sneaky bs like 1.5 spacing it (if they demand double spaced), or making margins wider. That is childish in a way.

How should I start my personal statement?

May 2, 2010 - 9:11 am 1 Comment

I am starting my first draft of my personal statement for University, I’m hoping to apply for a business degree. After reading examples online the ‘thing to do’ seems to be to put something clever sounding about business as the first sentence which then flows into the rest. But what exactly do I write? I can’t copy someone else’s, even if it is just the first sentence.

Please help :D x

It is best to write a draft of a draft. In other words, just start writing. Being creative and making it interesting is something that needs to be done afterwards. I would just try to focus on what you want to get out first. From there, you can edit it to have a better flow, composition, and the punchy first sentence. The best thing to do for a personal statement, is to make it personal. It sounds obvious and dumb, however, most students fail to realize that their essay starts to sound like everyone’s else. Of course, not all students will have drastically different personal experiences/revelations, however, you can add simple touches to make yours sound more genuine even if its the similar perceptual shift or personal revelation.