Exam 17: Theory of Computation

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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

Free
(Multiple Choice)
4.7/5
(44)
Correct Answer:
Verified

A

We use _______ to denote a program's complexity.

Free
(Multiple Choice)
4.9/5
(37)
Correct Answer:
Verified

B

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

Free
(Multiple Choice)
4.8/5
(39)
Correct Answer:
Verified

D

A Turing machine has these components: _______.

(Multiple Choice)
4.8/5
(39)

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

(Multiple Choice)
4.9/5
(36)

The _______ statement repeats one or more actions.

(Multiple Choice)
4.8/5
(35)

The _______ statement subtracts 1 from the variable.

(Multiple Choice)
4.9/5
(39)

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

(Multiple Choice)
4.7/5
(33)

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?

(Multiple Choice)
4.9/5
(42)

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

(Multiple Choice)
4.9/5
(33)

The _______ statement adds 1 to the variable.

(Multiple Choice)
4.8/5
(35)

The _______ is the theoretical counterpart of the CPU.

(Multiple Choice)
4.7/5
(46)

The controller has _______ states.

(Multiple Choice)
4.8/5
(39)

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

(Multiple Choice)
4.7/5
(37)
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)