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.
- (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?
- (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)
- (A) Name a second-generation programming language.
(B) Which language-generation are Fortran, C, C++, MATLAB?
- In what decades C, C++, and MATLAB were created, respectively?
- Name an ancestor programming language of C.
- Name a programming language ancestor of C++.
- Name a programming language ancestor of MATLAB.
- Initialized a cell array variable
C
of size $2\times2$, then fill its elements like the following figure.
- Now, if you type
C{2}
on the MATLAB command line, what do you get? Why do get this value?
- 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)
- How many bytes is a MATLAB integer of type
int64
? (if you recall, we discussed this in class)
- What would happen if you tried to covert a huge integer number that requires MATLAB
int64
data type to the MATLABint32
data type? (if you recall, we discussed this in class)