Filters
Question type

Study Flashcards

The _______ statement subtracts 1 from the variable.


A) increment
B) decrement
C) loop
D) complement

Correct Answer

verifed

verified

The _______ statement repeats one or more actions.


A) increment
B) decrement
C) loop
D) complement

Correct Answer

verifed

verified

We use _______ to denote a program's complexity.


A) the Turing number
B) big-O notation
C) factorials
D) the Simple Language

Correct Answer

verifed

verified

B

In a Turing machine, the _______ holds a sequence of characters.


A) disk
B) tape
C) controller
D) read/write head

Correct Answer

verifed

verified

A _______ shows, among other things, the movement of the read/write head, the character read, and the character written.


A) diagram
B) flowchart
C) transition table
D) Turing machine

Correct Answer

verifed

verified

A _______ is a pictorial representation of the states and their relationships to each other.


A) transition diagram
B) flowchart
C) transition table
D) Turing machine

Correct Answer

verifed

verified

A

To clear a variable, we use the _______ statement(s) .


A) increment
B) decrement
C) loop
D) decrement and loop

Correct Answer

verifed

verified

D

The controller has _______ states.


A) three
B) four
C) a finite number of
D) an infinite number of

Correct Answer

verifed

verified

A Turing machine has these components: _______.


A) tape, memory, and read/write head
B) disk, controller, and read/write head
C) tape, controller, and read/write head
D) disk, memory, and controller

Correct Answer

verifed

verified

The _______ is the theoretical counterpart of the CPU.


A) disk
B) tape
C) controller
D) read/write head

Correct Answer

verifed

verified

To copy the value of one variable to another, we use the ____ statement(s) .


A) increment
B) decrement
C) loop
D) increment, decrement, and loop

Correct Answer

verifed

verified

To assign a number to a variable, we use the _______ statement(s) .


A) increment
B) decrement
C) loop
D) decrement and loop

Correct Answer

verifed

verified

The _______ statement adds 1 to the variable.


A) increment
B) decrement
C) loop
D) complement

Correct Answer

verifed

verified

The complexity of a problem is O (log10 n) and the computer executes 1 million instructions per second. How long does it take to run the program if the number of operations is 10,000?


A) 1 microsecond
B) 2 microseconds
C) 3 microseconds
D) 4 microseconds

Correct Answer

verifed

verified

Showing 1 - 14 of 14

Related Exams

Show Answer