answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

How can you make a graphics program portable?

Any program can become portable (if that means multi-platform) by rewritting in a programming language like Java and including the jvm with the program First, use a portable programming language and associated portable libraries. Java is one, others are C/C++, FreeBASIC, The suite of GCC when coupled with Cygwin. There are many portable graphics libraries to use. A few are: Simple Direct Media Layer (Video, Audio and Input) OpenGL 2d & 3d Graphics Included with almost ALL systems MESA (A layer on top of OpenGL)

What does a quality assurance test planner do?

he will ensure that testing will meet all the criterias mentioned in the test plan, proper evidences are prepared, and he will identify the templates and forms to be filled during testing.

When did lady Ada program the computer?

In 1842, Augusta Ada King-Noel, Countess of Lovelace, wrote an algorithm for Charles Babbage's Analytical Engine to compute Bernoulli numbers. That engine was never completed so her algorithm was never tested. However, the Analytical Engine has since been recognised as an early model for a computer and her notes as a description of software. Whether her algorithm would have worked or not is impossible to tell, but she is nevertheless credited as being the first computer programmer.

Which three statement are true regarding the encapsulation an de-encapsulation of packets when traveling through a router?

** The router modifies the TTL field, decrementing it by one.

** The router maintains the same source and destination IP.

** The router changes the source physical address to the physical address of the exit interface

What is difference between lemma and algorithm?

A Method that used to be a comouter to soultion of promlems is called algorithm.

Why does the downloading of maplestory took about 8 hours?

s

show lens

it depends on your network computer and how fast it is..my computer and network sucks so it took me like 20 hours to download.. my friend has a macbook pro and he said it took him like 40 minutes

Can abstraction encapsulation be achieved in C program if yes explain?

abstraction and encapsulation is one of the concepts of OOPs and C is not an OOP [Object Oriented Programming language] obviously abst & encap will not be supported by 'C' Abstraction & encapsulation is a concept of OOP [Object Oriented Programming] But, 'C' is not an OOP whereas it is a POP [Procedure oriented programming], so obviously 'C' does not support abstraction and encapsulation

Answer Encapsulation is not inherently supported but it can be emulated in C. The use of static and extern keywords for functions are almost equivalent to your private and public keywords in java (encapsulation). Read up more on those keywords.. Structures become an object's attributes while functions accepting pointers the the said struct become its methods.

Why won't my computer play videos?

A computer will be unable to play videos if it does not have the appropriate player and codec to decode the files. There are a variety of media players like VLC and QuickTime which are designed to play these files.

How do you differentiate between truncate and delete?

TRUNCATE and DELETE:

It also removes the rows from the specified location in the query like DELETE command, but the only difference is :

1. rows once u truncated cnnot be ROLLBACKED like in DELETE. 2. which ROLLBACK can be possible with delete. 3. Truncate is used for HUGE databases or tables bcz it works efficiently. 4. DELETE will work efficiently on small data(tables).

Now it is vident that the only difference between TRUNCATE and DELETE is efficiency(i.e,Accessing Speed).

Annapurna.

TRUNCATE REMOVES ALL THE ROWS FROM THE TABLE AND CANNOT BE Rollbacked, while delete removes all/specific rows from table and can be rollbacked.

Also truncate resets the high water mark.

A common misconception is that they do the same thing. Not so. In fact, there are many differences between the two. DELETE is a logged operation on a per row basis. This means that the deletion of each row gets logged and physically deleted. You can DELETE any row that will not violate a constraint, while leaving the foreign key or any other contraint in place. TRUNCATE is also a logged operation, but in a different way. TRUNCATE logs the deallocation of the data pages in which the data exists. The deallocation of data pages means that your data rows still actually exist in the data pages, but the extents have been marked as empty for reuse. This is what makes TRUNCATE a faster operation to perform over DELETE. You cannot TRUNCATE a table that has any foreign key constraints. You will have to remove the contraints, TRUNCATE the table, and reapply the contraints.

The difference between the two is that the truncate command is a DDL operation and just moves the high water mark and produces a now rollback. The delete command, on the other hand, is a DML operation, which will produce a rollback and thus take longer to complete.

Truncate can be rollbacked,, basically i see lot of aritcles which says it can rollback,, but the truth is that we can rollback after trancate ,, difference is that in truncate only deallocation of the data page is done, but in delete the it is logged in deleted table and is physically removed from data page,,,

Harishjan

The difference is with operation on memory because if you want to have a place in memory for a later use you should use delete but if you want clear memory you should use truncate - this function clears the value and place where this value was stored.

For more detailed explanation about this topic please read the following article.

http://www.sqlservercentral.com/articles/delete/61387/

Is there an algorithm for the Travelling Salesman problem?

Yes,there is an obvious algorithm to test each possible trip and find the best one. The trouble is the exponential run-time.

What is the keyboard macro for making exponents?

there are no keys for exponents, but you use this ^. its used for online classes.

Where can you find FREE computer monitoring software?

Answer

A great place to go is download.com and search for AVG 9 Free. AVG is award winning, free and it is used by over 80 million users. What makes it so great is that Grisoft (the people who make AVG products) decided to give anti virus protection to users for free. Before I upgraded to AVG Internet Security, the free version got rid of countless infections. The only difference between the free and paid version is the paid version (Internet Security) includes a firewall, anti rootkit, anti spam, web shield.

Here's a link to the page I was talking about. The one you want is the second result

http://download.cnet.com/1770-20_4-0.html?query=AVG+9&tag=srch&searchtype=downloads&filterName=platform%3DWindows&filter=platform%3DWindows

Attackers use buffer overflows to?

point to another area in data memory that contains the attacker's malware code

How do you overcome limitations of stacks in polygon filling?

You overcome limitations of the stack in polygon filling, or in any other algorithm, far that matter, but using an iterative technique, rather than a recursive technique. Recursion is quite useful, and can simplify algorithm design. Polygon filling, however, is a class of algorithm can potentially have a very deep recursion depth. This causes stress on the stack, hence the need for iteration.

What is a Delphi Questionnaire?

It is a questionnaire designed by a panel of experts using the Delphi method. check out: http://www.iit.edu/~it/delphi.html It is a questionnaire designed by a panel of experts using the Delphi method. check out: http://www.iit.edu/~it/delphi.html

Where to get advance text final edition?

Get your advance text final edition right here! Just search advance text final edition and pick the 3rd result. Then follow these steps: Steps: 1. Click on the link in the post. 2. Click the .zip file in the download area thing. 3. Press download. 4. Close tabs that pop up upon pressing download. 5. Click the downloaded zip to open it. (You have to find it first. If you use Chrome this will be easy to find) 6. Extract it. Press the button that says extract and press ok. 7. Get Registrator. Go to google and search where to put comctl32.ocx comdlg32.ocx and click the youtube video (the 3rd result) and then go to the download link. (this is to make advance text final edition work) 8. Same as step 3 and 4, press download and close random pop up tabs. 9. Click the downloaded zip to open and extract it. Put the registrator in the ini folder. 10. If you don't have COMCTL32.OCX and comdlg32.ocx, now is the time to get the ocx's. Find the ocx's on google or find another advance text folder that has COMCTL32.OCX and comdlg32.ocx and put them into your advance text final edition folder (which used to be a zip). If you already have these files, skip this part. 11. USE THE REGISTRATOR TO REGISTER THE FILES. Press register when you see COMCTL32.OCX and comdlg32.ocx and confirm. 12. Have fun with your advance text final edition! (also, you can delete the other advance text folders). And that's it. Hope this answer helped you! (who made this answer was usavictor)

What is a recovery disc?

A recovery disc is a CD or DVD used to restore the operating system of a computer to working or factory conditions.

What is the function of a data pump?

if you wanna look what it inside a variable you can use data_dump function, to ilustrate clarity.

Fabrication of monolithic IC?

this process involves following major steps... 1. Wafer preparation 2. Epitaxial growth 3. Oxidisation 4. Photolithographic process 5. Isolation diffusion 6. Base and emitter diffusion 7. Pre-ohmic etch 8. Metallisation 9. circuit probing 10. Scribing and separating into chips 11. Mounting and packing 12. Encapsulation (NOTE;- These are the processes involved for monolithic ic's. Detailed information can be found on internet.)