Software Architecture Design Mcqs

Page No. 34

Finite automata can be divided into which of the following groups?


aAcceptors or recognizers

✖


b Transducers

✖


cAll of the mentioned

✓


dNone of the mentioned

✖


View Answer All of the mentioned

What are the heuristics for information hiding under don’t extend access?


aDon’t pass or return references to class attributes—pass or return defensive copies instead

✖


bDon’t pass parameters by reference

✖


cDon’t pass parameters by reference

✖


dAll of the mentioned

✓


View Answer All of the mentioned

What are the heuristics for information hiding?


aRestrict the scope of declarations to the smallest possible program segment

✖


bMake class attributes at least protected and preferably private

✖


cAvoid global visibility

✖


d All of the mentioned

✓



Which of the following are the strategies for restricting access to program entities?


aLimiting Visibility

✖


bNot Extending Access

✖


c All of the mentioned

✖


dNone of the mentioned

✓


View Answer None of the mentioned

What does Information Hiding mean?


a The key technique for is to restrict access to program entities as much as possible

✓


b It is an expression that evaluates to an address where a value is stored

✖


cAll of the mentioned

✖


dNone of the mentioned

✖



When is a variable called extending access beyond visibility?


aPassing a reference as an argument

✖


bPassing an argument by reference (which uses aliasing)

✖


cReturning a reference from a sub-program

✖


d All of the mentioned

✓



What is reference?


aIt is an expression that evaluates to an address where a value is stored

✓


bIt is a variable with the same address as another variable

✖


cAll of the mentioned

✖


d None of the mentioned

✖



When is a program accessible?


a A program entity at a point in a program text if it can be used at that point

✖


b A variable is a programming language device for storing values

✖


cAll of the mentioned

✓


dNone of the mentioned

✖


View Answer All of the mentioned

Which of the following are of non-local form ?


aPrivate

✖


bProtected and Packaged

✖


c Public

✖


d Public, Protected and Packaged

✓



What are the Object oriented visibility?


a Private and Package

✖


bProtected

✖


cPublic

✖


dAll of the mentioned

✓


View Answer All of the mentioned

Goto Page No.

Page 34 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