Programming Flashcards
The first declaration in a program: ie. int list [];
allocation
The following:
y=10; x=0;
while(!x=y);
x++;
the loop invokes the______
empty statement
A pretest loop could be formed by the _________ structure
for loop
True of False:
Math.random() * 100 could not produce Zero (0)
False: it can produce 0
what variable name would cause an error in java?
a. modulo
b. all of the given answers
c. public
d. MyProgram
e. theMethod
c. Public
the fastest, single processor sort available can be shown by the algorithm…
nlog(n)
Which of the following would be considered an accumulator?
a. x=x+b
b. x++
c. ++x
d. x=x+5;
e. ,all of the above
a. x=x+b;
if(cx)
x++;
the fragment of code represents ________ logic
AND
the programs that translate high-level English language programming code to machine level code the computer can use are called….
compilers