Problems, Programming, Process & Linux

  1. What are the 2 parts of a formal problem description?
  2. Give an example of a formal problem description.
  3. What is pseudo-code?
  4. What is an algorithm?
  5. Why are algorithms written in pseudo-code?
  6. Write pseudo-code for the MAXIMUM problem.
  7. What is an imperative language?
  8. What is the syntax of a language?
  9. What is a plain-text file?
  10. What are the 4 steps in the typical compilation process? Explain each.
  11. Java is not typical. Explain its compilation process. Use the word byte-code in your explanation.
  1. What type of architecture do modern computers use? Explain the basic components.
  2. Why is a computer considered a state machine?
  1. What is the name of the website that provides answers to thousands of programming questions?
  2. When searching for oracle documentation on the Internet, what 2 words should you include in your search to ensure you get the correct documentation?
  1. What is SSH? What is it used for?
  2. What are the Linux commands that perform the following tasks.
    1. Print the current working directory?
    2. Display the manual page for the ls command?
    3. Suppose the current working directory is /home/batman. Using an absolute path change directory to /etc.
    4. Suppose the current working directory is /home/batman. Using an relative path change directory to /etc.
    5. List the contents of the current working directory so that you can see the file and directory permissions.
    6. Clear the screen.
    7. Make a directory named csci-105 in the current working directory.
    8. Suppose csci-105 is a directory in the current working directory. Rename csci-105 to csci105.
    9. Suppose csci105 is a directory in the current working directory and suppose it is empty. Remove the directory named csci105.
    10. Suppose csci105 is a directory in the current working directory and suppose it is not empty. Remove the directory named csci105.
    11. Create an empty file in the current working directory named hello.c.
    12. Suppose hello.c is in the current working directory. Copy the contents of the file hello.c to standard out.
    13. Suppose hello.c is in the current working directory. Rename hello.c to jello.c.
    14. Suppose hello.c is in the current working directory /home/batman. Move the file to /home/batman/csci105.
    15. Suppose hello.c is in the current working directory. Delete the file.

© 2017, Eric. All rights reserved.