2
C200 Exam 1 with accurate detailed answers || || || || || ||
All Turing-Complete languages must have some form of : - ✔✔State, choice, and loop
|| || || || || || || || || || || || ||
Which symbol if for human and which is for robots?
|| || || || || || || || ||
a. I=
||
b. I- - ✔✔a. Humans
|| || || ||
b. Robots
||
How do we connect the two? - ✔✔I= -> I- is completeness
|| || || || || || || || || || ||
I- -> I= is soundness
|| || || ||
What is debugging? - ✔✔Fixing what is broken
|| || || || || || ||
What does a computer actually do? - ✔✔Use a collection of symbols and information in order to
|| || || || || || || || || || || || || || || || ||
act properly
||
What is state? - ✔✔Memory || || || ||
One of the fundamental elements of TCLs
|| || || || || ||
What is a bus? - ✔✔Connection between CPU and Memory
|| || || || || || || || ||
Where the information moves || || ||
What are the steps to build a function? - ✔✔1. Give the name to the argument of the function
|| || || || || || || || || || || || || || || || || ||
2. Give name to the function itself
|| || || || || ||
3. Provide code for the computation
|| || || || ||
4. Show what the function produces
|| || || || ||
C200 Exam 1 with accurate detailed answers || || || || || ||
All Turing-Complete languages must have some form of : - ✔✔State, choice, and loop
|| || || || || || || || || || || || ||
Which symbol if for human and which is for robots?
|| || || || || || || || ||
a. I=
||
b. I- - ✔✔a. Humans
|| || || ||
b. Robots
||
How do we connect the two? - ✔✔I= -> I- is completeness
|| || || || || || || || || || ||
I- -> I= is soundness
|| || || ||
What is debugging? - ✔✔Fixing what is broken
|| || || || || || ||
What does a computer actually do? - ✔✔Use a collection of symbols and information in order to
|| || || || || || || || || || || || || || || || ||
act properly
||
What is state? - ✔✔Memory || || || ||
One of the fundamental elements of TCLs
|| || || || || ||
What is a bus? - ✔✔Connection between CPU and Memory
|| || || || || || || || ||
Where the information moves || || ||
What are the steps to build a function? - ✔✔1. Give the name to the argument of the function
|| || || || || || || || || || || || || || || || || ||
2. Give name to the function itself
|| || || || || ||
3. Provide code for the computation
|| || || || ||
4. Show what the function produces
|| || || || ||