Assembly Revision (Without Answers)

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

Final Revision

Subject: Computer organization and assembly lang.


CS, Grade 2
Note: H/W 3, 4, 5, and 6 were canceled

H/W #1
Mark ✓ or ✗ of the following:
1. Architecture are those attributes visible to the programmer.
2. Instruction are set/number of bits used for data representation,
I/O organization, and addressing techniques.
3. organization is how features are implemented.
4. Organization differs within members of the same family.
5. structure is the way in which components treated to each other
6. Function is not the operation of individual components as part
of the structure.
7. I/O peripherals directly attached communications/
Networking (communication lines).
8. Camera attached to a PC, sending the information to a
window on the screen of the same PC.
9. Playing an MP3 file stored in memory to earphones attached
to the same PC.
10. Any number-crunching applications that takes data from
memory and stores the result back in memory.
11. 8080 is the 1st general-purpose microprocessor.

H/W #2
Choose from a, b, c, d:
1- General computer functions:
a. Data processing & storage
b. Data movement & control
c. Both a, b
d. neither a nor b

2- Computer has inside:


a. CPU b. I/O units
c. Main memory & system interconnection
d. All of the above

3- CPU has inside:


a. ALU
b. CU
C. Registers & internal CPU interconnection
d. All of the above

4- 8080 microprocessor has:


a. Clock speed 2 MHz
b. Bus width 8 bits
c. addressable memory 64 KB
d. All of them

5- Virtual memory in 80286


a. 1 GB b. 4 GB
c. 16 MB d. All of the above
6- Virtual memory in 486TM DX CPU:
a. 64 TB b. 1 GB
c. both a, b
d. neither a nor b

7- Clock speed in 80286:


a. 6 – 12.5 MHz
b. 25 – 50 MHz
c. both a, b
d. neither a nor b

8- 486TM DX CPU has


a. 32-bit bus width
b. 64-TB addressable memory
c. All a, b
d. neither a nor b

9- To increase performance in computer it has increased


a. Pipelining
b. on board cache, L1 & L2 cache
c. all a, b
d. neither a nor b
10- To increase computer performance it has done
a. Processor speed increased
b. memory speed increased
c. all a, b
d. neither a nor b
------------------------------------------------------------------------------------------------------------------------------------------

H/W #7
Mark ✓ (T) or ✗ (F) of the following:
1. Microprocessor is responsible to do all math, logic
operations in computer, beside control all operations inside
the computer.
2. ROM is a volatile memory.
3. RAM is not volatile memory.
4. Cache memory is higher in speed than RAM.
5. RAM, ROM, and cache are measured in kilobyte
6. Cache memory exceeds the microprocessor in operation.
7. Bit is the smallest unit for storing data in 0 or 1.
8. AX states for Accumulator Register.
9. EAX is the extended for AX with length 32 bit.
10. Base register is BX, while EBX is its extension with length
32 bit.
11. CX is the counter register with length 16 bit, while ECX is its
extension in length 32 bit.
12. Data register (DX) has length 16 bit, while EDX has length
32 bit.
13. DF states for Direction Flag.
14. PF states for Parity Flag
---------------------------------------------------------------------------------------
H/W 8
Select a, b, c, d:
1- Microprocessor consists of:
a. ALU c. all a, b
b. CU d. neither a nor b

2- Speed of microprocessor is measured by:


a. Km/s b. Mile\h
c. MHz d. All of the above

3- Computer memory may be:


a. RAM b. ROM
c. Cache d. All of the above

4- RAM is measured by:


a. km b. kg
c. kbyte d. all of the above

5- Extension slots may be:


a. PCI b. AGP
c. ISA / EISA d. all of the above

6- USB may be:


a. Universal serial port b. Union source board
c. all a, b d. neither a nor b
7- Ports may be:
a. serial port b. parallel port
b. universal serial port d. all of the above

8- 1 KB may be:
a. 1024 byte b. 1000 byte
c. both a, b d. neither a nor b

9- SDR-RAM states for:


a. simple data rate RAM
b. dual data rate RAM
c. all a, b
d. neither a nor b

10- RD-Ram means:


a. Rambus Dynamic RAM
b. read dynamic RAM
c. both a, b d. neither a nor b

11- Microprocessor connects with registers like the mentioned below to


Speed up its operations:
a. General-purpose registers
b. segment registers, startup registers
c. index registers, pointer registers
d. all of the above
12- General-purpose registers may be:
a. AX, BX, CX, DX (each has 16 bit)
b. EAX, EBX, ECX, EDX (each has 32 bit)
c. all a, b d. neither a nor b

13- Register segment is used for:


a. segment code, data segment
b. stack segment, extra segment
c. both a, b d. neither a nor b

14- Flag register may be:


a. status flag b. control flag
c. both a, b d. neither a nor b

15- IF states for


a. interrupt flag b. direction flag
c. both a, b d. neither a nor b

16- TF states for:


a. trop flag b. direction flag
c. both a, b d. neither a nor b

17- OF states for:


a. direction flag b. overflow flag
c. both a, b d. neither a nor b
18- SF states for:
a. sign flag b. overflow flag
c. both a, b d. neither a nor b
----------------------------------------------------------------------------------------
H/W 9 (mobile computing)
Mark ✓ or ✗ of the following:
1. Mobile simply describes a computing device that is not
restricted to a desktop.
2. A mobile device may be PDA, smart cell phone can do all
computing tasks without being connected to network.
3. Wireless refers to the method of transferring information
between computing device like PDA and a data source
such as DB server.
4. Not all wireless communication technologies are mobile.
5. Governments are demanding mobile computing of
hospitals to reduce costs.
6. Durability, archival, and backups are challenges facing
mobile computing implementation.
7. Capacity of H/W (Hardware) limits the applications that
can be used in mobile computing.
8. For PDAs in mobile computing, if battery goes flat then
lose applications.
9. Assembly language is the nearest language to machine
language.
10. Assembler is used to transfer program in assembly
language to machine language.
11. Translation phase in assembly language is used is used
to translate the high-level program language into machine
language.
12. Linking phase in assembly language is used to link office
routines in library to program
13. Loading phase in assembly language is used to load the
source program, routines, instructions to main memory for
execution.
14. Space or TAB is used to separate between fields in
assembly language.
15. MOV is an order to move data from place to another.
16. In assembly, ADD means add two values and put result
in 1st register.
17. INC in assembly means increment.
18. DEC in assembly means decrement.
19. NEG means negate, to change the sign of number.
---------------------------------------------------------------------------------------
H/W #10

Select a, b, c, d:
1- High level language like ………….
a. Machine, assembly language b. Procedure oriented language
c. Both a, b d. Neither a nor b

2- Assembly language phases may be …………….


a. Translation phase b. Linking phase
c. Loading phase d. All of the above

3- All instructions done by Assembler have the following form………


a. NAME b. OPERATION
c. OPERAND(s) and comment d. All of the above

4- In assembly language select the hexadecimal number from………


a. 10011 b. 456h
c. Oab d. All of the above
5- In assembly language select the binary number from………
a. 10011 b b. 6455
c. 11001 d. All of the above

6- MOV destination, source means …………


a. Move contents from source to destination
b. Move contents from destination to source.
c. Both a, b d. Neither a nor b

7- MOV AX, word1 means ………


a. Copy contents of data in word1 to register AX
b. Copy contents of data in register AX to word1
c. Both a, b
d. Neither a nor b

8- Order XCHG means ……


a. Move data from place to another b. Means Exchange
c. Both a, b d. Neither a nor b

9- XCHG AH , BL means ……
a. Exchange values in the two registers AH, BL
b. Move data from AH to BL
c. Both a, b
d. Neither a nor b
10- An examples of math operations in assembly language
a. ADD, SUB, INC b. DEC, NEG
c. Both a, b d. Neither a nor b

11- INC Destination means …………


a. Destination = Destination+1
b. Destination = Destination-1
c. Both a, b
d. Neither a nor b

12- DEC Destination means …………


a. Destination = Destination+1
b. Destination = Destination-1
c. Both a, b
d. Neither a nor b

13- NEG BX means ………


a. BX = -BX b. BX = +BX
c. Both a, b d. Neither a nor b

14- ADD BL, 5 means ……….


a. Add the value 5 from register BL value
b. Subtract value 5 from register BL value
c. Both a, b
d. Neither a nor b
Blank page
Use it in making notes, or anything you want

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy