CS 1104 Review Quiz 39 Questions With Correct Answers
0 view 0 purchase
Course
NU1426
Institution
NU1426
CS 1104 Review Quiz |39 Questions| With Correct Answers.
In the Hack machine language, the ability to use a command like @label before the label was actually declared in the program is thanks to the _______________________.
Select one:
a. fact that the order of HDL statements is insignificant...
CS 1104 Review Quiz |39 Questions| With
Correct Answers.
1). In the hack machine language, the ability to use a command like @label before the label
was actually declared in the program is thanks to the _______________________.
select one:
a. fact that the order of hdl statements is insignificant
b. two-pass assembly process
c. subsequent vm translation process
d. multi-purpose use of the a register
e. fact that the program counter feeds directly from the a register
Ans: two-pass assembly process
2). True or false? in hack assembly the meaning of the symbols are their ram and rom
addresses.
Ans: True
3). True or false? the basic idea of the stored program concept is that the logic of the programs
is embedded in the hardware.
Ans: False
4). If a demultiplexor selector bit is set to 1, and both outputs (a and b) are 0, then the input
must have been _____.
Ans: 0
5). If a demultiplexor selector bit is set to 0, and both outputs (a and b) are 0, then the input
must have been _____.
Ans: 0
6). Any symbol xxx appearing in an assembly program that is not predefined and is not defined
elsewhere using the (xxx) command is treated as a _________.
PaperStoc.com Page 1 of 7
, Ans: variable
7). True or false? people who use chip a as an internal part in other chip definitions should not
be interested in the body of chip a's definition.
Ans: True
8). What is the binary pattern that represents 7 (decimal) in a 16-bit binary system?
Ans: 0000000000000111
9). Every boolean function can be constructed from a/an _________ gate:
a. and
b. or
c. nand
d. not
Ans: NAND
10). During the second pass of the assembly process, if a symbol is not found in the symbol
table, then it clearly represents a new ___________.
Ans: variable
11). Which part of the cpu is in charge of decoding the instructions before they can be executed,
and deciding which instruction to fetch and execute next?
Ans: Control Unit
12). True or false? the clock in a sequential logic circuit keeps track of hours, minutes, and
seconds in the local timezone.
Ans: False
13). True or false? the clock in a sequential logic circuit controls whether a gate such as a data
flip-flop can load a bit from its input to its output.
Ans: True
PaperStoc.com Page 2 of 7
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Academik001. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.49. You're not tied to anything after your purchase.