answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

Is piracy a legal act or not?

Piracy is a criminal act in all territories of the world. Software piracy, on the other hand, is not a recognised crime in all territories. To date, only 160 countries have ratified the Berne Convention which recognises copyright law internationally. Of those that have not ratified the treaty, some have their own copyright laws while the remainder do not recognise copyright infringement as being a crime.

Prove by mathematical induction that the complexity of binary search algorithm is log n?

The complexity of the binary search algorithm is log(n)...

If you have n items to search, you iteratively pick the middle item and compare it to the search term. Based on that comparision, you then halve the search space and try again. The number of times that you can halve the search space is the same as log2n. This is why we say that binary search is complexity log(n).

We drop the base 2, on the assumption that all methods will have a similar base, and we are really just comparing on the same basis, i.e. apples against apples, so to speak.

Define Alternate support system?

Piers alternate with pairs of columns. the alternating piers and columns divide the nave into vertical units, mitigating the tunnel-like horizontality of the early Christian basilica. A nave is the central part of a church building, intended to accommodate most of the congregation

How do you get rid of a firewall?

depends on the software you are using for the firewall. if your using windows xp firewall just disable it. start-->control panel-->firewall then click the opt button to turn it off.

This is not a detailed enough answer neither does it work.

What computer system was used before Microsoft was invented?

Assuming that we are only talking about the personal computer (PC) market, before Microsoft's Windows operating systems, Microsoft's Disk operating system, or DOS, was used. Before that, CP/M was a popular computer operating system.

What is a readers writers problem without deadlock and starvation?

When using threads, the entire point of a reader/writer problem is to avoid deadlock and starvation. The only way to avoid deadlock or starvation without the use of semaphores is for there to be only one possible process that could run, that is one reader and one writer only.

Is it hard to get into Carnegie Mellon University for computer science?

CMU is not outside milkyway.... prepare effectively and u can get into....wat do u think of ppl who ve made so far into csc in CMU ?

What is computer professional?

Someone who makes their living out the computer industry. They may design, build, sell, lease, repair etc hardware, or they may sell, market, write, etc software. The definition now extends to those involved in the internet industry too.

What is the code for c and c plus plus program to merge two circular linked list?

Circular linked lists are really no different to ordinary linked lists, other than that the tail node points back to the head node (and vice versa if the list is doubly-linked). Therefore the merge process is exactly the same: iterate through the second list and insert each node's data into the first list. Since lists are un-associated containers, it doesn't matter where the insertions occur but, by convention, insertions typically occur at the tail of the list. If an order must be maintain, an insertion sort should be employed instead. Note that if you need to maintain the original two lists (in their un-merged state), simply copy the first and insert the second into the copy instead.

Highlight the steps involve in writing a functional program?

Consult or think about the requirements; plan the general design; write your program; test it; correct and test (probably several times) until it works.

In a larger project, you will probably do the above for each individual component at a time, i.e., you will be adding components gradually.

Consult or think about the requirements; plan the general design; write your program; test it; correct and test (probably several times) until it works.

In a larger project, you will probably do the above for each individual component at a time, i.e., you will be adding components gradually.

Consult or think about the requirements; plan the general design; write your program; test it; correct and test (probably several times) until it works.

In a larger project, you will probably do the above for each individual component at a time, i.e., you will be adding components gradually.

Consult or think about the requirements; plan the general design; write your program; test it; correct and test (probably several times) until it works.

In a larger project, you will probably do the above for each individual component at a time, i.e., you will be adding components gradually.

What is 11 in binary or base 2?

11 = 1*8 + 1*2 + 1*1 = 1(2)3 + 1(2)1+ 1(2)0.

Thus, in binary (base 2) 11 is represented as:

1011.

To double check we get:

8 + 2 + 1 = 11 (base 10).

What is algorithm to write algorithm to the program to access a pointer variable in structure?

Here is the algorithm of the algorithm to write an algorithm to access a pointer in a variable. Algorithmically.

name_of_the_structure dot name_of_the _field,
eg:

mystruct.pointerfield

Which programming language does PHP resemble?

PHP uses a Perl-like syntax, but is simpler, less consistent and more limited.

What good computer security programs for your computer are there?

This is what I have:

Avast!

Comodo Firewall

Spyware guard.

Spyware blaster

Real time protection in Spybot Search and Destroy.

Mvps Host file

Koffix blocker.

And maybe something else.

These are all to prevent!

This should make your PC really safe

On the other hand each of these are made by different companies and are not designed to work together. I use Avast Internet Security and it protects me from everything. There are a lot of advantages to using an integrated security suite.

What is Kanizsa Triangle?

The Kanizsa Triangle is an illusion. This contour is created with three circles that are wedged and three angles that are black. They are all placed in the image so that they face the center point.

What are the bad points of a computer?

Computers, although they were built to help, can often be very laggy and can get viruses. Another problem is that after having a computer for awhile, people tend to get reliant on it, and when it breaks down, they are lost! Computers have revolutionized the world, and brought the technology we are familiar with today, but I think computers will never be perfect and willalways come with little problems.

The ms backup program in dos receives the setting from what files?

The MSBACKUP program in DOS receives its settings from the setup file. This setup file features a .set extension and is created after you make file selections and configure backup settings.