CSC005 – Intro to Computer Science

Name:_______________________________

Final

Hofstra University – Fall 2006

 

Please answer all six questions. This is exam is worth 35 points.

 

1.     Problem Solving and Algorithm Design: (5pts)
a) Distinguish between an object and an object class.
b) Distinguish between a field and a method.
c) How can object relate to one another?
d) Discuss the differences between a top-down design and an object-oriented design.
e) Distinguish between data abstraction and procedural abstraction.

2.     Low Level Programming Languages: (5pts)
a) What is a machine language?
b) What is a virtual computer?
c) What is an operation code?
d) What is an assembly language?

3.     High Level Programming Languages: (10pts)
a) Distinguish between a compiler and an interpreter.
b) Name four programming language paradigms and give an example language in each.
c) What is a Boolean expression?
d) What is strong typing?
e) What is a declaration?
f)  Explain the flow of contro