Calibration quiz
Print and fill in this and give it to me. I will collect all answers and use it to calibrate the lectures.
1. Do you study at Chalmers or the University? What is your study line?
2. How many courses are you studying now?
3. What is the value of (\x.x) (\x.x)? (Here the symbol \ is used instead of the greek letter lambda)
4. The most important command in imperative programming languages is the assignment statement, usually written x = e where x is a variable and e is an expression. Explain the meaning of this command! First informally, then formally! You can assume that the evaluation of the expression e does not have any side effect.
5. Explain the difference between concrete and abstract syntax!
6. What is the difference between call by value and call by name?
7. Can you describe a Turing machine?
7. What set has the largest number of elements, the set N of natural numbers {0, 1, 2, …} or the set Q of rational numbers (i.e. numbers of the shape p/q where p and q are natural numbers and q>0? Can you explain why?