{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

Info icon This 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)
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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern