answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

Who uses ICT?

Well there are a lot of people. Mostly schools and businesses. It is a much faster and efficient way of getting work done.

What channel is cinemax?

It's channel where you can watch movies all day.Good one though...

What is von-neumann archtecture and explain it with the help of diagram?

von neumann is the of person who first time notice data and instruction can resides in a single memory. he proposed that there should be a unit performing arithmetic and logical operation on data. these unit termed as arithmetic- logic unit He also gave another concept regarding logic components and their connection in specific fashion. All the components should be control by control unit. The memory unit stores all the information in a group of memory cell,also called memory location where data and instruction can resides in binary form

Who is the founder of PHP?

Rasmus Lerdorf, a Danish-Canadian born in Greenland, wrote the first version of PHP. He released it in 1995.

Can a DateTime variable be null?

hi i can say that datetime cant be null because datetime is valuetyp(struct) its not referece type(object)

What are the languages from which C was evolved?

C got its name because it was a successor to the B programming language (to which it is very similar). The various iterations of ALGOL also had an influence on C.

What are the relations between the different variables?

There are no relations between different variables. If you want to enable a relationship between variables, you must write the code to implement that relationship. Encapsulating the variables within a class is the most obvious way of defining a relationship between variables.

What are disadvantages of concurrency control?

I think the following could be the disadvantages of concurrency control:

1: resource consumption

In LibreOffice Writer what function did we have to open to view the registered databases?

Sometimes when people speak of "a database", they are just speaking of a single table, a grid of columns and rows. But if you're not going to at least use a form also, you might as well put the data in a spreadsheet. A better use of the word "database" implies a collection of one or more tables (one can be fine) and queries, forms and reports designed to make accessing the data in those tables easy and user friendly. In this sense, "the database" is the entity that contains those elements. Generally, the tables, etc, in "a database" should all be concerned with a single task. Examples of "a task": Managing a directory of the people in an organization, inventorying assets, tracking orders and stock, phonebooks, school lists, etc., etc. While you are trying to improve your ooBase skills, you may find yourself with "a database", a collection of tables, etc, which has unrelated things in it. If you are just "playing around", just trying to see if you've understood something, then there's no need to start a new database each time you want to, say, make a table and a create a report to display data from it. Just be careful to give any such databases sensible names. Use names like "ScrappyExperiments". If in doing some of my tutorials you choose not to open a new database for each one, that will usually be okay. Just be a careful that there is no overlap in the names of tables, forms, etc. I have a database called "Tmp". It contains a truly awful mishmash of scraps of projects in it. But if I just want to set up a table to see what values can be put into a "BigInt" field, I can create that table within "Tmp" with no consequences. When you are building a set of tables, forms, etc to address some real need, it would be wise to put them all, and only them, in their own database. Starting a new database is not difficult; if in doubt, do it.

What is the difference between array linklist?

Linked list consists of data nodes each pointing to next in the list .An array consist of contiguous chunk memory of predetermined size

What assembler do for system?

An assembler takes abbreviated names for computer instructions, like "MOV", and turns them into the numeric bytes which, when loaded into memory, can be executed by the CPU.

What interface does the user use to key in commands?

Generally the keyboard. The mouse can also be used if the commands are click-able buttons in a GUI environment.

Is the comment ignored by the compiler?

Usually, it is (there are special cases (not in C though), when compiler hints look like comments).

Write a program to sort two numbers using pointers?

This program works only on Microsoft compiler, people who are using another compilers will have to modify pointer initialization to

double vfirstNumber = 0.0;

double* firstNumber = &vfirstVariable;

...

double vsecondNumber = 0.0;

double* secondNumber = &vsecondNumber;

Or whatever you find is better.

#include <iostream>

using std::cin;

using std::cout;

using std::endl;

int main()

{

double* firstNumber = NULL;

cout << endl << "Enter first number: ";

cin >> *firstNumber;

double* secondNumber = NULL;

cout << endl << "Enter second number: ";

cin >> *secondNumber;

if (*firstNumber > *secondNumber)

{

cout << endl << *firstNumber << " > " << *secondNumber << endl;

}

else if (*firstNumber < *secondNumber)

{

cout << endl << *firstNumber << " < " << *secondNumber << endl;

}

else

{

cout << endl << *firstNumber << " = " << *secondNumber << endl;

}

system("PAUSE");

return 0;

}

How do you type an exponent when typing on a computer?

To type an exponent when typing on a computer, you can choose of 2 methods: The first method is ** usually inside brackets which makes it useless once you know that The second method is ^

If you have broken down on a two way road you have a warning triangle it should be displayed?

You have broken down on a two-way road. You have a warning triangle. You should place the warning triangle at least how far from your vehicle?

What is a macro habitat?

A Macro Habitat is a Habitat fit for normally size animals not small creatures.

Why gray code is called reflected code?

The gray code is reflected binary, the first eight values compare with those of the last 8 values after we remove MSB, but in reverse order.

Consider :

0000

0001

0011

0010

0110

0111

0101

0100

1100

1101

1111

1110

1010

1011

1001

1000

Remove the most significant bit (MSB) and you obtain a nice reflected sequal:

x000

x001

x011

x010

x110

x111

x101

x100

------ -- mirror

x100

x101

x111

x110

x010

x011

x001

x000

Please note that the same kind of result can be seen for Gray code of any width.