Quiz01 - 7) We study HLLs mainly to make them easier and...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CS324 Quiz #1.answer True or False(T/F): Reds are TRUEs 1) High Level Languages’ (HLLs) programs are much more readable, simpler to write/maintain, and more hardware independent than low level languages, e.g., micro and assembly programs. 2) The core hardware language is the assembly code. (micro-coding is the language directly understood (processed by the H/W) 3) In micro-coded machines, the instruction set is encoded as a set of micro routines that is kept in a read only memory, ROM. 4) All machines are micro-coded. (some are hardcoded, for speed) 5) A machine can still be programmed at any of its architectural level, e.g., Micro, Macro, and High level. (yes, there are micro, assembly, and Java programmers!) 6) The HLLs types’ integer , real , stacks , queues , and float are all “true” abstract data types (ADTs). (not any stacks and queues are true ABT's, there must be a total separation between their users and implementers)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 7) We study HLLs mainly to make them easier and cheaper to design and faster to execute than machine languages . (faster !?) 8) Every HLL represents a virtual machine, i.e., programmers think that the machine directly understands the used HLL as its own machine language. Sure! Any programmer thinks that the machine (hardware) understands his/her language coding (e.g., Java , C, FORTRAN, ASSEMBLY, . ..). 9) The operating system interfaces between the HLLs and the core system, abstracting (i.e., masking) the complex hardware details to the user. (See the System Layers Figures in the first Lecture) 10) In the programming language design field, it is always the case that when you gain in one (or more) of the following direction(s): abstraction , power , readability , modularity , speed of execution , and language security you would lose in one (or more) direction(s). (No Free Lunch!)...
View Full Document

This note was uploaded on 08/23/2011 for the course CSE 324 taught by Professor Soliman during the Spring '11 term at NMT.

Ask a homework question - tutors are online