Ite 1 Reviewer
Ite 1 Reviewer
Ite 1 Reviewer
What is Computing?
-is the ultimate mental amplifier
-can mechanize any intellectual activity we can imagine.
Numbers
Discrete Values
Text
Rich Data
Summary
Science- understand aspects of nature deeply enough to make accurate quantitative predications.
Engineering- use scientific principles to create their designs, and focus on designing under practical
constraints.
Liberal Arts- purpose of expanding the intellects of free people from the illiberal arts
- medicine and carpentry that were pursued for economic purposes
• Grammar — “the art of inventing symbols and combining them to express thought”
• Logic — “the art of thinking”
• Rhetoric — “the art of communicating thought from one mind to another, the adaptation of
language to circumstance”
LANGUAGE
What is language?
-set of a surface form and meanings and mapping between the surface forms and their associated
meanings.
TYPES OF LANGUAGES:
- NATURAL LANGUAGE
-A LANGUAGE SPOKEN BY HUMANS LIKE ENGLISH OR S WAHILI .
- DESIGNED LANGUAGE
-FOR EXPRESSING PROCEDURES TO BE EXECUTED BY COMPUTERS.
- TEXTUAL LANGUAGE
-FOCUSES ON LANGUAGE WHERE SURFACE FORMS ARE SEQUENCES OF CHARACTERS.
String
-IT IS A SEQUENCE OF ZERO OR MORE CHARACTERS.
ALPHABET
-EACH CHARACTER IS A SYMBOL DRAWN FROM A FINITE SET.
Grace Hopper
-She was a pioneer of computer programming.
-American computer scientist, mathematician.
LANGUAGE INFINITY - a useful language must be able to express infinitely many different meanings.
COMPONENTS OF LANGUAGE:
PRIMITIVE LANGUAGE - we can create a new word by adding anti- in front of an existing word.
MEANS OF ABSTRACTION- allows us to simplify complex ideas by giving them a simple name.
To define a language- we need to define a system that produces all strings in the language and no other strings.
Terminals- labels on the output edges of the RTNs that we have seen are straight outputs.
Backus led efforts at IBM- the first widely used programming language.
Nonterminals- these are the symbols on the left side, not in the final string.
- represented in Italics
PROGRAMMING
COMPILER- is a computer program that generates other programs.
Scheme - The input to our programming system is a program written in a programming language.
- State
- Resources
Evaluation Rules:
Problem- defined by its inputs and the desired property of the output.
Procedure- precise description of a process and a procedure is guaranteed to always finish is called an algorithm.
- Algorithm is a Latinization of the name of the Persian mathematician and scientist, Muhammad Ibn
Musa AlKhwarizmi.
COMPOSING PROCEDURES - involves combining multiple procedure is used as the input for another, resulting in a
more complex solution.
higher-order procedure- is a procedure that takes other procedures as in- higher-order puts.
RECURSIVE PROBLEM SOLVING- a method of solving problems that involves breaking a problem down into smaller
and smaller subproblems until you get to a small enough problem that it can be solved trivially.
DATA
TYPES OF DATA
PAIRS
1. Be very optimistic: Since lists are recursive data structures, most list-related problems can be solved using
recursion.
2. Base case: Identify the simplest version of the problem that you can solve. For lists, this is usually the empty list.
3. Recursive case: Solve the larger problem by solving a smaller version of it. For lists, the smaller version is usually
the rest (cdr) of the list.
4. Combine: Use the base case and recursive case together to solve the entire problem.