Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

10/18/22, 7:57 PM Computer Systems and Assembly Language and Lab https://canvas.ucsc.edu/courses/56061 1/15 Computer Systems and Assembly Language and Lab Legal Notice All course materials and...

1 answer below »
10/18/22, 7:57 PM Computer Systems and Assembly Language and La
https:
canvas.ucsc.edu/courses/56061 1/15
Computer Systems and Assembly Language and La
Legal Notice
All course materials and relevant files must not be shared by the students outside of the course cu
iculum on any
type of public domain site or for financial gain. Thus, if any course slides, quiz/ material ,lab, etc. is found in any
type of publicly available site (e.g., GitHub, stack Exchange), or for monetary gain (e.g., Chegg), then the original
poster will be cited for misusing CSE12 course-based content and will be reported to UCSC for academic
dishonesty.
In the case of sites such as Chegg.com, we have been able to locate course material shared by a previous quarte
student. Chegg cooperated with us by providing the student's contact details, which was sufficient proof of the
student's misconduct leading to an automatic failing grade in the course.
CSE12 Fall 22 Google Drive Link :Click here
(https:
drive.google.com/drive/folders/1Hn_Y_LXC2BEU9dC4Jo9MvC0zTejjmImJ?usp=sharing) .
Make sure to access the link signed in using your UCSC ID.
The course Google Drive contains your course lecture slides, Lab assignments, Sample exams and
other important supplementary materials.
Lectures
CSE12 lectures for Fall 2022 will take place in-person in Media Theater M110 ; Tues-Thurs 1:30PM -
3:05PM, Sep 22, 2022-Dec 2, 2022
Fall 2022 lecture slides will be made available in the Google Drive in this folder.
All recorded lecture videos may be accessed later through Canvas -> CSE-12-01 -> YuJa
Lecture Attendance
Since we are just getting back to normal after a hectic year, I will not be imposing any mandatory class attendance
for Fall 2022. However, it is strongly encouraged that you please attend lectures live since this will give you
ample opportunity to:
ask questions to the instructor on the spot and get real-time feedback on your concepts learned.
Be up to date with the latest developments without having to laboriously go through the Yuja videos later to try
to extract the bullet points.
I must again emphasize that hints to solving certain questions in Quizzes/exams will be mentioned during the
lectures. These would be hit or miss if you were to only view them in the recorded videos when you would fast-
https:
drive.google.com/drive/folders/1Hn_Y_LXC2BEU9dC4Jo9MvC0zTejjmImJ?usp=sharing
10/18/22, 7:57 PM Computer Systems and Assembly Language and La
https:
canvas.ucsc.edu/courses/56061 2/15
forward them!
Please please pay attention to the lecture slides and my actual lectures in class if you don't want to miss out
on exam points. On my end, I am trying my level best to make the content as engaging as possible!
Course announcements
All major course announcements will be made on Piazza (Click Here to Sign Up!)
(http:
piazza.com/ucsc/fall2022/cse12) .
If you have any questions about slides, logistics, please post them on Piazza!
You are expected to be courteous and civil not only to the course staff but also with one another on Piazza
discussions
We are all human beings and are prone to e
. If you spot anything wrong, the staff are more than ready to
acknowledge and rectify it. There is no reason to be rude about it
About CSE12
The cu
iculum in Baskin Engineering
oadly targets 4 core knowledge areas where students must demonstrate
mastery:
1. Algorithms, data structures, and complexity (Area 1)
2. Programming languages (Area 2)
3. Software engineering and development (Area 3)
4. Computer systems (Area 4)
CSE12 is a compulsory, lower-division undergraduate course that establishes the foundations of computer science
and engineering, preparing students to be successful in upper division courses.
CSE12 is curated as an important introductory class (7 credits) and organized to address the four
oadly defined
aforementioned learning outcome areas into one cohesive pedagogical na
ative aimed at preparing students with
skills they need to be successful in upper division courses after declaring their major. Ideally and foundationally,
students
ing some prior programming experience to CSE12. Thus, they either must take CSE20 (Beginning
Programming in Python) or pass a python test that ensures they have some basic programming knowledge to apply
and are prepared to program in the RISC-V assembly language. CSE 12, taught over the span of a quarter (10
weeks), can be divided, in terms of a natural growing complexity of the course topics, into the following modules:
Module1 (M1):
Boolean alge
a and the foundations of digital logic design (Weeks 1-3): Fundamentals of Boolean alge
a.
They are taught the implementation of Boolean operators as combinational logic gates in increasing
complexity, from simple AND/OR gates to more complicated digital logic designs such as adders, shifters,
decoders/encoders and a basic Arithmetic Logic Unit. They also learn the low-level device implementation of
http:
piazza.com/ucsc/fall2022/cse12
10/18/22, 7:57 PM Computer Systems and Assembly Language and La
https:
canvas.ucsc.edu/courses/56061 3/15
logic gates in Complementary MOS (CMOS) design. They also learn of simple sequential logic gate behavio
such as those of latches and D flip flops. M1 is intended to meet to an extent the target of Area 4.
Module2 (M2):
Information representation (weeks 4-6): Students are taught how information is represented across various
ases, example base 2, 10, octal, hexadecimal, 1s complement, 2s complement representation, IEEE
single/double precision representation, etc. Students also learn basic bitwise operation concepts and
shifting
otating, topics which are fundamental to developing better insights as to optimizing speed of
executing program code. M2 is intended to meet to an extent the target of Area 4 and Area 2.
Module3 (M3):
The Von Neuman computer model and coding in RISC-V assembly language (weeks 7-10): Students are
taught of the general idea of a Von Neuman stored program computer model [41] that is at the heart of all
modern processor designs. The course then uses the basic Von Neuman model as a platform to introduce RISC-
V assembly language coding and how it interacts directly with the memory model as opposed to the abstraction
presented in a high-level programming language like C, C++ or Python. M3 is intended to meet to an extent the
target of Area 4 and Area 2 and satisfy the basic requirements of Area 1 and Area 4.
List of Specific Topics to be covered
introduction, layers of abstraction
transistors
inverter / not
or, nor, and, nand, xor
sum of products, product of sums, decoder, mux, full adder, logical completeness
oolean alge
a, identities, demorgans
inary representation
inary conversion
clock
memory elements: latches, flip flops, registers
character representation
data representation, unsigned, signed, 2's complement, sign extension, overflow
inary integer addition
shifts
itwise (ignore the bits about C)
floating point representation
Von Neuman Machine
RISC-V Registers
RISC-V instruction formats
RISC-V instructions
RISC-V addressing modes
10/18/22, 7:57 PM Computer Systems and Assembly Language and La
https:
canvas.ucsc.edu/courses/56061 4/15
su
outines
stack
Course Staff:
Instructor: Dr. Sagnik Nath ( XXXXXXXXXX (mailto: XXXXXXXXXX) ), here's a short bio
(https:
drive.google.com/file/d/13mYwFKD0r3D8UsLyxBpo0CSNfCpLxJIW/view?usp=sharing) of me!
TAs:
Moghadam, Majid - XXXXXXXXXX
Agashe, Saaket - XXXXXXXXXX
Leung, Ryan - XXXXXXXXXX
Jayaraman, Ramesh - XXXXXXXXXX
Yang, Yiwei - XXXXXXXXXX
Tutors: We are still recruiting tutors and will let you know shortly (mailto: XXXXXXXXXX))
In order to access the office hours of the instructor, TAs and Tutors, please access this spreadsheet
(https:
docs.google.com/spreadsheets/d/1HquaXmy9KntVd4rNovArx83D8SUJ7qpu/edit?
usp=sharing&ouid=1 XXXXXXXXXX&rtpof=true&sd=true) which lists all the available office hours by
TAs, Tutors, and the Instructor. The Zoom link to access the remote office hours are provided in the spreadsheet as
well.
For asking questions specifically about logistics, please instead post them on Piazza so that all students can
simultaneously get the same questions answered.
Course Textbook
We will be using a custom online interactive textbook through zyBooks. You must use your UCSC email to
egister. Cost: ~$100. You will be able to download a PDF copy of this custom textbook.
1. Sign in or create an account at learn.zybooks.com
2. Enter zyBook code : UCSCCSE12NathFall2022
3. Subscribe
A subscription is $58. Students may begin subscribing on Sep 06, 2022 and the cutoff to subscribe is Dec 06,
2022. Subscriptions will last until Dec 29, 2022.
NOTE: All the practice homework and reading list will be based on the Zybook textbook mentioned above.
Although it is not mandatory for you to purchase this textbook (homework will not be part of the final course
grade) , it is highly encouraged that you do so since this book will give you the practice you need to successfully
understand the course concepts! Ask any student who ha previously taken this course and they will concur as well.
mailto: XXXXXXXXXX
https:
drive.google.com/file/d/13mYwFKD0r3D8UsLyxBpo0CSNfCpLxJIW/view?usp=sharing
mailto: XXXXXXXXXX)
https:
docs.google.com/spreadsheets/d/1HquaXmy9KntVd4rNovArx83D8SUJ7qpu/edit?usp=sharing&ouid=1 XXXXXXXXXX&rtpof=true&sd=true
10/18/22, 7:57 PM Computer Systems and Assembly Language and La
https:
canvas.ucsc.edu/courses/56061 5/15
Indeed, frequent mentions of zybooks and its helpfulness in the course SETs are what continue to encourage me to
publicize zybooks.
The reading order for the material from Zybooks is provided here.
(https:
docs.google.com/document/d/19qhzDV91OmskXfYeaTvqZm52Hp4Q5Hxt/edit?
usp=sharing&ouid=1 XXXXXXXXXX&rtpof=true&sd=true)
The Zybooks option is especially favored because it is very concise and only focuses on the relevant information
you need for this introductory course as opposed to general textbooks which are not only very expensive (~ $400 -
$ 500) but are filled with many extra bits of text which will be arduous to sift through in order to get at the
fundamental course content!
Zybooks will cover ONLY the non-RISC-V content from the syllabus.
For RISC-V assembly language, there is the original reference manual (https:
iscv.org/wp-
content/uploads/2017/05
iscv-spec-v2.2.pdf) as well. However, the treatment here is very dense and in the lecture
slides, we will be going for a more simplified version. If you want to start learning about assembly language early,
simply begin from 13.pptx in the Lecture Slides
(https:
drive.google.com/drive/folders/1K99sQLTXv3lO091XzTDKY0b_GLZVmxoS?usp=sharing) .
Final Grade Weightage
1. Acknowledge Course syllabus: 1%
You must read the entire syllabus and acknowledge having done so in this link.
2. Participation(Quiz): 4%
We will have short quizzes dispersed throughout the quarter to keep you exam ready and to prepare you for the
type of questions you will face in the midterm/Final exam. Refer to the Quizzes section below for more details.
3. Midterm: 15%
The syllabus will be based on topics from Modules M1 and M2, as was mentioned earlier. Please refer to the
Midterm section below for more details.
4. Final: 20%
The syllabus will be based on topics from all modules M1,M2,M3, as was mentioned earlier. That is, it will be
fully comprehensive. Please refer to the Final Exam section below for more details
5. Lab0: 5%
The purpose of this lab is to simply activate your repository at git.ucsc.edu where you are going to submit you
work for Labs 1,2,3,4. The autograder will pull your work form this repository
Answered 20 days After Oct 19, 2022

Solution

Baljit answered on Nov 09 2022
49 Votes
Midterm
Due Nov 8 at 11:59pm Points 21 Questions 21
Available after Nov 8 at 9am Time Limit 80 Minutes
Instructions
Attempt History
Attempt Time Score
LATEST Attempt 1 67 minutes 16 out of 21
 Co
ect answers will be available on Nov 9 at 9am.
Score for this quiz: 16 out of 21
Submitted Nov 8 at 3:48pm
This attempt took 67 minutes.
The syllabus will be based on lectures 1- 09-011.pptx (excluding fractions)
All the questions will be multiple choice, true/false.
No proctoring tool will be used.
The quiz will be available for you to take at any time from 9 am till 11:59 pm . However, once you start
the exam, the timer will start counting as well so you have to ensure you are done in 80 minutes. DRC
students will have their time extended by the duration listed in their DRC letter.
You may access the Canvas lecture notes, google drive documents , Yuja Videos and zybooks during
quiz. However, you are not allowed to use the internet for any other purpose as this will be considered
cheating. This includes using services like Discord, stackexchange, Facebook, reddit, etc.
You are not allowed to share your answers with anyone else until the day AFTER midterm!
1 / 1 ptsQuestion 1
Select the Boolean expressions(all that apply) that share the same truth
table as
https:
canvas.ucsc.edu/courses/56061/quizzes/88128/history?version=1
A'B'C +A'BC +AB'C +ABC
(A'+B'+C)(A'+B+C )(A+B'+ C)( A+B+C)
(A+B+C')(A+B'+C ')(A'+B+ C')( A'+B'+C')
A'BC' +A'BC +ABC' +ABC
None of the options
0 / 1 ptsQuestion 2Inco
ectInco
ect
Your team needs to make a logic circuit that compares two 3-bit numbers,
and outputs ”1” if and only if two of those numbers are identical. You
teammate proposes making a truth table for each possible combination of
inputs. How...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here