What does compiler mean in programming?
A compiler is a program that converts the language into machine code, also known as binary (1s and 0s). Not all programming languages need compilers. Some are assembly and still others can just be straight and utter machine code.
The maximum number of elements will depend on the type of array and the available memory. An array of char requires only 1 byte per element but an array of pointers requires 4 bytes per element (8 bytes on 64-bit systems). Arrays of objects or structures would likely require more memory per element.
For all practical purposes, the maximum size is 2,147,483,647 elements, which is the maximum positive range for a 4-byte integer (0x7FFFFFFF). At 1 byte per element, that works out at 2GB.
What is difference Between Vessel Column?
Pressure vessel is designed to withstand circumferential load,known as Hoope Stess, but column takes the axial load.
How do you design a half-adder using NOR gate?
Use 4 NOR gates.
For the 1st NOR gate, inputs should be x' and y
For the 2nd NOR gate,inputs should be y' and x
The outputs of NOR 1 and NOR 2 are taken as inputs of NOR gate 3
The output of NOR 3 is the complemented form of the output required, so, just complement the output of NOR gate 3 with another NOR gate and Viola!, you have your HALF ADDER OUTPUT
PS:I have used a double rail logic, where both x:x' and y:y' are available
What programming language is use to create a website?
At the most basic level is HTML and CSS. CSS is used mostly for the layout and visual design of the website. Usually combined with those is JavaScript. However, more and more websites are using PHP and MySQL. These are becoming more popular and if you ever want to have a website with multiple user accounts that your visitors can log into, PHP is probably the way to go. Might as well start out with it, then add this ability later when you're ready for it.
Function of web based application?
This mean that you can make document without software installed on computer,if you have windows live account,you can make Word document online from any computer,or Excel spreadsheet,onenote notebook
What is an example of an algorithm?
A computer algorithm is any set of instructions that a computer could use to produce a result. An example would be "given a numeric input, multiply that value by 9, divide the result by 5, then add 32." This is how a Celsius temperature is converted into Fahrenheit.
What are the advantages of a pointer variable?
Arrays takes consecutive memory space.
So, if you have 5 consecutive memory blocks free which is consecutive, an error will
occur while creating an array which takes more than 5 blocks of memory.
But if you use pointer, then it don't need consecutive memory blocks all the elements can be placed anywhere in memory.
How do you remove Write Protection from a disc?
it depends on what type of disk if it is a 3.5 inch floppy then there is a tab on the corners that can be moved up or down. if you can see through it , it is write protected if not it can be used.
What high level programming languages are translated by a compiler?
Almost any language can be used to develop a compiler. The first compilers were written in assembly language or machine code but today they are typically written in C or (more commonly) C++. Other languages can be used, however the key aspects of any compiler are speed and efficiency, in which both C and C++ excel.
Who are the ancestors of C programming language?
programming languages B and BCPL which was used to derive C
When one dimensional character array of unspecified length is assigned an initial value?
string[] str= new string[2]{"ss","gg"}
for(int i=0;i<str.length;i++)
{
Response.wrirte(str[i]);
}
Is called machine code
What are circular doubly linked lists?
circular linked list is type of linked list used in data structure where address of 1st node is stored in the link part of last node
data1link1 ................... datanlinkn
address1 here linkn=adress1
(node1) (noden)
pratima patwa
Do computer programmers have the knowledge to hack things?
Sometimes yes, sometimes no. Many hackers use pre-scripted tools and have no real understanding of how they work. The hackers who write the tools of course have a pretty good understanding of how viruses work.
How can insert a data into file in c?
You insert data into a file by copying the file to a temporary file up to the point of insertion, then copying the data to be inserted, then copying the balance of the original file. After closing the temporary file you delete the original file and rename the temporary file back to the original file's name.
What programming language uses a set of grammar and rules that specifies how to write instructions?
Every programming language has rules that specify how to write instructions. Many programming languages are similar, but mostly they all have different styles and ways of writing the same instructions. This is called the syntax.
What is the most popular productivity software program?
The Microsoft Windows series of operating systems could be considered the most used computer program as well as Microsoft Office and Microsoft Internet Explorer. While these programs are not "popular," they are the ones used most often by the greatest number of people.
(One contributor notes that an operating system is not a computer program in the sense that the asker probably intended.)
How would you obtain a far address from segment and offset address of a memory location?
Pointers to far objects are stored using four bytes (32 bits). The bytes are stored little endian or low to high order. The first word contains the 14-bit memory offset (bits 14 and 15 are always 0). The second word contains the page number (or segment number for function pointers). The memory address is calculated as follows: Variable Address = (Page * 0x4000L) + OffsetFunction Address = (Segment * 0x10000L) + Offset
Write a java program to print the following output using the for loop 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5?
12345
1234
123
12
1
1 What are the three basic functional blocks of a computer?
Binary bits. This is 0s and 1s. Everything else is built up from these 0s and 1s to make more human-understandable language.
0s and 1s are used because it is very easy to make clear, definable electrical signals for 0 and 1. It is simply "on" and "off".
examples of internal noise.thermal noise,short noise,i/f noise