100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4,6 TrustPilot
logo-home
Exam (elaborations)

CEA201 EXAM QUESTIONS WITH 100% CORRECT ANSWERS

Rating
-
Sold
-
Pages
22
Grade
A+
Uploaded on
03-01-2025
Written in
2024/2025

CEA201 EXAM QUESTIONS WITH 100% CORRECT ANSWERS 1. What is ISA stands for (in this course)? Instruction Set Architecture Interrupt Service Architecture Information Services Analysis Integrated Support Activity - Answer-A 2. How many bits does the PC (Program Counter register) of the Beta have? 4 8 16 32 - Answer-D 3. How many registers does the Beta have (exclude PC)? 16 31 32 128 - Answer-C 4. What is the special of R31 register? It is a stack pointer It is the fastest register It is more power efficient its value always reads as 0 and writes to R31 have no affect on its value. - Answer-D 5. How many memory locations can be accessed by Beta? 32 Bytes 4 Mbytes 32 Mbytes 4 GBytes - Answer-D 6. How many bytes does each word contains of the Beta? 1 4 8 32 - Answer-B 7. The "0x" prefix indicates when a number is in __________ notation. Binary Octal Decimal Hexadecimal - Answer-D 8. In general, all program data will reside in __________. Cpu control unit main memory register - Answer-C 1. Which of the following instruction types does the Beta ISA have? (choose all that apply) Branch High level language Arithmetic and logical Load and store Interrupt - Answer-A C D 2. What is the size of all instruction encoding in Beta ISA? 32 bits 64 bits Variable-length encoding for instructions None of the others - Answer-A 3. How many fields does a Beta ALU instruction have? 2 (1 source operand, 1 destination operand) 3 (1 opcode, 1 source operands, 1 destination register) 4 (1 opcode, 2 source operands, 1 destination register) 5 (1 opcode, 3 source operands, 1 destination register) - Answer-C 4. What is the opcode for SUB instruction? (find your anwer in the "Beta D") 0b111000 0b101010 0b100001 0b - Answer-C 5. ADD(Ra,Rb,Rc) instruction asks the Beta do: Ra = Rb + Rc Rc = Ra + Rb Ra = Rb if (Rc = 0) Rc = Rb if (Ra = 0) - Answer-B 1. In the Beta instruction format with constant, the constant in _________ format. unsigned binary one's complement two's complement sign-magnitude - Answer-C 2. In the Beta instruction format with constant, the constant operands in the range of _________ (in decimal). 0 to 64000 -32000 to 32000 -32768 to 32767 0b8000 to 0b7FFF - Answer-C 3. What does the ADDC(R1,-3,R3) instruction do? R3 = R1 + 3 R3 = R1 - 3 R1 = R3 + 3 R1 = R3 - 3 - Answer-B 4. A "C" suffix in some instruction (e.g ADDC, ANDC, SUBC) indicate _________. the register stores content of data the second operand is a constant the second operand is a register this is a Compare instruction - Answer-B 1. In this lesson, Mem[0x1008] means __________. address of the current instruction address of the next instruction the stack pointer is 0x1008 contents of memory location 0x1008 - Answer-D 2. In this lesson, what does effective address - EA mean? EA is actual address of location containing the referenced operand EA is content of program counter EA is the fist memory address EA is the end of memory address - Answer-A 3. In some instruction of Beta, the word "literal" means _______. a register a memory location a sign-extended 16-bit number a unsign-extended 16-bit number - Answer-C 4. What does the LD(R0,5,R1) instruction do? R0 = Mem[R1 + 5] R1 = Mem[R0 + 5] R1 = R0 + 5 R0 = R1 + 5 R1 = R0 + Men[5] - Answer-B 5. What does the ST(R0,3,R1) instruction do? R0 = Mem[R1 + 3] Mem[R1 + 3] = R0 Mem[R0 + 3] = R1 R1 = R0 + 3 R0 = R1 + 3 - Answer-B 1. What does the BEQ(R0,5,R1) instruction do? R0 = 5 XOR R1 R1 = 5 XOR R0 The next instruction after the current instruction is 5 instructions if R0=0 The next instruction after the current instruction is 5 instructions if R0 ≠ 0 - Answer-C 2. What is the value will be written to R1 after BEQ(R0,5,R1) instruction? R1 = PC + 3 R1 = PC + 4 R1 = PC + 5 R1 = PC - 5 - Answer-B 3. What does the BNE(R0,5,R1) instruction do? (cẩn thận lộn) The next instruction before the current instruction is 5 instructions if R1=0 The next instruction after the current instruction is 5 instructions if R1=0 The next instruction after the current instruction is 5 instructions if R0=0 The next instruction after the current instruction is 5 instructions if R0 ≠ 0 - Answer-D 4.What is the value will be written to R1 after BNE(R0,5,R1) instruction? R1 = PC + 3 R1 = PC + 4 R1 = PC + 5 R1 = PC - 5 - Answer-B 5. Assume that R0 = 8, what is the address of next instruction after JMP(R0,R1) instruction? 8 R1 R1 - 8 R1 + 8 - Answer-A 1. Select a right statement: BSIM is used to circuit design. BSIM permits us simulate the Beta CPU. BSIM can not assembler source code. - Answer-B

Show more Read less
Institution
CEA201
Course
CEA201










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CEA201
Course
CEA201

Document information

Uploaded on
January 3, 2025
Number of pages
22
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CEA201 EXAM QUESTIONS WITH
100% CORRECT ANSWERS

1. What is ISA stands for (in this course)?
Instruction Set Architecture
Interrupt Service Architecture
Information Services Analysis
Integrated Support Activity - Answer-A

2. How many bits does the PC (Program Counter register) of the Beta have?
4
8
16
32 - Answer-D

3. How many registers does the Beta have (exclude PC)?
16
31
32
128 - Answer-C

4. What is the special of R31 register?
It is a stack pointer
It is the fastest register
It is more power efficient
its value always reads as 0 and writes to R31 have no affect on its value. - Answer-D

5. How many memory locations can be accessed by Beta?
32 Bytes
4 Mbytes
32 Mbytes
4 GBytes - Answer-D

6. How many bytes does each word contains of the Beta?
1
4
8
32 - Answer-B

7. The "0x" prefix indicates when a number is in __________ notation.

,Binary
Octal
Decimal
Hexadecimal - Answer-D

8. In general, all program data will reside in __________.
Cpu
control unit
main memory
register - Answer-C

1. Which of the following instruction types does the Beta ISA have? (choose all that
apply)
Branch
High level language
Arithmetic and logical
Load and store
Interrupt - Answer-A C D

2. What is the size of all instruction encoding in Beta ISA?
32 bits
64 bits
Variable-length encoding for instructions
None of the others - Answer-A

3. How many fields does a Beta ALU instruction have?
2 (1 source operand, 1 destination operand)
3 (1 opcode, 1 source operands, 1 destination register)
4 (1 opcode, 2 source operands, 1 destination register)
5 (1 opcode, 3 source operands, 1 destination register) - Answer-C

4. What is the opcode for SUB instruction? (find your anwer in the "Beta
Documentation.pdf")
0b111000
0b101010
0b100001
0b10000000 - Answer-C

5. ADD(Ra,Rb,Rc) instruction asks the Beta do:
Ra = Rb + Rc
Rc = Ra + Rb
Ra = Rb if (Rc = 0)
Rc = Rb if (Ra = 0) - Answer-B

1. In the Beta instruction format with constant, the constant in _________ format.
unsigned binary

, one's complement
two's complement
sign-magnitude - Answer-C

2. In the Beta instruction format with constant, the constant operands in the range of
_________ (in decimal).
0 to 64000
-32000 to 32000
-32768 to 32767
0b8000 to 0b7FFF - Answer-C

3. What does the ADDC(R1,-3,R3) instruction do?
R3 = R1 + 3
R3 = R1 - 3
R1 = R3 + 3
R1 = R3 - 3 - Answer-B

4. A "C" suffix in some instruction (e.g ADDC, ANDC, SUBC) indicate _________.
the register stores content of data
the second operand is a constant
the second operand is a register
this is a Compare instruction - Answer-B

1. In this lesson, Mem[0x1008] means __________.
address of the current instruction
address of the next instruction
the stack pointer is 0x1008
contents of memory location 0x1008 - Answer-D

2. In this lesson, what does effective address - EA mean?
EA is actual address of location containing the referenced operand
EA is content of program counter
EA is the fist memory address
EA is the end of memory address - Answer-A

3. In some instruction of Beta, the word "literal" means _______.
a register
a memory location
a sign-extended 16-bit number
a unsign-extended 16-bit number - Answer-C

4. What does the LD(R0,5,R1) instruction do?
R0 = Mem[R1 + 5]
R1 = Mem[R0 + 5]
R1 = R0 + 5
R0 = R1 + 5
R225,60
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Document also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Scholarsstudyguide nursing
Follow You need to be logged in order to follow users or courses
Sold
787
Member since
3 year
Number of followers
475
Documents
15377
Last sold
18 hours ago
NURSING

Here you will find everything you need in nursing Assignments, EXAMS AND TESTBANKS. For students who want to see results twice as fast. I strive for my content to be of the highest quality. Always leave a review after purchasing any document so as to make sure our customers are 100% satisfied.

3,9

164 reviews

5
87
4
21
3
26
2
6
1
24

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions