Machine Structure set 1

Machine structure is the field of computer science that studies the physical organization of computer hardware and software. It covers topics such as instruction sets, processor architecture, memory layout, threading models, and operating systems.

1 Que: A software is to be developed for a system which has a small memory. The software should ?
a. use recursion wherever possible    
b. avoid using recursion  
c. Not use macros instead of functions
d. Both b and c
2 Que: In a syntax directed translation scheme,if values of an attribute of a node is a function of theattributes of its children,then attribute is called
a. canonical attribute    
b. synthesized attribute
c. inherited attribute
d. none of these
3 Que: The address register for storing the 16-bit addresses can only be
a. stack pointer       
b. data pointer  
c. instruction register
d. accumulator
4 Que: The addressing mode, in which the instructions has no source and destination operands is
a. register instructions  
b. register specific instructions  
c. direct addressing  
d. indirect addressing
5 Que: The advantages of assembly level programming is
a. flexibility of programming is more      
b. chances of error are less  
c. debugging is easy  
d. all of the mentioned
6 Que: The architecture of 8051 consists of
a. 4 latches        
b. 2 timer registers
c. 4 on-chip I/O ports
d. all of the mentioned
7 Que: The coded object modules of the program to be assembled are present in
a. ASM file          
b. OBJ file
c. EXE file
d. OBJECT file
8 Que: The disadvantage of machine level programming is
a. time consuming      
b. chances of error are more
c. debugging is difficult  
d. all of the mentioned  
9 Que: The expansion of nested macro calls follows  
a. FIFO rule      
b. LIFO rule
c. ILO rule
d. priority rule  
10 Que: The extension that is essential for every assembly level program is
a. .ASP           
b. .ALP
c. .ASM
d. .PGM