English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Programming & Design - April 2007

[Selected]: All categories Computers & Internet Programming & Design

2007-04-04 06:08:48 · 8 answers · asked by Anonymous

2007-04-04 04:11:24 · 4 answers · asked by zul z 1

My computer was special ordered through OFFICE DEPOT and built by HP...on my computer Microsoft Office XP Small Business was installed but never activated. I am now finding out, after a period of time, I now can use this program and can't due to having no numbers for cert. of autheniticy...I need these numbers before I can use the product...I was not aware of this until now....I called OFFICE DEPOT and they said I would have to notify you for this information....I hope I have made clear what I am needing....I beleive I purchased the computer in 2003.....under last name of HOGGATT.....HP Pavilion 775..... It is a shame that I have the program that I can now use and can't due this problem.....no disk nor information was giving to me for the use of this program either.....Please help if you can.....

2007-04-04 03:55:34 · 2 answers · asked by Katy H 1

Could you please help me with the practice questions before the final exam. Thanks.
1. When defining a variable, the keyword ____ appears at the beginning of the statement.
a. Assign c. Define
b. Declare d. Dim



2. When defining a variable to be used to hold textual information containing multiple characters, the declaration statement should have ____ at the end of the statement.
a. As Char c. As String
b. As Char Type d. As String Type



3. A variable that will be used to hold only True or False values should be declared as a(n) ____ data type.
a. Boolean c. Integer
b. Decimal d. Single


4. A program whose interface will be a window on the screen of a computer running the Windows operating system, and which will allow the user to interact with the program by using this window, is created by selecting a ____ project in Visual Studio.
a. Web application c. Windows application
b. Console application d. Custom control




5. Properties can be displayed in the Properties window ____.
a. grouped by category or by the order they appear on the screen
b. grouped by category or sorted numerically
c. sorted alphabetically by name or grouped by size
d. sorted alphabetically by name or grouped by category




6. The ____ sign is used in an assignment statement.
a. plus (+) c. ampersand (&)
b. equal (=) d. percent (%)



7. Which of the following is the correct general format for assigning a value to a property?
a. propertyvalue = propertyname.objectname
b. propertyvalue = objectname.property
c. propertyname.objectname = propertyvalue
d. objectname.property = propertyvalue



8. The ____ feature displays all allowable entries you can make in a Visual Basic statement each time a dot, equal sign, or other special character required for the statement is typed.
a. AutoComplete c. IntelliComplete
b. AutoSense d. IntelliSense



9. When you type the word ____ followed by a period in the code editor, IntelliSense displays a list of all the entries, including all the objects that can be specified in the statement.
a. Me c. MyForm
b. My d. VB



10. A(n) ____ is used for denoting a comment statement.
a. semi-colon (;) c. apostrophe (‘)
b. period (.) d. comma (,)



11. Comments are displayed (by default) with ____.
a. a green squiggly line c. blue text
b. green text d. a blue squiggly line


12. The ____ prefix is used for a Menu object.
a. menu c. mst
b. mns d. mnu



13. The ____ character is used to indicate that a letter is a hot key on a menu item.
a. ampersand (&) c. back slash (\)
b. forward slash (/) d. underscore (_)



14. The hot key for a menu item can be activated with the keyboard by pressing the ____ key and the hot key at the same time.
a. ALT c. CTRL
b. SHIFT d. TAB



15. The ____ object provides a text box that asks the user for input and provides an input area.
a. label c. textbox
b. menu d. Radio button



16. Which line of code will add the value “East” to a ListBox object named lstDirections?
a. lstDirections.Add(“East”) c. lstDirections.AddValue(“East”)
b. lstDirections.Items.Add(“East”) d. lstDirections.Items.AddValue(“East”)



17. To remove all objects from a ListBox object, the ____ method is used.
a. Clear c. Empty
b. Items.Clear d. Items.Empty



18. The ____ property of a ListBox object identifies which item in the ListBox was selected.
a. Item c. Selected
b. ItemSelected d. SelectedItem



19. The compound operator ____ adds the value of the right operand to the value of the left operand and stores the result in the left operand’s variable.
a. ++ c. =+
b. += d. ==



20. The compound operator ____ is used to add a string to an existing string.
a. &= c. &&
b. =& d. ==


21. The ____ follows the keyword For in a For...Next loop.
a. keyword Next c. keyword To
b. keyword Step d. a control variable name



22. A For...Next loop with a beginning value of 1, an ending value of 25, and a step value of 3 will execute ____ times.
a. 3 c. 9
b. 8 d. 25



23. How many times will the following loop execute?
For intCount = 10 To 16 Step 2
‘Body of Loop
Next
a. 3 c. 6
b. 4 d. 7



24. How many times will the following loop execute?
For intCount = 10 To 1 Step -2
‘Body of loop
Next
a. 4 c. 9
b. 5 d. 10






25. What will be the value of the variable intTotalCount when the following code is executed?
For intOuterCount = 1 to 5
For intInnerCount = 1 to 4
intTotalCount +=1
Next
Next
a. 4 c. 9
b. 5 d. 20

2007-04-04 03:49:06 · 2 answers · asked by Anonymous

2007-04-04 03:44:36 · 9 answers · asked by jupiteress 7

Even though I can find so many software metrics starting from "Number of Lines of Code", "Cyclomatic complexity" to "Coupling Between Objects" and "Maintainability Index" in the web, I couldn't find a good reference to apply them in a software development environment or how it actually helps in improving the quality of the work.

will the extra burden of measuring the software metrics paid off?

2007-04-04 02:30:54 · 5 answers · asked by Just Call Me Dexter 1

Hi,
I have a page wherein i have an tag whose src is taken from a livesite and it changes dynamically.. i have the folloeing code:
what i want is on click on this picture i want it to come to that site only.. thats why i tried using the href="#".

Anyone plz help

Thanks,
nitin

2007-04-04 02:21:12 · 3 answers · asked by NITIN K 2

(Assume that all HTML tags are in place)



1. What is the output?
2. How would you modify this code so that it prints only even numbers?
(Rewrite the program)
3. How would you modify the code so that it sums all the values of i and prints the final sum?

2007-04-04 01:12:43 · 4 answers · asked by Tazzzy 1

can anybody tell me is there any good book available that contains some good project in VB or c or c++?

2007-04-03 23:57:43 · 1 answers · asked by ADITI M 1

I'm getting an error when trying to compile this line (C), my compiler doesn't seem to be recognizing the previous declaration of "nRows, nCols":

void scalarMultiply (int nRows, int nCols, int matrix[nRows][nCols], int scalar);

Is there something wrong with it?

It's from a Stephen kochan's book, so I'm guessing it's got something to do with my compiler which is MinGW Developer Studio 2.05

2007-04-03 20:35:50 · 7 answers · asked by VIC VIC 2

I use such a lengthy code in each cell:
...

Is there a shorter way, for example a shorter tag for each color?

2007-04-03 20:03:51 · 5 answers · asked by Payam Samidoost 2

to display and there is no way to edit the subdomain, upload files, change files. i created a seperate directory and linked that to the subdomain but i still cannot change the content to what i want or edit the long address, i wish i had gone with tripod, yahoo p'es me off so bad. if anyone can help me, i will remember you when i transfer my site to tripod and post a link to your site if you have one.

2007-04-03 19:25:38 · 1 answers · asked by expressxxx 1

2007-04-03 19:18:51 · 2 answers · asked by ting d 1

Hi every body ...
please tell me how to convert microsoft office access database to exe file ? .... and were can i find it?

2007-04-03 19:10:32 · 3 answers · asked by Mr-X 2

What I am trying to do is create a .swf file that a person can download and open on their computer. Using Explorer or Netscape Navigator/FireFox, whatever have the .swf displayed and allow the user to create some kind of simple database to store locations to pictures etc. So the user pushes a button and it contacts a database of files and allows the user to select a file. I have been looking around and I see things on how to do it with asp scripts to talk to Access. I however would rather not assume the user has any special things, (Access, MySQL, etc.), beyond the usual browser. Can I do this? Just create some file so that it can store information in it for retrieval and editing?

Please help with any advice,

Thanks,

Brian

2007-04-03 17:12:30 · 3 answers · asked by Brian D 1

When I log on, I can browse the directory tree. But many file names have asterisks immediately following their names. What does it mean?

2007-04-03 17:08:28 · 4 answers · asked by vector4tfc 4

Hi,

can some one please help!

How can i get a Batch file(.bat) to run when ever
someone logs off or Shutdown a Windows Xp Pro computer.

Is this possible?


Thanks

Amit Panwar

2007-04-03 17:02:26 · 2 answers · asked by amitdelpanwar 1

0

I've asked this question two times but no one seems to understand what I am trying to ask. Alright, I am trying to fix the layout of the worksheet, document page, word file, what ever you want to call it. I have no problems with the font, it's perfectly fine.

I am not asking how to change it or how to center the FONT, I know perfectly well how to center the FONT by using the tool bar and highlighting the text I want centered, etc etc.

What I need to know how to do is how to center the actual page/paper itself. It is shifted to the left for some reason and it looks weird. Please help.

2007-04-03 16:20:25 · 8 answers · asked by Anonymous

i need to recreate a logo that can be scaled up or down without losing quality (that is a vector graphic right?) well i was wondering if you could create one in photoshop or do you need illustrator in order to accomplish this.

2007-04-03 16:11:07 · 3 answers · asked by commissioner_gimpy 1

In PHP, I need to declare a variable and be able to use it inside a function. Is there any way I can do this? I tried "Global $myvar=0;" but i get the following error:

Parse error: syntax error, unexpected '=', expecting ',' or ';' in C:\Program Files\EasyPHP 2.0b1\www\test.php on line 2

and if I take out the "=" ("Global $myvar=0; $new=0; echo $new;") I get this:
Parse error: syntax error, unexpected T_ECHO in C:\Program Files\EasyPHP 2.0b1\www\test.php on line 4

2007-04-03 15:46:17 · 3 answers · asked by Anonymous

Initial dd/mm/yyyy was a varchar(100) format,
I need to convert it into database format which is yyyy-mm-dd
Pl. help

2007-04-03 15:38:48 · 3 answers · asked by athleticos78 1

2007-04-03 14:59:33 · 1 answers · asked by Courtney E 1

I'm creating a VB program. I'd like an idea that involves some kind of equation. An example is a BMI calculator, which I already did. Thanks for your suggestions!

2007-04-03 14:32:37 · 2 answers · asked by Anonymous

Ok, so on this program on my computer I created a graphic I want to use as a profile pic. Well then I saved it as a jpg file, and then I opened it, it had this white box around it. Can anyone tell me how to fix it and remove the box.

2007-04-03 14:18:59 · 2 answers · asked by thehillsarealive 2

What will the following strcmp return?
strcmp("Silver","Gold")
a. -2
b. -1
c. 0
d. 1
e. 2

2007-04-03 13:54:50 · 7 answers · asked by nig n 1

At least on the surface, TDD seems to require additional work, because you need to write tests, etc.. Presumably this work is justified because it saves work later on.

If someone told you the amount of work required to write tests wasn't justfified, as many newbies do, what would you tell them? Hopefully you wouldn't say to write lots of tests because everyone else does it, but rather because you have some evidence.

Can you cite any studies showing work savings?

Realistically, there are probably some cases where the amount of work is not justified, and others where it is completely justified. Obviously, the cost of any errors would have a strong impact on this, since some errors (imagine code controlling an airplane) are very expensive while others may have little cost.

Further, TDD becomes more useful as team size grows. That may or may not be enough to justify its use.

Besides citing any studies, what are the determining factors for making TDD worthwhile?

2007-04-03 13:43:21 · 1 answers · asked by Tom D 4

Which of the following is a correct call to strlen?
Given:
char MyString[1024];
int Max=0;
a. Max=strlen(MyString);
b. strlen(MyString,Max)
c. strlen(MyString,&Max);
d. strlen(Max,MyString);
e. Max=strlen(*MyString);

2007-04-03 13:26:50 · 3 answers · asked by nig n 1

0

i have a problem centering the text page. It's to the far left for some reason... Does anyone know how to fix it so that it's in the center? Thank you.

2007-04-03 13:05:53 · 4 answers · asked by Anonymous

Write a machine language program that will get two numbers from the user. If these two values are not equal, the program should output the second number. Otherwise, there should be no output. Use the following algorithm.
Statement Operation Algorithm
1. Get first number
2. Get second number
3. If (first number <> second number) then
4. Display the second number
5. Stop

Please help me.

2007-04-03 12:05:52 · 3 answers · asked by Facilitate 1

I have been looking in to game programming I am obsessed with games. I want to take my love of games to the next lvl. i want to make a game but i dont know how. Where can i get the download for a game maker taht allows me to make rpg games or console or even online MMORPGs. If there is some kind of scripting thing i would like a book or website taht could tell me where to do it and how. If someone could help me with this it would be great.

2007-04-03 11:59:58 · 6 answers · asked by scheblerfam@verizon.net 1

fedest.com, questions and answers