Why is the Size of an empty class 1 byte?
In order that unique objects have unique addresses, it is necessary for all objects to consume some memory. normally this is not a problem, unless the struct/class contains no data...
Well, the RSOD is like the BSOD (same thing) but is impossible to treat. It says it is possible with Microsoft System Recovery but it has never worked. If you ever got the RSOD you probably got technical support to fix it.
The RSOD (Red Screen of Death) will be shown when there has been a boot loader error in Windows Vista. There are several possible causes for this and if you are uncomfortable trying to solve your own computer problems, you should bring it to a repair shop; some of the possible solutions can further damage your computer if done incorrectly.
What is the full form of OPERAND?
The following full form is pedmas:
p = parenthesese = exponentsm = multiplicationd = divisiona = additions = subtraction
A system used to connect incompatible networks is called what?
A system used to connect incompatible networks is called a gateway.
It is useful when the situation calls for it. For example, a static int called instanceCount that counts the number of instances of a given class that exist on the heap would definitely be shared using the keyword "static" in front of the type in the declaration because if it were not static, the count would be reset every time someone made a new object.
How many bytes are required to store the name Bill?
4 - one for each character. However, depending on the computer language being used, there is some "overhead" - for example, with "C", the end of a text string is indicated with a null character, so "Bill" would need 5 bytes. Other languages precede strings with their length, the length taking 2, 4 or 8 bytes.
Can you call a constructor from another if a class has multiple constructors?
Yes. All you need to do is to specify the correct number of arguments to invoke the correct constructor.
What is the difference between declaring variable and initializing variables?
Actually, there is a third step, call definition.
Declaration is a statement to the compiler of what type an identifier is, definition is the allocation of memory for that identifier, and initialization is the assignment of an initial value to that identifier. Usually, declaration and definition are done together, but you can also add initialization in that step if desired.
int a; /* declaration and definition */
a = 1; /* initialization */
int a = 1; /* declaration, definition, and initialization */
For the case of seperate declaration and definition, consider the struct...
struct _mystruct { int a; }; /*declaration */
struct _mystruct mystruct; /* definition */
struct _mystruct { int a; } mystruct; /*declaration and definition */
Note: To be more precise:
struct _mystruct; /* struct declaration */
struct _mystruct { int a; }; /* struct definition */
typedef struct _mystruct MYTYPE; /* type definition */
extern struct _mystruct mystructvar; /* variable declaration */
struct _mystruct mystructvar; /* variable definition */
struct _mystruct mystructvar = {7} ; /* variable definition with initialization */
struct _mystruct { int a; } mystruct; /* struct definition and variable definition */
extern struct _mystruct { int a; } mystruct; /* struct definition and variable declaration */
What are the different types of memory access?
There are two types of memory access.
1- uniform memory access (uma)
2- non-uniform memory access (numa)
There are a number of things which are new in science. This is mostly in terms of technology where now almost everything can be done online including shopping, medical diagnosis, work, meetings and so much more.
Negative impacts, are consequences of certain actions that result in bad things happening.
Eg: I bully a kid in preschool, he develops depression
9.34 ms
A = A xor B
B = A xor B
A = A xor B
in C...
A^=B;
B^=A;
A^=B;
Why it is so difficult to design a good device interface standard?
There are so many factors that needs to be known before the interface can be built to be sure that there is room for growth of the system
Difference between all mll and hll?
HLL is what we humans use. Its full name is High Level Language. MLL is what machines use. Its full name is Machine Level Language. The difference is, HLL is our language (e.g English) and MLL is machines language (binary code)
Binary code is 0s and 1s so "A" could be 010 in MLL. MLL is understood only by the computer and not humans
Meaning of sequential access method and example of it?
Sequential access basically means accessing things one after the other in order. For example reading all the numbers from 1 to 10 by starting at 1, then 2, then 3 etc.
What types of computers are there?
FriPilot
Three kinds of relationships in object oriented modeling?
What are the applications of selection sort?
None. Selection sort can only be used on small sets of unsorted data and although it generally performs better than bubble sort, it is unstable and is less efficient than insert sort. This is primarily because insert sort only needs to scan as far back as required to perform an insertion whereas selection sort must scan the entire set to find the lowest value in the set. And although selection sort generally performs fewer writes than insert sort, it cannot perform fewer writes than cycle sort, which is important in applications where write speed greatly exceeds read speed.
Unfortunately you would need to take a 4 year electronic engineering or computer engineering degree course to fully understand this subject and I don't have the time to type that much information. Especially for free. I had to pay for my degree.