Software Architecture Design Mcqs

Page No. 36

What is true with respect to operation contract?


aIt is a binding agreement between two or more parties


bThey usually state each party’s rights and obligations


c All of the mentioned


dNone of the mentioned



Declarative specifications are preferable for which of the following reasons?


aDeclarative specifications are more abstract because they ignore implementation details, and consequently they are more concise than procedural specifications


b Declarative specifications focus on an operation’s interface, making it clearer how an operation interacts with its callers


cProcedural specifications may bias programmers toward the implementation used in the specification


dAll of the mentioned


View Answer All of the mentioned

What is procedural specification?


aA behavior description that does not use an algorithm


b An algorithmic behavior description


cAll of the mentioned


dNone of the mentioned



What is Signature?


aThe operation’s class (in object-oriented designs) or module (in non-object-oriented designs)


bThe operation name, the names and types of its parameters,and its return type


cA sentence or two informally stating the operation’s responsibilities


dA detailed description of the algorithm and data structures used to implement this operation



What is operation specification and what does it include?


a Specification of an operation’s responsibilities and interface can be collected in one place, in structured


bIt includes Class or Module, Signatures, Descriptions


cIt includes Behavior, Implementation


dAll of the mentioned


View Answer All of the mentioned

Which of the following are the heuristics for data structure diagram?


aLabel record fields only once


bUse ellipses to simplify large, repetitive structures


cDraw linked structures so that the pointers point down the page or from left to right


d All of the mentioned



What is a Reference denoted by?


aThey to memory cells are represented by pointer arrows originating in the memory cell rectangles


bA dot represents the null pointer


cThey are represented by connecting disjoint collections of arrays or records with pointer arrows


dThey to memory cells are represented by pointer arrows originating in the memory cell rectangles & dot represenThey to memory cells are represented by pointer arrows originating in the memory cell rectangles & dot represents the null pointerts the null pointer



The contiguous structures stores record in which of the field location?


aThe left subtree


bThe right subtrees


c The node


dAll of the mentioned


View Answer All of the mentioned

What is data structure diagram?


aA simple graphical notation is traditionally used to depict data structures


bIt is a scheme for storing values in computer memory


cAll of the mentioned


dNone of the mentioned



What is Linked Implementation?


aValues are stored in adjacent memory cells


bValues are not necessarily stored in adjacent memory cells aValues are not necessarily stored in adjacent memory cells and are accessed using pointers or referencesnd are accessed using pointers or references


cValues are not stored in adjacent memory cells


dNone of the mentioned



Goto Page No.

Page 36 of 88

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