Monday, May 16, 2016

Test

Given the following code, select the correct printed sequence
int number = 1;
int product = 1;
int maximum= 3;
while (number <= maximum)
{
  product=product*2;
  if (product== 8) {
   product=2;
  }
  print (product);
  number = number + 1;
}
    

  
You have used 1 of 2 submissions

QUESTION 2


(1/1 point)
Which of the following is NOT a program control structure?

  
You have used 1 of 2 submissions

QUESTION 3


(1/1 point)
Assembly language uses

  
You have used 1 of 2 submissions

QUESTION 4


(1/1 point)
The set of rules that defines the combinations of symbols that are correct in a language is called:

  
You have used 1 of 2 submissions

QUESTION 5


(1 point possible)
The three MAIN characteristics of a variable are:

You have used 2 of 2 submissions

QUESTION 6


(1/1 point)
We will code an algorithm in a high level programming language in:

You have used 2 of 2 submissions

QUESTION 7


(1/1 point)
The data type that have only 2 possible states, TRUE or FALSE is called:

  
You have used 1 of 2 submissions

QUESTION 8


(1/1 point)
When the control flow of a program is determined by the external signals received by the program, we are talking about:


QUESTION 9


(1/1 point)
The scope of a variable refers to:

You have used 2 of 2 submissions

QUESTION 10


(1/1 point)
To store the percentage of students that have passes an exam with precision, we will use:


When a primary key is referenced from another table, in this new table it is called…

No comments:

Post a Comment