Home > Articles > Data > Oracle

  • Print
  • + Share This
This chapter is from the book

Lab 1.1 Exercises

1.1.1 Understand the Nature of Computer Programs and Programming Languages

  1. What is a program?

For the next two questions, consider this scenario: You have been hired to work for the ABC Company. One of your responsibilities is to produce a daily report that contains complicated calculations.

  1. Without using a computer program to fulfill this responsibility, what potential problems do you foresee in generating this report every day?

  2. Based on your observations in question b, how do you think a computer program would make that task easier?

  3. What is a programming language?

For the next question, consider the following code:

0010 0000 1110 0110 0000 0001
0000 0011 0000 0110 1000 0000
1010 0001 1111 0110 0000 0001
  1. What type of programming language is this code written in?

For the next question, consider the following code:

MOV AX, [01E9]
ADD AX, 0010
MOV [01E6], AX
  1. What type of programming language is this code written in?

For the next question, consider the following code:

variable := 2 * variable - 10; 
  1. What type of programming language is this code written in?

1.1.2 Understand the Differences Between Interpreted and Compiled Languages

  1. What is an interpreted language?

  2. What is a compiled language?

  3. Which do you think will run quicker, an interpreted or a compiled program?

  • + Share This
  • 🔖 Save To Your Account