C++ for Java Programmers – Overview Q1

Quiz 1

  1. Define “Machine Language.”
  2. Define “Assembly Language.”
  3. Define “source code.”
  4. Define “object code.”
  5. Define “library.”
  6. Define “linker.”
  7. Define “executable program.”
  8. How is assembly language different from machine language?
  9. What does a compiler do?
  10. How is a compiler different from an assembler?
  11. What is the extension for source files on our machine?
  12. What type of program is used to create “source code.”
  13. What is the extension for object files on our machine?
  14. What type of programs are used to produce object files?
  15. What is the extension for the executable programs?
  16. What type of files go into creating an executable program?
  17. What type of program is used to create an executable program
  18. How do you access the on-line help system for your compiler?
  19. What is the difference between a simple #define macro and a const declaration?
  20. When would you use conditional compilation?
  21. What is the difference between a parameterized macro and a simple macro?
  22. What is the difference between a macro and a normal function?