EE306Fall2018FinalBlank
.pdf
keyboard_arrow_up
School
University of Texas *
*We aren’t endorsed by this school
Course
306
Subject
Electrical Engineering
Date
Jan 9, 2024
Type
Pages
22
Uploaded by MateCloverWolverine31
Nina K. Telang 1 EE306 Introduction to Computing Fall 2018 Final Exam Dr. Nina Telang (TAs: Vignesh Radhakrishnan, Jefferson Lint, Dylan McCoy, Suhas Raja) UT EID: __________________ Printed Name: ______________________ Your signature is your pledge that you have not and will not cheat on this exam, nor help other students to cheat on this exam. Signature: ______________________ Instructions: 1.
This is a 180 minute closed book, closed notes exam. 2.
No calculators or other electronic devices are allowed. 3.
Please refer to the LC-3 ISA sheet, data path, state graph and other reference sheets which have been attached to the exam. 4.
Please answer all questions neatly in the space provided. WRITE YOUR FINAL ANSWER IN THE SPACE PROVIDED FOR EACH QUESTION. ONLY THE FINAL ANSWER WILL BE GRADED. NO PARTIAL CREDIT WILL BE GIVEN. 1.
Problem # 1 ____________/20 2.
Problem # 2 ____________/15 3.
Problem # 3 ____________/10 4.
Problem # 4 ____________/10 5.
Problem # 5 ____________/10 6.
Problem # 6 ____________/15 7.
Problem # 7 ____________ /10 8.
Problem # 8 ____________ /10
Nina K. Telang 2 1.
[20 points]
Answer the following short questions in the space provided. (i)
[2 points]
Consider the LC-3 load instruction, LD. During which stages of the instruction cycle of this instruction are MAR and MDR updated. (ii)
[2 points]
The INT signal for the keyboard is generated using bits 14 and 15 of the KBSR. Say that A = KBSR[15], and B = KBSR[14]. How would you generate the INT signal given only NOT and OR gates? Write the logic expression. (iii)
[4 points]
Design a 4-to-16 decoder using two 3-to-8 decoders, one NOT gate, and AND gates (any number that you need). (iv)
[2 points]
Write an LC-3 code snippet that performs the logical OR operation of the contents in R1 and R2, and puts the result in R3.
Nina K. Telang 3 (v)
[4 points]
Shown below are the contents of registers before and after the LC-3 instruction at location x3210 is executed. Identify the instruction stored at x3210. Write the instruction in hexadecimal
. Answers in any other format will not be considered. Before After R0 xFF1D xFF1D R1 x301C x301C R2 x2F11 x2F11 R3 x5321 x5321 R4 x331F x331F R5 x1F22 x1F22 R6 x01FF x01FF R7 x341F x3211 PC x3210 x3220 N 0 0 Z 1 1 P 0 0 (vi)
[6 points]
A gated D-latch is shown in the figure below. Answer the following short questions: (a)
What is the output A if inputs D and WE are both 1? (b)
What is the output A if D=0 and WE=1? (c)
List the values of S, R that can never occur given this D-latch? Why will these values never occur? A
Nina K. Telang 4 2.
[15 points]
Data is stored at LC-3 memory location x3456 in floating point format such that there is 1-bit for the sign, 5-bits for the exponent, and 10-bits for the fraction. A student wants to write a program that will output the data in decimal format (i.e. the screen will display a real number like 17.75 or -0.5). For this question, give all numerical responses in decimal. (i)
What are the smallest and largest exponents that can be represented using the given format? Note that “exponents” refers to the power of 2.
(ii)
Shown below is a code sn
ippet of the student’s code. After the execution of these lines of code, R5 should contain the exponent of the normalized binary representation of the number stored in x3456 (e.g. if m[x3456] = 1.11*2
4
, then R5 will contain 4). A description of the subroutine BitShift is given in the comments of the program. ; begin code snippet ; R0 contains bits 14-10 of m[x3456] isolated in place AND R0, R0, R0 AND R1, R1, R1 ; BitShift bit shifts the value in R0 a certain direction ; it shifts the bits the number of times specified by the value in R1 JSR BitShift LD R4, VAL ADD R5, R0, R4 ; end code snippet (a)
What direction should BitShift shift the bits of R0 (right or left)? (b)
What value should R1 contain before BitShift is called for the program to work as intended? (c)
What value should R4 be loaded with in order for R5 to contain the correct value after this program’s execution?
Nina K. Telang 5 (d)
In the BitShift subroutine, the student’s code performed the following steps:
Step 1
: Saved the values of R0 through R7 in memory Step 2
: Checked to see if R1=0 Step 3
: If not, then divided the number in R0 by 2, decremented R1, and looped back to Step 2. Step 4
: If R1 = 0, then restored the values in R0 through R7, followed by RET. If R0 = 16 and R1 = 2 before the execution of the subroutine, what will the values of R0 and R1 be after the execution? Does this subroutine work as intended?
Nina K. Telang 6 3.
[10 points] Dr. Telang has decided to have you all implement another LC-3 instruction that will have the opcode 1101 (currently not used). This instruction will be called BIC and will clear a specified bit of a register. The format is as follows: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 1 0 1 DR SR x x x x x x (i)
The least significant 6 bits are marked with an “x.” Some of these bits are going to be reserved for the Selection field, which will identify which bit to clear in the SR and stored in the destination register DR. For example, if the Selection field = 12, then bit 12 of the SR will be cleared. What is the minimum number of bits marked wi
th an “x” that need to be reserved for this field?
(ii)
How many memory accesses does this new instruction make? Include all stages of the instruction cycle. (iii)
Is it possible for this instruction to change the condition code bits? If so, give an example. (iv)
During the Fetch Operands phase, a temporary register, called TR, is loaded with the value that corresponds to the Selection field (e.g. Selection field = 3, TR = x0008). What logical structure can easily produce the value of TR? (v)
Write the microinstructions that take place in the Execute and Store Result phase of the instruction cycle. You are allowed to use the following registers: PC, IR, MAR, MDR, SR, DR, and TR.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Note:-
• Do not provide handwritten solution. Maintain accuracy and quality in your answer. Take care of plagiarism.
• Answer completely.
• You will get up vote for sure.
arrow_forward
Part 2: Analysis and selection of the Wind Turbine. The team decides at install a 30 MW wind farm. The turbine that has been selected by the local contractor is an Enercon wind turbine. The specifications of all the available Enercon wind turbine is shown in the attached datasheet.
1. Decide on the required number of wind turbines needed. 2. In your own words, explain what the Betz limit for wind turbines means.
arrow_forward
Can you finish the Background including a synopsis of the relevant information of this this example "electrical maintenance and repair" And please cite an article or paraphrase of author. Thank you!
The electrical wiring and electrical devices in the houses that are installed may have failure so the inspection is designed to definitely perform the clear capabilities. These electrical devices are...
arrow_forward
Please answer in typing format with explanation
arrow_forward
Please answer in typing format
arrow_forward
List all the tools and materials for terminating, connecting and testing electrical wiring and electronics circuits to be use in computers.
*Please draw a table for the tools and materials with three columns where Terminating, Connecting, and Testing are indicated. Thank you and God bless!
arrow_forward
The system having ±0.5% of F.S.D if the full scale deflection is 50 units, then accuracy is _____
a. ±0.25
b. ±1
c. ±0
d. ±0.5
arrow_forward
Messages
AA
Statement one
Training will allow you to
safely erect a mobile.
tower scaffold on any
ground surface condition.
and access the tower
both internal and
externally
Statement two
In windy conditions
placing sheeting around
the mobile tower scaffold
will protect the workers
on the tower
a) Statement two
is incorrect
b) Statement one
and two are
correct
c) Statement one
is correct and
statement two is
incorrect
d) Both
statements are
incorrect
actclass.co.uk
22
Questi
23
Questi
24
Questi
25
Questi
26
Questi
Submit Answers
Ć
arrow_forward
Schedule of Loads and Basic Calculation
— Create a tabulated load schedule of your home.
arrow_forward
A room measures 4mx5mx5m and the air in it has to be always kept 20 C0 lower than that of the incoming air. The air inside has to be renewed every 30 minutes. Take specific heat of air as 0.24 and its density as 1.27 kg/m3. Assuming 75% efficiency, calculate the HP rating of an air-conditioning unit suitable for this purpose. The HP rating is close to _______.
which is the correct answer?
2.5 HP
3.5 HP
3.0 HP
1.5 HP
arrow_forward
Hello, I am having trouble with this homework problem. What would the approach to solve this problem?
1. Show the following units in scientific notation.e.g ) Five Kilometre (km) = 5 x 103 m
1) One Milliampere (mA)_______ x ______ (A)
2) Three Megajoules (MJ)_______ x ______ (J)
3) Six Microcoulombs (µC)_______ x _______ (C)
4) Eight Nanoseconds (ns)_______ x ________ (s)
arrow_forward
Please send the answer by typing only. I don't want handwritten.
The subject is about Renewable Energy ( Fossil Fuels)
What is called Fossil Fuels and what are the main 3 types of Fossil Fuels?
arrow_forward
Complete the following statement about multimeters using the following words.
Words:
Accuracy, Advanced, Available, Circuits, Current, Digital, Diode, Direct, Display, Electronic, Functions, High, Hundredths, Impedance, Measure, Multimeter, Needle, Ohms, Provide, Range, Selected, Test
A digital __________ (DMM) can __________ many more things than volts, __________, and lowcurrent. Most multimeters measure __________ current (dc) and alternating __________ (ac)amperes, volts, and ohms. More __________ multimeters may also measure __________ continuity,frequency, temperature, engine speed, and dwell, and/or duty cycle.Multimeters are __________ with either digital or analogue displays. DMMs __________ great__________ by measuring volts, ohms, or amperes in tenths, __________, or thousandths of a unit.Several test __________ are usually provided for each of these __________. Some meters havemultiple __________ ranges that must be manually __________; others are auto-ranging.Analogue…
arrow_forward
In order to minimize dissipated heat when current flows through a wire, which of the following strategies can be employed?
Select one:
a. Increase the cross-sectional area of the wire.
b. Increase the length of the wire
c. Increase the temperature of the wire
d. Use a wire with increased resistivity
e. All of the four items above
f. None of the four items above
A portable power bank with USB output most probably uses a/an ______ while an Uninterruptible Power Supply (UPS) used to run a computer during a power outage uses a/an ______.
Select one:
a. DC-DC Converter; Inverter
b. rectifier; inverter
c. Inverter; DC-DC Converter
d. inverter; rectifier
Please answer both. Need help. Thank you.
arrow_forward
If an electrical system operates at a potential higher than 600 volts, the nonmetallic conduit must be encased in at least_of concrete.
A. 1 inch B. 2 inches C. 4 inches D. 6 inches
arrow_forward
Untitled form
Your email address will be recorded when
you submit this form.
Not eng.refcon.k2324@sadiq.edu.iq?
Switch account
objective question(jW Jlgs)
For the circuit shown below choose
the correct answer
V2
Vi
SA
220
300
25A
In
31
arrow_forward
Answer please
arrow_forward
Complete the following text with words
Pt100 sensors are a specific type of _____(1) detector. The most important characteristic of Pt100 elements is that they are made of _____(2) with an electrical resistance of _____(3) ohms at a temperature of ______(4) °C and temperature coefficient ____(5). It is by far the most common type of RTD sensor. The other materials with which RTDs are built are: ___(6), _____(7), ______(8). The most recommended conditioning method is reading at _____(9). Typically, a _____(10) behavior of the Resistance-Temperature relationship can be assumed.
arrow_forward
Please send the answer by typing only. I don't want handwritten.
The subject is ( Electronic Circuits )
Q2) Mention the applications of FET.
arrow_forward
Write the complete specifications of Ceiling Rose.
arrow_forward
appropriate answer.
Statement one
The most common
causes of death are falls
from heights and being
struck by vehicles in the
workplace
Statement two
Following HSE guidance
should significantly
reduce the risk to an
individual
a) Statement one
is correct and
statement two is
correct
b) Statement two
is correct and
statement one is
incorrect
c) Both
statements are
incorrect
d) Statement one
is correct and
statement two is
incorrect
actclass.co.uk
25
Questi
26
Questi
27
Questi
28
Questi
29
Questi
30
Submit Answers
arrow_forward
A load of 120 MW at a power factor of 0.65 lagging
can be delivered by a 3-phase transmission line.
The voltage at the receiving end is to be
maintained at 63 kV and the loss in the
transmission is 6 % of the power delivered.
(Consider the line to be a short transmission line)
Find
Single phase Power delivered
Per phase voltage
Current flowing through the transmission line
3 Phase Losses in the transmission line
Per phase resistance of the transmission line
arrow_forward
Explain each option & Choose the correct option.
4) The _ calculated load is rarely placed on an electrical system.A. optionalB. standardC. total
5) What's the primary disadvantage of using copper conductors?A. CostB. AvailabilityC. Weight
6) You're evaluating the components of a multioccupancy building that won't have an on-site employee. To be compliant with the NEC, each occupant will need to have access to their ownA. service-disconnecting means.B. service conductor.C. cable attachment point.D. emergency fire water pump disconnect
..
arrow_forward
6. According to the NEC, allowance for the future expansion of installations isA. an exception.B. in everyone's best interest.C. defined.D. a requirement.
arrow_forward
1)Aluminum piping is permitted to be used as a grounding electrode only if other electrodes specified in 250.52(A) are not available for use. a) True b) False
2)The Code requires that more than one grounding electrode be installed to form a system of installed electrodes when none are present. a) True b) False
arrow_forward
Please answer the two questions, and in the other picture are the drawing we had made. (Which are the schematic symbol(types) of electrical loads, switches, resistors, logic gates, and diodes.
Questions:
1.) Describe how lines and symbols best represent the components or devices.
2.) Enumerate the technique/s you applied in order to draw and remember the name and basic function of each schematic symbol.
arrow_forward
Series
Circuit
4.(4)
Location
Voltage
AIA2
Double-click to hide white space
BIB2 - Lamp B
Cic2 -- Lamp C
Across Power Supply - (Entire
Circuit)
5.(4a) How does the voltage across the lamps compare?.
6.(4b) How does the voltage of each lamp compare with the voltage of the power supply2
Describe how the voltage changes2
7.(6)
Inited States)
Focus
MacBook Air
88
DII
F3
F4
F5
F6
F7
F8
F9
F10
$
4
6.
7
8.
R
T.
Y
U
F
G
H
J
arrow_forward
Answer the 3 questions below with details information.
Feel free to use pictures, illustrations in your answers.
1. What are the advantages of Arduino? (explain 2 advantages)
Answer:
2. Suggest and explain 2 project ideas that can be done in Arduino using TinkerCAD in
ET131 course. (different than the traffic lights)
Answer:
3. Define each of the below components on an Arduino board:
• Reset button:
• USB connection:
Digital Input/Output:
• Power LED indicator:
arrow_forward
Good day! Please help me define LDA, ADD, SUB, OUT, and HALT in SAP - 1. Subject: Digital Electronics.
arrow_forward
To answer the question, type your answers in RED or paste the image of your handwriting solution
Given the circuit #1 presented above, answer the following questions:
Determine the value of the VD (voltage forward of the LED) for the LEDs RED, VDRED, GREEN, VDGREEN and BLUE, VDBLUE, when the current through the LEDs is 10mA,
VDRED = ____________ ; VDGREEN = ____________ ; VDBLUE = ____________
Is the LED in Circuit #1, connected in the way that will be lighting up or not – Justify your answer
Type your answer here
Calculate the value of the resistance Rled in Circuit #1, to ensure that a RED LED will have a current of 10 mA
Type your answer here or paste the image of your handwriting solution here
Calculate the value of the resistance Rled in Circuit #1, to ensure that a GREEN LED will have a current of 10 mA
Type your answer here or paste the image of your handwriting solution here
Calculate the value of the resistance Rled in Circuit #1, to ensure that…
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON
Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,
Related Questions
- Note:- • Do not provide handwritten solution. Maintain accuracy and quality in your answer. Take care of plagiarism. • Answer completely. • You will get up vote for sure.arrow_forwardPart 2: Analysis and selection of the Wind Turbine. The team decides at install a 30 MW wind farm. The turbine that has been selected by the local contractor is an Enercon wind turbine. The specifications of all the available Enercon wind turbine is shown in the attached datasheet. 1. Decide on the required number of wind turbines needed. 2. In your own words, explain what the Betz limit for wind turbines means.arrow_forwardCan you finish the Background including a synopsis of the relevant information of this this example "electrical maintenance and repair" And please cite an article or paraphrase of author. Thank you! The electrical wiring and electrical devices in the houses that are installed may have failure so the inspection is designed to definitely perform the clear capabilities. These electrical devices are...arrow_forward
- Please answer in typing format with explanationarrow_forwardPlease answer in typing formatarrow_forwardList all the tools and materials for terminating, connecting and testing electrical wiring and electronics circuits to be use in computers. *Please draw a table for the tools and materials with three columns where Terminating, Connecting, and Testing are indicated. Thank you and God bless!arrow_forward
- The system having ±0.5% of F.S.D if the full scale deflection is 50 units, then accuracy is _____ a. ±0.25 b. ±1 c. ±0 d. ±0.5arrow_forwardMessages AA Statement one Training will allow you to safely erect a mobile. tower scaffold on any ground surface condition. and access the tower both internal and externally Statement two In windy conditions placing sheeting around the mobile tower scaffold will protect the workers on the tower a) Statement two is incorrect b) Statement one and two are correct c) Statement one is correct and statement two is incorrect d) Both statements are incorrect actclass.co.uk 22 Questi 23 Questi 24 Questi 25 Questi 26 Questi Submit Answers Ćarrow_forwardSchedule of Loads and Basic Calculation — Create a tabulated load schedule of your home.arrow_forward
- A room measures 4mx5mx5m and the air in it has to be always kept 20 C0 lower than that of the incoming air. The air inside has to be renewed every 30 minutes. Take specific heat of air as 0.24 and its density as 1.27 kg/m3. Assuming 75% efficiency, calculate the HP rating of an air-conditioning unit suitable for this purpose. The HP rating is close to _______. which is the correct answer? 2.5 HP 3.5 HP 3.0 HP 1.5 HParrow_forwardHello, I am having trouble with this homework problem. What would the approach to solve this problem? 1. Show the following units in scientific notation.e.g ) Five Kilometre (km) = 5 x 103 m 1) One Milliampere (mA)_______ x ______ (A) 2) Three Megajoules (MJ)_______ x ______ (J) 3) Six Microcoulombs (µC)_______ x _______ (C) 4) Eight Nanoseconds (ns)_______ x ________ (s)arrow_forwardPlease send the answer by typing only. I don't want handwritten. The subject is about Renewable Energy ( Fossil Fuels) What is called Fossil Fuels and what are the main 3 types of Fossil Fuels?arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Introductory Circuit Analysis (13th Edition)Electrical EngineeringISBN:9780133923605Author:Robert L. BoylestadPublisher:PEARSONDelmar's Standard Textbook Of ElectricityElectrical EngineeringISBN:9781337900348Author:Stephen L. HermanPublisher:Cengage LearningProgrammable Logic ControllersElectrical EngineeringISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
- Fundamentals of Electric CircuitsElectrical EngineeringISBN:9780078028229Author:Charles K Alexander, Matthew SadikuPublisher:McGraw-Hill EducationElectric Circuits. (11th Edition)Electrical EngineeringISBN:9780134746968Author:James W. Nilsson, Susan RiedelPublisher:PEARSONEngineering ElectromagneticsElectrical EngineeringISBN:9780078028151Author:Hayt, William H. (william Hart), Jr, BUCK, John A.Publisher:Mcgraw-hill Education,
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON
Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,