I have a program that uses a linked Stack to store the data. I need to know how I would go about displaying the data inside the stack. I'm having programmers block....
Linked Stack C++?
Something like this:
void DumpStack( Node * pNode ) {
....while (pNode != NULL) {
........cout %26lt;%26lt; pNode-%26gt;data %26lt;%26lt; endl;
........pNode = pNode-%26gt;next;
....}
}
Reply:You could cout the top item, copy it into a second stack, and then pop it. This way, when you've reached the last item in the original stack, the second stack will be an upside down copy of the original. You could either get rid of the first one or, if you need to maintain the order, put everything back into the first stack as you pull it off the second one.
Sorry, I hope you weren't looking for code.
salary survey
Monday, May 24, 2010
C++ question?
Input stream buffer contains
22 34.5\nHello A\nWorld 34 45 //\n represents new line chara
What is the output to the terminal when the code segment is executed
Code
int m; float x; string text; char ch;
cin %26gt;%26gt; m %26gt;%26gt; x;
getline(cin,text);
cin.get(ch);
cout %26lt;%26lt; m %26lt;%26lt; "-" %26lt;%26lt; x %26lt;%26lt;"-" %26lt;%26lt; text %26lt;%26lt; "-" %26lt;%26lt; ch %26lt;%26lt; endl;
Can one of you programmers help with this
C++ question?
You could just compile %26amp; run this and get the answer.
1) I typed up this program.
#include %26lt;iostream%26gt;
#include %26lt;string%26gt;
using namespace std;
int main()
{
int m; float x; string text; char ch;
cout %26lt;%26lt; "Enter stuff:\n";
cin %26gt;%26gt; m %26gt;%26gt; x;
getline(cin,text);
cin.get(ch);
cout %26lt;%26lt; m %26lt;%26lt; "-" %26lt;%26lt; x %26lt;%26lt;"-" %26lt;%26lt; text %26lt;%26lt; "-" %26lt;%26lt; ch %26lt;%26lt; endl;
return 0;
}
2) I compiled it with g++.
3) I ran the executable and I had the answer within seconds.
Reply:Trace it or run it.
Tracing it is easy. match the variables in with the stream of characters. EX:
m will get 22
x will get 34.5 Notice x is also a float (real number)
So trace and tell the result.
Why didn't you try running it/????
22 34.5\nHello A\nWorld 34 45 //\n represents new line chara
What is the output to the terminal when the code segment is executed
Code
int m; float x; string text; char ch;
cin %26gt;%26gt; m %26gt;%26gt; x;
getline(cin,text);
cin.get(ch);
cout %26lt;%26lt; m %26lt;%26lt; "-" %26lt;%26lt; x %26lt;%26lt;"-" %26lt;%26lt; text %26lt;%26lt; "-" %26lt;%26lt; ch %26lt;%26lt; endl;
Can one of you programmers help with this
C++ question?
You could just compile %26amp; run this and get the answer.
1) I typed up this program.
#include %26lt;iostream%26gt;
#include %26lt;string%26gt;
using namespace std;
int main()
{
int m; float x; string text; char ch;
cout %26lt;%26lt; "Enter stuff:\n";
cin %26gt;%26gt; m %26gt;%26gt; x;
getline(cin,text);
cin.get(ch);
cout %26lt;%26lt; m %26lt;%26lt; "-" %26lt;%26lt; x %26lt;%26lt;"-" %26lt;%26lt; text %26lt;%26lt; "-" %26lt;%26lt; ch %26lt;%26lt; endl;
return 0;
}
2) I compiled it with g++.
3) I ran the executable and I had the answer within seconds.
Reply:Trace it or run it.
Tracing it is easy. match the variables in with the stream of characters. EX:
m will get 22
x will get 34.5 Notice x is also a float (real number)
So trace and tell the result.
Why didn't you try running it/????
C# drawing question (asked in an easier to understand way). A best answer will be awarded.?
I have a class that draws itself.
The class draws a picture of what a node looks like in a B tree. But this takes a lot of method calls.
1. draw top line
2. draw bottom line
3. draw left arc
4. draw right arc
5. draw diving lines inside node
6. draw left rectangle
7. draw left circle
8. draw right rectangle
9. draw right circle
10. draw rectangle between left and right (in a for statement, so if there are 50 data cells this code runs 48 times)
11. draw in numbers on each data cell
etc etc etc
I dont want the computer to have to execute all of that code every time it has to repaint the window (due to it being minimized or another window dragged over top of it, etc).
So I just want to know how programmers usually deal with something like this. Is it okay to have it go through all of that drawing every single time it needs to repaint? Mind you, this will be the drawing of only one node.... there could be hundreds that need to be drawn!
thanks for your help!
C# drawing question (asked in an easier to understand way). A best answer will be awarded.?
You can make a path and save it. I assume that since you are drawinf nodes, that each looks the same. I program in VB.Net, but the code is virtually the same for C#...
Dim path As New GraphicsPath
Dim rectRoundBounds As New Rectangle
path.StartFigure()
path.AddLine(rect.X + Radius, rect.Y, rect.X + rect.Width - 2 * Radius, rect.Y)
path.AddArc(rect.X + rect.Width - 2 * Radius, rect.Y, 2 * Radius, 2 * Radius, 270, 90)
path.AddLine(rect.X + rect.Width, rect.Y + Radius, rect.X + rect.Width, rect.Y + rect.Height - 2 * Radius)
path.AddArc(rect.X + rect.Width - 2 * Radius, rect.Y + rect.Height - 2 * Radius, 2 * Radius, 2 * Radius, 0, 90)
path.AddLine(rect.X + rect.Width - 2 * Radius, rect.Y + rect.Height, rect.X + Radius, rect.Y + rect.Height)
path.AddArc(rect.X, rect.Y + rect.Height - 2 * Radius, 2 * Radius, 2 * Radius, 90, 90)
path.AddLine(rect.X, rect.Y + rect.Height - 2 * Radius, rect.X, rect.Y + Radius)
path.AddArc(rect.X, rect.Y, 2 * Radius, 2 * Radius, 180, 90)
path.CloseFigure()
Then call
g.FillRegion(brushBackground, New Region(path))
or
g.DrawPath(BorderPen, path)
Reply:Hm, I already answered this question elsewhere ;-)
My advice is to use double buffering, or just ignore it. It might not even be a problem unless youve tonnes of them
Remember modern graphics cards can thousands and thousands of polygons per second without even sweating
Reply:a simple and fast solution would be to following: I am assuming that you are writing to a picture box.
Im not going to provide the code since you seem to know what you're doing.
after you draw the image that you want save it as a .bmp to memory. when the screen needs to be refreshed simply draw the .bmp image to the device context (aka the picture box).
good luck
survey
The class draws a picture of what a node looks like in a B tree. But this takes a lot of method calls.
1. draw top line
2. draw bottom line
3. draw left arc
4. draw right arc
5. draw diving lines inside node
6. draw left rectangle
7. draw left circle
8. draw right rectangle
9. draw right circle
10. draw rectangle between left and right (in a for statement, so if there are 50 data cells this code runs 48 times)
11. draw in numbers on each data cell
etc etc etc
I dont want the computer to have to execute all of that code every time it has to repaint the window (due to it being minimized or another window dragged over top of it, etc).
So I just want to know how programmers usually deal with something like this. Is it okay to have it go through all of that drawing every single time it needs to repaint? Mind you, this will be the drawing of only one node.... there could be hundreds that need to be drawn!
thanks for your help!
C# drawing question (asked in an easier to understand way). A best answer will be awarded.?
You can make a path and save it. I assume that since you are drawinf nodes, that each looks the same. I program in VB.Net, but the code is virtually the same for C#...
Dim path As New GraphicsPath
Dim rectRoundBounds As New Rectangle
path.StartFigure()
path.AddLine(rect.X + Radius, rect.Y, rect.X + rect.Width - 2 * Radius, rect.Y)
path.AddArc(rect.X + rect.Width - 2 * Radius, rect.Y, 2 * Radius, 2 * Radius, 270, 90)
path.AddLine(rect.X + rect.Width, rect.Y + Radius, rect.X + rect.Width, rect.Y + rect.Height - 2 * Radius)
path.AddArc(rect.X + rect.Width - 2 * Radius, rect.Y + rect.Height - 2 * Radius, 2 * Radius, 2 * Radius, 0, 90)
path.AddLine(rect.X + rect.Width - 2 * Radius, rect.Y + rect.Height, rect.X + Radius, rect.Y + rect.Height)
path.AddArc(rect.X, rect.Y + rect.Height - 2 * Radius, 2 * Radius, 2 * Radius, 90, 90)
path.AddLine(rect.X, rect.Y + rect.Height - 2 * Radius, rect.X, rect.Y + Radius)
path.AddArc(rect.X, rect.Y, 2 * Radius, 2 * Radius, 180, 90)
path.CloseFigure()
Then call
g.FillRegion(brushBackground, New Region(path))
or
g.DrawPath(BorderPen, path)
Reply:Hm, I already answered this question elsewhere ;-)
My advice is to use double buffering, or just ignore it. It might not even be a problem unless youve tonnes of them
Remember modern graphics cards can thousands and thousands of polygons per second without even sweating
Reply:a simple and fast solution would be to following: I am assuming that you are writing to a picture box.
Im not going to provide the code since you seem to know what you're doing.
after you draw the image that you want save it as a .bmp to memory. when the screen needs to be refreshed simply draw the .bmp image to the device context (aka the picture box).
good luck
survey
Which one of the following individuals would be most likely to vote?
A. A 19-year-old high school graduate who likes to complain about the government
B. A 22-year-old computer programmer
C. A 30-year-old college graduate who has just moved to a new state
D. A 50-year-old corporate executive who holds a master's degree in business
Anyone able to find documentation on this, or have definite knowledge to this answer, I'd really appreciate it. I'm honestly stuck between answer D, it sounds logical, but I'm worried I'm going more so by age. Thanks anyone =)
Which one of the following individuals would be most likely to vote?
As far as I know, age IS the determining factor for voting. As a general rule, the older you are, the more likely you are to vote. That's why you have to be 21 to drink instead of 18, like in the 70s. There weren't any kids voting to vote against it.
B. A 22-year-old computer programmer
C. A 30-year-old college graduate who has just moved to a new state
D. A 50-year-old corporate executive who holds a master's degree in business
Anyone able to find documentation on this, or have definite knowledge to this answer, I'd really appreciate it. I'm honestly stuck between answer D, it sounds logical, but I'm worried I'm going more so by age. Thanks anyone =)
Which one of the following individuals would be most likely to vote?
As far as I know, age IS the determining factor for voting. As a general rule, the older you are, the more likely you are to vote. That's why you have to be 21 to drink instead of 18, like in the 70s. There weren't any kids voting to vote against it.
Which one of the following individuals would be most likely to vote?
A. a 19-year-old high school graduate who likes to complain about the government?
B. a 22-year-old computer programmer?
C. a 30-year-old college graduate who has just moved to a new state?
OR...
D. a 50-year-old corporate executive who holds a master's degree in business?
THESE ARE QUESTIONS THAT COME OUT OF MY HIGH SCHOOL QUESTION'S BOOK! I HAVE EXAM TEST AFTER EACH CHAPTER! %26amp; I STILL HAVE NO CLUE? help me please. I really do need answers that are correctly answered and not people who are going to mess around and be mean or try and say something stupid. Like they have before. THX
Which one of the following individuals would be most likely to vote?
I would say the corporate executive.... he makes tons of money and needs to vote people in who will give him tax breaks.... and tax the sh/t out of the poor.
Reply:The 50 year old. He has seen enough elections to be pissed off about the way somthing is going in the government and his company probably contributes to the Republican party.
Reply:Well it depends if the 19 yrd is a conservative they WILL vote if the twenty-two year old is a conservative they WILL vote. The thirty year old is a conservative they will Vote. The fifty year old will probably vote irregardless unless they are cynical about government.
Now a liberal 19, 22,30 will probably not vote.
Reply:Older and richer are always more likely to vote. Older and richer.
Reply:D. a 50-year-old corporate executive who holds a master's degree in business.
They have the most to lose financially, and we all know about how the rich want to hold on to their money. It's how they define themselves.
Reply:I think it's D, since the reason for it would be that for A. the kid is probably just like to make themselves feel important by voicing his/her opinion, but when it comes to action, probably the student would not actually take the effort to vote.
B. In a choice like this, when the subject (programmer) has really nothing to do with politics, there's really no motivation for the programmer to vote.
C. College graduate is not the same kind of easily excited high school student, and is usually more moderate in their actions. So, while a college graduate can still be interested in voting (in fact every choice can be somebody who is interested to vote), a thirty year-old who has just moved to a new environment would tend to see things more objectively and act after more consideration and more experience living in that new state.
D. The real incentive for this guy to vote is that a corporate executive is really concerned with money!!! And a right or left wing party can really make a huge difference to the economy. So, the executive would care to vote for somebody who would support the kind of business that he/she is doing.
And of course, I don't know what subject of study does this question belong to. I would be interested to know.
Reply:A,D, and D
Reply:I would say teh High School Graduate. They are complaining about teh government, so they would be motivated to influence change. The computer Programer would be secure enough finanicaly to probably not worry to much about it, the executive is set up- his life is so hetic right now, that following the election would be to much bother (if he did vote he would vote along party lines the same way he has done for 30 years), and teh 30 year old that just moved to a new state probably hasn't register to vote in his new home yet. This is assuming a national government. When it comes to city/ state elections, I'd put my money on teh executive who probably has kids in teh eduational system and might gain a few tax breaks with new laws, etc.
Reply:This happens to be my area of expertise....
The first correlate of voting is age....young people DO NOT VOTE....scratch those under 24.
Secondly, income/education is the second correlate....as income and education rises so does the incedence of voting.
Thirdly, race.....minorities are least likely to vote.
The 'just moved' is a trick....it DEPENDS ON THE STATE....
some states (six to be exact) allow you to register and vote THE DAY of a an election You can read more here: http://www.epic.org/privacy/voting/regis...
Reply:after som pondering, and trying to think like a high school text book lol ok. 19yr-30yr are the hardest ages to get to the polling stations, because they dont believe their vote will make a difference, their lives are usually self absorbed and generally they are removed from the political happenings of the country. Therefore, the 50yr Corporate Exec would be most likely to vote, because he knows what a vote can do for his company. Good Luck!
Reply:I considered myself a diehard voter after seeing 9/11, and couldn't wait to cast my vote come election time; but because I was so caught up in work and school, I kinda got sidetracked and had to do some last minute registration. It took hours for me and my wife to even find the place to cast our votes! (Which turned out to be inside a church...wtf) anyway, I ended up voteing for Al in the end, but my point is sometimes no matter how badly you want to vote, if you are caught up with personal stuff, (which most of us are) you can easly forget to vote, let alone know how in some areas. So, yes, my answer is D. Everyone else is too buisy with jobs/social life to follow through. But the old fart doen't have anything else better to do.
B. a 22-year-old computer programmer?
C. a 30-year-old college graduate who has just moved to a new state?
OR...
D. a 50-year-old corporate executive who holds a master's degree in business?
THESE ARE QUESTIONS THAT COME OUT OF MY HIGH SCHOOL QUESTION'S BOOK! I HAVE EXAM TEST AFTER EACH CHAPTER! %26amp; I STILL HAVE NO CLUE? help me please. I really do need answers that are correctly answered and not people who are going to mess around and be mean or try and say something stupid. Like they have before. THX
Which one of the following individuals would be most likely to vote?
I would say the corporate executive.... he makes tons of money and needs to vote people in who will give him tax breaks.... and tax the sh/t out of the poor.
Reply:The 50 year old. He has seen enough elections to be pissed off about the way somthing is going in the government and his company probably contributes to the Republican party.
Reply:Well it depends if the 19 yrd is a conservative they WILL vote if the twenty-two year old is a conservative they WILL vote. The thirty year old is a conservative they will Vote. The fifty year old will probably vote irregardless unless they are cynical about government.
Now a liberal 19, 22,30 will probably not vote.
Reply:Older and richer are always more likely to vote. Older and richer.
Reply:D. a 50-year-old corporate executive who holds a master's degree in business.
They have the most to lose financially, and we all know about how the rich want to hold on to their money. It's how they define themselves.
Reply:I think it's D, since the reason for it would be that for A. the kid is probably just like to make themselves feel important by voicing his/her opinion, but when it comes to action, probably the student would not actually take the effort to vote.
B. In a choice like this, when the subject (programmer) has really nothing to do with politics, there's really no motivation for the programmer to vote.
C. College graduate is not the same kind of easily excited high school student, and is usually more moderate in their actions. So, while a college graduate can still be interested in voting (in fact every choice can be somebody who is interested to vote), a thirty year-old who has just moved to a new environment would tend to see things more objectively and act after more consideration and more experience living in that new state.
D. The real incentive for this guy to vote is that a corporate executive is really concerned with money!!! And a right or left wing party can really make a huge difference to the economy. So, the executive would care to vote for somebody who would support the kind of business that he/she is doing.
And of course, I don't know what subject of study does this question belong to. I would be interested to know.
Reply:A,D, and D
Reply:I would say teh High School Graduate. They are complaining about teh government, so they would be motivated to influence change. The computer Programer would be secure enough finanicaly to probably not worry to much about it, the executive is set up- his life is so hetic right now, that following the election would be to much bother (if he did vote he would vote along party lines the same way he has done for 30 years), and teh 30 year old that just moved to a new state probably hasn't register to vote in his new home yet. This is assuming a national government. When it comes to city/ state elections, I'd put my money on teh executive who probably has kids in teh eduational system and might gain a few tax breaks with new laws, etc.
Reply:This happens to be my area of expertise....
The first correlate of voting is age....young people DO NOT VOTE....scratch those under 24.
Secondly, income/education is the second correlate....as income and education rises so does the incedence of voting.
Thirdly, race.....minorities are least likely to vote.
The 'just moved' is a trick....it DEPENDS ON THE STATE....
some states (six to be exact) allow you to register and vote THE DAY of a an election You can read more here: http://www.epic.org/privacy/voting/regis...
Reply:after som pondering, and trying to think like a high school text book lol ok. 19yr-30yr are the hardest ages to get to the polling stations, because they dont believe their vote will make a difference, their lives are usually self absorbed and generally they are removed from the political happenings of the country. Therefore, the 50yr Corporate Exec would be most likely to vote, because he knows what a vote can do for his company. Good Luck!
Reply:I considered myself a diehard voter after seeing 9/11, and couldn't wait to cast my vote come election time; but because I was so caught up in work and school, I kinda got sidetracked and had to do some last minute registration. It took hours for me and my wife to even find the place to cast our votes! (Which turned out to be inside a church...wtf) anyway, I ended up voteing for Al in the end, but my point is sometimes no matter how badly you want to vote, if you are caught up with personal stuff, (which most of us are) you can easly forget to vote, let alone know how in some areas. So, yes, my answer is D. Everyone else is too buisy with jobs/social life to follow through. But the old fart doen't have anything else better to do.
Why is goto in programming frowned upon?
Being a hobby programmer (c++ and any other language I feel like learning) I have read from numerous source that using the
goto keyword is a bad thing and should be avoided.
From what I've read it is avoided because it basically makes your code hard to read/understand, but I think that if used properly it can be usefull.
I also dabble in assembly, and was getting confused with the jmp until I learned about the goto and then it hit me....
jmp is almost exact to goto.
So wouldn't goto help people who want to learn oh say assembly??
I have also found goto helpfull in rare cases.
what about you??
Why is goto in programming frowned upon?
A program statement is like a sentence. It can be direct. It can also be long and rambling, taking you from the court of Saladin the Magnificent to H. P. Lovecraft's dinner table where you will learn he detested fish.
I have no doubt you have found gotos useful. C has a statement called break, which gets you out of whatever loop or switch statement you hapen to be in. There are certainly cases where they are called for. Generally, though, they are so useful in redirecting program actions that they can give you a scope as broad as my sentence with Saladin and Lovecraft. And it makes it very easy to forget that happens after the sentence is complete. The program can hang or terminate without accomplishing its original purpose.
If you expect to be the person maintaining this code until it's finished or the Messiah comes, fine. If not then you are well advised to think of others and plot things from the top down so you do leave the most direct and uncluttered sentences for them to look at you can.
%26lt;/tongue in cheek %26gt;
Reply:Using goto does make you code harder to follow and opens up the possibility that another person that modifies the code will make a mistake. If it wasn't for the use of gosub it might be alright. If one uses a goto after a gosub and before the return then you can imagine how confusing it could become.
If there are several gosubs within gosubs then it gets even worse.
Time is money and all the employers I have worked for do not like spending money on spaghetti code problems.
Top down and modular, that's the ticket
goto keyword is a bad thing and should be avoided.
From what I've read it is avoided because it basically makes your code hard to read/understand, but I think that if used properly it can be usefull.
I also dabble in assembly, and was getting confused with the jmp until I learned about the goto and then it hit me....
jmp is almost exact to goto.
So wouldn't goto help people who want to learn oh say assembly??
I have also found goto helpfull in rare cases.
what about you??
Why is goto in programming frowned upon?
A program statement is like a sentence. It can be direct. It can also be long and rambling, taking you from the court of Saladin the Magnificent to H. P. Lovecraft's dinner table where you will learn he detested fish.
I have no doubt you have found gotos useful. C has a statement called break, which gets you out of whatever loop or switch statement you hapen to be in. There are certainly cases where they are called for. Generally, though, they are so useful in redirecting program actions that they can give you a scope as broad as my sentence with Saladin and Lovecraft. And it makes it very easy to forget that happens after the sentence is complete. The program can hang or terminate without accomplishing its original purpose.
If you expect to be the person maintaining this code until it's finished or the Messiah comes, fine. If not then you are well advised to think of others and plot things from the top down so you do leave the most direct and uncluttered sentences for them to look at you can.
%26lt;/tongue in cheek %26gt;
Reply:Using goto does make you code harder to follow and opens up the possibility that another person that modifies the code will make a mistake. If it wasn't for the use of gosub it might be alright. If one uses a goto after a gosub and before the return then you can imagine how confusing it could become.
If there are several gosubs within gosubs then it gets even worse.
Time is money and all the employers I have worked for do not like spending money on spaghetti code problems.
Top down and modular, that's the ticket
The project role most involved in interacting with users to determine their specific needs is the:?
a)system analyst
b)programmer
C)project manager
D)inteface designer
The project role most involved in interacting with users to determine their specific needs is the:?
Is this a test question or are these your choices? I would say that the Business Analyst or Application Architect are most involved with client requirements. I am a sales rep for a consulting company and that's my opinion for what it's worth. If this is a test and these are my options - C or D would be most involved.
land survey
b)programmer
C)project manager
D)inteface designer
The project role most involved in interacting with users to determine their specific needs is the:?
Is this a test question or are these your choices? I would say that the Business Analyst or Application Architect are most involved with client requirements. I am a sales rep for a consulting company and that's my opinion for what it's worth. If this is a test and these are my options - C or D would be most involved.
land survey
Why is goto in programming frowned upon?
Being a hobby programmer (c++ and any other language I feel like learning) I have read from numerous source that using the
goto keyword is a bad thing and should be avoided.
From what I've read it is avoided because it basically makes your code hard to read/understand, but I think that if used properly it can be usefull.
I also dabble in assembly, and was getting confused with the jmp until I learned about the goto and then it hit me....
jmp is almost exact to goto.
So wouldn't goto help people who want to learn oh say assembly??
I have also found goto helpfull in rare cases.
what about you??
Why is goto in programming frowned upon?
Goto's can make programs hard to read and understand. That's a good enough reason not to use them. Would Stephen King reference page 217 in his novel if you are at page 41? Exactly.
Reply:Even as a hobby programmer - do you expect to ever have to work on your code after you finish it? Unless you leave yourself extensive comments,
if (x == y) goto z;
a few pages of code
z:
is a lot more confusing than
if (x %26lt;%26gt; y) bypass = true;
if (!bypass) {
a few pages of code
}
Reply:If you or your team are the only ones who will see the code, then I do not see a problem. If you plan on releasing the code to other people, then it would be best to use other methods.
goto keyword is a bad thing and should be avoided.
From what I've read it is avoided because it basically makes your code hard to read/understand, but I think that if used properly it can be usefull.
I also dabble in assembly, and was getting confused with the jmp until I learned about the goto and then it hit me....
jmp is almost exact to goto.
So wouldn't goto help people who want to learn oh say assembly??
I have also found goto helpfull in rare cases.
what about you??
Why is goto in programming frowned upon?
Goto's can make programs hard to read and understand. That's a good enough reason not to use them. Would Stephen King reference page 217 in his novel if you are at page 41? Exactly.
Reply:Even as a hobby programmer - do you expect to ever have to work on your code after you finish it? Unless you leave yourself extensive comments,
if (x == y) goto z;
a few pages of code
z:
is a lot more confusing than
if (x %26lt;%26gt; y) bypass = true;
if (!bypass) {
a few pages of code
}
Reply:If you or your team are the only ones who will see the code, then I do not see a problem. If you plan on releasing the code to other people, then it would be best to use other methods.
Which one of the following individuals would be most likely to vote?
A. A 19-year-old high school graduate who likes to complain about the government
B. A 22-year-old computer programmer
C. A 30-year-old college graduate who has just moved to a new state
D. A 50-year-old corporate executive who holds a master's degree in business
Which one of the following individuals would be most likely to vote?
Not really enough info to make an educated decision but I guess D.
Sry misunderstood question thought you meant vote for.oops.
Answers still the same.
Reply:c.
Reply:Just based on that? D. I would need a LOT more info to vote for anyone.
Reply:As a general rule, the likelihood of voting increases with age and intelligence.
So the 50-year old corporate executive is most likely to vote of those listed.
The 19-year old is least likely to vote even though you have profiled him/her as a complainer about government.
I know for sure this is true from TWO sources:
Statistics I have often seen through life.
My own personal experience with people, both young and older.
Reply:I think it is D, older people tend to vote more because I think they realize how important it is to be counted.
Reply:While I suppose it depends on how strongly they feel about what they're voting for, I would say B or D. The corporate executive likes to vote to make sure he can stay wealthy. The computer programmer is young and wants to see if he can improve his life now that he's out on his own. The teenager probably thinks his vote doesn't count or the government fixes the elections. The college graduate is too busy unpacking if he JUST moved to a new state.
Reply:Without looking at the answers, I choose B.
Reply:i'll go with A. being newly eligible to vote, the appeal to do so is there. hopefully, an 19 year old would have learned (recently graduated) that one way to change existing policies and practices is to VOTE for someone who is promising GOOD CHANGE.
Reply:I'd go with C
Reply:I would say C as well, but maybe A would as well. I first voted at 19, because of the same reason.
B. A 22-year-old computer programmer
C. A 30-year-old college graduate who has just moved to a new state
D. A 50-year-old corporate executive who holds a master's degree in business
Which one of the following individuals would be most likely to vote?
Not really enough info to make an educated decision but I guess D.
Sry misunderstood question thought you meant vote for.oops.
Answers still the same.
Reply:c.
Reply:Just based on that? D. I would need a LOT more info to vote for anyone.
Reply:As a general rule, the likelihood of voting increases with age and intelligence.
So the 50-year old corporate executive is most likely to vote of those listed.
The 19-year old is least likely to vote even though you have profiled him/her as a complainer about government.
I know for sure this is true from TWO sources:
Statistics I have often seen through life.
My own personal experience with people, both young and older.
Reply:I think it is D, older people tend to vote more because I think they realize how important it is to be counted.
Reply:While I suppose it depends on how strongly they feel about what they're voting for, I would say B or D. The corporate executive likes to vote to make sure he can stay wealthy. The computer programmer is young and wants to see if he can improve his life now that he's out on his own. The teenager probably thinks his vote doesn't count or the government fixes the elections. The college graduate is too busy unpacking if he JUST moved to a new state.
Reply:Without looking at the answers, I choose B.
Reply:i'll go with A. being newly eligible to vote, the appeal to do so is there. hopefully, an 19 year old would have learned (recently graduated) that one way to change existing policies and practices is to VOTE for someone who is promising GOOD CHANGE.
Reply:I'd go with C
Reply:I would say C as well, but maybe A would as well. I first voted at 19, because of the same reason.
Developing machine control software.?
I want to write control software. For example to control a drilling machine or lathe. where do i start? what do i need? and what do i need to know? (I am a high level langauge programmer (C#/java)). Some bits and bytes please.
Developing machine control software.?
Use 8086 Microprocessor simulator... You can program using assembly language.....
Use this link to download the software..
http://www.soft20.com/download-10-24528....
You have to know much about the Assembly language instructions to program and control some interfaced devices like Lathe, rotor etc etc......
For even better bits and bytes knowledge use 8085 Micro Processor Simulator, This software needs a Micro Processor Kit anyway you can have the software in Windows too follow this link...
http://www.freedownloadscenter.com/Utili...
Be aware of the set of Instructions u use... this is not even the assembly language here u use Machine codes....Interact with chips directly through your instructions....
Reply:Start with writing a loader... the interface that connects the machine to the computer..... if using java use JNI and C...
you need to have an interfacing equipment that interfaces itself to the computer.... wht you need to worry about is the interface equipment... start my writing code to control it which in turn will control the machine...
hope this helps...
Reply:That's a very specific sort of area, I'm not surei f yo ucna just go into it like that, there's possibly not that many jobs in it at the moment, they must be plenty of other jobs, why pick this.
Reply:You have to write in assembly. May be you can contact an assembly programmer. Check websites like http://getafreelnacer.com/
Developing machine control software.?
Use 8086 Microprocessor simulator... You can program using assembly language.....
Use this link to download the software..
http://www.soft20.com/download-10-24528....
You have to know much about the Assembly language instructions to program and control some interfaced devices like Lathe, rotor etc etc......
For even better bits and bytes knowledge use 8085 Micro Processor Simulator, This software needs a Micro Processor Kit anyway you can have the software in Windows too follow this link...
http://www.freedownloadscenter.com/Utili...
Be aware of the set of Instructions u use... this is not even the assembly language here u use Machine codes....Interact with chips directly through your instructions....
Reply:Start with writing a loader... the interface that connects the machine to the computer..... if using java use JNI and C...
you need to have an interfacing equipment that interfaces itself to the computer.... wht you need to worry about is the interface equipment... start my writing code to control it which in turn will control the machine...
hope this helps...
Reply:That's a very specific sort of area, I'm not surei f yo ucna just go into it like that, there's possibly not that many jobs in it at the moment, they must be plenty of other jobs, why pick this.
Reply:You have to write in assembly. May be you can contact an assembly programmer. Check websites like http://getafreelnacer.com/
Java learning procedure?
ok i wnt insight from a java programmer c++ whoever has been around it for awhile .......... Im going for my degree in information and data security but i like the programming world. So independently im gonna take some classes but i have seen as i been trying to learn it that there is alot involved scripting need to be known in the unix/windows world also a knowledge of html, xml E.T.C. is essential. Somebody who has experience programming with java give me some insight on what is essential in learning this language or concept i should say even if that means math classes that pertain to programming
Java learning procedure?
If you had to learn encryption theory in order to get your "information and data security" degree, then you should have enough math to learn any programming language you want.
If not, if you just had to learn about the major PKE packages, security techniques, common attacks, how they work, what their strengths and weaknesses are, etc. I would recommend a good solid background in mid-level college algebra, something that covers the basics of boolean algebra and gets you used to working with abstract expressions.
Reply:One of the most important things in information and data security is communication, so practice the phrasing on your questions. Seriously! Most security folks spend a lot of time communicating in e-mail, face to face, and on the phone!
I think from a programming standpoint, know how the various types of encryption work, and how to create an encrypted channel through data communication. Understand the issues around data at rest and data in transit.
Reply:im new to this so i need to ask u a question about how u can keep asking questions becuz i can do it but once i put another question up i dont know how to keep asking becuz ive only asked 2 questions....
survey software
Java learning procedure?
If you had to learn encryption theory in order to get your "information and data security" degree, then you should have enough math to learn any programming language you want.
If not, if you just had to learn about the major PKE packages, security techniques, common attacks, how they work, what their strengths and weaknesses are, etc. I would recommend a good solid background in mid-level college algebra, something that covers the basics of boolean algebra and gets you used to working with abstract expressions.
Reply:One of the most important things in information and data security is communication, so practice the phrasing on your questions. Seriously! Most security folks spend a lot of time communicating in e-mail, face to face, and on the phone!
I think from a programming standpoint, know how the various types of encryption work, and how to create an encrypted channel through data communication. Understand the issues around data at rest and data in transit.
Reply:im new to this so i need to ask u a question about how u can keep asking questions becuz i can do it but once i put another question up i dont know how to keep asking becuz ive only asked 2 questions....
survey software
Which of the following titles is correctly punctuated?
a. Poem: 'Nostalgia,' by Billy Collins
b. Ship: "Queen Mary"
c. article: "What Chat Transcripes Reveal," by Carol Tenopir
d. Story: The Telltale Heart, by Edgar Allan Poe
(Telltale Heart is supposed to be in Italics)
Which of the following sentences is correctly capitalized?
a. Emily's address is 14 Orient Lane, Baltimore, Md.
b. My Father is a computer programmer.
c. His mother is a Doctor
d. Jennifer dreamed of a wedding in Central Park.
Which of the following titles is correctly punctuated?
This smacks of homework. The idea is for you to learn it, not for strangers online to prove they understand the rules for punctuation and capitalization, which we do.
You edit to tell us what you think the correct answers are and why, and maybe someone will tell you whether you're right. If you're wrong, I hope they'll tell you why without telling you the correct answer.
I'm such a dreamer.
Reply:question 1- C Magazine titles are capitilized- articles are in quotation marks.
question 2- A Names, street names, %26amp; city and state are capitilized. If it had said New York Central Park then that would be capitilized because it names the park.
Reply:Sentences a. and c. are correct. All sentences are capitalized correctly
Reply:Punctuation : It is "D"
Sentences : It is also "D"
b. Ship: "Queen Mary"
c. article: "What Chat Transcripes Reveal," by Carol Tenopir
d. Story: The Telltale Heart, by Edgar Allan Poe
(Telltale Heart is supposed to be in Italics)
Which of the following sentences is correctly capitalized?
a. Emily's address is 14 Orient Lane, Baltimore, Md.
b. My Father is a computer programmer.
c. His mother is a Doctor
d. Jennifer dreamed of a wedding in Central Park.
Which of the following titles is correctly punctuated?
This smacks of homework. The idea is for you to learn it, not for strangers online to prove they understand the rules for punctuation and capitalization, which we do.
You edit to tell us what you think the correct answers are and why, and maybe someone will tell you whether you're right. If you're wrong, I hope they'll tell you why without telling you the correct answer.
I'm such a dreamer.
Reply:question 1- C Magazine titles are capitilized- articles are in quotation marks.
question 2- A Names, street names, %26amp; city and state are capitilized. If it had said New York Central Park then that would be capitilized because it names the park.
Reply:Sentences a. and c. are correct. All sentences are capitalized correctly
Reply:Punctuation : It is "D"
Sentences : It is also "D"
American history?
1. If you were a specialist working for the National Security Agency, your main job would likely be
A. electronic surveillance.
B. analyzing and breaking coded messages.
C. analyzing data from spy satellites.
D. working in the field to carry out covert operations.
b
2. The largest proportion of federal revenues comes from
A. social insurance taxes.
B. excise taxes.
C. borrowing.
D. personal income taxes.
d
3. Which one of the following individuals would be most likely to vote?
A. A 19-year-old high school graduate who likes to complain about the government
B. A 22-year-old computer programmer
C. A 30-year-old college graduate who has just moved to a new state
D. A 50-year-old corporate executive who holds a master's degree in business
d
American history?
1. B 2. D 3. D
Reply:b-d-a.
Reply:your good except for maybe the third one, thats tricky but i might go with b
Reply:same goes for me
b
d
d
Reply:a
c
d
A. electronic surveillance.
B. analyzing and breaking coded messages.
C. analyzing data from spy satellites.
D. working in the field to carry out covert operations.
b
2. The largest proportion of federal revenues comes from
A. social insurance taxes.
B. excise taxes.
C. borrowing.
D. personal income taxes.
d
3. Which one of the following individuals would be most likely to vote?
A. A 19-year-old high school graduate who likes to complain about the government
B. A 22-year-old computer programmer
C. A 30-year-old college graduate who has just moved to a new state
D. A 50-year-old corporate executive who holds a master's degree in business
d
American history?
1. B 2. D 3. D
Reply:b-d-a.
Reply:your good except for maybe the third one, thats tricky but i might go with b
Reply:same goes for me
b
d
d
Reply:a
c
d
Looking to switch to MAC but I have some questions?
Hi guys I'm looking to switch to make soon and well I have a few questions that perhaps you all could help me with. First question:
I am a programmer (C++/C#) will there be any trouble programming in either of those languages on MAC?(im sure c++ will be fine but what about C#)??
Second Question:
I am currently in College and most of my classes require programs that are on windows(i.e. visual studio,vmware) is there programs or emulators that can run visual studio inside of MAC?
Looking to switch to MAC but I have some questions?
Well if you want run programs that are compatible with Windows then you should download/buy the Parallel Desktops.
Parallel Desktops Run Windows, Linux, and more side-by-side with Mac OS X on any Intel-powered Mac, without rebooting. With Parallels’ award-winning virtualization technology, you can run Mac OS X and Windows at the same time. You can even drag-and-drop files between desktops.
Here is the website:
http://www.parallels.com/en/products/des...
Good Luck
= )
Reply:MACs are fantastic for graphic design and video editing so it's probably the way to go.
I spent most of my life programming PCs and recently switched to MAC.
It was a little difficult at first but most of the time there are easier short cuts and video editing software is amazing
Reply:you can get vmware fusion on a mac which will solve all of your problems
Reply:I'm not a programmer myself, so I can't help much with the first question, though if you're looking to develop software for OS X in particular, you might want to read up on Objective-C and the Cocoa API, as those are most widely used. The dev tools (Xcode and all the related utilities) are included with every copy of OS X.
As for the second question, any Intel-based Mac (i.e. any Mac made within the last couple of years) can easily run Windows itself, either natively (dual-booting via the Boot Camp utility) or in virtualization with something like Parallels or VMware. If you've got a copy of Windows handy, that won't be a problem for you at all. :)
Reply:You can use Boot Camp
http://www.apple.com/macosx/features/boo...
Reply:i cant see why you wouldnt be able to code in C's. but your visual studio will not work on Macintosh computers. for that you will have to either buy mac versions (if they exist) or dual boot. but in that case you may as well save some cash and buy a windows installed machine
I am a programmer (C++/C#) will there be any trouble programming in either of those languages on MAC?(im sure c++ will be fine but what about C#)??
Second Question:
I am currently in College and most of my classes require programs that are on windows(i.e. visual studio,vmware) is there programs or emulators that can run visual studio inside of MAC?
Looking to switch to MAC but I have some questions?
Well if you want run programs that are compatible with Windows then you should download/buy the Parallel Desktops.
Parallel Desktops Run Windows, Linux, and more side-by-side with Mac OS X on any Intel-powered Mac, without rebooting. With Parallels’ award-winning virtualization technology, you can run Mac OS X and Windows at the same time. You can even drag-and-drop files between desktops.
Here is the website:
http://www.parallels.com/en/products/des...
Good Luck
= )
Reply:MACs are fantastic for graphic design and video editing so it's probably the way to go.
I spent most of my life programming PCs and recently switched to MAC.
It was a little difficult at first but most of the time there are easier short cuts and video editing software is amazing
Reply:you can get vmware fusion on a mac which will solve all of your problems
Reply:I'm not a programmer myself, so I can't help much with the first question, though if you're looking to develop software for OS X in particular, you might want to read up on Objective-C and the Cocoa API, as those are most widely used. The dev tools (Xcode and all the related utilities) are included with every copy of OS X.
As for the second question, any Intel-based Mac (i.e. any Mac made within the last couple of years) can easily run Windows itself, either natively (dual-booting via the Boot Camp utility) or in virtualization with something like Parallels or VMware. If you've got a copy of Windows handy, that won't be a problem for you at all. :)
Reply:You can use Boot Camp
http://www.apple.com/macosx/features/boo...
Reply:i cant see why you wouldnt be able to code in C's. but your visual studio will not work on Macintosh computers. for that you will have to either buy mac versions (if they exist) or dual boot. but in that case you may as well save some cash and buy a windows installed machine
Please help me with these questions?
Which sentences is the hypen used CORRECTLY?
A. Maisey- my beagle- loves to run in the field.
B. She wore her hair in a closely-cropped style.
C. Jan's house was painted light-blue.
D. We stayed at a first-class hotel.
Which sentences symbol is CORRECTLY.
A. Rachel's reant has gone up to 745$ a month.
B. Jason bought three books and two magazines.
C. Marilla was hired as a paralegal at Barnes, Johnson %26amp; Laird.
Which titles is CORRECTLY punctuated?
A. Poem: 'Nostalgia,' by Billy Collins
B. Ship: "Queen Mary"
C. Article: "What Chat Transcripts Reveal," By Carol Tenopir
D. Story: The Telltale Heart, by Edgar Allan Poe ( the telltale heart is italicized)
Which is CORRECTLY capitalized?
A. Emily's address is 14 Orient Lane, Baltimore, Md.
B. My Father is computer programmer.
C. His mother is a Doctor.
D. Jennifer dreamed of wedding in Central Park.
Please help me with these questions?
1.) D
2.) B and C. But if you want a single answer, i'd go with C
3.) C
4.) A
Hope this helps :)
Reply:look like you are trying to get some one to do you home work.
survey research
A. Maisey- my beagle- loves to run in the field.
B. She wore her hair in a closely-cropped style.
C. Jan's house was painted light-blue.
D. We stayed at a first-class hotel.
Which sentences symbol is CORRECTLY.
A. Rachel's reant has gone up to 745$ a month.
B. Jason bought three books and two magazines.
C. Marilla was hired as a paralegal at Barnes, Johnson %26amp; Laird.
Which titles is CORRECTLY punctuated?
A. Poem: 'Nostalgia,' by Billy Collins
B. Ship: "Queen Mary"
C. Article: "What Chat Transcripts Reveal," By Carol Tenopir
D. Story: The Telltale Heart, by Edgar Allan Poe ( the telltale heart is italicized)
Which is CORRECTLY capitalized?
A. Emily's address is 14 Orient Lane, Baltimore, Md.
B. My Father is computer programmer.
C. His mother is a Doctor.
D. Jennifer dreamed of wedding in Central Park.
Please help me with these questions?
1.) D
2.) B and C. But if you want a single answer, i'd go with C
3.) C
4.) A
Hope this helps :)
Reply:look like you are trying to get some one to do you home work.
survey research
Civics help!?
1. If you were a specialist working for the National Security Agency, your main job would likely be
A. electronic surveillance.
B. analyzing and breaking coded messages.
C. analyzing data from spy satellites.
D. working in the field to carry out covert operations.
2. The largest proportion of federal revenues comes from
A. social insurance taxes.
B. excise taxes.
C. borrowing.
D. personal income taxes.
3. Which one of the following individuals would be most likely to vote?
A. A 19-year-old high school graduate who likes to complain about the government
B. A 22-year-old computer programmer
C. A 30-year-old college graduate who has just moved to a new state
D. A 50-year-old corporate executive who holds a master's degree in business
4. Which one of the following statements is most accurate for law enforcement?
A. Law enforcement agencies are employed by the court system.
B. Ordinary police officers aren't required to understand how to gather evidence.
C. Law enforcement officers are mainly required to uphold the law.
D. There is no county law enforcement department.
Civics help!?
1) B
2) D
3) D
4) C
A. electronic surveillance.
B. analyzing and breaking coded messages.
C. analyzing data from spy satellites.
D. working in the field to carry out covert operations.
2. The largest proportion of federal revenues comes from
A. social insurance taxes.
B. excise taxes.
C. borrowing.
D. personal income taxes.
3. Which one of the following individuals would be most likely to vote?
A. A 19-year-old high school graduate who likes to complain about the government
B. A 22-year-old computer programmer
C. A 30-year-old college graduate who has just moved to a new state
D. A 50-year-old corporate executive who holds a master's degree in business
4. Which one of the following statements is most accurate for law enforcement?
A. Law enforcement agencies are employed by the court system.
B. Ordinary police officers aren't required to understand how to gather evidence.
C. Law enforcement officers are mainly required to uphold the law.
D. There is no county law enforcement department.
Civics help!?
1) B
2) D
3) D
4) C
What's a good Javascript book for experienced programmers?
Any recommendations on the best way to learn Javascript for experienced programmers (C/C++/Java)? Any good books to get started with?
What's a good Javascript book for experienced programmers?
go to http://ejohn.org and order his book! the man is a genius and really understands how to do JavaScript right!
Reply:Learn Advanced Javascript Programming (Paperback)
by Yehuda Shiran (Author), Tomer Shiran (Author)
(you'll also need either
Javascript the Definitive Guide
or
Dynamic HTML the Definitive Guide
...or both
What's a good Javascript book for experienced programmers?
go to http://ejohn.org and order his book! the man is a genius and really understands how to do JavaScript right!
Reply:Learn Advanced Javascript Programming (Paperback)
by Yehuda Shiran (Author), Tomer Shiran (Author)
(you'll also need either
Javascript the Definitive Guide
or
Dynamic HTML the Definitive Guide
...or both
Ok i hate this subject i dont undr stand it a bit lol so can u help plz!!?
If you were a specialist working for the National Security Agency, your main job would likely be
A. electronic surveillance.
B. analyzing and breaking coded messages.
C. analyzing data from spy satellites.
D. working in the field to carry out covert operations.
2. The largest proportion of federal revenues comes from
A. social insurance taxes.
B. excise taxes.
C. borrowing.
D. personal income taxes.
3. Which one of the following individuals would be most likely to vote?
A. A 19-year-old high school graduate who likes to complain about the government
B. A 22-year-old computer programmer
C. A 30-year-old college graduate who has just moved to a new state
D. A 50-year-old corporate executive who holds a master's degree in business
4. Which one of the following statements is most accurate for law enforcement?
A. Law enforcement agencies are employed by the court system.
B. Ordinary police officers aren't required to understand how to gather evidence.
C. Law enforcement officers are mainly required to uphold the law.
D. There is no county law enforcement department.
5. Suppose you're interested in finding information on your senators and representatives and on current bills before Congress. Which one of the following resources would be best for this purpose?
A. Your public library
B. Your local newspaper
C. Television
D. History books
6. Under the Constitution of the United States, you may not be deprived of life, liberty, or property, without
A. due process of law.
B. being charged with a crime.
C. due respect for law.
D. being suspected of a crime.
7. A war in Mexico would be under the _______ Command.
A. Central
B. Pacific
C. Southern
D. Northern
8. The outcome of the 2000 presidential election was decided by a
A. careful recount of the Florida votes.
B. majority of the popular vote.
C. majority vote of the electoral college.
D. decision of the Supreme Court.
9. You don't really approve of the idea of political parties. However, you're known as a Federalist and are soon associated with that party. Chances are good that your name is
A. James Madison.
B. Abraham Lincoln.
C. Thomas Jefferson.
D. George Washington.
10. The XYZ PAC operates on behalf of the XYZ interest group. Which campaign behavior of the XYZ PAC would be against current law?
A. The PAC creates its own campaign for candidate Kroll and contributes to the campaign of candidate Loon.
B. The PAC contributes $6,000 to candidate Kroll and $2,000 to candidate Loon.
C. The PAC contributes $4,000 to the campaigns of Kroll, Loon, Marble, and Noonkester for a total of $16,000.
D. The PAC contributes $2,000 to Kroll and $4,000 to Loon because both claim to support the PAC's legislative goals.
11. During the Cold War, the United States foreign policy of containment consisted of
A. wars and covert operations.
B. wars and mutual assured destruction.
C. deterrence and covert operations.
D. deterrence and mutual assured destruction.
12. To become a citizen of the United States, you must
A. be at least 21 years old.
B. pass an English and government test.
C. have lived in the United States for at least six months.
D. file a request form in a federal court.
13. A basic position in American foreign policy has been that America must defend its foreign interests related to trade and security. The main foreign policy position opposed to this American policy is called
A. federalism.
B. imperialism.
C. militarism.
D. isolationism.
14. You're most likely to pay your county or town taxes in the form of a/an _______ tax.
A. property
B. excise
C. sales
D. income
15. Which one of the following political interest groups falls into the organized labor category?
A. National Education Association
B. American Rifle Association
C. National Broadcasting Corporation
D. National Audubon Society
16. By tradition, when does the presidential campaign begin?
A. When a candidate is officially nominated at the national convention
B. After a candidate has gained enough electoral votes in the primaries
C. In September, following the national convention
D. With the New Hampshire primary
17. Which one of the following is an example of an entitlement?
A. The right to vote
B. Receiving Social Security
C. Freedom of speech
D. Serving in the military
18. In the United States, your legal right to express your political opinions to government officials is granted under the _______ Amendment.
A. First
B. Second
C. Fourth
D. Fourteenth
19. Why does the Central Intelligence Agency have more freedom of action than other federal agencies?
A. Both its budget and operations are secret.
B. It carries out U.S. foreign policy under the FBI.
C. It answers to Congress only for its financial needs.
D. The agency doesn't report to anyone.
20. In general, you would expect the platform of a political party to
A. lead to a national convention.
B. guide the political issues of the party's candidate.
C. consist of party leaders called planks.
D. determine the outcome of a general election.
Ok i hate this subject i dont undr stand it a bit lol so can u help plz!!?
uh...tell us again why we are doing your homework?
Crack a book. It won't hurt long and it might even bee good for you
Reply:Stay in school, Study hard, and one day you to can be a liberal!!!!
Get off the net, and do your Homework, before your mommy catches you!!!!!
Reply:I think your teacher wants you to do your own homework lulz!
A. electronic surveillance.
B. analyzing and breaking coded messages.
C. analyzing data from spy satellites.
D. working in the field to carry out covert operations.
2. The largest proportion of federal revenues comes from
A. social insurance taxes.
B. excise taxes.
C. borrowing.
D. personal income taxes.
3. Which one of the following individuals would be most likely to vote?
A. A 19-year-old high school graduate who likes to complain about the government
B. A 22-year-old computer programmer
C. A 30-year-old college graduate who has just moved to a new state
D. A 50-year-old corporate executive who holds a master's degree in business
4. Which one of the following statements is most accurate for law enforcement?
A. Law enforcement agencies are employed by the court system.
B. Ordinary police officers aren't required to understand how to gather evidence.
C. Law enforcement officers are mainly required to uphold the law.
D. There is no county law enforcement department.
5. Suppose you're interested in finding information on your senators and representatives and on current bills before Congress. Which one of the following resources would be best for this purpose?
A. Your public library
B. Your local newspaper
C. Television
D. History books
6. Under the Constitution of the United States, you may not be deprived of life, liberty, or property, without
A. due process of law.
B. being charged with a crime.
C. due respect for law.
D. being suspected of a crime.
7. A war in Mexico would be under the _______ Command.
A. Central
B. Pacific
C. Southern
D. Northern
8. The outcome of the 2000 presidential election was decided by a
A. careful recount of the Florida votes.
B. majority of the popular vote.
C. majority vote of the electoral college.
D. decision of the Supreme Court.
9. You don't really approve of the idea of political parties. However, you're known as a Federalist and are soon associated with that party. Chances are good that your name is
A. James Madison.
B. Abraham Lincoln.
C. Thomas Jefferson.
D. George Washington.
10. The XYZ PAC operates on behalf of the XYZ interest group. Which campaign behavior of the XYZ PAC would be against current law?
A. The PAC creates its own campaign for candidate Kroll and contributes to the campaign of candidate Loon.
B. The PAC contributes $6,000 to candidate Kroll and $2,000 to candidate Loon.
C. The PAC contributes $4,000 to the campaigns of Kroll, Loon, Marble, and Noonkester for a total of $16,000.
D. The PAC contributes $2,000 to Kroll and $4,000 to Loon because both claim to support the PAC's legislative goals.
11. During the Cold War, the United States foreign policy of containment consisted of
A. wars and covert operations.
B. wars and mutual assured destruction.
C. deterrence and covert operations.
D. deterrence and mutual assured destruction.
12. To become a citizen of the United States, you must
A. be at least 21 years old.
B. pass an English and government test.
C. have lived in the United States for at least six months.
D. file a request form in a federal court.
13. A basic position in American foreign policy has been that America must defend its foreign interests related to trade and security. The main foreign policy position opposed to this American policy is called
A. federalism.
B. imperialism.
C. militarism.
D. isolationism.
14. You're most likely to pay your county or town taxes in the form of a/an _______ tax.
A. property
B. excise
C. sales
D. income
15. Which one of the following political interest groups falls into the organized labor category?
A. National Education Association
B. American Rifle Association
C. National Broadcasting Corporation
D. National Audubon Society
16. By tradition, when does the presidential campaign begin?
A. When a candidate is officially nominated at the national convention
B. After a candidate has gained enough electoral votes in the primaries
C. In September, following the national convention
D. With the New Hampshire primary
17. Which one of the following is an example of an entitlement?
A. The right to vote
B. Receiving Social Security
C. Freedom of speech
D. Serving in the military
18. In the United States, your legal right to express your political opinions to government officials is granted under the _______ Amendment.
A. First
B. Second
C. Fourth
D. Fourteenth
19. Why does the Central Intelligence Agency have more freedom of action than other federal agencies?
A. Both its budget and operations are secret.
B. It carries out U.S. foreign policy under the FBI.
C. It answers to Congress only for its financial needs.
D. The agency doesn't report to anyone.
20. In general, you would expect the platform of a political party to
A. lead to a national convention.
B. guide the political issues of the party's candidate.
C. consist of party leaders called planks.
D. determine the outcome of a general election.
Ok i hate this subject i dont undr stand it a bit lol so can u help plz!!?
uh...tell us again why we are doing your homework?
Crack a book. It won't hurt long and it might even bee good for you
Reply:Stay in school, Study hard, and one day you to can be a liberal!!!!
Get off the net, and do your Homework, before your mommy catches you!!!!!
Reply:I think your teacher wants you to do your own homework lulz!
Please tell about the maths books and maths sites so that i can excel in M.C.a. entrance exams?
send it on my id arjun_programmer@yahoo.co.in
Please tell about the maths books and maths sites so that i can excel in M.C.a. entrance exams?
My transfer counselor just told me yesterday about the website for math.com.
She said that it helps many different levels of education in math.
survey for money
Please tell about the maths books and maths sites so that i can excel in M.C.a. entrance exams?
My transfer counselor just told me yesterday about the website for math.com.
She said that it helps many different levels of education in math.
survey for money
Is it right to get into call center for those who have gave their C.B.S.E. Board exams this year only?
Looking for job as well as studying %26amp; becoming a programmer/compiler.
Is it right to get into call center for those who have gave their C.B.S.E. Board exams this year only?
Do have some degree first.
but how can one become a compiler!!!!!!!!
u can be a programmer.
does programming attracts u..then u can CODE....
Is it right to get into call center for those who have gave their C.B.S.E. Board exams this year only?
Do have some degree first.
but how can one become a compiler!!!!!!!!
u can be a programmer.
does programming attracts u..then u can CODE....
Subscribe to:
Posts (Atom)