Professional Documents
Culture Documents
@immediate
@Register
@memory
@ Code Segment
@Instruction Pointer
movzx ax,myBytes
mov bl,[myBytes+1]
add ax,bx
mov bl,[myBytes+2]
@ True
@ False~
^^ What is the value of the destination operand after each of the following instructions executes:
.data
.code
mov al,myByte ; AL =
@FEFF
@00h
@ FFh~
@None
^^One of the following is a basic stack operation
@@PUSH
@@POP
@@PEEK
@@A and B~
^^The library procedure responsible for writing block of memory to standard output in (hex) is
@@Dumpreg
@@DumpMem~
@@RandomRange
@@ReadChars
@@Array operations
@@POP
@@Runtime~
@@PUSH
@@Decode--Fetch-Execute
@@Decode--Execute-fetch
@@Fetch-Execute-Decode
@@Fetch-Decode--Execute~
@@LIFO
@@FIFO
@@FILO
@@A and C~
^^Bit-mapped set operations include
@@Intersection
@@Union
@@Complmentation
@@All~
^^The changing value of a symbol has nothing to do with the runtime execution order of statements.
True or False.
@@True~
@@False
^^ Little endian order requires that all data types larger than a byte store there individual bytes in
sequential order. True or false
@@True
@@False~
@@
@@
@@None~
@@Function
@@procedure
@@array
@@none
^^ Given the code : MOV ax, bval
@@TFT
@@TTF~
@@ FFT
@@ FTF
@@32-bit register~
@@code segment
@@Instruction pointer
^^
@@MOVZX and MOVSX are a consequence of the limitations of the MOV instruction. True or False
@@True~
@@False
@@MOV
@@XCHG~
@@ADD
@@SUB
@@Memory operands
@@immediate operands
@@direct-offset operands~
@@None
@@memory
@@data~
@@register
@@Array
^^What is the order in which the PUSHAD instruction shall push the following 32-bit general purpose
registers onto a stack
@@ Preconditions list
@@ All~
^^ What will likely occur if preconditions of a called procedure are not satisfied?
@@Endless loop
@@syntax error
@@Incorrect output~
@@Runtime error
@@None~
@@X:imm 32~
@@X:y/m 16
@@X:r/m 32
@@None
^^The WriteString procedure is used to display a string whose offset is stored in …………. Register
@@EAX
@@EBX
@@ECX
@@EDX~
.data
.code
Main proc
main ENDP
End Main
@@30~
@@20
@@10
@@40
^^Which of the following procedure is used to locate the cursor at a specific row and column in the
console window?
@@WriteInt
@@WriteString
@@Dumregs
@@Gotoxy~
^^Which of the following command is used to assemble a file whose name is Test?
^^Which of the following command is used to link a file whose name is Test?
^^Which among the statement in the options below is not true about Assembly Language
^^The utility program that converts source code programs from assembly language into machine language
is called
@@Assembler~
@@Linker
@@Interpreter
@@Translator
@@Debugger
^^The utility program that combines individual files created by an assembler into a single executable
program is called
@@Assembler
@@Linker~
@@Interpreter
@@Translator
@@Debugger
^^The utility program that lets you to step through a program while it’s running and examine registers and
memory is called
@@Assembler
@@Linker
@@Interpreter
@@Translator
@@Debugger~
^^Binary numbers are base 2 numbers and each binary digit is called a
@@Digit
@@Bit~
@@Byte
@@Decimal
@@Hexadecimal
@@Positive only
@@Negative only
@@Positive or negative~
@@None of these
@@147D
@@157D
@@137D~
@@127D
@@117D
@@101111B
@@110111B~
@@111011B
@@111101B
@@111110B
^^What is the result of adding 00000101B and 00001111B
@@00110100
@@00010100~
@@01110100
@@11110100
@@00010110
@@2 bits
@@4 bits
@@8 bits~
@@16 bits
@@32 bit
@@2
@@4
@@8
@@16~
@@3
@@11172D~
@@11187D
@@11101D
@@12711D
@@12317D
^^The conversion of 16565D to hexadecimal is
@@3BA5H
@@40B5H~
@@04B5H
@@B405H
@@540BH
@@-16
@@-12
@@-8~
@@-4
@@-2
@@10111100B
@@11011100B
@@11101100B
@@11111100B~
@@None of these
^^ Which of the operator in the options below is used for reversing a Boolean value
@@ NOT~
@@AND
@@OR
@@None of these
@@All of these
^^A ______________ is used to show all the inputs and outputs of a Boolean function
@@ False Table
@@Truth Table~
@@ Map File
@@ Object File
@@ N-M
@@1-N
@@1-1~
@@1-M
@@M-1
@@ Motherboard
@@Assembler
@@Variable
@@clock~
@@None of these
@@Control Unit~
@@System Bus
@@Monitor
@@All of these
^^ _____________is a group of parallel wires that transfer data from one part of the computer to another
@@ System
@@Bus~
@@Keyboard
@@All of these
@@None of these
@@ Motherboard
@@Assembler
@@clock~
@@Variable
@@None of these
^^The execution of a single machine instruction can be divided into a sequence of individual operations
called the_____________
@@All of these
@@Instruction Pointer~
@@ Index Register
@@Memory Register
@@All of these
@@None of these
^^ _____________ is a high-speed memory used by computers to hold the most recently used instructions
and data
@@ROM
@@Cache~
@@EROM
@@Cache
Hit
@@Cache Miss
^^_____ is used for storing information about a program’s size and location during execution
@@Index Table
@@Cache Table
@@Descriptor Table~
@@Hash Table
@@None of these
^^The ability of a computer to run multiple tasks at the same time is called_______________
@@Over Tasking
@@Super Computing
@@Overloading
@@Multitasking~
@@All of these
^^A Cache miss occurs when data to be read is already in cache memory
@@True
@@False~
^^A Cache hit occurs when data to be read is not in cache memory
@@True
@@False~
@@True~
@@False
@@True~
@@False
^^____________________ utility assigns a given amount of CPU time to each running program
@@Scheduler~
@@Assembler
@@Masm32
@@ALU
@@None of these
^^The general-purpose registers inside the CPU are prohibited from arithmetic and data movement
@@True
@@False~
^^All the options below are examples of scheduling used by an operating system except
@@Round Robin
@@ Event~
@@Priority
^^Octal number system is_____________
@@None of these
^^The sum of two hexadecimal numbers 23D and 9AA gives the hexadecimal number @@AF7
@@BF6
@@BE7~
@@BE5
@@None of these
@@ Heaps
@@Accumulators
@@Stacks
@@All of these
@@Java
@@All of these
@@None of these
@@2^32~
@@2^64
@@ 2^8
@@None of these
@@ Object program
@@Source program~
@@Oriented program
@@All of these
@@None of these
@@ Address Bus
@@Data Bus
@@Control Bus
@@All of these~
@@None of these
^^Which of the following programming languages has an instruction set closest to the machine language
of a computer?
@@BASIC
@@Fortran
@@Assembly Language~
@@C++
@@All of these
@@True
@@False~
@@Accumulator register~
@@Counter register
@@Base register
@@None of these
@@0
@@1~
@@16 bits
@@32 bits~
@@64 bits
@@None of these
@@1KB
@@1GB
@@1MB~
@@1 byte
@@None of these
@@None of these
@@ 0AA7
@@ 8C43 ~
@@ 06A1
@@ 883D
^^ The maximum addressable memory in protected mode is
@@ 4KB
@@ 32 bits
@@ 64KB
@@ 4GB ~
@@ 8 bits
@@ Multitasking ~
@@ MS-DOS Support
@@ None of these
@@ stdcall
@@ irvine32
@@ flat ~
@@ .386
@@ None of these
@@ Descriptor table ~
@@ Code segment
@@ Code Label
@@ Code sample
@@ None of these
^^ Paging is supported directly by
@@ RAM
@@ Hard disk
@@ ROM
@@ MASM
@@ None of these ~
@@ Scheduler
@@ Control Unit
@@ Control bus
@@ None of these
@@ None of these
@@ BIOS Chips
@@ Speaker
@@ Expansion Buses
@@ AGP
@@ LCD Monitors
@@ Video Controller
@@ CPU
@@ None of these~
@@ DRAM
@@ SRAM ~
@@ VRAM
@@ Registers
@@ None of these
@@ PCI Controller
@@ IDE Controller
@@ AGP
@@ RAM
@@ None of these ~
@@ None of these
^^Serial ports transfer data ___________ at a time across _____________
@@ None of these
@@ Registers
@@ RAM
@@ Video device
@@ CPU
@@ None of these ~
@@ Library
@@ OS Functions
@@ BIOS Functions
@@ Hardware
@@ All of these ~
@@hexadecimal
@@decimal~
@@octal
@@binary
@@real
^^This course uses the _______________ instruction set
@@ 64 bits
@@ Intel IA-64
@@ x86-64
@@ 32 bits
@@ None of these~
@@ a letter
@@ _ (underscore)
@@ ?
@@ $ (dollar sign)
@@ None of these
@@ Any of these ~
^^________Commands that are recognized by the assembler, but not part of the Intel instruction set
@@Directives~
@@Mnemonics
@@Operators
@@Type attributes
@@None of these
@@Label
@@Comment
@@Mnemonic~
@@Registers
@@None of these
@@Linear
@@Segment
@@Page
@@Disk
@@None of these~
@@Data Label
@@Segment Label
@@Stack Label
@@Code Label~
@@None of these
@@ADD
@@MUL
@@DEC
@@Memory
@@Code Label
@@Immediate Values
@@All of these~
@@None of these
^^Comments are used to explain tricky coding techniques. Single line comments begin with what
character
@@&
@@:
@@;~
@@$
@@None of these
@@ None of these
@@0~
@@1
@@2
@@3
@@4
@@ Masm instruction
@@ MASM Comment
@@ MASM Directive~
@@ MASM Label
@@ None of these
@@Procedure~
@@Main
@@Program
@@Code Segment
@@None of these
@@Memory, Registers
@@Flags, Memory
@@Registers, Variable
@@Registers, Flags~
@@None of these
@@Directive, stdcall
@@ Instruction, stdcall
@@ None of these
^^The procedure for terminating a program is called __________ and it takes __________ parameter(s)
@@exist, zero
@@ExitProcess, zero
@@exit, one
@@ ExitProcess, one~
@@None of these
@@ +
@@ -
@@ *
@@ /
@@ None of these~
@@Object file~
@@Map file
@@Listing file
@@Executable file
^^The contents of a(n)__________file are assembly instruction mnemonics translated to machine code
@@Object file
@@Map file
@@Listing file~
@@None of these
^^Information about segment addresses for assembly programs are found in what file
@@Object file
@@Map file~
@@Listing file
@@None of these
@@ None of these
@@ Label
@@ Offset
@@ Data type
@@ Size
@@ None of these~
^^Choose the appropriate option to make the following valid: value1 SBYTE ______________
@@ -200
@@ 128
@@ ?~
@@ None of these
^^How many bits long is list3 in the following definition: list3 BYTE ?,32, 5 DUP(0),41h,00100010b
@@Code is invalid
@@64
@@40
@@72~
@@None of these
@@4
@@6
@@8~
@@10
@@32
@@0
@@-4294967296
@@-2147483647
@@-2147483648~
@@-4294967295
^^Using little endian order, the ________ byte occupies the __________memory address
@@ None of these
@@Variable
@@Register
@@Integer
@@Symbolic constant~
@@None of these
Var2 = $ - var1
@@5
@@10~
@@0
@@Error in code
@@Byte
@@Word
@@Dword
@@Real
@@None of these~
@@textequ~
@@byteequ
@@textbyte
@@integerequ
@@Error in code