answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

What two types programming errors that can occur?

Two common types of programming errors are syntax errors and logic errors. Syntax errors occur when the code violates the rules of the programming language, preventing it from compiling or running. Logic errors, on the other hand, arise when the code runs without crashing but produces incorrect or unintended results due to flawed logic or assumptions in the algorithm. Both types can significantly impact the functionality and reliability of a program.

'A' is represented in the binary system as?

Most computers use ASCII (or some similar) encoding, in which 'A' is represented as 65, or 01000001 binary. Older IBM mainframes use an entirely different encoding.

What is optimization technique?

3 types of Optimization techniques are :

1.On page Optimization

your website should be seo optimiz

Title should be 60 cht

dec shlould be 158 cht

put alt tags on images

create sitemap

2.Off page Optimization

Submit you website all submission website

Directory

social bookmarks

Classified

Blogs

Rss

Article

3.Social Media Optimization

SMO is the new trend these days, its a helping hand for SEO.

'How does a C plus plus code execute on a computer system' like does the computer has a library or such that can understand C plus language and translate it into binary?

By execution time, the code has already been translated into binary ("compiled"). However, the program may still rely on outside libraries (.dlls for example) that have also been pre-compiled.

What is encapsulation in c?

Assume you were asking as in C#, not C. Because C is not an OO language, thus if there is encapsulation, it would be different.

The encapsulation in any OO language is to hide the information of data and the implementation detail of a method.

For example, you have a bank account as a private data member. Any one can ask you about the Balance of your bank account, e.g. GetDeposits(), an operation that is public. Wait, you now are richer, and you open 2 more bank accounts, the public still has the only accessing method GetDeposits(), to get your total deposits.

The encapsulation in this abstraction are:

1. The detail, the implementation of GetDeposits(), is not revealed to public.

2. The data member, 1 account or 3 accounts, no one got impact, and no one knows. (in fact, no one knows how many bank accounts you have!)

Computer topics for poster presentation?

give me a interesting topis for poster creation

for computer science students

What are advantages of multiprogramming?

Multiprogramming makes effifcient use of the CPU by overlapping the demands for the CPU and its I/O devices from various users. It attempts to increase CPU utilization by always having something for the CPU to execute.

What are the similarities between a process and a thread?

Thread and Process both do the same thing. ie. parallel jobs done on a CPU. The thread is under the process's control, ie. the programmer can control the thread regard to its priority, memory etc. I am not very sure about multi-threading and process-control under Windows. We have a process control system running on a 8086 based system. It is of Siemens make. It supports 64 threads which are called Tasks in their terminology. Initiation of task, suspending the task, readying the task etc is under the control the program, ie user software. In another computer Data General's M-600, we had multiple processes (max 64), each having a logical address space of 64 kilo bytes. Under each process we can have multiple tasks (I think max 32 tasks). The task control block is in the program's memory space. Intertask communication is pretty simple here. Sharing memory between tasks is simple as the entire memory of the process is under the control of the process. I have used a muti-tasking program under windows. One task continuously communicates with a groupp of microprocessor based controlers over RS-485, and another task processes the read data and does display, storage etc. The program was written in VC++(6.0) . Here the sharing of memory is easy as the entire memory of the process is shared between the tasks(threads). But VB uses something called compartmental multi-threading, meaning each thread has its own compartment of resources.

What school did Orville wright go to?

Orville Wright attended Central High School in Dayton, OH, but never graduated. Wright was born in Dayton on August 19, 1871.

Conclusion for artificial intelligence?

artificial intelligence is a branch of science which deals with the helping of machines find solutions to complex problems...

or...

the study ofand design of intelligent agent and the engineering of making intelligent machines..

What is non perspective drawings?

A Perspective Image is an image that looks realistic and tends to be almost 3D, there is at least one vanishing point. Think of an image of a road. Notice how the road is large where we stand but gradually gets smaller until we can't see it at all? That's where the vanishing point is.

A Non-perspective image is an image that lacks in a vanishing point and is almost flat.

What is siganl bandwidth?

Scroll down to related links and look at "Bandwidth and geometric mean".

How antropometrics related to architectural design?

if you're talking about "anthropometrics"....it is the ergonomics behind the building and the spaces within. the anthopometric data of a human being will help you decide the height of counters and width of doors etc. please refer nuferts or time saver's standards if you have it in you institute library. it may help. else there's always google :)

What are some examples of program music?

Music written to tell a story [APEX]
music writtin to tell a story

If you transfer a hacked Pokemon from Pokemon Ruby Sapphire Emerald FireRed LeafGreen to your Diamond Pearl Platinum on the DS will it corrupt your game in any way?

I don't know, but I wouldn't risk it. I got a leafgreen-same problem. I can't play any other games, but my games are bad anyway. last time i did that i corrupted.

What is the difference between micro operation and macro operation?

Micro operation is the level 2 operation, it is excute directly from hardware. Mainly used in provide macro instruction.

Macro operation is the level more than 2 (3,4) operation, depend on your CPU structure. Sometime, we call its assembly operation. It is excute by micro operation.

How do you uninstall Disney's Tarzan Activity Center from Windows XP when the disk is lost?

After hours of complete frustration, I finally found a number to Disney Interactive Studios and was given this to remove program from comp and it worked! My Computer

C Drive

Program Files

Disney Interactive

Tarzan Activity Center

right click for Menu

then click delete

ok ****Then immediately install program back onto computer and then uninstall using add/remove in control panel (this removes any other folders that was installed with program in the beginning)!****

Operation of XOR gate?

An XOR (exclusive OR gate) has two inputs and one output. If only one of the inputs is at level 1, then the output is 1 otherwise the output is 0. The truth table looks like this: A B Out

0 0 0

0 1 1

1 0 1

1 1 0 Exclusive OR represents in logic what "or" means in English; for example, if asked if you want tea or coffee it's usually meant that you can have one or the other - not both.

How do you apply artificial intelligence to a business?

Artificial intelligence represents a new way of thinking about software Most business—especially on the smaller end of the scale—are not actively developing their own artificial intelligence algorithms. Instead, they are adopting products that have AI features built in. Even so, there must be an understanding of how AI differs from previous software applications. Rather than operating on inputs in a deterministic way to produce results, AI programs take in large amounts of data and work in a probabilistic manner. This means that there is a higher degree of uncertainty in the results. AI may produce unique and disruptive insights, but those insights require some amount of validation.

What is the differnce between timer and counter?

A counter accumulates an unknown quantity of external events over a known interval of time.

The measurement of interest is typically frequency when the events are periodic. If the events are random, the measurement involves event density over time.

A timer accumulates a series events of a known interval over an interval that is being measured.

The measurement of interest is typically the time elapsed between two events. If the start and stop events recur periodically, multiple measurements can be made and averaged, allowing for increased resolution.

Counter/timers in MPU's are typically just counters that count external events in counter mode and processor cycles in timer mode.

Difference between BIOS and CMOS?

BIOS refers to (Basic Input Output System) it is responsible for booting of your system while DOS(Disk Operating System) is an operating system that user uses by entering commands in command prompt(to open in windows press start+r).

Where is the throttle position sensor located on a 1994 buick skylark?

it is located behind the ignition control module which is where your coil packs are mounted and your spark plug wires are connected. u cant see it u must remove the base plate and it is mounted to it. sticks through the engine block has o-ring.

Difference Artificial intelligence Artificial neural network?

The expression "man-made consciousness" traces all the way back to the mid-1950s, when mathematician John McCarthy, broadly perceived as the dad of AI, utilized it to portray machines that do things individuals may call shrewd. He and Marvin Minsky, whose work was similarly as compelling in the AI field, coordinated the Dartmouth Summer Research Project on Artificial Intelligence in 1956. A couple of years after the fact, with McCarthy on the personnel, MIT established its Artificial Intelligence Project, later the AI Lab. It converged with the Laboratory for Computer Science (LCS) in 2003 and was renamed the Computer Science and Artificial Intelligence Laboratory, or CSAIL.

Presently a pervasive piece of current culture, AI alludes to any machine that can reproduce human intellectual abilities, for example, critical thinking. Throughout the second 50% of the twentieth century, AI arose as an incredible AI approach that permits PCs to, as the name infers, gain from input information without being expressly customized. One procedure utilized in AI is a neural organization, which draws motivation from the science of the mind, transferring data between layers of supposed fake neurons. The absolute first counterfeit neural organization was made by Minsky as an alumni understudy in 1951 (see "Learning Machine, 1951"), yet the methodology was restricted from the outset, and even Minsky himself before long turned his concentration to different methodologies for making savvy machines. As of late, neural organizations have made a rebound, especially for a type of AI called profound realizing, which can utilize exceptionally huge, complex neural organizations.

socialprachar