Assembly language MCQs

Assembly language MCQs

These Assembly language multiple-choice questions and their answers will help you strengthen your grip on the subject of Assembly language. You can prepare for an upcoming exam or job interview with these 20 Assembly language MCQs.
So scroll down and start answering.

1: If you do not plan a program by writing an algorithm you risk...

A.   Taking longer to arrive at the correct solution

B.   Not findign the best solution to the problem

C.   All these are true

D.   Leaving logic errors lurking in the program

A.  

 You cannot do this without using server a side scripting language (like PHP)

B.  

 Add <a href="sendmailtoyouraddress">

C.  

 Add an image of an envelope

D.  

 Add <a href="mailto:youremailaddress">

3: Name one benefit of donating computers to local charities

A.   Can be seen as a charitable act by the community

B.   Tax write-off

C.   It makes me feel really big

D.   To generate more business on myself

4: IF-THEN-ELSE is an instance of...

A.   Repetition

B.   Selection

C.   Iteration

D.   Sequence

5: Why would you add height and width attributes to an IMG tag?

A.   So the browser knows how much space to set aside for the image until it loads

B.   So you can re-size the image

C.   You shouldn't use height and width, CSS should be used instead

D.   So that it doesn't get too big

6: Which character do you use when specifying a hexadecimal number (say for a colour value)?

A.   #

B.   !

C.   ?

D.   <

7: An algorithm is..

A.   A set of instructions, which need to be carried out in a particular order to solve a problem

B.   The description of a problem

C.   Music endemic to the central African nation of Algeria (the second largest country on the African continent and the 11th largest country in the world in terms of total area)

D.   A computer problem

8: Why do headphones that are used by multiple people need to be cleaned frequently?

A.   So that they smell sweet

B.   So that they don't create more ear wax

C.   So you can hear them better

D.   To help prevent the spreading of germs and head lice

9: What is used to store information usually relevant to browsers and search engines?

A.   Elements

B.   Metatags

C.   Cookies

D.   Properties

10: The Microsoft Solutions Framework application theory believes the goal of program management is:

A.   Smooth deployment and ongoing management

B.   Enhance user performance

C.   Delivery within project constraints

D.   Satisfy customers

11: Algorithms are designed using combinations of three main building blocks (control structures), called...

A.   Loops, if/then/else statements and functions

B.   Quark, strangeness and charm

C.   Sequence, selection and repetition

D.   Syntax, choice and loops

12: To create a numbered list you would use:

A.  

B.  

  • C.  

    D.  

    13: Which colors consist of equal amounts of all basic colors?

    A.   Red, green, and blue

    B.   Black, blue, and gray

    C.   White, black and gray

    D.   Purple, green, and red

    14: Add-ons make firefox better than internet explorer

    A.   True

    B.   False

    C.   What's an add-on?

    D.   Maybe

    15: Which of the following questions *don't* need to be considered before you create an Access database?

    A.   What queries and reports do the users of this database need?

    B.   What is the purpose of this database and who will use it?

    C.   What tables (data) will this database contain?

    D.   Which operating system will the database run on?

    16: To display the contents of 100 bytes starting at physical address 00000 using the debug:

    A.   –d 0 FF

    B.   –d 0:0 FF

    C.   –d 0:0 0:FF

    17: The operating system (DOS / Windows) generally loaded (system boot) from:

    A.   ROM

    B.   RAM

    C.   Hard/ Floppy Disk

    18: What is the value of AX register after executing, MOV AX,456h, CMP AX,456h?

    A.   456h

    B.   Zero

    C.   Unknown

    19: What is the representation of the (decimal) number –1 in 4 bit 1’s complement format?

    A.   0001

    B.   1110

    C.   1111

    D.   1011

    20: The address bus is unidirectional and address always travels from processor to memory

    A.   True

    B.   False

    21: ____ converts the programs written in assembly language into machine instructions .

    A.   Machine compiler

    B.   Interpreter

    C.   Assembler

    D.   Converter

    22: The purpose of the ORIGIN directive is,

    A.   To indicate the starting position in memory, where the program block is to be stored

    B.   To indicate the starting of the computation code

    C.   To indicate the purpose of the code

    D.   To list the locations of all the registers used

    23: Which of the following is/are used in translating HLL?

    A.   Compilers only.

    B.   Compilers, Interpreters and Assemblers.

    C.   Compilers and Interpreters.

    D.   Compilers and Assemblers.

    24: How many speed of 8088,8085,8086 microprocessor?

    A.   1.6 Million instruction per second

    B.   3.5 Million instruction per second

    C.   1.5 Million instruction per second

    D.   2.5 Million instruction per second

    25: What about the Stack segment in .COM program during execution?

    A.   Must be defined explicitly in the program

    B.   There is no stack for .COM program during execution

    C.   DOS uses the high area of the COM program for the Stack

    26: Which program do you need to write HTML?

    A.   Dreamweaver

    B.   Editplus No, try again

    C.   Microsoft FrontPage

    D.   Any text editor will do

    27: Why do headphones that are used by multiple people need to be cleaned frequently?

    A.   So that they smell sweet

    B.   To help prevent the spreading of germs and head lice

    C.   So that they don't create more ear wax

    D.   So you can hear them better

    28: Which of the following questions *don't* need to be considered before you create an Access database?

    A.   What is the purpose of this database and who will use it?

    B.   Which operating system will the database run on?

    C.   What queries and reports do the users of this database need?

    D.   What tables (data) will this database contain?

    29: In 8085 which is/are the 16 bit registers?

    A.   Program Counter

    B.   Stack Pointer

    C.   Both [A] & [B]

    D.   None of the above