answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

What are the advantages and disadvantages of pairwise programming?

Assuming you understand what Pair-wise programming is, we can in general say that it is advantageous because the overall logic of the code written, the idea behind using certain constructs in the code, etc. are known to different people rather than a single head. Since, two or more heads is obviously better than one, we see that Pair-wise programming is certainly advantageous. But, the flip-side is say you are stuck in a situation in the code-development and one fine afternoon you get a flash but you cannot code because your partner is not there. Also, increased costs is another disadvantage. These are the basic points and I can assure you that there are several subtleties involved.

What flag was used as the basis of the design of Alabama's flag?

The flag that was used as the basis of the design of Alabama's flag was the flag of Scotland. The design was the same with just a few modifications like the color.

What is first -fit algorithem in memory allocation?

When seeking a contiguous block of memory to allocate, the first block that is at least as large as the size being requested is allocated.

How do you get the edit sidebar link to pop up in a Google sites document?

From Google support:

Edit the sidebar

If you are the owner of a site, you can change whether the sidebar appears, where it appears, and what gadgets are included in it.

Getting to the sidebar editor:

- Click the More button near the top-right corner of your browser window.

- Select Edit site layout.

Sidebar options

Once you are in the "Edit site layout" mode:

1. Click on Sidebar in the toolbar to enable or disable the sidebar.

2. If you want to keep your sidebar, you can choose where it will appear by selecting the pencil-shaped edit button on the black "Sidebar" header. You can also change the sidebar width by entering a new width, in pixels, in the edit dialog.

Adding and deleting gadgets in your sidebar

Once you are in "Edit site layout" mode, you can click on the + icon in the header to add items.

Individual gadgets can be removed by hovering over a gadget and clicking x. You can reorder gadgets by dragging them.

What is the importance of a test specification?

you need test to see if it is right or wrong. You also need to test 10times maybee to make sure it's right or wrong. you need test to see if it is right or wrong. You also need to test 10times maybee to make sure it's right or wrong.

Term used to denote an error in computer programme?

A bug.

The story may be apocryphal, but supposedly an early programmer, possibly Grace Hopper or one of the people involved with the ENIAC, was trying to figure out why their primitive computer was not working correctly. They traced the problem to a board that held dozens of electromechanical relays. After inspecting it for a while, they found that an insect had crawled between two contact points as was preventing a circuit from completing. When asked what the problem was, the programmer replied that they "had found a bug".

How do you retrieve files from corrupt laptop that can't boot to Windows?

Your operating system is corrupt not your laptop. If your laptop is not physicaly broken most likely its in good shape and ready to serve you. You don't have to throw away your laptop and waste your money.

You can easily retrieve your files by loading linux onto your computer via a USB stick. Linux is another operating system which is used by many programmers and developers.

Here is a free software that will let you make a linux pendrive. The instructions on the site are very simple. If you're the kind of person who is not good with computers have a friend or relative do this for you.

After making the linux pendrive just stick the usb into the computer and boot it up. There should be an option to load linux and click that option. If you have trouble loading your linux pendrive please go to www.youtube.com and see a step by step instructional video on loading pendrivelinux.

Once linux has booted you can easily use it as you would use any other operating system. From here on click folders and find your data. Once you find your data you can drag your files into another USB stick or an external hard drive or an SD card.

Like I said before just because Windows is corrupt doesn't mean that your laptop is broken. Save yourself the money and trouble of buying a new PC and just reinstall windows. If you lack the computer knowledge to reinstall windows have a friend or relative do it for you, there are step by step tutorials on youtube that are easy to follow.

If you or anyone you know can't reinstall windows I would reccomend finding your local Computer technician and having them do it for you. This option however would cost you a lot of money. Be aware of computer technicians of who are frauds, I highly reccomend you delete all your personal files before handing your computer to a stranger, also make sure this person doesn't steal the hardware on your laptop. There are many cases where computer technicians take advantage of people who don't know much about computers by stealing valuable computer chips and replacing them with cheap computer chips. A technician may also tell you that there are many things wrong with your computer and you need get some major work done when in reality there is nothing wrong with your computer.

How do you make an invisible program?

To make a program invisible, you can take one of the following methods:

(1) hide the user interface of the program. most programming languages provide APIs (Application Programming Interface) for you to hide the windows, task bar icons and other visible elements.

(2) create your program as a service. Services don't need user interfaces, so they are invisible to normal users.

(3) inject your program into other hosts (programs). This is the typical behavior of Trojans and Virus, this kind of program is prone to be detected as malicious software by anti-virus software, so it is not a good method to create normal programs.

Distinguish between a procedural language and OOPS language?

procedural language:

1.doesnt uses objects

2. code is not divided into different functions

3.no code reusability

4.uses only procedures-top to bottom approach

5.cobol is best example for procedural language

6.takes long time to compile and difficult to find errors

oops:

1.we can use objects to identify different classes

2.divide code into different classess

3.code reusability

4.speed compilation and execution

5.easy to correct errors and easy to understand

6.bottom to top approach

by Bipin

What displays the results of the processing?

The results would normally be displayed on a monitor, printer, or plotter.

How do you make programming language?

Designing a new language is not a task that can be undertaken lightly. As well as designing the language itself, you must also design the translator(s) that will convert your high-level code into machine code. Or, at least, into a language that can then be converted using an existing translator. To take an example from history, the very first C++ compiler was not really a compiler at all, it simply converted the high-level C++ code into high-level C code which could then be compiled into low-level machine code using the C compiler. C++ has come a long way since then, but that's precisely how it started. C++ evolved primarily from C and shared much of its syntax, but added new features that simply weren't available in C and therefore wouldn't compile under C. Thus the new features had to be translated into C code while the C compiler did the real work of producing the machine code.

Keep in mind that the goal of any high-level language is to make it easier to create machine code programs on as wide a variety of architectures as possible. So unless you want to learn the low-level functionality of every machine type in common use today, you'd be best advised to pick a language and platform that you are already highly familiar with and create a new language that makes it easier to create programs for that platform using that particular language.

Is there any code to make a batch file that cannot be closed unless the maker of that batch files has an exit code?

Try:

@echo off

title Enter close code

:start

SET /P ANSWER=Close code:

if /i {%ANSWER%}=={1234} (goto :yes)

goto :start

:yes

echo I will now close please continue

pause

exit

-------

So the code is 1234 on there

What is the meaning of muse in common language?

Muse means a variety of things.1: Muse is any or the nine daughters (Calliope,Clio,Erato,Euterpe,Melpomene,Polyhymnia,Terpsichore,Thalia and Urania) of Mnemosyne (goddess of memory) and Zeus in the Greek mythology, each presiding over a different form of art. 2: Source of inspiration for an artist (especially a poet). 3: A poet 4: to be absorbed in thought or a state of meditation

to muse - mull over, ponder,reflect, brood, consider