answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

What is the Definition of datums?

a theoretically exact point, axis, or plane derived from the true geometric counterpart of a specified datum feature. A datum is the origin from which the location or geometric characteristics of features of a part are established.

How do you see all the websites your computer has been to I mean all of them?

you can open the explorer bar called history but that's the ones youvebeen to but havent deleted

Why cant you play computer games while your computer is booting?

Once you see your computer's desktop, your computer has already booted. However, this does not mean that all of your computers programs have already loaded. For some time after your computer has booted there are other programs that are still starting up. If you try to play a video game while these programs are still starting your computer will run very slow since it is trying to both run your game and start these programs at the same time.

What data structure does python use in place of arrays?

I believe Python's version of arrays is called dictionaries, although I am not completely sure and will have to check now...

What is the difference between Human expert vs expert system?

•DSS aid in problem solving by allowing for manipulation of data & models whereas ES allow experts to 'teach' computers about their field so that the system may support more of the decision making process for less expert decision makers. • DSS most often contain equations that the system uses to solve problems or update reports immediately, and the users makes the final decisions on the basis of the information whereas an expert system works from a much larger set of modeling rules,uses concepts from AI to process and store the knowledge base & scans base to suggest a final decision decision through inference. •DSS only supports the decision making process & a human user is required to weigh all the factors in making a decision whereas ES must acquire knowledge from an expert and apply a large but standard set of probability based rules to make a decision in a specific problem setting.

What are the examples of the word THERE?

* There are five minutes remaining. * Look over there. * There we go. * There, there. It'll be ok.

Is declaration of variables allocated memory?

Constants, static variables and global variables are allocated in the program's data segment at compile time. Local variables are allocated on the stack at runtime. Variables cannot be allocated on the heap, you must use a constant, static variable, global variable or local variable to store the start address of a dynamic memory allocation. The variable must be a raw pointer or a reference handle (a smart pointer).

Is earthbound zero for nes or gba emulator?

Yes, EarthBound Zero (or Mother) is available in English. Hopefully this YouTube video will help you: http://www.youtube.com/watch?v=72yEW_xTXDY

Write any five problem for tree traversal?

I can only think of one at the moment: It's a slow way of finding data. Let's say you have an employee tree, the CEO (Parent root) at the top, two children (Both managers), and each child has a further three children (Employees). If you had to find a certain employee, some trees force you to follow a certain path in order to locate them, some are more efficient that others, whilst some may take a long time.

Give a brief description about compiled and interpreted high level languages?

Any high level language may be either compiled or interpreted. The difference is in the execution speed. Interpreted programs must re-learn how to do each statement in the program, whereas a compiled program is already in the machine code language of the hardware and runs much faster.

What is R programming?

R programming simply means developing and writing programs using the R programming language. R is primarily used by statisticians and data miners.

Pros and cons of waching TV instead of reading a book?

well watching TV makes u lazy SO that is bad well personally i think reading books are better than watching TV and books are educational

Where can you play stick RPG complete?

Here are the Links to play Stick RPGs

Stick RPG-www.stickpage.com

StickRPGComplete-www.xgenstudios.com

Let me know if u need any other StickRPG Game

Welcome Bye

How do you use a computer to transfer audiotapes to cds?

I find the best way is to set up your stereo next to the computer and have a stereo out from the centre to the microphone in on computer, then configure you sound options to take input from the line in (Start > Accessories > Entertainment > Volume Control, Options, Properties, Recording, Ok select line in) then hit record on your sound recorder as you play the tape... Then after you save the recording burn it to a CD ;) The default sound recorder stops you after 60 seconds of recording and you must hit the record button again... There are ways around this but i recommend using a better program.

How memory space is occupied by union variables in C programming language?

A union is an aggregate of members that share the same memory address. The size of a union is determined by the largest member.

What is a file that ends in PDF?

PDF - Portable Document Format
This file format is created by Adobe Systems for exchanging of documents

How will you initialize a three-dimensional array thread 323. How will you refer the first and last element in this array?

The first element will be 0,0,0 and the last will be 2,1,2.

It's always best to think of multi-dimensional arrays in terms of a one-dimensional array. That is, a 3x2x3 array is really a one-dimensional array of 3 elements (the first dimension), where each element is a 2x3 two-dimensional array, and where each of those 2x3 arrays is a one-dimensional array of 2 elements (the second dimension), where each element is a one-dimensional array of 3 elements (the third dimension). Thinking in these terms makes it much easier to visualise arrays with 4 or more dimensions.

Arrays are always allocated contiguously, one element after the other. So the memory layout for your three dimensional array is as follows (where 000 means element 0,0,0):

{{000, 001, 002}, {010, 011, 012}}, {{100, 101, 102}, {110, 111, 112}}, {{200, 201, 202}, {210, 211, 212}}

The curly braces are merely notational, but they help to visualise the layout more clearly, dividing the memory into three groups of two groups of three elements. However, if we stack the three main groups one above the other it will be much easier to see visualise the structure:

{000, 001, 002}, {010, 011, 012} {100, 101, 102}, {110, 111, 112}

{200, 201, 202}, {210, 211, 212}

If you look at each row you can clearly see that the first digit in each element is the same throughout that row. However, each row is really a two-dimensional array (of 2x3 elements), so each row is really a 2x3 table. The top row is therefore table 0, the middle row is table 1 and the bottom row is table 2. Let's look at table 0 more closely:

Table 0:

{000, 001, 002}, {010, 011, 012}

Now let's stack the table's 2 elements so we can see the table more clearly:

Table 0:

{000, 001, 002}

{010, 011, 012}

Now the rows are identified by the second digit, where the top row is row 0 and the bottom row is row 1. Each row has three elements and the third digit identifies the column of that element (0, 1 or 2). Here's the complete structure:

Table 0:

Row 0: {000, 001, 002}

Row 1: {010, 011, 012}

Table 1:

Row 0: {100, 101, 102}

Row 1: {110, 111, 112}

Table 2:

Row 0: {200, 201, 202}

Row 1: {210, 211, 212}

From this we can clearly see that we can refer to any individual element through a table identifier (0, 1 or 2), a row identifier (0 or 1) and a column identifier (0, 1 or 2). Therefore to initialise this structure, we need to cycle through each identifier in turn. Here's how we do that using pseudo-code:

given array A [3,2,3]

for each table in 0 to 2

for each row in 0 to 1

for each column in 0 to 2

initialise A [table, row, column]

next column

next row

next table

Program to print prime numbers between 1 to100?

#include


void main()


{


int i, prime, lim_up, lim_low, n;


clrscr();


printf(“\n\n\t ENTER THE LOWER LIMIT…: “);


scanf(“%d”, &lim_low);


printf(“\n\n\t ENTER THE UPPER LIMIT…: “);


scanf(“%d”, &lim_up);


printf(“\n\n\t PRIME NUMBERS ARE…: “);


for(n=lim_low+1; n


{


prime = 1;


for(i=2; i


if(n%i == 0)


{


prime = 0;


break;


}


if(prime)


printf(“\n\n\t\t\t%d”, n);


}


getch();


}