No. Computers do not convert program source code into machine code, period. That job is the responsibility of another piece of software, known as the interpreter or compiler, a machine code program which effectively tells the computer how to perform the translation from source code to machine code. The computer cannot do this job by itself as computers only understand machine code and nothing else.
An interpreter simply converts each statement of source code into the equivalent machine code and executes it, one statement at a time. This is extremely slow because subroutines that are called many times must be translated each time they are called, for instance. Thus the source code must always be executed within the interpreter software.
A compiler, on the other hand, converts the entire source program into object code which can then be linked to produce the required machine code. Once linked, the machine code will execute without any further interpretation, and is therefore known as a standalone executable.
Assigning a value to a variable in a declaration statement is called?
Answer is; initialization
*** Edit***
Initialization is correct.
Page 59
Programming Logic and Design by Tony Gladdis
They are much smarter than you and they multi task like you breath
EDIT: we actually are not "bad guys" that "hack" your accounts and steal your money/information/privacy, those so called hackers are not hackers, they are crackers and the majority of the hacker community hates them, it's like if you know how to hot wire a car won't make you an engineer.
hackers are programmers who mostly gave away their programs, ideas and source codes and help to debug other programmer's problems, hackers may also refer to as a program customiser(yes this is british English) like the famous Apple Dev Team and game mod creators, we are a bunch of people that like to help out and have fun, improving our skills by improving other people's skills, noted that people that cracks other people are not hacker, although hackers do have the ability to crack an account, this doesn't make them bad. It is like you know how to kill, but you are not bad as long as you don't kill.
most hackers are fond with the Linux operating system and very little like mac (due to mac's "preset" programs and the lack of utilities to develop softwares out of mac), if you are interested in being a hacker, you should learn how to program first, i recommand starting with LUA, as it is light weighted and easy to learn/use. by the way, that is my first learned scripting/programming language. you should also learn how to use perl and if you are good enough (which im not since im only 14 but it's impressive enough since im reli 14 only), you should also learn .NET, C, C++ and the powershell is also useful, you should try some Linux operating systems
and sorry for writing a book
from an amateur hacker
The formula, as far as I can see, is not appropriate for the algorithm.
How much does a cnc programmer earn?
between 7.50 and 9.00 pound per hour were i work in bolton $47100/yr. in St. Louis, MO (Sr. Programmer)
What are examples of multimedia?
There are various examples of multimedia in web technology. Images, videos and audios are examples of multimedia in real life.
What is testing and debugging?
Testing is reporing that issue/defect is present in the system. That is finding the issue by Running/executing the system.
Debugging: Running/executing system/program in order to correct the issue.
For eg. in a system equation (a+b)-(c+d) when we input values a=4. b=3, c=2, d=1
Tester when enterd above values answer is 5 instead of 4. This is defect found by testing.
Developer now debugs the system by executing a+b first, checking the result, then c+d and tries to debug the problem.
In this case it was found that a+b was not working properly as b was taking value of a.
Is the Process Scheduler is also called the high-level scheduler?
No. The Job Scheduler is the high-level scheduler.
What is meant by counting and indexing in assembly language programming?
The Counter Register (RCX and all smaller variants) are used to count loops with a known value, such as counting from 1 to 100. The indexing registers, such as RSI, are used with data manipulation commands, such as reading and writing hardware ports, moving data from one location to another, etc. The term indexing is the same as in other languages, where an index is an offset into an array.
Turbo C example of program that implements Stack?
/*Linked List Implementation of STACK*/
/*Checking of parenthesis in expressions*/
#include<conio.h>
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#define M 100
typedef struct node *nd;
struct node
{
char p;
nd next;
}NODE;
void getExpression(char expr[]);
void checkParenthesis(char expr[],int *);
void dispResult(int);
nd top,bottom;
int main(void)
{
char expr[M];
int r;
getExpression(expr);
checkParenthesis(expr,&r);
dispResult(r);
return 0;
}
void getExpression(char expr[])
{
clrscr();
printf("Input an expression: ");
gets(expr);
}
void checkParenthesis(char expr[],int *r)
{
int f=0,l,i;
char e;
nd tp,t;
top = NULL;
bottom = NULL;
l = strlen(expr);
for(i=0;i<l;i++)
{
e=expr[i];
if(e == '(')
{
tp = malloc(sizeof(NODE));
tp->p=e;
if((top==NULL) && (bottom==NULL))
{
tp->next = NULL;
top = tp;
bottom = tp;
}
else
{
tp->next=top;
top=tp;
tp=NULL;
}
}
else if(e==')')
{
if(top==bottom)
{
if(top==NULL)
{
f=1;
break;
}
else
{
top=NULL;
bottom=NULL;
}}
else
{
t=top;
top=top->next;
t->next=NULL;
}
}
}/*end of for loop*/
if(top != NULL)
f=1;
*r=f;
}/*end of function checkParenthesis*/
void dispResult(int r)
{
clrscr();
if(r==0)
printf("The expression has a balance parentheses.");
else if(r>0)
printf("Unbalanced parentheses.");
getch();
}
/*
if(top==bottom)
{
top=NULL;
bottom=NULL;
}
else
{
if((top==NULL)&&(bottom==NULL))
{
f=1;
break;
}
else
{
t =top;
top = top->next;
t->next = NULL;
}
}
}
*/
/*eahjie*/
A margin is a space separating text or other elements from the edge of the paper commonly adjusted through the page setup. Most programs allow for the Top, Bottom, Left, and Right margins to be set. The standard margin settings are 1" Top and Bottom and 1.25" Left and Right.
How do i post my own webpage in the internet?
There are many ways to post a webpage onto the Internet. If you would like an individual web page, you should purchase a domain name. These require annual payments but can be very cheap (I found one that is $5.95). Then you must sign up for a web hosting site that will allow you to post your web page onto the Internet. Many of these require a one-time payment of up to $50.00 for full benefits. The advantages of paying for these: You don't get pesky advertisements and you can choose your domain name. Another option would be to go to geocities.com and sign up there. They provide free domain names and free hosting, but if you get the free package, an advertisement shows up on your webpage and it can become very annoying. They offer domain names that are in this format: http://www.geocities.com/yourwebsitehere
This can be very hard to remember. I believe there are deals in which you can redirect the page to a domain name you have purchased. Then, there are MANY blog hosts for FREE on the Internet. Some popular engines include Weblog and Blogspot (Blogspot is sponsored by Google). These are free and very useful. However, they are formatted to be blogs, so if your webpage is not in a format of a blog, this will not work. With those blog hosts, you need not create a webpage; they provide VERY easy and handy tools for you to create a blog within seconds.
You need to understand a subroutine's in order to use it?
You need to understand a subroutine's ____ in order to use it.
a. internal structure
b. local variables
c. programming style
d. interface
Two common words meaning 'dot':
点 (てん) = 'point'; 'dot', as in 'draw a dot on a paper'
ドット (どっと) = 'dot', as in 'www dot google dot com'
What is a really good free website for kids?
There are alot of good kid websites , some that my cousins use are poptropica.com , Barbie .com , stardoll.com , mostfungames.com , addictinggames.com , they are all free but on stardoll if you want to upgrade it cost money each month ,but it is just as fun without membership. Plus they all don't cause viruses . :)
What is difference between hardware language and software language?
in my opinion hardware language is actually that which is easily understandable by hardware and that is machine language (depends on binary notation 0,1) and software language is used to make applications which is high level language. c#, c++, etc
What does data type mean in I.C.T.?
Data is stored in databases. To make the database more efficient, different types of data are usually classified as a certain 'data type'.
What were the major differences between first generation languages and second generation languages?
The main difference is that first generation languages (1GL) are low-level while second generation languages (2GL) are high-level. Before there were any programming languages everything had to be coded manually using machine code, the native language of the machine (0GL if you like). However, it was quickly realised that the computer itself could be programmed to assemble the machine code from a symbolic language which became known as assembly language, the first 1GL language. Each machine required its own assembler because the symbolic assembly language, like the machine code it produced, was machine-specific. That is, machine code could only operate upon machines of the same type.
1GL languages made programming easier, however every program still had to be designed and coded in minute detail. Thus more complex languages began to appear, languages which incorporated a greater degree of abstraction between the source code and the machine itself, allowing the production of many assembly instructions in just a few lines of "high-level" source code. These became the first of the 2GL languages. The programs that performed the translation from source code to assembly code became known as compilers (which were originally written in assembly language, of course). The resultant assembly code could then be optimised by hand before being fully assembled. However, as these new languages advanced, they began to incorporate their own optimisers and could emit the machine code directly. More importantly, as each machine had its own compiler, the same high-level source code could be "ported" to different machines. These became the 3GL languages, with C being the most prevalent until the introduction of C++ in 1983.
These days the terms 4GL, 5GL (and even 6GL!) are used to describe some new languages, but they are meaningless terms because once you have portability between machines (which was achieved with 3GL), there's really nothing new you can add to any language that can surpass portability. All new languages are just better 3GL languages! The "generation" labels are typically used by marketing types to make one language seem superior to another even when the perceived "enhancement" is insignificant or, in some case, completely non-existent! There are perfectly adequate 3GL languages that, through simple improvements and continued development, are fully capable of achieving the same ends as any so-called 4GL+ language. Languages are best categorised by their primary features: whether they are functional, empirical, procedural, structured, object-oriented, and so on, or by the fields in which they specialise, whether it be general purpose programming, business programming or artificial intelligence programming. These tell you far more about a specific language than any meaningless "generation" label ever can.
What is software pipelining on multi-core architectures?
Myguess for "software pipelining"
General: Pipelining in general is when one tries tries to do concurrent work to speed up "execution" of otherwise sequential work.
HW: Some CPU's has this. It does instructions concurrent with the exception of:
* guesses at each branch (non-determeninism)... In a high abstraction level program language this would look like; if, while, for or goto. A binary choice. So an implementation should not fail more then a half the time usually better). On a fail the concurrent work in pipeline is discarded
* dependency may also cause the pipe not to be full all the time (excluding startup, where the pipeline is empty). The number of pipes can vary between CPU models.
Software: Several CPU's are treated as pipes. And some code where execution time is analyzed (All cores are usually equally fast, but instructions can vary in some interval.) and determinism is verified (for example matrix multiplication or line tracing). Now the "Race condition" is reduced to car A starting b4 car B and B never having a chance to catch up with B.
If line tracing is to be 'Software Pipelined' you have to imagine all the rays moving at the same time. And the number of "photons" on a path between viewer and light-source is less or equal to the number of Cores/Pipelines. Now the only problem one is left with is to guess where all the objects that influences perception might be in the future (most noteworthy is viewer). Harr harr.
a s s