Computer Organization and Architecture Mcqs

Page No. 13

The order in which the return addresses are generated and used is _________


aLIFO


bFIFO


cRandom


dHighest priority


View Answer LIFO

What is subroutine nesting?


aHaving multiple subroutines in a program


bUsing a linking nest statement to put many subroutines under the same name


cHaving one routine call the other


dNone of the mentioned



The location to return to, from the subroutine is stored in _______


aTLB


bPC


cMAR


dLink registers


View Answer Link registers

The return address of the Sub-routine is pointed to by _______


aIR


bPC


c MAR


dSpecial memory registers


View Answer PC

The sub-routine service procedure is similar to that of the interrupt service routine in ________


aMethod of context switch


bReturning


cProcess execution


dMethod of context switch & Process execution



The data structure suitable for scheduling processes is _______


aList


bHeap


cQueue


dStack


View Answer Queue

The stack frame for each subroutine is present in ______


aMain memory


b System Heap


cProcessor Stack


dNone of the mentioned


View Answer Processor Stack

In the case of nested subroutines, the stack top is always _________


aThe saved contents of the called sub routine


b The saved contents of the calling sub routine


cThe return addresses of the called sub routine


dNone of the mentioned



____ the most suitable data structure used to store the return addresses in the case of nested subroutines.


aHeap


bStack


cQueue


dList


View Answer Stack

The private space gets allocated to each subroutine when _________


aThe first statement of the routine is executed


bWhen the context switch takes place


cWhen the routine gets called


dWhen the Allocate instruction is executed



Goto Page No.

Page 13 of 74

Alphabetical MCQs Categories

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan