Measurable Outcomes and Assessment Methods Flashcards

1
Q

what is an expression?

A

an input that “evaluates” to a result e.g: 1+1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what are the three mechanism that a program language uses to create complex programs

A

• primitive expressions, which represent the simplest entities the
language is concerned with,
• means of combination, by which compound elements are built
from simpler ones, and
• means of abstraction, by which compound elements can be named
and manipulated as units.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the two broad elements used in programming

A

procedures and data

  • Data is “stuff”
  • Procedures are “instructions” on how to manipulate that data

(more details example can be found on page 6 of the Interpretations of Structural programing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the kinds of expressions

A
  • Numbers
  • Symbols
  • Lambda expressions
  • Definitions
  • Conditionals
  • Combinations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Substitutions rule

A

To evaluate an application

evaluate the operator to get procedure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly