It is possible, but you have to know what kind of database do you want to access, as well as the opearting system and C-compiler your are using.
How do you convert a C program into a Linux kernel module?
Quick Answer: You don't.
Long Answer: It will need a fundamental change before you can have a module that does anything similar. Kernel modules don't have the same purpose as programs. Kernel Modules are meant for device support and similar things. More than likely you don't actually want to move the program to kernel space.
What are the types of data in a hash table?
Well hash tables can store any type of data be it the fundamental data types like int, float, char or derived data types like structure , strings etc
Implementation in C++ at the Related link below.
How do you find by program a given number is integer or float?
If it contains a decimal point or an exponential part, then it should be handled as a float (or double).
You can determine an existing variable's type in C using the type() function
Write algorithm to find the sum of the digits in a given 4 digit no ex- no is 8516 then 8 5 1 6?
I cannot do your homework, if you cannot explain it properly.
You want to look at the RID allocation table for a DC What do you do?
In Command prompt type dcdiag /test:ridmanager /s:system1 /v (system1 is the name of our DC)
Does having a void double pointer make sense in C?
No, 'void *' and 'double *' are ok; 'void double *' is syntax error.
On the other hand 'void **p' is totally correct: p holds the address of a generic pointer.
What does Centricity have to do with structured analysis?
The centricity of structured analysis is to analyze an existing system or define business requirements for a new system, or both.
What programming language can create an operating system?
Any. As long as a language has the programming structures to access memory directly (DMA, IO ports, IRQ) AND it can be compiled (isn't run at a command interpretor) it can be used to create an operating system: the more general the language, the more platforms that OS can run on i.e. Binary/Machine Language is extremely hardware specific, Assembler less so, C (and Pascal and Fortran) even less so, C++/Smalltalk/Eiffel the least.
An OS doens't have to be 50 quintillion lines of code; the original Linux kernel and a few Gnu utilities ran on one floppy disk (1.44 meg), DOS 5 was 3 floppy disks, Windows 95 took about 150 meg on a CD, Windows NT about 300meg on CD, and so on. As each version of operating system grows in features, so does it storage footprint.
Why 1 is using as on state in binary language?
Computers are built off of electronic circuits, in which there is either no voltage or there is some positive number (usually 3.3V, 5V or 12V). 1 represents an electric charge while 0 represents no charge.
What is the definition of independant variable?
In math, The independent variable is the variable having something done to it.
examples:
a = 2b
b2 + 4 = a
a = 5 - b
In each of these, b is the independent variable and a is the dependent variable. You can make b be whatever you want it to be but a is dependent on what be is set to. In science, the independent variable is the one factor that you change in an experiment.
In a scientific experiment, you change one thing (the independent variable) and measure any consequent change in another thing (called the dependent variable, because its value depends on the independent variable). All other variables must be held constant to avoid confusing the issue.
In practice, the independent variable is either what you alter (such as the acidity, or the temperature) or it is time passing (for example, in an experiment in which you measure the changes in someone's blood sugar levels at various times after eating a meal).
_______________________________________________________________________________________________________
A factor or phenomenon that causes or influences another associated factor or phenomenon called a dependent variable. For example, income is an independent variable because it causes and influences another variableconsumption. In a mathematical equation or model, the independent variable is the variable whose value is given. In an experiment, it is the controlled condition(that is allowed to change in a systematic manner) whose effect on the behaviorof a dependent variable is studied. Also called controlled variable, explanatory variable, or predictor variable. Refer to Business dictionary for more information.
How can you defragment a disk?
Go to the disk->right click->properties->extra->defrag
---------------------------------------------------------------------------
If you are defragmenting with the Windows tool, you will also have to ensure that there is atleast 15% free space to defrag and ideally no other programs running should interrupt the task. The built in defragger also does not defrag system files. If you want, you can check out trial versions of comemrcial defrag programs that overcome all these limitations.
* In computer programming and some branches of mathematics, a string is an ordered sequence of symbols. ...
en.wikipedia.org/wiki/Text_string * An array of characters referenced by a pointer and a length word. A text string may contain up to 32,767 bytes of character data. ...
developer.apple.com/DOCUMENTATION/mac/Text/Text-593.html * character string enclosed in quotation marks or character variable name; the text that you want to display.
www.sfu.ca/sasdoc/sashtml/gref/z0218120.htm
How can we use characters in the switch statements to select the cases java?
Switch statements in Java can only use integer values. This means that we can switch on char values (because chars are simply ints with a different output type), but we can not switch on Strings or any other objects.
The following examples are both valid in Java.
// switch 1
int x = 1;
switch(x) {
case 0:
break;
case 1:
break;
default:
break;
}
// switch 2
char x = '1';
switch(x) {
case '0':
break;
case '1':
break;
default:
break;
}
Where can the source code of Prim Algorithm be found?
Algorithm's don't have source code per se. Source code depends on the programming language used to implement the algorithm and this will obviously vary from language to language. However, we often use pseudo-code to provide an informal language-agnostic implementation in human-readable form. Pseudo-code is not source code because it is not machine-readable and has no formal standard. However, it employs established structured programming conventions such as loops and variables, thus the code can be easily adapted to suit many high-level programming languages.
Prim's algorithm can be informally described as follows:
In pseudo-code, the algorithm can be implemented as follows:
Associate with each vertex v of the graph a number C[v] (the cheapest cost of a connection to v) and an edge E[v] (the edge providing that cheapest connection). To initialise these values, set all values of C[v] to +∞ (or to any number larger than the maximum edge weight) and set each E[v] to a special flag value indicating that there is no edge connecting v to earlier vertices.
Initialise an empty forest F and a set Q of vertices that have not yet been included in F (initially, all vertices).
Repeat the following steps until Q is empty:
Return F
Source: wikipedia
What is Microsoft silverlight?
Microsoft Silverlight is a framework for creating web pages with better support for multimedia, animation and interactivity than what is common on the internet today. It can be considered a more modern version of Adobe's Flash.
Other frameworks with similar functionality are Adobe AIR and JavaFX.
See related Wikipedia-link.
Microsoft Silverlight is a free web-browser plug-in. It is a tool for creating and delivering Internet applications and media experiences.
What does a compression program do?
what does a compression program do? what does a compression program do?
What is the value of a imbel b-square 7.62 assault rifle in a fitted plastic case?
Unless it was on the NFA list before 1986, maybe 800 USD.
How dollars are converted into rupees?
A rupee is currently worth about 2 cents. So 50 rupees equal one US dollar.
It is a booklet used to record checking account transactions.
To keep track of the amount of money in your checking account
Can you cook without using maths?
Math is used every day in cooking, examples; making a double batch of cookies or make a half batch of pancake batter. It would be hard to do if one didnot know how to multiply or divide.
there is no source code, xml is not a programming language, its a markup language for which you create your own tags, the basic xml syntax is <xml> to start an xml file, and </xml> to end the xml file.
How 'free' works in c language if you want to free a structure whose elements are itself pointers?
Assuming that the structure you want to free points to OTHER structures that have been malloc'ed, you need to free any malloc'ed elements that are pointeed to by the elements in your structure. Doing otherwise will result in a memory leak. As you free the elements of the structure, make sure that the pointers are NULL, then you should be able to free the structure. If you're doing all this in a UNIX like environment, all memory structures will be freed when the application ends. If you're doing it in a Windows environment, all bets are off.