This quiz aims at testing your general knowledge of programming history and MATLAB arrays. Don’t forget to push your answers to your remote repository by the end of quiz time. Push all your answers to quiz/2/ folder in your Github project.





  1. (A) What is the closest programming language to machine code (i.e., binary code)?
    (B) Does it need interpretation in order to become machine-comprehensible?


  2. (A) Name the oldest high-level programming language that is still in active daily usage.
    (B) Approximately how many decades is it old? ($\pm15$ years is accetasble answer. the decade it was created is also an acceptable answer)


  3. (A) Name a second-generation programming language.
    (B) Which language-generation are Fortran, C, C++, MATLAB?


  4. In what decades C, C++, and MATLAB were created, respectively?


  5. Name an ancestor programming language of C.


  6. Name a programming language ancestor of C++.


  7. Name a programming language ancestor of MATLAB.


  8. Initialized a cell array variable C of size $2\times2$, then fill its elements like the following figure.



  9. Now, if you type C{2} on the MATLAB command line, what do you get? Why do get this value?


  10. Does MATLAB follow column-wise data storage, or row-wise? Explain what it means? Why does it follow this storage method? (if you recall, we discussed this in class)


  11. How many bytes is a MATLAB integer of type int64? (if you recall, we discussed this in class)


  12. What would happen if you tried to covert a huge integer number that requires MATLAB int64 data type to the MATLAB int32 data type? (if you recall, we discussed this in class)


Comments