Deck 17: Theory of Computation

ملء الشاشة (f)
exit full mode
سؤال
The _______ is the theoretical counterpart of the CPU.

A) disk
B) tape
C) controller
D) read/write head
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
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
سؤال
The _______ statement repeats one or more actions.

A) increment
B) decrement
C) loop
D) complement
سؤال
We use _______ to denote a program's complexity.

A) the Turing number
B) big-O notation
C) factorials
D) the Simple Language
سؤال
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
سؤال
The _______ statement subtracts 1 from the variable.

A) increment
B) decrement
C) loop
D) complement
سؤال
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
سؤال
The _______ statement adds 1 to the variable.

A) increment
B) decrement
C) loop
D) complement
سؤال
To assign a number to a variable, we use the _______ statement(s).

A) increment
B) decrement
C) loop
D) decrement and loop
سؤال
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
سؤال
In a Turing machine, the _______ holds a sequence of characters.

A) disk
B) tape
C) controller
D) read/write head
سؤال
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
سؤال
The controller has _______ states.

A) three
B) four
C) a finite number of
D) an infinite number of
سؤال
To clear a variable, we use the _______ statement(s).

A) increment
B) decrement
C) loop
D) decrement and loop
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/14
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 17: Theory of Computation
1
The _______ is the theoretical counterpart of the CPU.

A) disk
B) tape
C) controller
D) read/write head
C
2
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
D
3
The _______ statement repeats one or more actions.

A) increment
B) decrement
C) loop
D) complement
C
4
We use _______ to denote a program's complexity.

A) the Turing number
B) big-O notation
C) factorials
D) the Simple Language
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 14 في هذه المجموعة.
فتح الحزمة
k this deck
5
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 14 في هذه المجموعة.
فتح الحزمة
k this deck
6
The _______ statement subtracts 1 from the variable.

A) increment
B) decrement
C) loop
D) complement
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 14 في هذه المجموعة.
فتح الحزمة
k this deck
7
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 14 في هذه المجموعة.
فتح الحزمة
k this deck
8
The _______ statement adds 1 to the variable.

A) increment
B) decrement
C) loop
D) complement
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 14 في هذه المجموعة.
فتح الحزمة
k this deck
9
To assign a number to a variable, we use the _______ statement(s).

A) increment
B) decrement
C) loop
D) decrement and loop
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 14 في هذه المجموعة.
فتح الحزمة
k this deck
10
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 14 في هذه المجموعة.
فتح الحزمة
k this deck
11
In a Turing machine, the _______ holds a sequence of characters.

A) disk
B) tape
C) controller
D) read/write head
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 14 في هذه المجموعة.
فتح الحزمة
k this deck
12
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 14 في هذه المجموعة.
فتح الحزمة
k this deck
13
The controller has _______ states.

A) three
B) four
C) a finite number of
D) an infinite number of
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 14 في هذه المجموعة.
فتح الحزمة
k this deck
14
To clear a variable, we use the _______ statement(s).

A) increment
B) decrement
C) loop
D) decrement and loop
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 14 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 14 في هذه المجموعة.